acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam function.
[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 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
735 NM
736 ac_ct_DUMPBIN
737 DUMPBIN
738 LD
739 FGREP
740 SED
741 LIBTOOL
742 EGREP
743 GREP
744 CPP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
749 AR
750 AS
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
758 CXX
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
765 CC
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
771 AWK
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
886 '
887       ac_precious_vars='build_alias
888 host_alias
889 target_alias
890 CC
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
895 CXX
896 CXXFLAGS
897 CCC
898 CPP
899 CXXCPP
900 CXXFILT'
901
902
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
924
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
950
951 ac_prev=
952 ac_dashdash=
953 for ac_option
954 do
955   # If the previous option needs an argument, assign it.
956   if test -n "$ac_prev"; then
957     eval $ac_prev=\$ac_option
958     ac_prev=
959     continue
960   fi
961
962   case $ac_option in
963   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964   *)    ac_optarg=yes ;;
965   esac
966
967   # Accept the important Cygnus configure options, so we can diagnose typos.
968
969   case $ac_dashdash$ac_option in
970   --)
971     ac_dashdash=yes ;;
972
973   -bindir | --bindir | --bindi | --bind | --bin | --bi)
974     ac_prev=bindir ;;
975   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976     bindir=$ac_optarg ;;
977
978   -build | --build | --buil | --bui | --bu)
979     ac_prev=build_alias ;;
980   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981     build_alias=$ac_optarg ;;
982
983   -cache-file | --cache-file | --cache-fil | --cache-fi \
984   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985     ac_prev=cache_file ;;
986   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988     cache_file=$ac_optarg ;;
989
990   --config-cache | -C)
991     cache_file=config.cache ;;
992
993   -datadir | --datadir | --datadi | --datad)
994     ac_prev=datadir ;;
995   -datadir=* | --datadir=* | --datadi=* | --datad=*)
996     datadir=$ac_optarg ;;
997
998   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999   | --dataroo | --dataro | --datar)
1000     ac_prev=datarootdir ;;
1001   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003     datarootdir=$ac_optarg ;;
1004
1005   -disable-* | --disable-*)
1006     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007     # Reject names that are not valid shell variable names.
1008     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009       as_fn_error "invalid feature name: $ac_useropt"
1010     ac_useropt_orig=$ac_useropt
1011     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012     case $ac_user_opts in
1013       *"
1014 "enable_$ac_useropt"
1015 "*) ;;
1016       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017          ac_unrecognized_sep=', ';;
1018     esac
1019     eval enable_$ac_useropt=no ;;
1020
1021   -docdir | --docdir | --docdi | --doc | --do)
1022     ac_prev=docdir ;;
1023   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024     docdir=$ac_optarg ;;
1025
1026   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027     ac_prev=dvidir ;;
1028   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029     dvidir=$ac_optarg ;;
1030
1031   -enable-* | --enable-*)
1032     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033     # Reject names that are not valid shell variable names.
1034     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035       as_fn_error "invalid feature name: $ac_useropt"
1036     ac_useropt_orig=$ac_useropt
1037     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038     case $ac_user_opts in
1039       *"
1040 "enable_$ac_useropt"
1041 "*) ;;
1042       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043          ac_unrecognized_sep=', ';;
1044     esac
1045     eval enable_$ac_useropt=\$ac_optarg ;;
1046
1047   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049   | --exec | --exe | --ex)
1050     ac_prev=exec_prefix ;;
1051   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053   | --exec=* | --exe=* | --ex=*)
1054     exec_prefix=$ac_optarg ;;
1055
1056   -gas | --gas | --ga | --g)
1057     # Obsolete; use --with-gas.
1058     with_gas=yes ;;
1059
1060   -help | --help | --hel | --he | -h)
1061     ac_init_help=long ;;
1062   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063     ac_init_help=recursive ;;
1064   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065     ac_init_help=short ;;
1066
1067   -host | --host | --hos | --ho)
1068     ac_prev=host_alias ;;
1069   -host=* | --host=* | --hos=* | --ho=*)
1070     host_alias=$ac_optarg ;;
1071
1072   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073     ac_prev=htmldir ;;
1074   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075   | --ht=*)
1076     htmldir=$ac_optarg ;;
1077
1078   -includedir | --includedir | --includedi | --included | --include \
1079   | --includ | --inclu | --incl | --inc)
1080     ac_prev=includedir ;;
1081   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082   | --includ=* | --inclu=* | --incl=* | --inc=*)
1083     includedir=$ac_optarg ;;
1084
1085   -infodir | --infodir | --infodi | --infod | --info | --inf)
1086     ac_prev=infodir ;;
1087   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088     infodir=$ac_optarg ;;
1089
1090   -libdir | --libdir | --libdi | --libd)
1091     ac_prev=libdir ;;
1092   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093     libdir=$ac_optarg ;;
1094
1095   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096   | --libexe | --libex | --libe)
1097     ac_prev=libexecdir ;;
1098   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099   | --libexe=* | --libex=* | --libe=*)
1100     libexecdir=$ac_optarg ;;
1101
1102   -localedir | --localedir | --localedi | --localed | --locale)
1103     ac_prev=localedir ;;
1104   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105     localedir=$ac_optarg ;;
1106
1107   -localstatedir | --localstatedir | --localstatedi | --localstated \
1108   | --localstate | --localstat | --localsta | --localst | --locals)
1109     ac_prev=localstatedir ;;
1110   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112     localstatedir=$ac_optarg ;;
1113
1114   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115     ac_prev=mandir ;;
1116   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117     mandir=$ac_optarg ;;
1118
1119   -nfp | --nfp | --nf)
1120     # Obsolete; use --without-fp.
1121     with_fp=no ;;
1122
1123   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124   | --no-cr | --no-c | -n)
1125     no_create=yes ;;
1126
1127   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129     no_recursion=yes ;;
1130
1131   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133   | --oldin | --oldi | --old | --ol | --o)
1134     ac_prev=oldincludedir ;;
1135   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138     oldincludedir=$ac_optarg ;;
1139
1140   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141     ac_prev=prefix ;;
1142   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143     prefix=$ac_optarg ;;
1144
1145   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146   | --program-pre | --program-pr | --program-p)
1147     ac_prev=program_prefix ;;
1148   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150     program_prefix=$ac_optarg ;;
1151
1152   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153   | --program-suf | --program-su | --program-s)
1154     ac_prev=program_suffix ;;
1155   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157     program_suffix=$ac_optarg ;;
1158
1159   -program-transform-name | --program-transform-name \
1160   | --program-transform-nam | --program-transform-na \
1161   | --program-transform-n | --program-transform- \
1162   | --program-transform | --program-transfor \
1163   | --program-transfo | --program-transf \
1164   | --program-trans | --program-tran \
1165   | --progr-tra | --program-tr | --program-t)
1166     ac_prev=program_transform_name ;;
1167   -program-transform-name=* | --program-transform-name=* \
1168   | --program-transform-nam=* | --program-transform-na=* \
1169   | --program-transform-n=* | --program-transform-=* \
1170   | --program-transform=* | --program-transfor=* \
1171   | --program-transfo=* | --program-transf=* \
1172   | --program-trans=* | --program-tran=* \
1173   | --progr-tra=* | --program-tr=* | --program-t=*)
1174     program_transform_name=$ac_optarg ;;
1175
1176   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177     ac_prev=pdfdir ;;
1178   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179     pdfdir=$ac_optarg ;;
1180
1181   -psdir | --psdir | --psdi | --psd | --ps)
1182     ac_prev=psdir ;;
1183   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184     psdir=$ac_optarg ;;
1185
1186   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187   | -silent | --silent | --silen | --sile | --sil)
1188     silent=yes ;;
1189
1190   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191     ac_prev=sbindir ;;
1192   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193   | --sbi=* | --sb=*)
1194     sbindir=$ac_optarg ;;
1195
1196   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198   | --sharedst | --shareds | --shared | --share | --shar \
1199   | --sha | --sh)
1200     ac_prev=sharedstatedir ;;
1201   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204   | --sha=* | --sh=*)
1205     sharedstatedir=$ac_optarg ;;
1206
1207   -site | --site | --sit)
1208     ac_prev=site ;;
1209   -site=* | --site=* | --sit=*)
1210     site=$ac_optarg ;;
1211
1212   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213     ac_prev=srcdir ;;
1214   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215     srcdir=$ac_optarg ;;
1216
1217   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218   | --syscon | --sysco | --sysc | --sys | --sy)
1219     ac_prev=sysconfdir ;;
1220   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222     sysconfdir=$ac_optarg ;;
1223
1224   -target | --target | --targe | --targ | --tar | --ta | --t)
1225     ac_prev=target_alias ;;
1226   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227     target_alias=$ac_optarg ;;
1228
1229   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230     verbose=yes ;;
1231
1232   -version | --version | --versio | --versi | --vers | -V)
1233     ac_init_version=: ;;
1234
1235   -with-* | --with-*)
1236     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237     # Reject names that are not valid shell variable names.
1238     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239       as_fn_error "invalid package name: $ac_useropt"
1240     ac_useropt_orig=$ac_useropt
1241     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242     case $ac_user_opts in
1243       *"
1244 "with_$ac_useropt"
1245 "*) ;;
1246       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247          ac_unrecognized_sep=', ';;
1248     esac
1249     eval with_$ac_useropt=\$ac_optarg ;;
1250
1251   -without-* | --without-*)
1252     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253     # Reject names that are not valid shell variable names.
1254     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255       as_fn_error "invalid package name: $ac_useropt"
1256     ac_useropt_orig=$ac_useropt
1257     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258     case $ac_user_opts in
1259       *"
1260 "with_$ac_useropt"
1261 "*) ;;
1262       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263          ac_unrecognized_sep=', ';;
1264     esac
1265     eval with_$ac_useropt=no ;;
1266
1267   --x)
1268     # Obsolete; use --with-x.
1269     with_x=yes ;;
1270
1271   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272   | --x-incl | --x-inc | --x-in | --x-i)
1273     ac_prev=x_includes ;;
1274   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276     x_includes=$ac_optarg ;;
1277
1278   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280     ac_prev=x_libraries ;;
1281   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283     x_libraries=$ac_optarg ;;
1284
1285   -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1287     ;;
1288
1289   *=*)
1290     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291     # Reject names that are not valid shell variable names.
1292     case $ac_envvar in #(
1293       '' | [0-9]* | *[!_$as_cr_alnum]* )
1294       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295     esac
1296     eval $ac_envvar=\$ac_optarg
1297     export $ac_envvar ;;
1298
1299   *)
1300     # FIXME: should be removed in autoconf 3.0.
1301     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1305     ;;
1306
1307   esac
1308 done
1309
1310 if test -n "$ac_prev"; then
1311   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312   as_fn_error "missing argument to $ac_option"
1313 fi
1314
1315 if test -n "$ac_unrecognized_opts"; then
1316   case $enable_option_checking in
1317     no) ;;
1318     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320   esac
1321 fi
1322
1323 # Check all directory arguments for consistency.
1324 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325                 datadir sysconfdir sharedstatedir localstatedir includedir \
1326                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327                 libdir localedir mandir
1328 do
1329   eval ac_val=\$$ac_var
1330   # Remove trailing slashes.
1331   case $ac_val in
1332     */ )
1333       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334       eval $ac_var=\$ac_val;;
1335   esac
1336   # Be sure to have absolute directory names.
1337   case $ac_val in
1338     [\\/$]* | ?:[\\/]* )  continue;;
1339     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340   esac
1341   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1343
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1350
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353   if test "x$build_alias" = x; then
1354     cross_compiling=maybe
1355     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356     If a cross compiler is detected then cross compile mode will be used." >&2
1357   elif test "x$build_alias" != "x$host_alias"; then
1358     cross_compiling=yes
1359   fi
1360 fi
1361
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1364
1365 test "$silent" = yes && exec 6>/dev/null
1366
1367
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371   as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373   as_fn_error "pwd does not report name of working directory"
1374
1375
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378   ac_srcdir_defaulted=yes
1379   # Try the directory containing this script, then the parent directory.
1380   ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382          X"$as_myself" : 'X\(//\)[^/]' \| \
1383          X"$as_myself" : 'X\(//\)$' \| \
1384          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387             s//\1/
1388             q
1389           }
1390           /^X\(\/\/\)[^/].*/{
1391             s//\1/
1392             q
1393           }
1394           /^X\(\/\/\)$/{
1395             s//\1/
1396             q
1397           }
1398           /^X\(\/\).*/{
1399             s//\1/
1400             q
1401           }
1402           s/.*/./; q'`
1403   srcdir=$ac_confdir
1404   if test ! -r "$srcdir/$ac_unique_file"; then
1405     srcdir=..
1406   fi
1407 else
1408   ac_srcdir_defaulted=no
1409 fi
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1413 fi
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417         pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420   srcdir=.
1421 fi
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430   eval ac_env_${ac_var}_value=\$${ac_var}
1431   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1434
1435 #
1436 # Report the --help message.
1437 #
1438 if test "$ac_init_help" = "long"; then
1439   # Omit some internal or obsolete options to make the list less imposing.
1440   # This message is too long to be a string in the A/UX 3.1 sh.
1441   cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1443
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1445
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE.  See below for descriptions of some of the useful variables.
1448
1449 Defaults for the options are specified in brackets.
1450
1451 Configuration:
1452   -h, --help              display this help and exit
1453       --help=short        display options specific to this package
1454       --help=recursive    display the short help of all the included packages
1455   -V, --version           display version information and exit
1456   -q, --quiet, --silent   do not print \`checking...' messages
1457       --cache-file=FILE   cache test results in FILE [disabled]
1458   -C, --config-cache      alias for \`--cache-file=config.cache'
1459   -n, --no-create         do not create output files
1460       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1461
1462 Installation directories:
1463   --prefix=PREFIX         install architecture-independent files in PREFIX
1464                           [$ac_default_prefix]
1465   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1466                           [PREFIX]
1467
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1472
1473 For better control, use the options below.
1474
1475 Fine tuning of the installation directories:
1476   --bindir=DIR            user executables [EPREFIX/bin]
1477   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1478   --libexecdir=DIR        program executables [EPREFIX/libexec]
1479   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1480   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1481   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1482   --libdir=DIR            object code libraries [EPREFIX/lib]
1483   --includedir=DIR        C header files [PREFIX/include]
1484   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1485   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1486   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1487   --infodir=DIR           info documentation [DATAROOTDIR/info]
1488   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1489   --mandir=DIR            man documentation [DATAROOTDIR/man]
1490   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1491   --htmldir=DIR           html documentation [DOCDIR]
1492   --dvidir=DIR            dvi documentation [DOCDIR]
1493   --pdfdir=DIR            pdf documentation [DOCDIR]
1494   --psdir=DIR             ps documentation [DOCDIR]
1495 _ACEOF
1496
1497   cat <<\_ACEOF
1498
1499 Program names:
1500   --program-prefix=PREFIX            prepend PREFIX to installed program names
1501   --program-suffix=SUFFIX            append SUFFIX to installed program names
1502   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1503
1504 System types:
1505   --build=BUILD     configure for building on BUILD [guessed]
1506   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1507   --target=TARGET   configure for building compilers for TARGET [HOST]
1508 _ACEOF
1509 fi
1510
1511 if test -n "$ac_init_help"; then
1512   case $ac_init_help in
1513      short | recursive ) echo "Configuration of package-unused version-unused:";;
1514    esac
1515   cat <<\_ACEOF
1516
1517 Optional Features:
1518   --disable-option-checking  ignore unrecognized --enable/--with options
1519   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1520   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1521   --enable-multilib       build many library versions (default)
1522   --enable-maintainer-mode  enable make rules and dependencies not useful
1523                           (and sometimes confusing) to the casual installer
1524   --enable-shared[=PKGS]  build shared libraries [default=yes]
1525   --enable-static[=PKGS]  build static libraries [default=yes]
1526   --enable-fast-install[=PKGS]
1527                           optimize for fast installation [default=yes]
1528   --disable-libtool-lock  avoid locking (might break parallel builds)
1529   --disable-hosted-libstdcxx
1530                           only build freestanding C++ runtime support
1531   --disable-libstdcxx-verbose
1532                           disable termination messages to standard error
1533   --enable-sjlj-exceptions
1534                           force use of builtin_setjmp for exceptions
1535                           [default=auto]
1536   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1537                           [default=$is_hosted]
1538   --enable-cstdio[=PACKAGE]
1539                           use target-specific I/O package [default=stdio]
1540   --enable-clocale[=MODEL]
1541                           use MODEL for target locale package [default=auto]
1542   --enable-nls            use Native Language Support (default)
1543   --enable-libstdcxx-allocator[=KIND]
1544                           use KIND for target std::allocator base
1545                           [default=auto]
1546   --enable-cheaders[=KIND]
1547                           construct "C" headers for g++ [default=$c_model]
1548   --enable-long-long      enable template specializations for 'long long'
1549                           [default=yes]
1550   --enable-wchar_t        enable template specializations for 'wchar_t'
1551                           [default=yes]
1552   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1553   --enable-concept-checks use Boost-derived template checks [default=no]
1554   --enable-libstdcxx-debug-flags=FLAGS
1555                           pass compiler FLAGS when building debug library
1556                           [default="-gdwarf-4 -g3 -O0"]
1557   --enable-libstdcxx-debug
1558                           build extra debug library [default=no]
1559   --enable-cxx-flags=FLAGS
1560                           pass compiler FLAGS when building library [default=]
1561   --enable-fully-dynamic-string
1562                           do not put empty strings in per-process static
1563                           memory [default=no]
1564   --enable-extern-template
1565                           enable extern template [default=yes]
1566   --enable-werror         turns on -Werror [default=yes]
1567   --enable-vtable-verify  enable vtable verify [default=no]
1568   --enable-libstdcxx-time[=KIND]
1569                           use KIND for check type [default=auto]
1570   --enable-tls            Use thread-local storage [default=yes]
1571   --disable-rpath         do not hardcode runtime library paths
1572   --enable-linux-futex    use the Linux futex system call [default=default]
1573   --enable-symvers[=STYLE]
1574                           enables symbol versioning of the shared library
1575                           [default=yes]
1576   --enable-libstdcxx-visibility
1577                           enables visibility safe usage [default=yes]
1578   --enable-libstdcxx-threads
1579                           enable C++11 threads support [default=auto]
1580   --enable-version-specific-runtime-libs
1581                           Specify that runtime libraries should be installed
1582                           in a compiler-specific directory
1583
1584 Optional Packages:
1585   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1586   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1587   --with-target-subdir=SUBDIR
1588                           configuring in a subdirectory
1589   --with-cross-host=HOST  configuring with a cross compiler
1590   --with-newlib           assume newlib as a system C library
1591   --with-pic              try to use only PIC/non-PIC objects [default=use
1592                           both]
1593   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1594   --with-python-dir       the location to install Python modules. This path is
1595                           relative starting from the prefix.
1596   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1597   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1598   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1599   --with-system-libunwind use installed libunwind
1600   --with-gxx-include-dir=DIR
1601                           installation directory for include files
1602
1603 Some influential environment variables:
1604   CC          C compiler command
1605   CFLAGS      C compiler flags
1606   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1607               nonstandard directory <lib dir>
1608   LIBS        libraries to pass to the linker, e.g. -l<library>
1609   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610               you have headers in a nonstandard directory <include dir>
1611   CXX         C++ compiler command
1612   CXXFLAGS    C++ compiler flags
1613   CPP         C preprocessor
1614   CXXCPP      C++ preprocessor
1615   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1616               `c++filt', `gc++filt' on PATH.
1617
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1620
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1624 fi
1625
1626 if test "$ac_init_help" = "recursive"; then
1627   # If there are subdirs, report their specific --help.
1628   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629     test -d "$ac_dir" ||
1630       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631       continue
1632     ac_builddir=.
1633
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636 *)
1637   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638   # A ".." for each directory in $ac_dir_suffix.
1639   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640   case $ac_top_builddir_sub in
1641   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643   esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1649
1650 case $srcdir in
1651   .)  # We are building in place.
1652     ac_srcdir=.
1653     ac_top_srcdir=$ac_top_builddir_sub
1654     ac_abs_top_srcdir=$ac_pwd ;;
1655   [\\/]* | ?:[\\/]* )  # Absolute name.
1656     ac_srcdir=$srcdir$ac_dir_suffix;
1657     ac_top_srcdir=$srcdir
1658     ac_abs_top_srcdir=$srcdir ;;
1659   *) # Relative name.
1660     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661     ac_top_srcdir=$ac_top_build_prefix$srcdir
1662     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1665
1666     cd "$ac_dir" || { ac_status=$?; continue; }
1667     # Check for guested configure.
1668     if test -f "$ac_srcdir/configure.gnu"; then
1669       echo &&
1670       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671     elif test -f "$ac_srcdir/configure"; then
1672       echo &&
1673       $SHELL "$ac_srcdir/configure" --help=recursive
1674     else
1675       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676     fi || ac_status=$?
1677     cd "$ac_pwd" || { ac_status=$?; break; }
1678   done
1679 fi
1680
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683   cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1686
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691   exit
1692 fi
1693
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1697
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1702 {
1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704   rm -f conftest.$ac_objext
1705   if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708   *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712   (eval "$ac_compile") 2>conftest.err
1713   ac_status=$?
1714   if test -s conftest.err; then
1715     grep -v '^ *+' conftest.err >conftest.er1
1716     cat conftest.er1 >&5
1717     mv -f conftest.er1 conftest.err
1718   fi
1719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720   test $ac_status = 0; } && {
1721          test -z "$ac_c_werror_flag" ||
1722          test ! -s conftest.err
1723        } && test -s conftest.$ac_objext; then :
1724   ac_retval=0
1725 else
1726   $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1728
1729         ac_retval=1
1730 fi
1731   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732   return $ac_retval
1733
1734 } # ac_fn_c_try_compile
1735
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1740 {
1741   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742   rm -f conftest.$ac_objext
1743   if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746   *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750   (eval "$ac_compile") 2>conftest.err
1751   ac_status=$?
1752   if test -s conftest.err; then
1753     grep -v '^ *+' conftest.err >conftest.er1
1754     cat conftest.er1 >&5
1755     mv -f conftest.er1 conftest.err
1756   fi
1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758   test $ac_status = 0; } && {
1759          test -z "$ac_cxx_werror_flag" ||
1760          test ! -s conftest.err
1761        } && test -s conftest.$ac_objext; then :
1762   ac_retval=0
1763 else
1764   $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1766
1767         ac_retval=1
1768 fi
1769   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770   return $ac_retval
1771
1772 } # ac_fn_cxx_try_compile
1773
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1778 {
1779   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780   if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783   *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788   ac_status=$?
1789   if test -s conftest.err; then
1790     grep -v '^ *+' conftest.err >conftest.er1
1791     cat conftest.er1 >&5
1792     mv -f conftest.er1 conftest.err
1793   fi
1794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795   test $ac_status = 0; } >/dev/null && {
1796          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797          test ! -s conftest.err
1798        }; then :
1799   ac_retval=0
1800 else
1801   $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1803
1804     ac_retval=1
1805 fi
1806   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807   return $ac_retval
1808
1809 } # ac_fn_c_try_cpp
1810
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1815 {
1816   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817   rm -f conftest.$ac_objext conftest$ac_exeext
1818   if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821   *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825   (eval "$ac_link") 2>conftest.err
1826   ac_status=$?
1827   if test -s conftest.err; then
1828     grep -v '^ *+' conftest.err >conftest.er1
1829     cat conftest.er1 >&5
1830     mv -f conftest.er1 conftest.err
1831   fi
1832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833   test $ac_status = 0; } && {
1834          test -z "$ac_c_werror_flag" ||
1835          test ! -s conftest.err
1836        } && test -s conftest$ac_exeext && {
1837          test "$cross_compiling" = yes ||
1838          $as_test_x conftest$ac_exeext
1839        }; then :
1840   ac_retval=0
1841 else
1842   $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1844
1845         ac_retval=1
1846 fi
1847   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849   # interfere with the next link command; also delete a directory that is
1850   # left behind by Apple's compiler.  We do this before executing the actions.
1851   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853   return $ac_retval
1854
1855 } # ac_fn_c_try_link
1856
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1862 {
1863   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867   $as_echo_n "(cached) " >&6
1868 else
1869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h.  */
1871 $4
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875   eval "$3=yes"
1876 else
1877   eval "$3=no"
1878 fi
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 fi
1881 eval ac_res=\$$3
1882                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1885
1886 } # ac_fn_c_check_header_compile
1887
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1893 {
1894   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895   if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898   *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902   (eval "$ac_link") 2>&5
1903   ac_status=$?
1904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906   { { case "(($ac_try" in
1907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908   *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912   (eval "$ac_try") 2>&5
1913   ac_status=$?
1914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915   test $ac_status = 0; }; }; then :
1916   ac_retval=0
1917 else
1918   $as_echo "$as_me: program exited with status $ac_status" >&5
1919        $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1921
1922        ac_retval=$ac_status
1923 fi
1924   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926   return $ac_retval
1927
1928 } # ac_fn_c_try_run
1929
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1934 {
1935   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939   $as_echo_n "(cached) " >&6
1940 else
1941   if test x$gcc_no_link = xyes; then
1942   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1943 fi
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h.  */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1948 #define $2 innocuous_$2
1949
1950 /* System header to define __stub macros and hopefully few prototypes,
1951     which can conflict with char $2 (); below.
1952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953     <limits.h> exists even on freestanding compilers.  */
1954
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1960
1961 #undef $2
1962
1963 /* Override any GCC internal prototype to avoid an error.
1964    Use char because int might match the return type of a GCC
1965    builtin and then its argument prototype would still apply.  */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971     to always fail with ENOSYS.  Some functions are actually named
1972     something starting with __ and the normal name is an alias.  */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1976
1977 int
1978 main ()
1979 {
1980 return $2 ();
1981   ;
1982   return 0;
1983 }
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986   eval "$3=yes"
1987 else
1988   eval "$3=no"
1989 fi
1990 rm -f core conftest.err conftest.$ac_objext \
1991     conftest$ac_exeext conftest.$ac_ext
1992 fi
1993 eval ac_res=\$$3
1994                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997
1998 } # ac_fn_c_check_func
1999
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2004 {
2005   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006   if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009   *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014   ac_status=$?
2015   if test -s conftest.err; then
2016     grep -v '^ *+' conftest.err >conftest.er1
2017     cat conftest.er1 >&5
2018     mv -f conftest.er1 conftest.err
2019   fi
2020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021   test $ac_status = 0; } >/dev/null && {
2022          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023          test ! -s conftest.err
2024        }; then :
2025   ac_retval=0
2026 else
2027   $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2029
2030     ac_retval=1
2031 fi
2032   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033   return $ac_retval
2034
2035 } # ac_fn_cxx_try_cpp
2036
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2041 {
2042   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043   rm -f conftest.$ac_objext conftest$ac_exeext
2044   if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047   *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051   (eval "$ac_link") 2>conftest.err
2052   ac_status=$?
2053   if test -s conftest.err; then
2054     grep -v '^ *+' conftest.err >conftest.er1
2055     cat conftest.er1 >&5
2056     mv -f conftest.er1 conftest.err
2057   fi
2058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059   test $ac_status = 0; } && {
2060          test -z "$ac_cxx_werror_flag" ||
2061          test ! -s conftest.err
2062        } && test -s conftest$ac_exeext && {
2063          test "$cross_compiling" = yes ||
2064          $as_test_x conftest$ac_exeext
2065        }; then :
2066   ac_retval=0
2067 else
2068   $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2070
2071         ac_retval=1
2072 fi
2073   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075   # interfere with the next link command; also delete a directory that is
2076   # left behind by Apple's compiler.  We do this before executing the actions.
2077   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079   return $ac_retval
2080
2081 } # ac_fn_cxx_try_link
2082
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2089 {
2090   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095   $as_echo_n "(cached) " >&6
2096 fi
2097 eval ac_res=\$$3
2098                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101   # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h.  */
2106 $4
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110   ac_header_compiler=yes
2111 else
2112   ac_header_compiler=no
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2117
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h.  */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126   ac_header_preproc=yes
2127 else
2128   ac_header_preproc=no
2129 fi
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2133
2134 # So?  What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136   yes:no: )
2137     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2141     ;;
2142   no:yes:* )
2143     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2147     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2151     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2153     ;;
2154 esac
2155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158   $as_echo_n "(cached) " >&6
2159 else
2160   eval "$3=\$ac_header_compiler"
2161 fi
2162 eval ac_res=\$$3
2163                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 fi
2166   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2167
2168 } # ac_fn_c_check_header_mongrel
2169
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2176 {
2177   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182   $as_echo_n "(cached) " >&6
2183 fi
2184 eval ac_res=\$$3
2185                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188   # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h.  */
2193 $4
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197   ac_header_compiler=yes
2198 else
2199   ac_header_compiler=no
2200 fi
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2204
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h.  */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213   ac_header_preproc=yes
2214 else
2215   ac_header_preproc=no
2216 fi
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2220
2221 # So?  What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223   yes:no: )
2224     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228     ;;
2229   no:yes:* )
2230     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2234     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2238     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2240     ;;
2241 esac
2242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245   $as_echo_n "(cached) " >&6
2246 else
2247   eval "$3=\$ac_header_compiler"
2248 fi
2249 eval ac_res=\$$3
2250                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 fi
2253   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2254
2255 } # ac_fn_cxx_check_header_mongrel
2256
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2263 {
2264   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265   if test "$cross_compiling" = yes; then
2266     # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h.  */
2269 $4
2270 int
2271 main ()
2272 {
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2275
2276   ;
2277   return 0;
2278 }
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281   ac_lo=0 ac_mid=0
2282   while :; do
2283     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h.  */
2285 $4
2286 int
2287 main ()
2288 {
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2291
2292   ;
2293   return 0;
2294 }
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297   ac_hi=$ac_mid; break
2298 else
2299   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300                         if test $ac_lo -le $ac_mid; then
2301                           ac_lo= ac_hi=
2302                           break
2303                         fi
2304                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2305 fi
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307   done
2308 else
2309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h.  */
2311 $4
2312 int
2313 main ()
2314 {
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2317
2318   ;
2319   return 0;
2320 }
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323   ac_hi=-1 ac_mid=-1
2324   while :; do
2325     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h.  */
2327 $4
2328 int
2329 main ()
2330 {
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2333
2334   ;
2335   return 0;
2336 }
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339   ac_lo=$ac_mid; break
2340 else
2341   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342                         if test $ac_mid -le $ac_hi; then
2343                           ac_lo= ac_hi=
2344                           break
2345                         fi
2346                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349   done
2350 else
2351   ac_lo= ac_hi=
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 fi
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h.  */
2361 $4
2362 int
2363 main ()
2364 {
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2367
2368   ;
2369   return 0;
2370 }
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373   ac_hi=$ac_mid
2374 else
2375   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2376 fi
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383   else
2384     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h.  */
2386 $4
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2391 int
2392 main ()
2393 {
2394
2395   FILE *f = fopen ("conftest.val", "w");
2396   if (! f)
2397     return 1;
2398   if (($2) < 0)
2399     {
2400       long int i = longval ();
2401       if (i != ($2))
2402         return 1;
2403       fprintf (f, "%ld", i);
2404     }
2405   else
2406     {
2407       unsigned long int i = ulongval ();
2408       if (i != ($2))
2409         return 1;
2410       fprintf (f, "%lu", i);
2411     }
2412   /* Do not output a trailing newline, as this causes \r\n confusion
2413      on some platforms.  */
2414   return ferror (f) || fclose (f) != 0;
2415
2416   ;
2417   return 0;
2418 }
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423   ac_retval=1
2424 fi
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426   conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2428
2429   fi
2430   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431   return $ac_retval
2432
2433 } # ac_fn_c_compute_int
2434
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2440 {
2441   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445   $as_echo_n "(cached) " >&6
2446 else
2447   eval "$3=no"
2448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h.  */
2450 $4
2451 int
2452 main ()
2453 {
2454 if (sizeof ($2))
2455          return 0;
2456   ;
2457   return 0;
2458 }
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h.  */
2463 $4
2464 int
2465 main ()
2466 {
2467 if (sizeof (($2)))
2468             return 0;
2469   ;
2470   return 0;
2471 }
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474
2475 else
2476   eval "$3=yes"
2477 fi
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2479 fi
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481 fi
2482 eval ac_res=\$$3
2483                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2486
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2491
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64.  Invocation command line was
2494
2495   $ $0 $@
2496
2497 _ACEOF
2498 exec 5>>config.log
2499 {
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2504
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2510
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2513
2514 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2515 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2518 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2519 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2520 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2521
2522 _ASUNAME
2523
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2526 do
2527   IFS=$as_save_IFS
2528   test -z "$as_dir" && as_dir=.
2529     $as_echo "PATH: $as_dir"
2530   done
2531 IFS=$as_save_IFS
2532
2533 } >&5
2534
2535 cat >&5 <<_ACEOF
2536
2537
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2541
2542 _ACEOF
2543
2544
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2555 do
2556   for ac_arg
2557   do
2558     case $ac_arg in
2559     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561     | -silent | --silent | --silen | --sile | --sil)
2562       continue ;;
2563     *\'*)
2564       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565     esac
2566     case $ac_pass in
2567     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2568     2)
2569       as_fn_append ac_configure_args1 " '$ac_arg'"
2570       if test $ac_must_keep_next = true; then
2571         ac_must_keep_next=false # Got value, back to normal.
2572       else
2573         case $ac_arg in
2574           *=* | --config-cache | -C | -disable-* | --disable-* \
2575           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577           | -with-* | --with-* | -without-* | --without-* | --x)
2578             case "$ac_configure_args0 " in
2579               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580             esac
2581             ;;
2582           -* ) ac_must_keep_next=true ;;
2583         esac
2584       fi
2585       as_fn_append ac_configure_args " '$ac_arg'"
2586       ;;
2587     esac
2588   done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2592
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log.  We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599   # Save into config.log some information that might help in debugging.
2600   {
2601     echo
2602
2603     cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608     echo
2609     # The following way of writing the cache mishandles newlines in values,
2610 (
2611   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612     eval ac_val=\$$ac_var
2613     case $ac_val in #(
2614     *${as_nl}*)
2615       case $ac_var in #(
2616       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618       esac
2619       case $ac_var in #(
2620       _ | IFS | as_nl) ;; #(
2621       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622       *) { eval $ac_var=; unset $ac_var;} ;;
2623       esac ;;
2624     esac
2625   done
2626   (set) 2>&1 |
2627     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628     *${as_nl}ac_space=\ *)
2629       sed -n \
2630         "s/'\''/'\''\\\\'\'''\''/g;
2631           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632       ;; #(
2633     *)
2634       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2635       ;;
2636     esac |
2637     sort
2638 )
2639     echo
2640
2641     cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646     echo
2647     for ac_var in $ac_subst_vars
2648     do
2649       eval ac_val=\$$ac_var
2650       case $ac_val in
2651       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652       esac
2653       $as_echo "$ac_var='\''$ac_val'\''"
2654     done | sort
2655     echo
2656
2657     if test -n "$ac_subst_files"; then
2658       cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663       echo
2664       for ac_var in $ac_subst_files
2665       do
2666         eval ac_val=\$$ac_var
2667         case $ac_val in
2668         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669         esac
2670         $as_echo "$ac_var='\''$ac_val'\''"
2671       done | sort
2672       echo
2673     fi
2674
2675     if test -s confdefs.h; then
2676       cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681       echo
2682       cat confdefs.h
2683       echo
2684     fi
2685     test "$ac_signal" != 0 &&
2686       $as_echo "$as_me: caught signal $ac_signal"
2687     $as_echo "$as_me: exit $exit_status"
2688   } >&5
2689   rm -f core *.core core.conftest.* &&
2690     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691     exit $exit_status
2692 ' 0
2693 for ac_signal in 1 2 13 15; do
2694   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2697
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2700
2701 $as_echo "/* confdefs.h */" > confdefs.h
2702
2703 # Predefined preprocessor variables.
2704
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2708
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2712
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2716
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2720
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2724
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2728
2729
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735   ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737   ac_site_file1=$prefix/share/config.site
2738   ac_site_file2=$prefix/etc/config.site
2739 else
2740   ac_site_file1=$ac_default_prefix/share/config.site
2741   ac_site_file2=$ac_default_prefix/etc/config.site
2742 fi
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2744 do
2745   test "x$ac_site_file" = xNONE && continue
2746   if test -r "$ac_site_file"; then
2747     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749     sed 's/^/| /' "$ac_site_file" >&5
2750     . "$ac_site_file"
2751   fi
2752 done
2753
2754 if test -r "$cache_file"; then
2755   # Some versions of bash will fail to source /dev/null (special
2756   # files actually), so we avoid doing that.
2757   if test -f "$cache_file"; then
2758     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760     case $cache_file in
2761       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762       *)                      . "./$cache_file";;
2763     esac
2764   fi
2765 else
2766   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768   >$cache_file
2769 fi
2770
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776   eval ac_new_set=\$ac_env_${ac_var}_set
2777   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778   eval ac_new_val=\$ac_env_${ac_var}_value
2779   case $ac_old_set,$ac_new_set in
2780     set,)
2781       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783       ac_cache_corrupted=: ;;
2784     ,set)
2785       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787       ac_cache_corrupted=: ;;
2788     ,);;
2789     *)
2790       if test "x$ac_old_val" != "x$ac_new_val"; then
2791         # differences in whitespace do not lead to failure.
2792         ac_old_val_w=`echo x $ac_old_val`
2793         ac_new_val_w=`echo x $ac_new_val`
2794         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797           ac_cache_corrupted=:
2798         else
2799           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801           eval $ac_var=\$ac_old_val
2802         fi
2803         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2804 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2805         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2807       fi;;
2808   esac
2809   # Pass precious variables to config.status.
2810   if test "$ac_new_set" = set; then
2811     case $ac_new_val in
2812     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813     *) ac_arg=$ac_var=$ac_new_val ;;
2814     esac
2815     case " $ac_configure_args " in
2816       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2817       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818     esac
2819   fi
2820 done
2821 if $ac_cache_corrupted; then
2822   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2827 fi
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2831
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2837
2838
2839
2840
2841
2842
2843 ac_config_headers="$ac_config_headers config.h"
2844
2845
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported.  Only used at the end of this file.
2850 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2851
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856   enableval=$enable_multilib; case "$enableval" in
2857   yes) multilib=yes ;;
2858   no)  multilib=no ;;
2859   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860  esac
2861 else
2862   multilib=yes
2863 fi
2864
2865
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2869
2870 if test "$srcdir" = "."; then
2871   if test "$with_target_subdir" != "."; then
2872     multi_basedir="$srcdir/$with_multisrctop../.."
2873   else
2874     multi_basedir="$srcdir/$with_multisrctop.."
2875   fi
2876 else
2877   multi_basedir="$srcdir/.."
2878 fi
2879
2880
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884    && test "x${with_multisubdir}" != x ; then
2885    cross_compiling=maybe
2886 fi
2887
2888 ac_config_commands="$ac_config_commands default-1"
2889
2890
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2892 #
2893 # You will slowly go insane if you do not grok the following fact:  when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/.  configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf.  Therefore, 'target' and
2897 # 'host' will always be the same.  This makes sense both for native and
2898 # cross compilers, just think about it for a little while.  :-)
2899 #
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2902 #
2903 # Do not delete or change the following two lines.  For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907   for ac_t in install-sh install.sh shtool; do
2908     if test -f "$ac_dir/$ac_t"; then
2909       ac_aux_dir=$ac_dir
2910       ac_install_sh="$ac_aux_dir/$ac_t -c"
2911       break 2
2912     fi
2913   done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2917 fi
2918
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2926
2927
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2931
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935   $as_echo_n "(cached) " >&6
2936 else
2937   ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2944
2945 fi
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2964
2965
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969   $as_echo_n "(cached) " >&6
2970 else
2971   if test "x$host_alias" = x; then
2972   ac_cv_host=$ac_cv_build
2973 else
2974   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2976 fi
2977
2978 fi
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2997
2998
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002   $as_echo_n "(cached) " >&6
3003 else
3004   if test "x$target_alias" = x; then
3005   ac_cv_target=$ac_cv_host
3006 else
3007   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3009 fi
3010
3011 fi
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3030
3031
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035   test "$program_prefix$program_suffix$program_transform_name" = \
3036     NONENONEs,x,x, &&
3037   program_prefix=${target_alias}-
3038
3039 target_alias=${target_alias-$host_alias}
3040
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3043
3044 if test "$build" != "$host"; then
3045   # We are being configured with some form of cross compiler.
3046   GLIBCXX_IS_NATIVE=false
3047   case "$host","$target" in
3048     # Darwin crosses can use the host system's libraries and headers,
3049     # because of the fat library support.  Of course, it must be the
3050     # same version of Darwin on both sides.  Allow the user to
3051     # just say --target=foo-darwin without a version number to mean
3052     # "the version on this system".
3053       *-*-darwin*,*-*-darwin*)
3054         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056         if test $hostos = $targetos -o $targetos = darwin ; then
3057           GLIBCXX_IS_NATIVE=true
3058         fi
3059         ;;
3060
3061       *)
3062
3063         ;;
3064   esac
3065 else
3066   GLIBCXX_IS_NATIVE=true
3067 fi
3068
3069 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 #  1.x:  minimum required version
3072 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 #              of other PACKAGE_* variables will, however, and there's nothing
3074 #              we can do about that; they come from AC_INIT).
3075 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3076 #            file in the top srcdir, etc, etc), so stop complaining.
3077 #  no-dependencies:  turns off auto dependency generation (just for now)
3078 #  no-dist:  we don't want 'dist' and related rules.
3079 #  -Wall:  turns on all automake warnings...
3080 #  -Wno-portability:  ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3082
3083 # Find a good install program.  We prefer a C program (faster),
3084 # so one script is as good as another.  But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101   $as_echo_n "(cached) " >&6
3102 else
3103   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3105 do
3106   IFS=$as_save_IFS
3107   test -z "$as_dir" && as_dir=.
3108     # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110   ./ | .// | /[cC]/* | \
3111   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113   /usr/ucb/* ) ;;
3114   *)
3115     # OSF1 and SCO ODT 3.0 have their own names for install.
3116     # Don't use installbsd from OSF since it installs stuff as root
3117     # by default.
3118     for ac_prog in ginstall scoinst install; do
3119       for ac_exec_ext in '' $ac_executable_extensions; do
3120         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121           if test $ac_prog = install &&
3122             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123             # AIX install.  It has an incompatible calling convention.
3124             :
3125           elif test $ac_prog = install &&
3126             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127             # program-specific install script used by HP pwplus--don't use.
3128             :
3129           else
3130             rm -rf conftest.one conftest.two conftest.dir
3131             echo one > conftest.one
3132             echo two > conftest.two
3133             mkdir conftest.dir
3134             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135               test -s conftest.one && test -s conftest.two &&
3136               test -s conftest.dir/conftest.one &&
3137               test -s conftest.dir/conftest.two
3138             then
3139               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140               break 3
3141             fi
3142           fi
3143         fi
3144       done
3145     done
3146     ;;
3147 esac
3148
3149   done
3150 IFS=$as_save_IFS
3151
3152 rm -rf conftest.one conftest.two conftest.dir
3153
3154 fi
3155   if test "${ac_cv_path_install+set}" = set; then
3156     INSTALL=$ac_cv_path_install
3157   else
3158     # As a last resort, use the slow shell script.  Don't cache a
3159     # value for INSTALL within a source directory, because that will
3160     # break other packages using the cache if that directory is
3161     # removed, or if the value is a relative name.
3162     INSTALL=$ac_install_sh
3163   fi
3164 fi
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3167
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3171
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3173
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3175
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name.  Accept space and tab only in the latter.
3183 am_lf='
3184 '
3185 case `pwd` in
3186   *[\\\"\#\$\&\'\`$am_lf]*)
3187     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3191     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3193
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments.  Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201    if test "$*" = "X"; then
3202       # -L didn't work.
3203       set X `ls -t "$srcdir/configure" conftest.file`
3204    fi
3205    rm -f conftest.file
3206    if test "$*" != "X $srcdir/configure conftest.file" \
3207       && test "$*" != "X conftest.file $srcdir/configure"; then
3208
3209       # If neither matched, then we have a broken ls.  This can happen
3210       # if, for instance, CONFIG_SHELL is bash and it inherits a
3211       # broken ls alias from the environment.  This has actually
3212       # happened.  Such a system could not be considered "sane".
3213       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3215    fi
3216
3217    test "$2" = conftest.file
3218    )
3219 then
3220    # Ok.
3221    :
3222 else
3223    as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3225 fi
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3237
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3240
3241 if test x"${MISSING+set}" != xset; then
3242   case $am_aux_dir in
3243   *\ * | *\     *)
3244     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3245   *)
3246     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247   esac
3248 fi
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251   am_missing_run="$MISSING --run "
3252 else
3253   am_missing_run=
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3256 fi
3257
3258 if test x"${install_sh}" != xset; then
3259   case $am_aux_dir in
3260   *\ * | *\     *)
3261     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3262   *)
3263     install_sh="\${SHELL} $am_aux_dir/install-sh"
3264   esac
3265 fi
3266
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'.  However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272   if test -n "$ac_tool_prefix"; then
3273   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278   $as_echo_n "(cached) " >&6
3279 else
3280   if test -n "$STRIP"; then
3281   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3285 do
3286   IFS=$as_save_IFS
3287   test -z "$as_dir" && as_dir=.
3288     for ac_exec_ext in '' $ac_executable_extensions; do
3289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292     break 2
3293   fi
3294 done
3295   done
3296 IFS=$as_save_IFS
3297
3298 fi
3299 fi
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 fi
3308
3309
3310 fi
3311 if test -z "$ac_cv_prog_STRIP"; then
3312   ac_ct_STRIP=$STRIP
3313   # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318   $as_echo_n "(cached) " >&6
3319 else
3320   if test -n "$ac_ct_STRIP"; then
3321   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3325 do
3326   IFS=$as_save_IFS
3327   test -z "$as_dir" && as_dir=.
3328     for ac_exec_ext in '' $ac_executable_extensions; do
3329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330     ac_cv_prog_ac_ct_STRIP="strip"
3331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332     break 2
3333   fi
3334 done
3335   done
3336 IFS=$as_save_IFS
3337
3338 fi
3339 fi
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3347 fi
3348
3349   if test "x$ac_ct_STRIP" = x; then
3350     STRIP=":"
3351   else
3352     case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358     STRIP=$ac_ct_STRIP
3359   fi
3360 else
3361   STRIP="$ac_cv_prog_STRIP"
3362 fi
3363
3364 fi
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3366
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370   if test "${ac_cv_path_mkdir+set}" = set; then :
3371   $as_echo_n "(cached) " >&6
3372 else
3373   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3375 do
3376   IFS=$as_save_IFS
3377   test -z "$as_dir" && as_dir=.
3378     for ac_prog in mkdir gmkdir; do
3379          for ac_exec_ext in '' $ac_executable_extensions; do
3380            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382              'mkdir (GNU coreutils) '* | \
3383              'mkdir (coreutils) '* | \
3384              'mkdir (fileutils) '4.1*)
3385                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386                break 3;;
3387            esac
3388          done
3389        done
3390   done
3391 IFS=$as_save_IFS
3392
3393 fi
3394
3395   if test "${ac_cv_path_mkdir+set}" = set; then
3396     MKDIR_P="$ac_cv_path_mkdir -p"
3397   else
3398     # As a last resort, use the slow shell script.  Don't cache a
3399     # value for MKDIR_P within a source directory, because that will
3400     # break other packages using the cache if that directory is
3401     # removed, or if the value is a relative name.
3402     test -d ./--version && rmdir ./--version
3403     MKDIR_P="$ac_install_sh -d"
3404   fi
3405 fi
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3408
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411   [\\/$]* | ?:[\\/]*) ;;
3412   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3414
3415 for ac_prog in gawk mawk nawk awk
3416 do
3417   # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422   $as_echo_n "(cached) " >&6
3423 else
3424   if test -n "$AWK"; then
3425   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3429 do
3430   IFS=$as_save_IFS
3431   test -z "$as_dir" && as_dir=.
3432     for ac_exec_ext in '' $ac_executable_extensions; do
3433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434     ac_cv_prog_AWK="$ac_prog"
3435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436     break 2
3437   fi
3438 done
3439   done
3440 IFS=$as_save_IFS
3441
3442 fi
3443 fi
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3451 fi
3452
3453
3454   test -n "$AWK" && break
3455 done
3456
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462   $as_echo_n "(cached) " >&6
3463 else
3464   cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467         @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471   *@@@%%%=?*=@@@%%%*)
3472     eval ac_cv_prog_make_${ac_make}_set=yes;;
3473   *)
3474     eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3477 fi
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481   SET_MAKE=
3482 else
3483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485   SET_MAKE="MAKE=${MAKE-make}"
3486 fi
3487
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491   am__leading_dot=.
3492 else
3493   am__leading_dot=_
3494 fi
3495 rmdir .tst 2>/dev/null
3496
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499   # is not polluted with repeated "-I."
3500   am__isrc=' -I$(srcdir)'
3501   # test to see if srcdir already configured
3502   if test -f $srcdir/config.status; then
3503     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3504   fi
3505 fi
3506
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509   if (cygpath --version) >/dev/null 2>/dev/null; then
3510     CYGPATH_W='cygpath -w'
3511   else
3512     CYGPATH_W=echo
3513   fi
3514 fi
3515
3516
3517 # Define the identity of the package.
3518  PACKAGE='libstdc++'
3519  VERSION='version-unused'
3520
3521
3522 # Some tools Automake needs.
3523
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3525
3526
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3528
3529
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3531
3532
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3534
3535
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3537
3538 # We need awk for the "check" target.  The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3541
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3543
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3545
3546
3547
3548
3549
3550
3551
3552
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3555
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569   $as_echo_n "(cached) " >&6
3570 else
3571   if test -n "$CC"; then
3572   ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3576 do
3577   IFS=$as_save_IFS
3578   test -z "$as_dir" && as_dir=.
3579     for ac_exec_ext in '' $ac_executable_extensions; do
3580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583     break 2
3584   fi
3585 done
3586   done
3587 IFS=$as_save_IFS
3588
3589 fi
3590 fi
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 fi
3599
3600
3601 fi
3602 if test -z "$ac_cv_prog_CC"; then
3603   ac_ct_CC=$CC
3604   # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609   $as_echo_n "(cached) " >&6
3610 else
3611   if test -n "$ac_ct_CC"; then
3612   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3616 do
3617   IFS=$as_save_IFS
3618   test -z "$as_dir" && as_dir=.
3619     for ac_exec_ext in '' $ac_executable_extensions; do
3620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621     ac_cv_prog_ac_ct_CC="gcc"
3622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623     break 2
3624   fi
3625 done
3626   done
3627 IFS=$as_save_IFS
3628
3629 fi
3630 fi
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3638 fi
3639
3640   if test "x$ac_ct_CC" = x; then
3641     CC=""
3642   else
3643     case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649     CC=$ac_ct_CC
3650   fi
3651 else
3652   CC="$ac_cv_prog_CC"
3653 fi
3654
3655 if test -z "$CC"; then
3656           if test -n "$ac_tool_prefix"; then
3657     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662   $as_echo_n "(cached) " >&6
3663 else
3664   if test -n "$CC"; then
3665   ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3669 do
3670   IFS=$as_save_IFS
3671   test -z "$as_dir" && as_dir=.
3672     for ac_exec_ext in '' $ac_executable_extensions; do
3673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674     ac_cv_prog_CC="${ac_tool_prefix}cc"
3675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676     break 2
3677   fi
3678 done
3679   done
3680 IFS=$as_save_IFS
3681
3682 fi
3683 fi
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3691 fi
3692
3693
3694   fi
3695 fi
3696 if test -z "$CC"; then
3697   # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702   $as_echo_n "(cached) " >&6
3703 else
3704   if test -n "$CC"; then
3705   ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707   ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3710 do
3711   IFS=$as_save_IFS
3712   test -z "$as_dir" && as_dir=.
3713     for ac_exec_ext in '' $ac_executable_extensions; do
3714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716        ac_prog_rejected=yes
3717        continue
3718      fi
3719     ac_cv_prog_CC="cc"
3720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721     break 2
3722   fi
3723 done
3724   done
3725 IFS=$as_save_IFS
3726
3727 if test $ac_prog_rejected = yes; then
3728   # We found a bogon in the path, so make sure we never use it.
3729   set dummy $ac_cv_prog_CC
3730   shift
3731   if test $# != 0; then
3732     # We chose a different compiler from the bogus one.
3733     # However, it has the same basename, so the bogon will be chosen
3734     # first if we set CC to just the basename; use the full file name.
3735     shift
3736     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3737   fi
3738 fi
3739 fi
3740 fi
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 fi
3749
3750
3751 fi
3752 if test -z "$CC"; then
3753   if test -n "$ac_tool_prefix"; then
3754   for ac_prog in cl.exe
3755   do
3756     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761   $as_echo_n "(cached) " >&6
3762 else
3763   if test -n "$CC"; then
3764   ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769   IFS=$as_save_IFS
3770   test -z "$as_dir" && as_dir=.
3771     for ac_exec_ext in '' $ac_executable_extensions; do
3772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775     break 2
3776   fi
3777 done
3778   done
3779 IFS=$as_save_IFS
3780
3781 fi
3782 fi
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3790 fi
3791
3792
3793     test -n "$CC" && break
3794   done
3795 fi
3796 if test -z "$CC"; then
3797   ac_ct_CC=$CC
3798   for ac_prog in cl.exe
3799 do
3800   # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805   $as_echo_n "(cached) " >&6
3806 else
3807   if test -n "$ac_ct_CC"; then
3808   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3812 do
3813   IFS=$as_save_IFS
3814   test -z "$as_dir" && as_dir=.
3815     for ac_exec_ext in '' $ac_executable_extensions; do
3816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817     ac_cv_prog_ac_ct_CC="$ac_prog"
3818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819     break 2
3820   fi
3821 done
3822   done
3823 IFS=$as_save_IFS
3824
3825 fi
3826 fi
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3834 fi
3835
3836
3837   test -n "$ac_ct_CC" && break
3838 done
3839
3840   if test "x$ac_ct_CC" = x; then
3841     CC=""
3842   else
3843     case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849     CC=$ac_ct_CC
3850   fi
3851 fi
3852
3853 fi
3854
3855
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3860
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866   { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869   *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874   ac_status=$?
3875   if test -s conftest.err; then
3876     sed '10a\
3877 ... rest of stderr output deleted ...
3878          10q' conftest.err >conftest.er1
3879     cat conftest.er1 >&5
3880     rm -f conftest.er1 conftest.err
3881   fi
3882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883   test $ac_status = 0; }
3884 done
3885
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h.  */
3888
3889 int
3890 main ()
3891 {
3892
3893   ;
3894   return 0;
3895 }
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899   (eval $ac_link) 2>&5
3900   ac_status=$?
3901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902   test $ac_status = 0; }; then :
3903   gcc_no_link=no
3904 else
3905   gcc_no_link=yes
3906 fi
3907 if test x$gcc_no_link = xyes; then
3908   # Setting cross_compile will disable run tests; it will
3909   # also disable AC_CHECK_FILE but that's generally
3910   # correct if we can't link.
3911   cross_compiling=yes
3912   EXEEXT=
3913 else
3914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h.  */
3916
3917 int
3918 main ()
3919 {
3920
3921   ;
3922   return 0;
3923 }
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3933
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3936
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3939 do
3940   case $ac_file in
3941     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943   esac
3944 done
3945 rm -f $ac_rmfiles
3946
3947 if { { ac_try="$ac_link_default"
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_link_default") 2>&5
3955   ac_status=$?
3956   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957   test $ac_status = 0; }; then :
3958   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3964 do
3965   test -f "$ac_file" || continue
3966   case $ac_file in
3967     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3968         ;;
3969     [ab].out )
3970         # We found the default executable, but exeext='' is most
3971         # certainly right.
3972         break;;
3973     *.* )
3974         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975         then :; else
3976            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3977         fi
3978         # We set ac_cv_exeext here because the later test for it is not
3979         # safe: cross compilers may not add the suffix if given an `-o'
3980         # argument, so we may need to know it at that point already.
3981         # Even if this section looks crufty: it has the advantage of
3982         # actually working.
3983         break;;
3984     * )
3985         break;;
3986   esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3989
3990 else
3991   ac_file=''
3992 fi
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996   $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3998
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4004 fi
4005 ac_exeext=$ac_cv_exeext
4006
4007 # Check that the compiler produces executables we can run.  If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013   if { ac_try='./$ac_file'
4014   { { case "(($ac_try" in
4015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016   *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020   (eval "$ac_try") 2>&5
4021   ac_status=$?
4022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023   test $ac_status = 0; }; }; then
4024     cross_compiling=no
4025   else
4026     if test "$cross_compiling" = maybe; then
4027         cross_compiling=yes
4028     else
4029         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4034     fi
4035   fi
4036 fi
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4039
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run.  If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4048
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054   *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058   (eval "$ac_link") 2>&5
4059   ac_status=$?
4060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061   test $ac_status = 0; }; then :
4062   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067   test -f "$ac_file" || continue
4068   case $ac_file in
4069     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071           break;;
4072     * ) break;;
4073   esac
4074 done
4075 else
4076   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4080 fi
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4084
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4088 fi
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092   $as_echo_n "(cached) " >&6
4093 else
4094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h.  */
4096
4097 int
4098 main ()
4099 {
4100
4101   ;
4102   return 0;
4103 }
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109   *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113   (eval "$ac_compile") 2>&5
4114   ac_status=$?
4115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116   test $ac_status = 0; }; then :
4117   for ac_file in conftest.o conftest.obj conftest.*; do
4118   test -f "$ac_file" || continue;
4119   case $ac_file in
4120     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122        break;;
4123   esac
4124 done
4125 else
4126   $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4128
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4133 fi
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4135 fi
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143   $as_echo_n "(cached) " >&6
4144 else
4145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h.  */
4147
4148 int
4149 main ()
4150 {
4151 #ifndef __GNUC__
4152        choke me
4153 #endif
4154
4155   ;
4156   return 0;
4157 }
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160   ac_compiler_gnu=yes
4161 else
4162   ac_compiler_gnu=no
4163 fi
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4166
4167 fi
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171   GCC=yes
4172 else
4173   GCC=
4174 fi
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180   $as_echo_n "(cached) " >&6
4181 else
4182   ac_save_c_werror_flag=$ac_c_werror_flag
4183    ac_c_werror_flag=yes
4184    ac_cv_prog_cc_g=no
4185    CFLAGS="-g"
4186    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h.  */
4188
4189 int
4190 main ()
4191 {
4192
4193   ;
4194   return 0;
4195 }
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198   ac_cv_prog_cc_g=yes
4199 else
4200   CFLAGS=""
4201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h.  */
4203
4204 int
4205 main ()
4206 {
4207
4208   ;
4209   return 0;
4210 }
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213
4214 else
4215   ac_c_werror_flag=$ac_save_c_werror_flag
4216          CFLAGS="-g"
4217          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h.  */
4219
4220 int
4221 main ()
4222 {
4223
4224   ;
4225   return 0;
4226 }
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229   ac_cv_prog_cc_g=yes
4230 fi
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 fi
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 fi
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236    ac_c_werror_flag=$ac_save_c_werror_flag
4237 fi
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241   CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243   if test "$GCC" = yes; then
4244     CFLAGS="-g -O2"
4245   else
4246     CFLAGS="-g"
4247   fi
4248 else
4249   if test "$GCC" = yes; then
4250     CFLAGS="-O2"
4251   else
4252     CFLAGS=
4253   fi
4254 fi
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258   $as_echo_n "(cached) " >&6
4259 else
4260   ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h.  */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272      char **p;
4273      int i;
4274 {
4275   return p[i];
4276 }
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4278 {
4279   char *s;
4280   va_list v;
4281   va_start (v,p);
4282   s = g (p, va_arg (v,int));
4283   va_end (v);
4284   return s;
4285 }
4286
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4288    function prototypes and stuff, but not '\xHH' hex character constants.
4289    These don't provoke an error unfortunately, instead are silently treated
4290    as 'x'.  The following induces an error, until -std is added to get
4291    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4292    array size at least.  It's necessary to write '\x00'==0 to get something
4293    that's true only with -std.  */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4295
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297    inside strings and character constants.  */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4300
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4307 int
4308 main ()
4309 {
4310 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4311   ;
4312   return 0;
4313 }
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4317 do
4318   CC="$ac_save_CC $ac_arg"
4319   if ac_fn_c_try_compile "$LINENO"; then :
4320   ac_cv_prog_cc_c89=$ac_arg
4321 fi
4322 rm -f core conftest.err conftest.$ac_objext
4323   test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4327
4328 fi
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4331   x)
4332     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334   xno)
4335     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4337   *)
4338     CC="$CC $ac_cv_prog_cc_c89"
4339     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4343
4344 fi
4345
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4351
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358   if test -n "$CCC"; then
4359     CXX=$CCC
4360   else
4361     if test -n "$ac_tool_prefix"; then
4362   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4363   do
4364     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369   $as_echo_n "(cached) " >&6
4370 else
4371   if test -n "$CXX"; then
4372   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4376 do
4377   IFS=$as_save_IFS
4378   test -z "$as_dir" && as_dir=.
4379     for ac_exec_ext in '' $ac_executable_extensions; do
4380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383     break 2
4384   fi
4385 done
4386   done
4387 IFS=$as_save_IFS
4388
4389 fi
4390 fi
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4398 fi
4399
4400
4401     test -n "$CXX" && break
4402   done
4403 fi
4404 if test -z "$CXX"; then
4405   ac_ct_CXX=$CXX
4406   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4407 do
4408   # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413   $as_echo_n "(cached) " >&6
4414 else
4415   if test -n "$ac_ct_CXX"; then
4416   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4420 do
4421   IFS=$as_save_IFS
4422   test -z "$as_dir" && as_dir=.
4423     for ac_exec_ext in '' $ac_executable_extensions; do
4424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425     ac_cv_prog_ac_ct_CXX="$ac_prog"
4426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427     break 2
4428   fi
4429 done
4430   done
4431 IFS=$as_save_IFS
4432
4433 fi
4434 fi
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4442 fi
4443
4444
4445   test -n "$ac_ct_CXX" && break
4446 done
4447
4448   if test "x$ac_ct_CXX" = x; then
4449     CXX="g++"
4450   else
4451     case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457     CXX=$ac_ct_CXX
4458   fi
4459 fi
4460
4461   fi
4462 fi
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468   { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471   *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476   ac_status=$?
4477   if test -s conftest.err; then
4478     sed '10a\
4479 ... rest of stderr output deleted ...
4480          10q' conftest.err >conftest.er1
4481     cat conftest.er1 >&5
4482     rm -f conftest.er1 conftest.err
4483   fi
4484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485   test $ac_status = 0; }
4486 done
4487
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491   $as_echo_n "(cached) " >&6
4492 else
4493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h.  */
4495
4496 int
4497 main ()
4498 {
4499 #ifndef __GNUC__
4500        choke me
4501 #endif
4502
4503   ;
4504   return 0;
4505 }
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508   ac_compiler_gnu=yes
4509 else
4510   ac_compiler_gnu=no
4511 fi
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4514
4515 fi
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519   GXX=yes
4520 else
4521   GXX=
4522 fi
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528   $as_echo_n "(cached) " >&6
4529 else
4530   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531    ac_cxx_werror_flag=yes
4532    ac_cv_prog_cxx_g=no
4533    CXXFLAGS="-g"
4534    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h.  */
4536
4537 int
4538 main ()
4539 {
4540
4541   ;
4542   return 0;
4543 }
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546   ac_cv_prog_cxx_g=yes
4547 else
4548   CXXFLAGS=""
4549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h.  */
4551
4552 int
4553 main ()
4554 {
4555
4556   ;
4557   return 0;
4558 }
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4561
4562 else
4563   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564          CXXFLAGS="-g"
4565          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h.  */
4567
4568 int
4569 main ()
4570 {
4571
4572   ;
4573   return 0;
4574 }
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577   ac_cv_prog_cxx_g=yes
4578 fi
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 fi
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 fi
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4585 fi
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589   CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591   if test "$GXX" = yes; then
4592     CXXFLAGS="-g -O2"
4593   else
4594     CXXFLAGS="-g"
4595   fi
4596 else
4597   if test "$GXX" = yes; then
4598     CXXFLAGS="-O2"
4599   else
4600     CXXFLAGS=
4601   fi
4602 fi
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4608
4609 CXXFLAGS="$save_CXXFLAGS"
4610
4611 # Runs configure.host, and assorted other critical bits.  Sets
4612 # up critical shell variables.
4613
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623   CPP=
4624 fi
4625 if test -z "$CPP"; then
4626   if test "${ac_cv_prog_CPP+set}" = set; then :
4627   $as_echo_n "(cached) " >&6
4628 else
4629       # Double quotes because CPP needs to be expanded
4630     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4631     do
4632       ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4634 do
4635   # Use a header file that comes with gcc, so configuring glibc
4636   # with a fresh cross-compiler works.
4637   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638   # <limits.h> exists even on freestanding compilers.
4639   # On the NeXT, cc -E runs the code through the compiler's parser,
4640   # not just through cpp. "Syntax error" is here to catch this case.
4641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h.  */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648                      Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651
4652 else
4653   # Broken: fails on valid input.
4654 continue
4655 fi
4656 rm -f conftest.err conftest.$ac_ext
4657
4658   # OK, works on sane cases.  Now check whether nonexistent headers
4659   # can be detected and how.
4660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h.  */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665   # Broken: success on invalid input.
4666 continue
4667 else
4668   # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4671 fi
4672 rm -f conftest.err conftest.$ac_ext
4673
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678   break
4679 fi
4680
4681     done
4682     ac_cv_prog_CPP=$CPP
4683
4684 fi
4685   CPP=$ac_cv_prog_CPP
4686 else
4687   ac_cv_prog_CPP=$CPP
4688 fi
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4693 do
4694   # Use a header file that comes with gcc, so configuring glibc
4695   # with a fresh cross-compiler works.
4696   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697   # <limits.h> exists even on freestanding compilers.
4698   # On the NeXT, cc -E runs the code through the compiler's parser,
4699   # not just through cpp. "Syntax error" is here to catch this case.
4700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h.  */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707                      Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710
4711 else
4712   # Broken: fails on valid input.
4713 continue
4714 fi
4715 rm -f conftest.err conftest.$ac_ext
4716
4717   # OK, works on sane cases.  Now check whether nonexistent headers
4718   # can be detected and how.
4719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h.  */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724   # Broken: success on invalid input.
4725 continue
4726 else
4727   # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4730 fi
4731 rm -f conftest.err conftest.$ac_ext
4732
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4737
4738 else
4739   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4743 fi
4744
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750
4751
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755   $as_echo_n "(cached) " >&6
4756 else
4757   if test -z "$GREP"; then
4758   ac_path_GREP_found=false
4759   # Loop through the user's path and test for each of PROGNAME-LIST
4760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4762 do
4763   IFS=$as_save_IFS
4764   test -z "$as_dir" && as_dir=.
4765     for ac_prog in grep ggrep; do
4766     for ac_exec_ext in '' $ac_executable_extensions; do
4767       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770   # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4774 *)
4775   ac_count=0
4776   $as_echo_n 0123456789 >"conftest.in"
4777   while :
4778   do
4779     cat "conftest.in" "conftest.in" >"conftest.tmp"
4780     mv "conftest.tmp" "conftest.in"
4781     cp "conftest.in" "conftest.nl"
4782     $as_echo 'GREP' >> "conftest.nl"
4783     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785     as_fn_arith $ac_count + 1 && ac_count=$as_val
4786     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787       # Best one so far, save it but keep looking for a better one
4788       ac_cv_path_GREP="$ac_path_GREP"
4789       ac_path_GREP_max=$ac_count
4790     fi
4791     # 10*(2^10) chars as input seems more than enough
4792     test $ac_count -gt 10 && break
4793   done
4794   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4796
4797       $ac_path_GREP_found && break 3
4798     done
4799   done
4800   done
4801 IFS=$as_save_IFS
4802   if test -z "$ac_cv_path_GREP"; then
4803     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4804   fi
4805 else
4806   ac_cv_path_GREP=$GREP
4807 fi
4808
4809 fi
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812  GREP="$ac_cv_path_GREP"
4813
4814
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818   $as_echo_n "(cached) " >&6
4819 else
4820   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821    then ac_cv_path_EGREP="$GREP -E"
4822    else
4823      if test -z "$EGREP"; then
4824   ac_path_EGREP_found=false
4825   # Loop through the user's path and test for each of PROGNAME-LIST
4826   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4828 do
4829   IFS=$as_save_IFS
4830   test -z "$as_dir" && as_dir=.
4831     for ac_prog in egrep; do
4832     for ac_exec_ext in '' $ac_executable_extensions; do
4833       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836   # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4840 *)
4841   ac_count=0
4842   $as_echo_n 0123456789 >"conftest.in"
4843   while :
4844   do
4845     cat "conftest.in" "conftest.in" >"conftest.tmp"
4846     mv "conftest.tmp" "conftest.in"
4847     cp "conftest.in" "conftest.nl"
4848     $as_echo 'EGREP' >> "conftest.nl"
4849     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851     as_fn_arith $ac_count + 1 && ac_count=$as_val
4852     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853       # Best one so far, save it but keep looking for a better one
4854       ac_cv_path_EGREP="$ac_path_EGREP"
4855       ac_path_EGREP_max=$ac_count
4856     fi
4857     # 10*(2^10) chars as input seems more than enough
4858     test $ac_count -gt 10 && break
4859   done
4860   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4862
4863       $ac_path_EGREP_found && break 3
4864     done
4865   done
4866   done
4867 IFS=$as_save_IFS
4868   if test -z "$ac_cv_path_EGREP"; then
4869     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4870   fi
4871 else
4872   ac_cv_path_EGREP=$EGREP
4873 fi
4874
4875    fi
4876 fi
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879  EGREP="$ac_cv_path_EGREP"
4880
4881
4882
4883   # Keep these sync'd with the list in Makefile.am.  The first provides an
4884   # expandable list at autoconf time; the second provides an expandable list
4885   # (i.e., shell variable) at configure time.
4886
4887   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4888
4889   # These need to be absolute paths, yet at the same time need to
4890   # canonicalize only relative paths, because then amd will not unmount
4891   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892   glibcxx_builddir=`${PWDCMD-pwd}`
4893   case $srcdir in
4894     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896   esac
4897   toplevel_builddir=${glibcxx_builddir}/..
4898   toplevel_srcdir=${glibcxx_srcdir}/..
4899
4900
4901
4902
4903
4904   # We use these options to decide which functions to include.  They are
4905   # set from the top level.
4906
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909   withval=$with_target_subdir;
4910 fi
4911
4912
4913
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916   withval=$with_cross_host;
4917 fi
4918
4919
4920
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923   withval=$with_newlib;
4924 fi
4925
4926
4927   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928   # available).  Uncomment the next line to force a particular method.
4929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4938 fi
4939
4940   #LN_S='cp -p'
4941
4942   if test -n "$ac_tool_prefix"; then
4943   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948   $as_echo_n "(cached) " >&6
4949 else
4950   if test -n "$AS"; then
4951   ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4955 do
4956   IFS=$as_save_IFS
4957   test -z "$as_dir" && as_dir=.
4958     for ac_exec_ext in '' $ac_executable_extensions; do
4959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960     ac_cv_prog_AS="${ac_tool_prefix}as"
4961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962     break 2
4963   fi
4964 done
4965   done
4966 IFS=$as_save_IFS
4967
4968 fi
4969 fi
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4977 fi
4978
4979
4980 fi
4981 if test -z "$ac_cv_prog_AS"; then
4982   ac_ct_AS=$AS
4983   # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988   $as_echo_n "(cached) " >&6
4989 else
4990   if test -n "$ac_ct_AS"; then
4991   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4995 do
4996   IFS=$as_save_IFS
4997   test -z "$as_dir" && as_dir=.
4998     for ac_exec_ext in '' $ac_executable_extensions; do
4999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000     ac_cv_prog_ac_ct_AS="as"
5001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002     break 2
5003   fi
5004 done
5005   done
5006 IFS=$as_save_IFS
5007
5008 fi
5009 fi
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 fi
5018
5019   if test "x$ac_ct_AS" = x; then
5020     AS=""
5021   else
5022     case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028     AS=$ac_ct_AS
5029   fi
5030 else
5031   AS="$ac_cv_prog_AS"
5032 fi
5033
5034   if test -n "$ac_tool_prefix"; then
5035   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040   $as_echo_n "(cached) " >&6
5041 else
5042   if test -n "$AR"; then
5043   ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5047 do
5048   IFS=$as_save_IFS
5049   test -z "$as_dir" && as_dir=.
5050     for ac_exec_ext in '' $ac_executable_extensions; do
5051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052     ac_cv_prog_AR="${ac_tool_prefix}ar"
5053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054     break 2
5055   fi
5056 done
5057   done
5058 IFS=$as_save_IFS
5059
5060 fi
5061 fi
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5069 fi
5070
5071
5072 fi
5073 if test -z "$ac_cv_prog_AR"; then
5074   ac_ct_AR=$AR
5075   # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080   $as_echo_n "(cached) " >&6
5081 else
5082   if test -n "$ac_ct_AR"; then
5083   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5087 do
5088   IFS=$as_save_IFS
5089   test -z "$as_dir" && as_dir=.
5090     for ac_exec_ext in '' $ac_executable_extensions; do
5091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092     ac_cv_prog_ac_ct_AR="ar"
5093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094     break 2
5095   fi
5096 done
5097   done
5098 IFS=$as_save_IFS
5099
5100 fi
5101 fi
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 fi
5110
5111   if test "x$ac_ct_AR" = x; then
5112     AR=""
5113   else
5114     case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120     AR=$ac_ct_AR
5121   fi
5122 else
5123   AR="$ac_cv_prog_AR"
5124 fi
5125
5126   if test -n "$ac_tool_prefix"; then
5127   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132   $as_echo_n "(cached) " >&6
5133 else
5134   if test -n "$RANLIB"; then
5135   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5139 do
5140   IFS=$as_save_IFS
5141   test -z "$as_dir" && as_dir=.
5142     for ac_exec_ext in '' $ac_executable_extensions; do
5143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146     break 2
5147   fi
5148 done
5149   done
5150 IFS=$as_save_IFS
5151
5152 fi
5153 fi
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5161 fi
5162
5163
5164 fi
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166   ac_ct_RANLIB=$RANLIB
5167   # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172   $as_echo_n "(cached) " >&6
5173 else
5174   if test -n "$ac_ct_RANLIB"; then
5175   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5179 do
5180   IFS=$as_save_IFS
5181   test -z "$as_dir" && as_dir=.
5182     for ac_exec_ext in '' $ac_executable_extensions; do
5183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184     ac_cv_prog_ac_ct_RANLIB="ranlib"
5185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186     break 2
5187   fi
5188 done
5189   done
5190 IFS=$as_save_IFS
5191
5192 fi
5193 fi
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5201 fi
5202
5203   if test "x$ac_ct_RANLIB" = x; then
5204     RANLIB="ranlib-not-found-in-path-error"
5205   else
5206     case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212     RANLIB=$ac_ct_RANLIB
5213   fi
5214 else
5215   RANLIB="$ac_cv_prog_RANLIB"
5216 fi
5217
5218
5219
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222     # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226   USE_MAINTAINER_MODE=no
5227 fi
5228
5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231    if test $USE_MAINTAINER_MODE = yes; then
5232   MAINTAINER_MODE_TRUE=
5233   MAINTAINER_MODE_FALSE='#'
5234 else
5235   MAINTAINER_MODE_TRUE='#'
5236   MAINTAINER_MODE_FALSE=
5237 fi
5238
5239   MAINT=$MAINTAINER_MODE_TRUE
5240
5241
5242
5243   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244   # which are themselves conditionally expanded.
5245   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246   ## other macros from doing the same.  This should be automated.)  -pme
5247
5248   # Check for C library flavor since GNU/Linux platforms use different
5249   # configuration directories depending on the C library in use.
5250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h.  */
5252
5253   #include <stdio.h>
5254   #if __UCLIBC__
5255     _using_uclibc
5256   #endif
5257
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261   uclibc=yes
5262 else
5263   uclibc=no
5264 fi
5265 rm -f conftest*
5266
5267
5268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h.  */
5270
5271   #include <stdio.h>
5272   #if __BIONIC__
5273     _using_bionic
5274   #endif
5275
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279   bionic=yes
5280 else
5281   bionic=no
5282 fi
5283 rm -f conftest*
5284
5285
5286   # Find platform-specific directories containing configuration info.
5287   # Also possibly modify flags used elsewhere, as needed by the platform.
5288
5289   . $glibcxx_srcdir/configure.host
5290   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5294
5295
5296
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299   enable_dlopen=yes
5300
5301
5302
5303 fi
5304 case `pwd` in
5305   *\ * | *\     *)
5306     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5309
5310
5311
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327 ltmain="$ac_aux_dir/ltmain.sh"
5328
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5332
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5335
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5339
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5342
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5345
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5349
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355   ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357   ECHO='printf %s\n'
5358 else
5359   # Use this function as a fallback that always works.
5360   func_fallback_echo ()
5361   {
5362     eval 'cat <<_LTECHO_EOF
5363 $1
5364 _LTECHO_EOF'
5365   }
5366   ECHO='func_fallback_echo'
5367 fi
5368
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5372 {
5373     $ECHO ""
5374 }
5375
5376 case "$ECHO" in
5377   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401   $as_echo_n "(cached) " >&6
5402 else
5403             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404      for ac_i in 1 2 3 4 5 6 7; do
5405        ac_script="$ac_script$as_nl$ac_script"
5406      done
5407      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408      { ac_script=; unset ac_script;}
5409      if test -z "$SED"; then
5410   ac_path_SED_found=false
5411   # Loop through the user's path and test for each of PROGNAME-LIST
5412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5414 do
5415   IFS=$as_save_IFS
5416   test -z "$as_dir" && as_dir=.
5417     for ac_prog in sed gsed; do
5418     for ac_exec_ext in '' $ac_executable_extensions; do
5419       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422   # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5426 *)
5427   ac_count=0
5428   $as_echo_n 0123456789 >"conftest.in"
5429   while :
5430   do
5431     cat "conftest.in" "conftest.in" >"conftest.tmp"
5432     mv "conftest.tmp" "conftest.in"
5433     cp "conftest.in" "conftest.nl"
5434     $as_echo '' >> "conftest.nl"
5435     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437     as_fn_arith $ac_count + 1 && ac_count=$as_val
5438     if test $ac_count -gt ${ac_path_SED_max-0}; then
5439       # Best one so far, save it but keep looking for a better one
5440       ac_cv_path_SED="$ac_path_SED"
5441       ac_path_SED_max=$ac_count
5442     fi
5443     # 10*(2^10) chars as input seems more than enough
5444     test $ac_count -gt 10 && break
5445   done
5446   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5448
5449       $ac_path_SED_found && break 3
5450     done
5451   done
5452   done
5453 IFS=$as_save_IFS
5454   if test -z "$ac_cv_path_SED"; then
5455     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5456   fi
5457 else
5458   ac_cv_path_SED=$SED
5459 fi
5460
5461 fi
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464  SED="$ac_cv_path_SED"
5465   rm -f conftest.sed
5466
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483   $as_echo_n "(cached) " >&6
5484 else
5485   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486    then ac_cv_path_FGREP="$GREP -F"
5487    else
5488      if test -z "$FGREP"; then
5489   ac_path_FGREP_found=false
5490   # Loop through the user's path and test for each of PROGNAME-LIST
5491   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5493 do
5494   IFS=$as_save_IFS
5495   test -z "$as_dir" && as_dir=.
5496     for ac_prog in fgrep; do
5497     for ac_exec_ext in '' $ac_executable_extensions; do
5498       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501   # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5505 *)
5506   ac_count=0
5507   $as_echo_n 0123456789 >"conftest.in"
5508   while :
5509   do
5510     cat "conftest.in" "conftest.in" >"conftest.tmp"
5511     mv "conftest.tmp" "conftest.in"
5512     cp "conftest.in" "conftest.nl"
5513     $as_echo 'FGREP' >> "conftest.nl"
5514     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516     as_fn_arith $ac_count + 1 && ac_count=$as_val
5517     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518       # Best one so far, save it but keep looking for a better one
5519       ac_cv_path_FGREP="$ac_path_FGREP"
5520       ac_path_FGREP_max=$ac_count
5521     fi
5522     # 10*(2^10) chars as input seems more than enough
5523     test $ac_count -gt 10 && break
5524   done
5525   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5527
5528       $ac_path_FGREP_found && break 3
5529     done
5530   done
5531   done
5532 IFS=$as_save_IFS
5533   if test -z "$ac_cv_path_FGREP"; then
5534     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5535   fi
5536 else
5537   ac_cv_path_FGREP=$FGREP
5538 fi
5539
5540    fi
5541 fi
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544  FGREP="$ac_cv_path_FGREP"
5545
5546
5547 test -z "$GREP" && GREP=grep
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571   with_gnu_ld=no
5572 fi
5573
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576   # Check if gcc -print-prog-name=ld gives a path.
5577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579   case $host in
5580   *-*-mingw*)
5581     # gcc leaves a trailing carriage return which upsets mingw
5582     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5583   *)
5584     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585   esac
5586   case $ac_prog in
5587     # Accept absolute paths.
5588     [\\/]* | ?:[\\/]*)
5589       re_direlt='/[^/][^/]*/\.\./'
5590       # Canonicalize the pathname of ld
5591       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594       done
5595       test -z "$LD" && LD="$ac_prog"
5596       ;;
5597   "")
5598     # If it fails, then pretend we aren't using GCC.
5599     ac_prog=ld
5600     ;;
5601   *)
5602     # If it is relative, then search for the first ld in PATH.
5603     with_gnu_ld=unknown
5604     ;;
5605   esac
5606 elif test "$with_gnu_ld" = yes; then
5607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5612 fi
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614   $as_echo_n "(cached) " >&6
5615 else
5616   if test -z "$LD"; then
5617   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618   for ac_dir in $PATH; do
5619     IFS="$lt_save_ifs"
5620     test -z "$ac_dir" && ac_dir=.
5621     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622       lt_cv_path_LD="$ac_dir/$ac_prog"
5623       # Check to see if the program is GNU ld.  I'd rather use --version,
5624       # but apparently some variants of GNU ld only accept -v.
5625       # Break only if it was the GNU/non-GNU ld that we prefer.
5626       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627       *GNU* | *'with BFD'*)
5628         test "$with_gnu_ld" != no && break
5629         ;;
5630       *)
5631         test "$with_gnu_ld" != yes && break
5632         ;;
5633       esac
5634     fi
5635   done
5636   IFS="$lt_save_ifs"
5637 else
5638   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5639 fi
5640 fi
5641
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5649 fi
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654   $as_echo_n "(cached) " >&6
5655 else
5656   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659   lt_cv_prog_gnu_ld=yes
5660   ;;
5661 *)
5662   lt_cv_prog_gnu_ld=no
5663   ;;
5664 esac
5665 fi
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681   $as_echo_n "(cached) " >&6
5682 else
5683   if test -n "$NM"; then
5684   # Let the user override the test.
5685   lt_cv_path_NM="$NM"
5686 else
5687   lt_nm_to_check="${ac_tool_prefix}nm"
5688   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689     lt_nm_to_check="$lt_nm_to_check nm"
5690   fi
5691   for lt_tmp_nm in $lt_nm_to_check; do
5692     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694       IFS="$lt_save_ifs"
5695       test -z "$ac_dir" && ac_dir=.
5696       tmp_nm="$ac_dir/$lt_tmp_nm"
5697       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698         # Check to see if the nm accepts a BSD-compat flag.
5699         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700         #   nm: unknown option "B" ignored
5701         # Tru64's nm complains that /dev/null is an invalid object file
5702         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703         */dev/null* | *'Invalid file or object type'*)
5704           lt_cv_path_NM="$tmp_nm -B"
5705           break
5706           ;;
5707         *)
5708           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709           */dev/null*)
5710             lt_cv_path_NM="$tmp_nm -p"
5711             break
5712             ;;
5713           *)
5714             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715             continue # so that we can try to find one that supports BSD flags
5716             ;;
5717           esac
5718           ;;
5719         esac
5720       fi
5721     done
5722     IFS="$lt_save_ifs"
5723   done
5724   : ${lt_cv_path_NM=no}
5725 fi
5726 fi
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730   NM="$lt_cv_path_NM"
5731 else
5732   # Didn't find any BSD compatible name lister, look for dumpbin.
5733   if test -n "$DUMPBIN"; then :
5734     # Let the user override the test.
5735   else
5736     if test -n "$ac_tool_prefix"; then
5737   for ac_prog in dumpbin "link -dump"
5738   do
5739     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744   $as_echo_n "(cached) " >&6
5745 else
5746   if test -n "$DUMPBIN"; then
5747   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5751 do
5752   IFS=$as_save_IFS
5753   test -z "$as_dir" && as_dir=.
5754     for ac_exec_ext in '' $ac_executable_extensions; do
5755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758     break 2
5759   fi
5760 done
5761   done
5762 IFS=$as_save_IFS
5763
5764 fi
5765 fi
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5773 fi
5774
5775
5776     test -n "$DUMPBIN" && break
5777   done
5778 fi
5779 if test -z "$DUMPBIN"; then
5780   ac_ct_DUMPBIN=$DUMPBIN
5781   for ac_prog in dumpbin "link -dump"
5782 do
5783   # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788   $as_echo_n "(cached) " >&6
5789 else
5790   if test -n "$ac_ct_DUMPBIN"; then
5791   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5795 do
5796   IFS=$as_save_IFS
5797   test -z "$as_dir" && as_dir=.
5798     for ac_exec_ext in '' $ac_executable_extensions; do
5799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802     break 2
5803   fi
5804 done
5805   done
5806 IFS=$as_save_IFS
5807
5808 fi
5809 fi
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5817 fi
5818
5819
5820   test -n "$ac_ct_DUMPBIN" && break
5821 done
5822
5823   if test "x$ac_ct_DUMPBIN" = x; then
5824     DUMPBIN=":"
5825   else
5826     case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832     DUMPBIN=$ac_ct_DUMPBIN
5833   fi
5834 fi
5835
5836     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837     *COFF*)
5838       DUMPBIN="$DUMPBIN -symbols"
5839       ;;
5840     *)
5841       DUMPBIN=:
5842       ;;
5843     esac
5844   fi
5845
5846   if test "$DUMPBIN" != ":"; then
5847     NM="$DUMPBIN"
5848   fi
5849 fi
5850 test -z "$NM" && NM=nm
5851
5852
5853
5854
5855
5856
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862   lt_cv_nm_interface="BSD nm"
5863   echo "int some_variable = 0;" > conftest.$ac_ext
5864   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865   (eval "$ac_compile" 2>conftest.err)
5866   cat conftest.err >&5
5867   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869   cat conftest.err >&5
5870   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871   cat conftest.out >&5
5872   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873     lt_cv_nm_interface="MS dumpbin"
5874   fi
5875   rm -f conftest*
5876 fi
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5879
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884   $as_echo_n "(cached) " >&6
5885 else
5886     i=0
5887   teststring="ABCD"
5888
5889   case $build_os in
5890   msdosdjgpp*)
5891     # On DJGPP, this test can blow up pretty badly due to problems in libc
5892     # (any single argument exceeding 2000 bytes causes a buffer overrun
5893     # during glob expansion).  Even if it were fixed, the result of this
5894     # check would be larger than it should be.
5895     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5896     ;;
5897
5898   gnu*)
5899     # Under GNU Hurd, this test is not required because there is
5900     # no limit to the length of command line arguments.
5901     # Libtool will interpret -1 as no limit whatsoever
5902     lt_cv_sys_max_cmd_len=-1;
5903     ;;
5904
5905   cygwin* | mingw* | cegcc*)
5906     # On Win9x/ME, this test blows up -- it succeeds, but takes
5907     # about 5 minutes as the teststring grows exponentially.
5908     # Worse, since 9x/ME are not pre-emptively multitasking,
5909     # you end up with a "frozen" computer, even though with patience
5910     # the test eventually succeeds (with a max line length of 256k).
5911     # Instead, let's just punt: use the minimum linelength reported by
5912     # all of the supported platforms: 8192 (on NT/2K/XP).
5913     lt_cv_sys_max_cmd_len=8192;
5914     ;;
5915
5916   mint*)
5917     # On MiNT this can take a long time and run out of memory.
5918     lt_cv_sys_max_cmd_len=8192;
5919     ;;
5920
5921   amigaos*)
5922     # On AmigaOS with pdksh, this test takes hours, literally.
5923     # So we just punt and use a minimum line length of 8192.
5924     lt_cv_sys_max_cmd_len=8192;
5925     ;;
5926
5927   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928     # This has been around since 386BSD, at least.  Likely further.
5929     if test -x /sbin/sysctl; then
5930       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931     elif test -x /usr/sbin/sysctl; then
5932       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933     else
5934       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5935     fi
5936     # And add a safety zone
5937     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5939     ;;
5940
5941   interix*)
5942     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943     lt_cv_sys_max_cmd_len=196608
5944     ;;
5945
5946   osf*)
5947     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949     # nice to cause kernel panics so lets avoid the loop below.
5950     # First set a reasonable default.
5951     lt_cv_sys_max_cmd_len=16384
5952     #
5953     if test -x /sbin/sysconfig; then
5954       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956       esac
5957     fi
5958     ;;
5959   sco3.2v5*)
5960     lt_cv_sys_max_cmd_len=102400
5961     ;;
5962   sysv5* | sco5v6* | sysv4.2uw2*)
5963     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964     if test -n "$kargmax"; then
5965       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5966     else
5967       lt_cv_sys_max_cmd_len=32768
5968     fi
5969     ;;
5970   *)
5971     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972     if test -n "$lt_cv_sys_max_cmd_len"; then
5973       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975     else
5976       # Make teststring a little bigger before we do anything with it.
5977       # a 1K string should be a reasonable start.
5978       for i in 1 2 3 4 5 6 7 8 ; do
5979         teststring=$teststring$teststring
5980       done
5981       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982       # If test is not a shell built-in, we'll probably end up computing a
5983       # maximum length that is only half of the actual maximum length, but
5984       # we can't tell.
5985       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987               test $i != 17 # 1/2 MB should be enough
5988       do
5989         i=`expr $i + 1`
5990         teststring=$teststring$teststring
5991       done
5992       # Only check the string length outside the loop.
5993       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994       teststring=
5995       # Add a significant safety factor because C++ compilers can tack on
5996       # massive amounts of additional arguments before passing them to the
5997       # linker.  It appears as though 1/2 is a usable value.
5998       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5999     fi
6000     ;;
6001   esac
6002
6003 fi
6004
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6011 fi
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6013
6014
6015
6016
6017
6018
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6022
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029       = c,a/b,, \
6030     && eval 'test $(( 1 + 1 )) -eq 2 \
6031     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032   && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6035
6036
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041     >/dev/null 2>&1 \
6042   && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6045
6046
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048   lt_unset=unset
6049 else
6050   lt_unset=false
6051 fi
6052
6053
6054
6055
6056
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059  A) # ASCII based system
6060     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061   lt_SP2NL='tr \040 \012'
6062   lt_NL2SP='tr \015\012 \040\040'
6063   ;;
6064  *) # EBCDIC based system
6065   lt_SP2NL='tr \100 \n'
6066   lt_NL2SP='tr \r\n \100\100'
6067   ;;
6068 esac
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081   $as_echo_n "(cached) " >&6
6082 else
6083   lt_cv_ld_reload_flag='-r'
6084 fi
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094   darwin*)
6095     if test "$GCC" = yes; then
6096       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097     else
6098       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6099     fi
6100     ;;
6101 esac
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111 if test -n "$ac_tool_prefix"; then
6112   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117   $as_echo_n "(cached) " >&6
6118 else
6119   if test -n "$OBJDUMP"; then
6120   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6124 do
6125   IFS=$as_save_IFS
6126   test -z "$as_dir" && as_dir=.
6127     for ac_exec_ext in '' $ac_executable_extensions; do
6128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131     break 2
6132   fi
6133 done
6134   done
6135 IFS=$as_save_IFS
6136
6137 fi
6138 fi
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6146 fi
6147
6148
6149 fi
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151   ac_ct_OBJDUMP=$OBJDUMP
6152   # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157   $as_echo_n "(cached) " >&6
6158 else
6159   if test -n "$ac_ct_OBJDUMP"; then
6160   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6164 do
6165   IFS=$as_save_IFS
6166   test -z "$as_dir" && as_dir=.
6167     for ac_exec_ext in '' $ac_executable_extensions; do
6168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171     break 2
6172   fi
6173 done
6174   done
6175 IFS=$as_save_IFS
6176
6177 fi
6178 fi
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6186 fi
6187
6188   if test "x$ac_ct_OBJDUMP" = x; then
6189     OBJDUMP="false"
6190   else
6191     case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197     OBJDUMP=$ac_ct_OBJDUMP
6198   fi
6199 else
6200   OBJDUMP="$ac_cv_prog_OBJDUMP"
6201 fi
6202
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216   $as_echo_n "(cached) " >&6
6217 else
6218   lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6231
6232 case $host_os in
6233 aix[4-9]*)
6234   lt_cv_deplibs_check_method=pass_all
6235   ;;
6236
6237 beos*)
6238   lt_cv_deplibs_check_method=pass_all
6239   ;;
6240
6241 bsdi[45]*)
6242   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243   lt_cv_file_magic_cmd='/usr/bin/file -L'
6244   lt_cv_file_magic_test_file=/shlib/libc.so
6245   ;;
6246
6247 cygwin*)
6248   # func_win32_libid is a shell function defined in ltmain.sh
6249   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250   lt_cv_file_magic_cmd='func_win32_libid'
6251   ;;
6252
6253 mingw* | pw32*)
6254   # Base MSYS/MinGW do not provide the 'file' command needed by
6255   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256   # unless we find 'file', for example because we are cross-compiling.
6257   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260     lt_cv_file_magic_cmd='func_win32_libid'
6261   else
6262     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263     lt_cv_file_magic_cmd='$OBJDUMP -f'
6264   fi
6265   ;;
6266
6267 cegcc*)
6268   # use the weaker test based on 'objdump'. See mingw*.
6269   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270   lt_cv_file_magic_cmd='$OBJDUMP -f'
6271   ;;
6272
6273 darwin* | rhapsody*)
6274   lt_cv_deplibs_check_method=pass_all
6275   ;;
6276
6277 freebsd* | dragonfly*)
6278   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279     case $host_cpu in
6280     i*86 )
6281       # Not sure whether the presence of OpenBSD here was a mistake.
6282       # Let's accept both of them until this is cleared up.
6283       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284       lt_cv_file_magic_cmd=/usr/bin/file
6285       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6286       ;;
6287     esac
6288   else
6289     lt_cv_deplibs_check_method=pass_all
6290   fi
6291   ;;
6292
6293 gnu*)
6294   lt_cv_deplibs_check_method=pass_all
6295   ;;
6296
6297 haiku*)
6298   lt_cv_deplibs_check_method=pass_all
6299   ;;
6300
6301 hpux10.20* | hpux11*)
6302   lt_cv_file_magic_cmd=/usr/bin/file
6303   case $host_cpu in
6304   ia64*)
6305     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6307     ;;
6308   hppa*64*)
6309     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]'
6310     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6311     ;;
6312   *)
6313     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6315     ;;
6316   esac
6317   ;;
6318
6319 interix[3-9]*)
6320   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6322   ;;
6323
6324 irix5* | irix6* | nonstopux*)
6325   case $LD in
6326   *-32|*"-32 ") libmagic=32-bit;;
6327   *-n32|*"-n32 ") libmagic=N32;;
6328   *-64|*"-64 ") libmagic=64-bit;;
6329   *) libmagic=never-match;;
6330   esac
6331   lt_cv_deplibs_check_method=pass_all
6332   ;;
6333
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336   lt_cv_deplibs_check_method=pass_all
6337   ;;
6338
6339 netbsd*)
6340   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342   else
6343     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6344   fi
6345   ;;
6346
6347 newos6*)
6348   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349   lt_cv_file_magic_cmd=/usr/bin/file
6350   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6351   ;;
6352
6353 *nto* | *qnx*)
6354   lt_cv_deplibs_check_method=pass_all
6355   ;;
6356
6357 openbsd*)
6358   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360   else
6361     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6362   fi
6363   ;;
6364
6365 osf3* | osf4* | osf5*)
6366   lt_cv_deplibs_check_method=pass_all
6367   ;;
6368
6369 rdos*)
6370   lt_cv_deplibs_check_method=pass_all
6371   ;;
6372
6373 solaris*)
6374   lt_cv_deplibs_check_method=pass_all
6375   ;;
6376
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378   lt_cv_deplibs_check_method=pass_all
6379   ;;
6380
6381 sysv4 | sysv4.3*)
6382   case $host_vendor in
6383   motorola)
6384     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]'
6385     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6386     ;;
6387   ncr)
6388     lt_cv_deplibs_check_method=pass_all
6389     ;;
6390   sequent)
6391     lt_cv_file_magic_cmd='/bin/file'
6392     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6393     ;;
6394   sni)
6395     lt_cv_file_magic_cmd='/bin/file'
6396     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397     lt_cv_file_magic_test_file=/lib/libc.so
6398     ;;
6399   siemens)
6400     lt_cv_deplibs_check_method=pass_all
6401     ;;
6402   pc)
6403     lt_cv_deplibs_check_method=pass_all
6404     ;;
6405   esac
6406   ;;
6407
6408 tpf*)
6409   lt_cv_deplibs_check_method=pass_all
6410   ;;
6411 esac
6412
6413 fi
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431 if test -n "$ac_tool_prefix"; then
6432   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437   $as_echo_n "(cached) " >&6
6438 else
6439   if test -n "$AR"; then
6440   ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6444 do
6445   IFS=$as_save_IFS
6446   test -z "$as_dir" && as_dir=.
6447     for ac_exec_ext in '' $ac_executable_extensions; do
6448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449     ac_cv_prog_AR="${ac_tool_prefix}ar"
6450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451     break 2
6452   fi
6453 done
6454   done
6455 IFS=$as_save_IFS
6456
6457 fi
6458 fi
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6466 fi
6467
6468
6469 fi
6470 if test -z "$ac_cv_prog_AR"; then
6471   ac_ct_AR=$AR
6472   # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477   $as_echo_n "(cached) " >&6
6478 else
6479   if test -n "$ac_ct_AR"; then
6480   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6484 do
6485   IFS=$as_save_IFS
6486   test -z "$as_dir" && as_dir=.
6487     for ac_exec_ext in '' $ac_executable_extensions; do
6488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489     ac_cv_prog_ac_ct_AR="ar"
6490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491     break 2
6492   fi
6493 done
6494   done
6495 IFS=$as_save_IFS
6496
6497 fi
6498 fi
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6506 fi
6507
6508   if test "x$ac_ct_AR" = x; then
6509     AR="false"
6510   else
6511     case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517     AR=$ac_ct_AR
6518   fi
6519 else
6520   AR="$ac_cv_prog_AR"
6521 fi
6522
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536 if test -n "$ac_tool_prefix"; then
6537   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542   $as_echo_n "(cached) " >&6
6543 else
6544   if test -n "$STRIP"; then
6545   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6549 do
6550   IFS=$as_save_IFS
6551   test -z "$as_dir" && as_dir=.
6552     for ac_exec_ext in '' $ac_executable_extensions; do
6553   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556     break 2
6557   fi
6558 done
6559   done
6560 IFS=$as_save_IFS
6561
6562 fi
6563 fi
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6571 fi
6572
6573
6574 fi
6575 if test -z "$ac_cv_prog_STRIP"; then
6576   ac_ct_STRIP=$STRIP
6577   # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582   $as_echo_n "(cached) " >&6
6583 else
6584   if test -n "$ac_ct_STRIP"; then
6585   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6589 do
6590   IFS=$as_save_IFS
6591   test -z "$as_dir" && as_dir=.
6592     for ac_exec_ext in '' $ac_executable_extensions; do
6593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594     ac_cv_prog_ac_ct_STRIP="strip"
6595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596     break 2
6597   fi
6598 done
6599   done
6600 IFS=$as_save_IFS
6601
6602 fi
6603 fi
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6611 fi
6612
6613   if test "x$ac_ct_STRIP" = x; then
6614     STRIP=":"
6615   else
6616     case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622     STRIP=$ac_ct_STRIP
6623   fi
6624 else
6625   STRIP="$ac_cv_prog_STRIP"
6626 fi
6627
6628 test -z "$STRIP" && STRIP=:
6629
6630
6631
6632
6633
6634
6635 if test -n "$ac_tool_prefix"; then
6636   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641   $as_echo_n "(cached) " >&6
6642 else
6643   if test -n "$RANLIB"; then
6644   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6648 do
6649   IFS=$as_save_IFS
6650   test -z "$as_dir" && as_dir=.
6651     for ac_exec_ext in '' $ac_executable_extensions; do
6652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655     break 2
6656   fi
6657 done
6658   done
6659 IFS=$as_save_IFS
6660
6661 fi
6662 fi
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6670 fi
6671
6672
6673 fi
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675   ac_ct_RANLIB=$RANLIB
6676   # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681   $as_echo_n "(cached) " >&6
6682 else
6683   if test -n "$ac_ct_RANLIB"; then
6684   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6688 do
6689   IFS=$as_save_IFS
6690   test -z "$as_dir" && as_dir=.
6691     for ac_exec_ext in '' $ac_executable_extensions; do
6692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693     ac_cv_prog_ac_ct_RANLIB="ranlib"
6694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695     break 2
6696   fi
6697 done
6698   done
6699 IFS=$as_save_IFS
6700
6701 fi
6702 fi
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6710 fi
6711
6712   if test "x$ac_ct_RANLIB" = x; then
6713     RANLIB=":"
6714   else
6715     case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721     RANLIB=$ac_ct_RANLIB
6722   fi
6723 else
6724   RANLIB="$ac_cv_prog_RANLIB"
6725 fi
6726
6727 test -z "$RANLIB" && RANLIB=:
6728
6729
6730
6731
6732
6733
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6738
6739 if test -n "$RANLIB"; then
6740   case $host_os in
6741   openbsd*)
6742     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6743     ;;
6744   *)
6745     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6746     ;;
6747   esac
6748   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6749 fi
6750
6751 case $host_os in
6752   darwin*)
6753     lock_old_archive_extraction=yes ;;
6754   *)
6755     lock_old_archive_extraction=no ;;
6756 esac
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6798
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6801
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6804
6805
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810   $as_echo_n "(cached) " >&6
6811 else
6812
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6815
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6818
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6821
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825   symcode='[BCDT]'
6826   ;;
6827 cygwin* | mingw* | pw32* | cegcc*)
6828   symcode='[ABCDGISTW]'
6829   ;;
6830 hpux*)
6831   if test "$host_cpu" = ia64; then
6832     symcode='[ABCDEGRST]'
6833   fi
6834   ;;
6835 irix* | nonstopux*)
6836   symcode='[BCDEGRST]'
6837   ;;
6838 osf*)
6839   symcode='[BCDEGQRST]'
6840   ;;
6841 solaris*)
6842   symcode='[BDRT]'
6843   ;;
6844 sco3.2v5*)
6845   symcode='[DT]'
6846   ;;
6847 sysv4.2uw2*)
6848   symcode='[DT]'
6849   ;;
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851   symcode='[ABDT]'
6852   ;;
6853 sysv4)
6854   symcode='[DFNSTU]'
6855   ;;
6856 esac
6857
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861   symcode='[ABCDGIRSTW]' ;;
6862 esac
6863
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6868
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6871 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'"
6872
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6878   ;;
6879 esac
6880
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6883
6884   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885   symxfrm="\\1 $ac_symprfx\\2 \\2"
6886
6887   # Write the raw and C identifiers.
6888   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889     # Fake it for dumpbin and say T for any non-static function
6890     # and D for any global variable.
6891     # Also find C++ and __fastcall symbols from MSVC++,
6892     # which start with @ or ?.
6893     lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 "     {last_section=section; section=\$ 3};"\
6895 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 "     \$ 0!~/External *\|/{next};"\
6897 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 "     {if(hide[section]) next};"\
6899 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 "     ' prfx=^$ac_symprfx"
6904   else
6905     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6906   fi
6907
6908   # Check to see that the pipe works correctly.
6909   pipe_works=no
6910
6911   rm -f conftest*
6912   cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6920 }
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6924
6925   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926   (eval $ac_compile) 2>&5
6927   ac_status=$?
6928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929   test $ac_status = 0; }; then
6930     # Now try to grab the symbols.
6931     nlist=conftest.nm
6932     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934   ac_status=$?
6935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936   test $ac_status = 0; } && test -s "$nlist"; then
6937       # Try sorting and uniquifying the output.
6938       if sort "$nlist" | uniq > "$nlist"T; then
6939         mv -f "$nlist"T "$nlist"
6940       else
6941         rm -f "$nlist"T
6942       fi
6943
6944       # Make sure that we snagged all the symbols we need.
6945       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947           cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6951
6952 _LT_EOF
6953           # Now generate the symbol file.
6954           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6955
6956           cat <<_LT_EOF >> conftest.$ac_ext
6957
6958 /* The mapping between symbol names and symbols.  */
6959 const struct {
6960   const char *name;
6961   void       *address;
6962 }
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6964 {
6965   { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968           cat <<\_LT_EOF >> conftest.$ac_ext
6969   {0, (void *) 0}
6970 };
6971
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975   return lt__PROGRAM__LTX_preloaded_symbols;
6976 }
6977 #endif
6978
6979 #ifdef __cplusplus
6980 }
6981 #endif
6982 _LT_EOF
6983           # Now try linking the two files.
6984           mv conftest.$ac_objext conftstm.$ac_objext
6985           lt_save_LIBS="$LIBS"
6986           lt_save_CFLAGS="$CFLAGS"
6987           LIBS="conftstm.$ac_objext"
6988           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990   (eval $ac_link) 2>&5
6991   ac_status=$?
6992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994             pipe_works=yes
6995           fi
6996           LIBS="$lt_save_LIBS"
6997           CFLAGS="$lt_save_CFLAGS"
6998         else
6999           echo "cannot find nm_test_func in $nlist" >&5
7000         fi
7001       else
7002         echo "cannot find nm_test_var in $nlist" >&5
7003       fi
7004     else
7005       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7006     fi
7007   else
7008     echo "$progname: failed program was:" >&5
7009     cat conftest.$ac_ext >&5
7010   fi
7011   rm -rf conftest* conftst*
7012
7013   # Do not use the global_symbol_pipe unless it works.
7014   if test "$pipe_works" = yes; then
7015     break
7016   else
7017     lt_cv_sys_global_symbol_pipe=
7018   fi
7019 done
7020
7021 fi
7022
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024   lt_cv_sys_global_symbol_to_cdecl=
7025 fi
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7032 fi
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057   enableval=$enable_libtool_lock;
7058 fi
7059
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7061
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066   # Find out which ABI we are using.
7067   echo 'int i;' > conftest.$ac_ext
7068   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069   (eval $ac_compile) 2>&5
7070   ac_status=$?
7071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072   test $ac_status = 0; }; then
7073     case `/usr/bin/file conftest.$ac_objext` in
7074       *ELF-32*)
7075         HPUX_IA64_MODE="32"
7076         ;;
7077       *ELF-64*)
7078         HPUX_IA64_MODE="64"
7079         ;;
7080     esac
7081   fi
7082   rm -rf conftest*
7083   ;;
7084 *-*-irix6*)
7085   # Find out which ABI we are using.
7086   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088   (eval $ac_compile) 2>&5
7089   ac_status=$?
7090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091   test $ac_status = 0; }; then
7092     if test "$lt_cv_prog_gnu_ld" = yes; then
7093       case `/usr/bin/file conftest.$ac_objext` in
7094         *32-bit*)
7095           LD="${LD-ld} -melf32bsmip"
7096           ;;
7097         *N32*)
7098           LD="${LD-ld} -melf32bmipn32"
7099           ;;
7100         *64-bit*)
7101           LD="${LD-ld} -melf64bmip"
7102         ;;
7103       esac
7104     else
7105       case `/usr/bin/file conftest.$ac_objext` in
7106         *32-bit*)
7107           LD="${LD-ld} -32"
7108           ;;
7109         *N32*)
7110           LD="${LD-ld} -n32"
7111           ;;
7112         *64-bit*)
7113           LD="${LD-ld} -64"
7114           ;;
7115       esac
7116     fi
7117   fi
7118   rm -rf conftest*
7119   ;;
7120
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123   # Find out which ABI we are using.
7124   echo 'int i;' > conftest.$ac_ext
7125   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126   (eval $ac_compile) 2>&5
7127   ac_status=$?
7128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129   test $ac_status = 0; }; then
7130     case `/usr/bin/file conftest.o` in
7131       *32-bit*)
7132         case $host in
7133           x86_64-*kfreebsd*-gnu)
7134             LD="${LD-ld} -m elf_i386_fbsd"
7135             ;;
7136           x86_64-*linux*)
7137             case `/usr/bin/file conftest.o` in
7138               *x86-64*)
7139                 LD="${LD-ld} -m elf32_x86_64"
7140                 ;;
7141               *)
7142                 LD="${LD-ld} -m elf_i386"
7143                 ;;
7144             esac
7145             ;;
7146           powerpc64le-*linux*)
7147             LD="${LD-ld} -m elf32lppclinux"
7148             ;;
7149           powerpc64-*linux*)
7150             LD="${LD-ld} -m elf32ppclinux"
7151             ;;
7152           s390x-*linux*)
7153             LD="${LD-ld} -m elf_s390"
7154             ;;
7155           sparc64-*linux*)
7156             LD="${LD-ld} -m elf32_sparc"
7157             ;;
7158         esac
7159         ;;
7160       *64-bit*)
7161         case $host in
7162           x86_64-*kfreebsd*-gnu)
7163             LD="${LD-ld} -m elf_x86_64_fbsd"
7164             ;;
7165           x86_64-*linux*)
7166             LD="${LD-ld} -m elf_x86_64"
7167             ;;
7168           powerpcle-*linux*)
7169             LD="${LD-ld} -m elf64lppc"
7170             ;;
7171           powerpc-*linux*)
7172             LD="${LD-ld} -m elf64ppc"
7173             ;;
7174           s390*-*linux*|s390*-*tpf*)
7175             LD="${LD-ld} -m elf64_s390"
7176             ;;
7177           sparc*-*linux*)
7178             LD="${LD-ld} -m elf64_sparc"
7179             ;;
7180         esac
7181         ;;
7182     esac
7183   fi
7184   rm -rf conftest*
7185   ;;
7186
7187 *-*-sco3.2v5*)
7188   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7189   SAVE_CFLAGS="$CFLAGS"
7190   CFLAGS="$CFLAGS -belf"
7191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7193 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7194   $as_echo_n "(cached) " >&6
7195 else
7196   ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7201
7202      if test x$gcc_no_link = xyes; then
7203   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7204 fi
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h.  */
7207
7208 int
7209 main ()
7210 {
7211
7212   ;
7213   return 0;
7214 }
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217   lt_cv_cc_needs_belf=yes
7218 else
7219   lt_cv_cc_needs_belf=no
7220 fi
7221 rm -f core conftest.err conftest.$ac_objext \
7222     conftest$ac_exeext conftest.$ac_ext
7223      ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7228
7229 fi
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7231 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7232   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7233     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7234     CFLAGS="$SAVE_CFLAGS"
7235   fi
7236   ;;
7237 sparc*-*solaris*)
7238   # Find out which ABI we are using.
7239   echo 'int i;' > conftest.$ac_ext
7240   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241   (eval $ac_compile) 2>&5
7242   ac_status=$?
7243   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244   test $ac_status = 0; }; then
7245     case `/usr/bin/file conftest.o` in
7246     *64-bit*)
7247       case $lt_cv_prog_gnu_ld in
7248       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7249       *)
7250         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7251           LD="${LD-ld} -64"
7252         fi
7253         ;;
7254       esac
7255       ;;
7256     esac
7257   fi
7258   rm -rf conftest*
7259   ;;
7260 esac
7261
7262 need_locks="$enable_libtool_lock"
7263
7264
7265   case $host_os in
7266     rhapsody* | darwin*)
7267     if test -n "$ac_tool_prefix"; then
7268   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7273   $as_echo_n "(cached) " >&6
7274 else
7275   if test -n "$DSYMUTIL"; then
7276   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7280 do
7281   IFS=$as_save_IFS
7282   test -z "$as_dir" && as_dir=.
7283     for ac_exec_ext in '' $ac_executable_extensions; do
7284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287     break 2
7288   fi
7289 done
7290   done
7291 IFS=$as_save_IFS
7292
7293 fi
7294 fi
7295 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7296 if test -n "$DSYMUTIL"; then
7297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7298 $as_echo "$DSYMUTIL" >&6; }
7299 else
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7302 fi
7303
7304
7305 fi
7306 if test -z "$ac_cv_prog_DSYMUTIL"; then
7307   ac_ct_DSYMUTIL=$DSYMUTIL
7308   # Extract the first word of "dsymutil", so it can be a program name with args.
7309 set dummy dsymutil; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7313   $as_echo_n "(cached) " >&6
7314 else
7315   if test -n "$ac_ct_DSYMUTIL"; then
7316   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7320 do
7321   IFS=$as_save_IFS
7322   test -z "$as_dir" && as_dir=.
7323     for ac_exec_ext in '' $ac_executable_extensions; do
7324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327     break 2
7328   fi
7329 done
7330   done
7331 IFS=$as_save_IFS
7332
7333 fi
7334 fi
7335 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7338 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7339 else
7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7342 fi
7343
7344   if test "x$ac_ct_DSYMUTIL" = x; then
7345     DSYMUTIL=":"
7346   else
7347     case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353     DSYMUTIL=$ac_ct_DSYMUTIL
7354   fi
7355 else
7356   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7357 fi
7358
7359     if test -n "$ac_tool_prefix"; then
7360   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7365   $as_echo_n "(cached) " >&6
7366 else
7367   if test -n "$NMEDIT"; then
7368   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7372 do
7373   IFS=$as_save_IFS
7374   test -z "$as_dir" && as_dir=.
7375     for ac_exec_ext in '' $ac_executable_extensions; do
7376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379     break 2
7380   fi
7381 done
7382   done
7383 IFS=$as_save_IFS
7384
7385 fi
7386 fi
7387 NMEDIT=$ac_cv_prog_NMEDIT
7388 if test -n "$NMEDIT"; then
7389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7390 $as_echo "$NMEDIT" >&6; }
7391 else
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7394 fi
7395
7396
7397 fi
7398 if test -z "$ac_cv_prog_NMEDIT"; then
7399   ac_ct_NMEDIT=$NMEDIT
7400   # Extract the first word of "nmedit", so it can be a program name with args.
7401 set dummy nmedit; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7405   $as_echo_n "(cached) " >&6
7406 else
7407   if test -n "$ac_ct_NMEDIT"; then
7408   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7412 do
7413   IFS=$as_save_IFS
7414   test -z "$as_dir" && as_dir=.
7415     for ac_exec_ext in '' $ac_executable_extensions; do
7416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419     break 2
7420   fi
7421 done
7422   done
7423 IFS=$as_save_IFS
7424
7425 fi
7426 fi
7427 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7428 if test -n "$ac_ct_NMEDIT"; then
7429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7430 $as_echo "$ac_ct_NMEDIT" >&6; }
7431 else
7432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7434 fi
7435
7436   if test "x$ac_ct_NMEDIT" = x; then
7437     NMEDIT=":"
7438   else
7439     case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445     NMEDIT=$ac_ct_NMEDIT
7446   fi
7447 else
7448   NMEDIT="$ac_cv_prog_NMEDIT"
7449 fi
7450
7451     if test -n "$ac_tool_prefix"; then
7452   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_LIPO+set}" = set; then :
7457   $as_echo_n "(cached) " >&6
7458 else
7459   if test -n "$LIPO"; then
7460   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7464 do
7465   IFS=$as_save_IFS
7466   test -z "$as_dir" && as_dir=.
7467     for ac_exec_ext in '' $ac_executable_extensions; do
7468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471     break 2
7472   fi
7473 done
7474   done
7475 IFS=$as_save_IFS
7476
7477 fi
7478 fi
7479 LIPO=$ac_cv_prog_LIPO
7480 if test -n "$LIPO"; then
7481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7482 $as_echo "$LIPO" >&6; }
7483 else
7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7486 fi
7487
7488
7489 fi
7490 if test -z "$ac_cv_prog_LIPO"; then
7491   ac_ct_LIPO=$LIPO
7492   # Extract the first word of "lipo", so it can be a program name with args.
7493 set dummy lipo; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7497   $as_echo_n "(cached) " >&6
7498 else
7499   if test -n "$ac_ct_LIPO"; then
7500   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7504 do
7505   IFS=$as_save_IFS
7506   test -z "$as_dir" && as_dir=.
7507     for ac_exec_ext in '' $ac_executable_extensions; do
7508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509     ac_cv_prog_ac_ct_LIPO="lipo"
7510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511     break 2
7512   fi
7513 done
7514   done
7515 IFS=$as_save_IFS
7516
7517 fi
7518 fi
7519 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7520 if test -n "$ac_ct_LIPO"; then
7521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7522 $as_echo "$ac_ct_LIPO" >&6; }
7523 else
7524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7526 fi
7527
7528   if test "x$ac_ct_LIPO" = x; then
7529     LIPO=":"
7530   else
7531     case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537     LIPO=$ac_ct_LIPO
7538   fi
7539 else
7540   LIPO="$ac_cv_prog_LIPO"
7541 fi
7542
7543     if test -n "$ac_tool_prefix"; then
7544   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7549   $as_echo_n "(cached) " >&6
7550 else
7551   if test -n "$OTOOL"; then
7552   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7556 do
7557   IFS=$as_save_IFS
7558   test -z "$as_dir" && as_dir=.
7559     for ac_exec_ext in '' $ac_executable_extensions; do
7560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563     break 2
7564   fi
7565 done
7566   done
7567 IFS=$as_save_IFS
7568
7569 fi
7570 fi
7571 OTOOL=$ac_cv_prog_OTOOL
7572 if test -n "$OTOOL"; then
7573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7574 $as_echo "$OTOOL" >&6; }
7575 else
7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7578 fi
7579
7580
7581 fi
7582 if test -z "$ac_cv_prog_OTOOL"; then
7583   ac_ct_OTOOL=$OTOOL
7584   # Extract the first word of "otool", so it can be a program name with args.
7585 set dummy otool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7589   $as_echo_n "(cached) " >&6
7590 else
7591   if test -n "$ac_ct_OTOOL"; then
7592   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7596 do
7597   IFS=$as_save_IFS
7598   test -z "$as_dir" && as_dir=.
7599     for ac_exec_ext in '' $ac_executable_extensions; do
7600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601     ac_cv_prog_ac_ct_OTOOL="otool"
7602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603     break 2
7604   fi
7605 done
7606   done
7607 IFS=$as_save_IFS
7608
7609 fi
7610 fi
7611 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7612 if test -n "$ac_ct_OTOOL"; then
7613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7614 $as_echo "$ac_ct_OTOOL" >&6; }
7615 else
7616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7618 fi
7619
7620   if test "x$ac_ct_OTOOL" = x; then
7621     OTOOL=":"
7622   else
7623     case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629     OTOOL=$ac_ct_OTOOL
7630   fi
7631 else
7632   OTOOL="$ac_cv_prog_OTOOL"
7633 fi
7634
7635     if test -n "$ac_tool_prefix"; then
7636   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7641   $as_echo_n "(cached) " >&6
7642 else
7643   if test -n "$OTOOL64"; then
7644   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7648 do
7649   IFS=$as_save_IFS
7650   test -z "$as_dir" && as_dir=.
7651     for ac_exec_ext in '' $ac_executable_extensions; do
7652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655     break 2
7656   fi
7657 done
7658   done
7659 IFS=$as_save_IFS
7660
7661 fi
7662 fi
7663 OTOOL64=$ac_cv_prog_OTOOL64
7664 if test -n "$OTOOL64"; then
7665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7666 $as_echo "$OTOOL64" >&6; }
7667 else
7668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7670 fi
7671
7672
7673 fi
7674 if test -z "$ac_cv_prog_OTOOL64"; then
7675   ac_ct_OTOOL64=$OTOOL64
7676   # Extract the first word of "otool64", so it can be a program name with args.
7677 set dummy otool64; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7681   $as_echo_n "(cached) " >&6
7682 else
7683   if test -n "$ac_ct_OTOOL64"; then
7684   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7685 else
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 for as_dir in $PATH
7688 do
7689   IFS=$as_save_IFS
7690   test -z "$as_dir" && as_dir=.
7691     for ac_exec_ext in '' $ac_executable_extensions; do
7692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693     ac_cv_prog_ac_ct_OTOOL64="otool64"
7694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695     break 2
7696   fi
7697 done
7698   done
7699 IFS=$as_save_IFS
7700
7701 fi
7702 fi
7703 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7704 if test -n "$ac_ct_OTOOL64"; then
7705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 $as_echo "$ac_ct_OTOOL64" >&6; }
7707 else
7708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7710 fi
7711
7712   if test "x$ac_ct_OTOOL64" = x; then
7713     OTOOL64=":"
7714   else
7715     case $cross_compiling:$ac_tool_warned in
7716 yes:)
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7720 esac
7721     OTOOL64=$ac_ct_OTOOL64
7722   fi
7723 else
7724   OTOOL64="$ac_cv_prog_OTOOL64"
7725 fi
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7754 $as_echo_n "checking for -single_module linker flag... " >&6; }
7755 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7756   $as_echo_n "(cached) " >&6
7757 else
7758   lt_cv_apple_cc_single_mod=no
7759       if test -z "${LT_MULTI_MODULE}"; then
7760         # By default we will add the -single_module flag. You can override
7761         # by either setting the environment variable LT_MULTI_MODULE
7762         # non-empty at configure time, or by adding -multi_module to the
7763         # link flags.
7764         rm -rf libconftest.dylib*
7765         echo "int foo(void){return 1;}" > conftest.c
7766         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7767 -dynamiclib -Wl,-single_module conftest.c" >&5
7768         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7769           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770         _lt_result=$?
7771         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7772           lt_cv_apple_cc_single_mod=yes
7773         else
7774           cat conftest.err >&5
7775         fi
7776         rm -rf libconftest.dylib*
7777         rm -f conftest.*
7778       fi
7779 fi
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7781 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7783 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7784 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7785   $as_echo_n "(cached) " >&6
7786 else
7787   lt_cv_ld_exported_symbols_list=no
7788       save_LDFLAGS=$LDFLAGS
7789       echo "_main" > conftest.sym
7790       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7791       if test x$gcc_no_link = xyes; then
7792   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7793 fi
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h.  */
7796
7797 int
7798 main ()
7799 {
7800
7801   ;
7802   return 0;
7803 }
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806   lt_cv_ld_exported_symbols_list=yes
7807 else
7808   lt_cv_ld_exported_symbols_list=no
7809 fi
7810 rm -f core conftest.err conftest.$ac_objext \
7811     conftest$ac_exeext conftest.$ac_ext
7812         LDFLAGS="$save_LDFLAGS"
7813
7814 fi
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7816 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
7819 if test "${lt_cv_ld_force_load+set}" = set; then :
7820   $as_echo_n "(cached) " >&6
7821 else
7822   lt_cv_ld_force_load=no
7823       cat > conftest.c << _LT_EOF
7824 int forced_loaded() { return 2;}
7825 _LT_EOF
7826       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7827       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7828       echo "$AR cru libconftest.a conftest.o" >&5
7829       $AR cru libconftest.a conftest.o 2>&5
7830       cat > conftest.c << _LT_EOF
7831 int main() { return 0;}
7832 _LT_EOF
7833       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7834       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7835       _lt_result=$?
7836       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7837         lt_cv_ld_force_load=yes
7838       else
7839         cat conftest.err >&5
7840       fi
7841         rm -f conftest.err libconftest.a conftest conftest.c
7842         rm -rf conftest.dSYM
7843
7844 fi
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7846 $as_echo "$lt_cv_ld_force_load" >&6; }
7847     case $host_os in
7848     rhapsody* | darwin1.[012])
7849       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850     darwin1.*)
7851       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7852     darwin*) # darwin 5.x on
7853       # if running on 10.5 or later, the deployment target defaults
7854       # to the OS version, if on x86, and 10.4, the deployment
7855       # target defaults to 10.4. Don't you love it?
7856       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7857         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7858           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859         10.[012]*)
7860           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861         10.*)
7862           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7863       esac
7864     ;;
7865   esac
7866     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7867       _lt_dar_single_mod='$single_module'
7868     fi
7869     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7870       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871     else
7872       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7873     fi
7874     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7875       _lt_dsymutil='~$DSYMUTIL $lib || :'
7876     else
7877       _lt_dsymutil=
7878     fi
7879     ;;
7880   esac
7881
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if test "${ac_cv_header_stdc+set}" = set; then :
7885   $as_echo_n "(cached) " >&6
7886 else
7887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h.  */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7893
7894 int
7895 main ()
7896 {
7897
7898   ;
7899   return 0;
7900 }
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903   ac_cv_header_stdc=yes
7904 else
7905   ac_cv_header_stdc=no
7906 fi
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7908
7909 if test $ac_cv_header_stdc = yes; then
7910   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h.  */
7913 #include <string.h>
7914
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917   $EGREP "memchr" >/dev/null 2>&1; then :
7918
7919 else
7920   ac_cv_header_stdc=no
7921 fi
7922 rm -f conftest*
7923
7924 fi
7925
7926 if test $ac_cv_header_stdc = yes; then
7927   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h.  */
7930 #include <stdlib.h>
7931
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934   $EGREP "free" >/dev/null 2>&1; then :
7935
7936 else
7937   ac_cv_header_stdc=no
7938 fi
7939 rm -f conftest*
7940
7941 fi
7942
7943 if test $ac_cv_header_stdc = yes; then
7944   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945   if test "$cross_compiling" = yes; then :
7946   :
7947 else
7948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h.  */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957                    (('a' <= (c) && (c) <= 'i') \
7958                      || ('j' <= (c) && (c) <= 'r') \
7959                      || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7962
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7964 int
7965 main ()
7966 {
7967   int i;
7968   for (i = 0; i < 256; i++)
7969     if (XOR (islower (i), ISLOWER (i))
7970         || toupper (i) != TOUPPER (i))
7971       return 2;
7972   return 0;
7973 }
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7976
7977 else
7978   ac_cv_header_stdc=no
7979 fi
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981   conftest.$ac_objext conftest.beam conftest.$ac_ext
7982 fi
7983
7984 fi
7985 fi
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7989
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7991
7992 fi
7993
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996                   inttypes.h stdint.h unistd.h
7997 do :
7998   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8000 "
8001 eval as_val=\$$as_ac_Header
8002    if test "x$as_val" = x""yes; then :
8003   cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8006
8007 fi
8008
8009 done
8010
8011
8012 for ac_header in dlfcn.h
8013 do :
8014   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8015 "
8016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8017   cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8020
8021 fi
8022
8023 done
8024
8025
8026
8027
8028
8029
8030 # Set options
8031
8032
8033
8034
8035   enable_win32_dll=no
8036
8037
8038             # Check whether --enable-shared was given.
8039 if test "${enable_shared+set}" = set; then :
8040   enableval=$enable_shared; p=${PACKAGE-default}
8041     case $enableval in
8042     yes) enable_shared=yes ;;
8043     no) enable_shared=no ;;
8044     *)
8045       enable_shared=no
8046       # Look at the argument we got.  We use all the common list separators.
8047       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048       for pkg in $enableval; do
8049         IFS="$lt_save_ifs"
8050         if test "X$pkg" = "X$p"; then
8051           enable_shared=yes
8052         fi
8053       done
8054       IFS="$lt_save_ifs"
8055       ;;
8056     esac
8057 else
8058   enable_shared=yes
8059 fi
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069   # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071   enableval=$enable_static; p=${PACKAGE-default}
8072     case $enableval in
8073     yes) enable_static=yes ;;
8074     no) enable_static=no ;;
8075     *)
8076      enable_static=no
8077       # Look at the argument we got.  We use all the common list separators.
8078       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079       for pkg in $enableval; do
8080         IFS="$lt_save_ifs"
8081         if test "X$pkg" = "X$p"; then
8082           enable_static=yes
8083         fi
8084       done
8085       IFS="$lt_save_ifs"
8086       ;;
8087     esac
8088 else
8089   enable_static=yes
8090 fi
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101 # Check whether --with-pic was given.
8102 if test "${with_pic+set}" = set; then :
8103   withval=$with_pic; pic_mode="$withval"
8104 else
8105   pic_mode=default
8106 fi
8107
8108
8109 test -z "$pic_mode" && pic_mode=default
8110
8111
8112
8113
8114
8115
8116
8117   # Check whether --enable-fast-install was given.
8118 if test "${enable_fast_install+set}" = set; then :
8119   enableval=$enable_fast_install; p=${PACKAGE-default}
8120     case $enableval in
8121     yes) enable_fast_install=yes ;;
8122     no) enable_fast_install=no ;;
8123     *)
8124       enable_fast_install=no
8125       # Look at the argument we got.  We use all the common list separators.
8126       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127       for pkg in $enableval; do
8128         IFS="$lt_save_ifs"
8129         if test "X$pkg" = "X$p"; then
8130           enable_fast_install=yes
8131         fi
8132       done
8133       IFS="$lt_save_ifs"
8134       ;;
8135     esac
8136 else
8137   enable_fast_install=yes
8138 fi
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150 # This can be used to rebuild libtool when needed
8151 LIBTOOL_DEPS="$ltmain"
8152
8153 # Always use our own libtool.
8154 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181 test -z "$LN_S" && LN_S="ln -s"
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196 if test -n "${ZSH_VERSION+set}" ; then
8197    setopt NO_GLOB_SUBST
8198 fi
8199
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if test "${lt_cv_objdir+set}" = set; then :
8203   $as_echo_n "(cached) " >&6
8204 else
8205   rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8208   lt_cv_objdir=.libs
8209 else
8210   # MS-DOS does not allow filenames that begin with a dot.
8211   lt_cv_objdir=_libs
8212 fi
8213 rmdir .libs 2>/dev/null
8214 fi
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8218
8219
8220
8221
8222
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8225 _ACEOF
8226
8227
8228
8229
8230 case $host_os in
8231 aix3*)
8232   # AIX sometimes has problems with the GCC collect2 program.  For some
8233   # reason, if we set the COLLECT_NAMES environment variable, the problems
8234   # vanish in a puff of smoke.
8235   if test "X${COLLECT_NAMES+set}" != Xset; then
8236     COLLECT_NAMES=
8237     export COLLECT_NAMES
8238   fi
8239   ;;
8240 esac
8241
8242 # Global variables:
8243 ofile=libtool
8244 can_build_shared=yes
8245
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8248 libext=a
8249
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8251
8252 old_CC="$CC"
8253 old_CFLAGS="$CFLAGS"
8254
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8261
8262 for cc_temp in $compiler""; do
8263   case $cc_temp in
8264     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8266     \-*) ;;
8267     *) break;;
8268   esac
8269 done
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8271
8272
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8276 file_magic*)
8277   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8281   $as_echo_n "(cached) " >&6
8282 else
8283   case $MAGIC_CMD in
8284 [\\/*] |  ?:[\\/]*)
8285   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8286   ;;
8287 *)
8288   lt_save_MAGIC_CMD="$MAGIC_CMD"
8289   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291   for ac_dir in $ac_dummy; do
8292     IFS="$lt_save_ifs"
8293     test -z "$ac_dir" && ac_dir=.
8294     if test -f $ac_dir/${ac_tool_prefix}file; then
8295       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296       if test -n "$file_magic_test_file"; then
8297         case $deplibs_check_method in
8298         "file_magic "*)
8299           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302             $EGREP "$file_magic_regex" > /dev/null; then
8303             :
8304           else
8305             cat <<_LT_EOF 1>&2
8306
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such.  This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem.  Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8315
8316 _LT_EOF
8317           fi ;;
8318         esac
8319       fi
8320       break
8321     fi
8322   done
8323   IFS="$lt_save_ifs"
8324   MAGIC_CMD="$lt_save_MAGIC_CMD"
8325   ;;
8326 esac
8327 fi
8328
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8333 else
8334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8336 fi
8337
8338
8339
8340
8341
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343   if test -n "$ac_tool_prefix"; then
8344     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8347   $as_echo_n "(cached) " >&6
8348 else
8349   case $MAGIC_CMD in
8350 [\\/*] |  ?:[\\/]*)
8351   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8352   ;;
8353 *)
8354   lt_save_MAGIC_CMD="$MAGIC_CMD"
8355   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357   for ac_dir in $ac_dummy; do
8358     IFS="$lt_save_ifs"
8359     test -z "$ac_dir" && ac_dir=.
8360     if test -f $ac_dir/file; then
8361       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362       if test -n "$file_magic_test_file"; then
8363         case $deplibs_check_method in
8364         "file_magic "*)
8365           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368             $EGREP "$file_magic_regex" > /dev/null; then
8369             :
8370           else
8371             cat <<_LT_EOF 1>&2
8372
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such.  This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem.  Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8381
8382 _LT_EOF
8383           fi ;;
8384         esac
8385       fi
8386       break
8387     fi
8388   done
8389   IFS="$lt_save_ifs"
8390   MAGIC_CMD="$lt_save_MAGIC_CMD"
8391   ;;
8392 esac
8393 fi
8394
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8399 else
8400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8402 fi
8403
8404
8405   else
8406     MAGIC_CMD=:
8407   fi
8408 fi
8409
8410   fi
8411   ;;
8412 esac
8413
8414 # Use C for the default configuration in the libtool script
8415
8416 lt_save_CC="$CC"
8417 ac_ext=c
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8422
8423
8424 # Source file extension for C test sources.
8425 ac_ext=c
8426
8427 # Object file extension for compiled C test sources.
8428 objext=o
8429 objext=$objext
8430
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8433
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8436
8437
8438
8439
8440
8441
8442
8443 # If no C compiler was specified, use CC.
8444 LTCC=${LTCC-"$CC"}
8445
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8448
8449 # Allow CC to be a program name with arguments.
8450 compiler=$CC
8451
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8455
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8461 $RM conftest*
8462
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8467 $RM -r conftest*
8468
8469
8470 ## CAVEAT EMPTOR:
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8475
8476 lt_prog_compiler_no_builtin_flag=
8477
8478 if test "$GCC" = yes; then
8479   case $cc_basename in
8480   nvcc*)
8481     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8482   *)
8483     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8484   esac
8485
8486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8489   $as_echo_n "(cached) " >&6
8490 else
8491   lt_cv_prog_compiler_rtti_exceptions=no
8492    ac_outfile=conftest.$ac_objext
8493    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494    lt_compiler_flag="-fno-rtti -fno-exceptions"
8495    # Insert the option either (1) after the last *FLAGS variable, or
8496    # (2) before a word containing "conftest.", or (3) at the end.
8497    # Note that $ac_compile itself does not contain backslashes and begins
8498    # with a dollar sign (not a hyphen), so the echo should work correctly.
8499    # The option is referenced via a variable to avoid confusing sed.
8500    lt_compile=`echo "$ac_compile" | $SED \
8501    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503    -e 's:$: $lt_compiler_flag:'`
8504    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505    (eval "$lt_compile" 2>conftest.err)
8506    ac_status=$?
8507    cat conftest.err >&5
8508    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509    if (exit $ac_status) && test -s "$ac_outfile"; then
8510      # The compiler can only warn and ignore the option if not recognized
8511      # So say no if there are warnings other than the usual output.
8512      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515        lt_cv_prog_compiler_rtti_exceptions=yes
8516      fi
8517    fi
8518    $RM conftest*
8519
8520 fi
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8523
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8526 else
8527     :
8528 fi
8529
8530 fi
8531
8532
8533
8534
8535
8536
8537   lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8540
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8543
8544   if test "$GCC" = yes; then
8545     lt_prog_compiler_wl='-Wl,'
8546     lt_prog_compiler_static='-static'
8547
8548     case $host_os in
8549       aix*)
8550       # All AIX code is PIC.
8551       if test "$host_cpu" = ia64; then
8552         # AIX 5 now supports IA64 processor
8553         lt_prog_compiler_static='-Bstatic'
8554       fi
8555       lt_prog_compiler_pic='-fPIC'
8556       ;;
8557
8558     amigaos*)
8559       case $host_cpu in
8560       powerpc)
8561             # see comment about AmigaOS4 .so support
8562             lt_prog_compiler_pic='-fPIC'
8563         ;;
8564       m68k)
8565             # FIXME: we need at least 68020 code to build shared libraries, but
8566             # adding the `-m68020' flag to GCC prevents building anything better,
8567             # like `-m68040'.
8568             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8569         ;;
8570       esac
8571       ;;
8572
8573     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8574       # PIC is the default for these OSes.
8575       ;;
8576
8577     mingw* | cygwin* | pw32* | os2* | cegcc*)
8578       # This hack is so that the source file can tell whether it is being
8579       # built for inclusion in a dll (and should export symbols for example).
8580       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8581       # (--disable-auto-import) libraries
8582       lt_prog_compiler_pic='-DDLL_EXPORT'
8583       ;;
8584
8585     darwin* | rhapsody*)
8586       # PIC is the default on this platform
8587       # Common symbols not allowed in MH_DYLIB files
8588       lt_prog_compiler_pic='-fno-common'
8589       ;;
8590
8591     haiku*)
8592       # PIC is the default for Haiku.
8593       # The "-static" flag exists, but is broken.
8594       lt_prog_compiler_static=
8595       ;;
8596
8597     hpux*)
8598       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8599       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8600       # sets the default TLS model and affects inlining.
8601       case $host_cpu in
8602       hppa*64*)
8603         # +Z the default
8604         ;;
8605       *)
8606         lt_prog_compiler_pic='-fPIC'
8607         ;;
8608       esac
8609       ;;
8610
8611     interix[3-9]*)
8612       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8613       # Instead, we relocate shared libraries at runtime.
8614       ;;
8615
8616     msdosdjgpp*)
8617       # Just because we use GCC doesn't mean we suddenly get shared libraries
8618       # on systems that don't support them.
8619       lt_prog_compiler_can_build_shared=no
8620       enable_shared=no
8621       ;;
8622
8623     *nto* | *qnx*)
8624       # QNX uses GNU C++, but need to define -shared option too, otherwise
8625       # it will coredump.
8626       lt_prog_compiler_pic='-fPIC -shared'
8627       ;;
8628
8629     sysv4*MP*)
8630       if test -d /usr/nec; then
8631         lt_prog_compiler_pic=-Kconform_pic
8632       fi
8633       ;;
8634
8635     *)
8636       lt_prog_compiler_pic='-fPIC'
8637       ;;
8638     esac
8639
8640     case $cc_basename in
8641     nvcc*) # Cuda Compiler Driver 2.2
8642       lt_prog_compiler_wl='-Xlinker '
8643       lt_prog_compiler_pic='-Xcompiler -fPIC'
8644       ;;
8645     esac
8646   else
8647     # PORTME Check for flag to pass linker flags through the system compiler.
8648     case $host_os in
8649     aix*)
8650       lt_prog_compiler_wl='-Wl,'
8651       if test "$host_cpu" = ia64; then
8652         # AIX 5 now supports IA64 processor
8653         lt_prog_compiler_static='-Bstatic'
8654       else
8655         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8656       fi
8657       ;;
8658
8659     mingw* | cygwin* | pw32* | os2* | cegcc*)
8660       # This hack is so that the source file can tell whether it is being
8661       # built for inclusion in a dll (and should export symbols for example).
8662       lt_prog_compiler_pic='-DDLL_EXPORT'
8663       ;;
8664
8665     hpux9* | hpux10* | hpux11*)
8666       lt_prog_compiler_wl='-Wl,'
8667       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8668       # not for PA HP-UX.
8669       case $host_cpu in
8670       hppa*64*|ia64*)
8671         # +Z the default
8672         ;;
8673       *)
8674         lt_prog_compiler_pic='+Z'
8675         ;;
8676       esac
8677       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8678       lt_prog_compiler_static='${wl}-a ${wl}archive'
8679       ;;
8680
8681     irix5* | irix6* | nonstopux*)
8682       lt_prog_compiler_wl='-Wl,'
8683       # PIC (with -KPIC) is the default.
8684       lt_prog_compiler_static='-non_shared'
8685       ;;
8686
8687     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8688       case $cc_basename in
8689       # old Intel for x86_64 which still supported -KPIC.
8690       ecc*)
8691         lt_prog_compiler_wl='-Wl,'
8692         lt_prog_compiler_pic='-KPIC'
8693         lt_prog_compiler_static='-static'
8694         ;;
8695       # icc used to be incompatible with GCC.
8696       # ICC 10 doesn't accept -KPIC any more.
8697       icc* | ifort*)
8698         lt_prog_compiler_wl='-Wl,'
8699         lt_prog_compiler_pic='-fPIC'
8700         lt_prog_compiler_static='-static'
8701         ;;
8702       # Lahey Fortran 8.1.
8703       lf95*)
8704         lt_prog_compiler_wl='-Wl,'
8705         lt_prog_compiler_pic='--shared'
8706         lt_prog_compiler_static='--static'
8707         ;;
8708       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8709         # Portland Group compilers (*not* the Pentium gcc compiler,
8710         # which looks to be a dead project)
8711         lt_prog_compiler_wl='-Wl,'
8712         lt_prog_compiler_pic='-fpic'
8713         lt_prog_compiler_static='-Bstatic'
8714         ;;
8715       ccc*)
8716         lt_prog_compiler_wl='-Wl,'
8717         # All Alpha code is PIC.
8718         lt_prog_compiler_static='-non_shared'
8719         ;;
8720       xl* | bgxl* | bgf* | mpixl*)
8721         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8722         lt_prog_compiler_wl='-Wl,'
8723         lt_prog_compiler_pic='-qpic'
8724         lt_prog_compiler_static='-qstaticlink'
8725         ;;
8726       *)
8727         case `$CC -V 2>&1 | sed 5q` in
8728         *Sun\ F* | *Sun*Fortran*)
8729           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8730           lt_prog_compiler_pic='-KPIC'
8731           lt_prog_compiler_static='-Bstatic'
8732           lt_prog_compiler_wl=''
8733           ;;
8734         *Sun\ C*)
8735           # Sun C 5.9
8736           lt_prog_compiler_pic='-KPIC'
8737           lt_prog_compiler_static='-Bstatic'
8738           lt_prog_compiler_wl='-Wl,'
8739           ;;
8740         esac
8741         ;;
8742       esac
8743       ;;
8744
8745     newsos6)
8746       lt_prog_compiler_pic='-KPIC'
8747       lt_prog_compiler_static='-Bstatic'
8748       ;;
8749
8750     *nto* | *qnx*)
8751       # QNX uses GNU C++, but need to define -shared option too, otherwise
8752       # it will coredump.
8753       lt_prog_compiler_pic='-fPIC -shared'
8754       ;;
8755
8756     osf3* | osf4* | osf5*)
8757       lt_prog_compiler_wl='-Wl,'
8758       # All OSF/1 code is PIC.
8759       lt_prog_compiler_static='-non_shared'
8760       ;;
8761
8762     rdos*)
8763       lt_prog_compiler_static='-non_shared'
8764       ;;
8765
8766     solaris*)
8767       lt_prog_compiler_pic='-KPIC'
8768       lt_prog_compiler_static='-Bstatic'
8769       case $cc_basename in
8770       f77* | f90* | f95*)
8771         lt_prog_compiler_wl='-Qoption ld ';;
8772       *)
8773         lt_prog_compiler_wl='-Wl,';;
8774       esac
8775       ;;
8776
8777     sunos4*)
8778       lt_prog_compiler_wl='-Qoption ld '
8779       lt_prog_compiler_pic='-PIC'
8780       lt_prog_compiler_static='-Bstatic'
8781       ;;
8782
8783     sysv4 | sysv4.2uw2* | sysv4.3*)
8784       lt_prog_compiler_wl='-Wl,'
8785       lt_prog_compiler_pic='-KPIC'
8786       lt_prog_compiler_static='-Bstatic'
8787       ;;
8788
8789     sysv4*MP*)
8790       if test -d /usr/nec ;then
8791         lt_prog_compiler_pic='-Kconform_pic'
8792         lt_prog_compiler_static='-Bstatic'
8793       fi
8794       ;;
8795
8796     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8797       lt_prog_compiler_wl='-Wl,'
8798       lt_prog_compiler_pic='-KPIC'
8799       lt_prog_compiler_static='-Bstatic'
8800       ;;
8801
8802     unicos*)
8803       lt_prog_compiler_wl='-Wl,'
8804       lt_prog_compiler_can_build_shared=no
8805       ;;
8806
8807     uts4*)
8808       lt_prog_compiler_pic='-pic'
8809       lt_prog_compiler_static='-Bstatic'
8810       ;;
8811
8812     *)
8813       lt_prog_compiler_can_build_shared=no
8814       ;;
8815     esac
8816   fi
8817
8818 case $host_os in
8819   # For platforms which do not support PIC, -DPIC is meaningless:
8820   *djgpp*)
8821     lt_prog_compiler_pic=
8822     ;;
8823   *)
8824     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8825     ;;
8826 esac
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8828 $as_echo "$lt_prog_compiler_pic" >&6; }
8829
8830
8831
8832
8833
8834
8835 #
8836 # Check to make sure the PIC flag actually works.
8837 #
8838 if test -n "$lt_prog_compiler_pic"; then
8839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8842   $as_echo_n "(cached) " >&6
8843 else
8844   lt_cv_prog_compiler_pic_works=no
8845    ac_outfile=conftest.$ac_objext
8846    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848    # Insert the option either (1) after the last *FLAGS variable, or
8849    # (2) before a word containing "conftest.", or (3) at the end.
8850    # Note that $ac_compile itself does not contain backslashes and begins
8851    # with a dollar sign (not a hyphen), so the echo should work correctly.
8852    # The option is referenced via a variable to avoid confusing sed.
8853    lt_compile=`echo "$ac_compile" | $SED \
8854    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856    -e 's:$: $lt_compiler_flag:'`
8857    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858    (eval "$lt_compile" 2>conftest.err)
8859    ac_status=$?
8860    cat conftest.err >&5
8861    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862    if (exit $ac_status) && test -s "$ac_outfile"; then
8863      # The compiler can only warn and ignore the option if not recognized
8864      # So say no if there are warnings other than the usual output.
8865      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868        lt_cv_prog_compiler_pic_works=yes
8869      fi
8870    fi
8871    $RM conftest*
8872
8873 fi
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8876
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878     case $lt_prog_compiler_pic in
8879      "" | " "*) ;;
8880      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881      esac
8882 else
8883     lt_prog_compiler_pic=
8884      lt_prog_compiler_can_build_shared=no
8885 fi
8886
8887 fi
8888
8889
8890
8891
8892
8893
8894 #
8895 # Check to make sure the static flag actually works.
8896 #
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8901   $as_echo_n "(cached) " >&6
8902 else
8903   lt_cv_prog_compiler_static_works=no
8904    save_LDFLAGS="$LDFLAGS"
8905    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908      # The linker can only warn and ignore the option if not recognized
8909      # So say no if there are warnings
8910      if test -s conftest.err; then
8911        # Append any errors to the config.log.
8912        cat conftest.err 1>&5
8913        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915        if diff conftest.exp conftest.er2 >/dev/null; then
8916          lt_cv_prog_compiler_static_works=yes
8917        fi
8918      else
8919        lt_cv_prog_compiler_static_works=yes
8920      fi
8921    fi
8922    $RM -r conftest*
8923    LDFLAGS="$save_LDFLAGS"
8924
8925 fi
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8928
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8930     :
8931 else
8932     lt_prog_compiler_static=
8933 fi
8934
8935
8936
8937
8938
8939
8940
8941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8944   $as_echo_n "(cached) " >&6
8945 else
8946   lt_cv_prog_compiler_c_o=no
8947    $RM -r conftest 2>/dev/null
8948    mkdir conftest
8949    cd conftest
8950    mkdir out
8951    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8952
8953    lt_compiler_flag="-o out/conftest2.$ac_objext"
8954    # Insert the option either (1) after the last *FLAGS variable, or
8955    # (2) before a word containing "conftest.", or (3) at the end.
8956    # Note that $ac_compile itself does not contain backslashes and begins
8957    # with a dollar sign (not a hyphen), so the echo should work correctly.
8958    lt_compile=`echo "$ac_compile" | $SED \
8959    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961    -e 's:$: $lt_compiler_flag:'`
8962    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963    (eval "$lt_compile" 2>out/conftest.err)
8964    ac_status=$?
8965    cat out/conftest.err >&5
8966    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968    then
8969      # The compiler can only warn and ignore the option if not recognized
8970      # So say no if there are warnings
8971      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974        lt_cv_prog_compiler_c_o=yes
8975      fi
8976    fi
8977    chmod u+w . 2>&5
8978    $RM conftest*
8979    # SGI C++ compiler will create directory out/ii_files/ for
8980    # template instantiation
8981    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982    $RM out/* && rmdir out
8983    cd ..
8984    $RM -r conftest
8985    $RM conftest*
8986
8987 fi
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8990
8991
8992
8993
8994
8995
8996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8999   $as_echo_n "(cached) " >&6
9000 else
9001   lt_cv_prog_compiler_c_o=no
9002    $RM -r conftest 2>/dev/null
9003    mkdir conftest
9004    cd conftest
9005    mkdir out
9006    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9007
9008    lt_compiler_flag="-o out/conftest2.$ac_objext"
9009    # Insert the option either (1) after the last *FLAGS variable, or
9010    # (2) before a word containing "conftest.", or (3) at the end.
9011    # Note that $ac_compile itself does not contain backslashes and begins
9012    # with a dollar sign (not a hyphen), so the echo should work correctly.
9013    lt_compile=`echo "$ac_compile" | $SED \
9014    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016    -e 's:$: $lt_compiler_flag:'`
9017    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018    (eval "$lt_compile" 2>out/conftest.err)
9019    ac_status=$?
9020    cat out/conftest.err >&5
9021    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023    then
9024      # The compiler can only warn and ignore the option if not recognized
9025      # So say no if there are warnings
9026      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029        lt_cv_prog_compiler_c_o=yes
9030      fi
9031    fi
9032    chmod u+w . 2>&5
9033    $RM conftest*
9034    # SGI C++ compiler will create directory out/ii_files/ for
9035    # template instantiation
9036    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037    $RM out/* && rmdir out
9038    cd ..
9039    $RM -r conftest
9040    $RM conftest*
9041
9042 fi
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9045
9046
9047
9048
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051   # do not overwrite the value of need_locks provided by the user
9052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054   hard_links=yes
9055   $RM conftest*
9056   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057   touch conftest.a
9058   ln conftest.a conftest.b 2>&5 || hard_links=no
9059   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062   if test "$hard_links" = no; then
9063     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065     need_locks=warn
9066   fi
9067 else
9068   need_locks=no
9069 fi
9070
9071
9072
9073
9074
9075
9076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9078
9079   runpath_var=
9080   allow_undefined_flag=
9081   always_export_symbols=no
9082   archive_cmds=
9083   archive_expsym_cmds=
9084   compiler_needs_object=no
9085   enable_shared_with_static_runtimes=no
9086   export_dynamic_flag_spec=
9087   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088   hardcode_automatic=no
9089   hardcode_direct=no
9090   hardcode_direct_absolute=no
9091   hardcode_libdir_flag_spec=
9092   hardcode_libdir_flag_spec_ld=
9093   hardcode_libdir_separator=
9094   hardcode_minus_L=no
9095   hardcode_shlibpath_var=unsupported
9096   inherit_rpath=no
9097   link_all_deplibs=unknown
9098   module_cmds=
9099   module_expsym_cmds=
9100   old_archive_from_new_cmds=
9101   old_archive_from_expsyms_cmds=
9102   thread_safe_flag_spec=
9103   whole_archive_flag_spec=
9104   # include_expsyms should be a list of space-separated symbols to be *always*
9105   # included in the symbol list
9106   include_expsyms=
9107   # exclude_expsyms can be an extended regexp of symbols to exclude
9108   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9109   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9110   # as well as any symbol that contains `d'.
9111   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9112   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9113   # platforms (ab)use it in PIC code, but their linkers get confused if
9114   # the symbol is explicitly referenced.  Since portable code cannot
9115   # rely on this symbol name, it's probably fine to never include it in
9116   # preloaded symbol tables.
9117   # Exclude shared library initialization/finalization symbols.
9118   extract_expsyms_cmds=
9119
9120   case $host_os in
9121   cygwin* | mingw* | pw32* | cegcc*)
9122     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9123     # When not using gcc, we currently assume that we are using
9124     # Microsoft Visual C++.
9125     if test "$GCC" != yes; then
9126       with_gnu_ld=no
9127     fi
9128     ;;
9129   interix*)
9130     # we just hope/assume this is gcc and not c89 (= MSVC++)
9131     with_gnu_ld=yes
9132     ;;
9133   openbsd*)
9134     with_gnu_ld=no
9135     ;;
9136   esac
9137
9138   ld_shlibs=yes
9139
9140   # On some targets, GNU ld is compatible enough with the native linker
9141   # that we're better off using the native interface for both.
9142   lt_use_gnu_ld_interface=no
9143   if test "$with_gnu_ld" = yes; then
9144     case $host_os in
9145       aix*)
9146         # The AIX port of GNU ld has always aspired to compatibility
9147         # with the native linker.  However, as the warning in the GNU ld
9148         # block says, versions before 2.19.5* couldn't really create working
9149         # shared libraries, regardless of the interface used.
9150         case `$LD -v 2>&1` in
9151           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9154           *)
9155             lt_use_gnu_ld_interface=yes
9156             ;;
9157         esac
9158         ;;
9159       *)
9160         lt_use_gnu_ld_interface=yes
9161         ;;
9162     esac
9163   fi
9164
9165   if test "$lt_use_gnu_ld_interface" = yes; then
9166     # If archive_cmds runs LD, not CC, wlarc should be empty
9167     wlarc='${wl}'
9168
9169     # Set some defaults for GNU ld with shared library support. These
9170     # are reset later if shared libraries are not supported. Putting them
9171     # here allows them to be overridden if necessary.
9172     runpath_var=LD_RUN_PATH
9173     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174     export_dynamic_flag_spec='${wl}--export-dynamic'
9175     # ancient GNU ld didn't support --whole-archive et. al.
9176     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178     else
9179       whole_archive_flag_spec=
9180     fi
9181     supports_anon_versioning=no
9182     case `$LD -v 2>&1` in
9183       *GNU\ gold*) supports_anon_versioning=yes ;;
9184       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187       *\ 2.11.*) ;; # other 2.11 versions
9188       *) supports_anon_versioning=yes ;;
9189     esac
9190
9191     # See if GNU ld supports shared libraries.
9192     case $host_os in
9193     aix[3-9]*)
9194       # On AIX/PPC, the GNU linker is very broken
9195       if test "$host_cpu" != ia64; then
9196         ld_shlibs=no
9197         cat <<_LT_EOF 1>&2
9198
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support.  If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9205
9206 _LT_EOF
9207       fi
9208       ;;
9209
9210     amigaos*)
9211       case $host_cpu in
9212       powerpc)
9213             # see comment about AmigaOS4 .so support
9214             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215             archive_expsym_cmds=''
9216         ;;
9217       m68k)
9218             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)'
9219             hardcode_libdir_flag_spec='-L$libdir'
9220             hardcode_minus_L=yes
9221         ;;
9222       esac
9223       ;;
9224
9225     beos*)
9226       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227         allow_undefined_flag=unsupported
9228         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229         # support --undefined.  This deserves some investigation.  FIXME
9230         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231       else
9232         ld_shlibs=no
9233       fi
9234       ;;
9235
9236     cygwin* | mingw* | pw32* | cegcc*)
9237       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238       # as there is no search path for DLLs.
9239       hardcode_libdir_flag_spec='-L$libdir'
9240       export_dynamic_flag_spec='${wl}--export-all-symbols'
9241       allow_undefined_flag=unsupported
9242       always_export_symbols=no
9243       enable_shared_with_static_runtimes=yes
9244       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9245
9246       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9247         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248         # If the export-symbols file already is a .def file (1st line
9249         # is EXPORTS), use it as is; otherwise, prepend...
9250         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9251           cp $export_symbols $output_objdir/$soname.def;
9252         else
9253           echo EXPORTS > $output_objdir/$soname.def;
9254           cat $export_symbols >> $output_objdir/$soname.def;
9255         fi~
9256         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257       else
9258         ld_shlibs=no
9259       fi
9260       ;;
9261
9262     haiku*)
9263       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264       link_all_deplibs=yes
9265       ;;
9266
9267     interix[3-9]*)
9268       hardcode_direct=no
9269       hardcode_shlibpath_var=no
9270       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271       export_dynamic_flag_spec='${wl}-E'
9272       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9273       # Instead, shared libraries are loaded at an image base (0x10000000 by
9274       # default) and relocated if they conflict, which is a slow very memory
9275       # consuming and fragmenting process.  To avoid this, we pick a random,
9276       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9277       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9278       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9279       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'
9280       ;;
9281
9282     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9283       tmp_diet=no
9284       if test "$host_os" = linux-dietlibc; then
9285         case $cc_basename in
9286           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9287         esac
9288       fi
9289       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9290          && test "$tmp_diet" = no
9291       then
9292         tmp_addflag=
9293         tmp_sharedflag='-shared'
9294         case $cc_basename,$host_cpu in
9295         pgcc*)                          # Portland Group C compiler
9296           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'
9297           tmp_addflag=' $pic_flag'
9298           ;;
9299         pgf77* | pgf90* | pgf95* | pgfortran*)
9300                                         # Portland Group f77 and f90 compilers
9301           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'
9302           tmp_addflag=' $pic_flag -Mnomain' ;;
9303         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9304           tmp_addflag=' -i_dynamic' ;;
9305         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9306           tmp_addflag=' -i_dynamic -nofor_main' ;;
9307         ifc* | ifort*)                  # Intel Fortran compiler
9308           tmp_addflag=' -nofor_main' ;;
9309         lf95*)                          # Lahey Fortran 8.1
9310           whole_archive_flag_spec=
9311           tmp_sharedflag='--shared' ;;
9312         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9313           tmp_sharedflag='-qmkshrobj'
9314           tmp_addflag= ;;
9315         nvcc*)  # Cuda Compiler Driver 2.2
9316           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'
9317           compiler_needs_object=yes
9318           ;;
9319         esac
9320         case `$CC -V 2>&1 | sed 5q` in
9321         *Sun\ C*)                       # Sun C 5.9
9322           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'
9323           compiler_needs_object=yes
9324           tmp_sharedflag='-G' ;;
9325         *Sun\ F*)                       # Sun Fortran 8.3
9326           tmp_sharedflag='-G' ;;
9327         esac
9328         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329
9330         if test "x$supports_anon_versioning" = xyes; then
9331           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333             echo "local: *; };" >> $output_objdir/$libname.ver~
9334             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9335         fi
9336
9337         case $cc_basename in
9338         xlf* | bgf* | bgxlf* | mpixlf*)
9339           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9340           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9341           hardcode_libdir_flag_spec=
9342           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9343           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9344           if test "x$supports_anon_versioning" = xyes; then
9345             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347               echo "local: *; };" >> $output_objdir/$libname.ver~
9348               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9349           fi
9350           ;;
9351         esac
9352       else
9353         ld_shlibs=no
9354       fi
9355       ;;
9356
9357     netbsd*)
9358       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9360         wlarc=
9361       else
9362         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9364       fi
9365       ;;
9366
9367     solaris*)
9368       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9369         ld_shlibs=no
9370         cat <<_LT_EOF 1>&2
9371
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems.  Therefore, libtool
9374 *** is disabling shared libraries support.  We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer.  Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9378
9379 _LT_EOF
9380       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383       else
9384         ld_shlibs=no
9385       fi
9386       ;;
9387
9388     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389       case `$LD -v 2>&1` in
9390         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9391         ld_shlibs=no
9392         cat <<_LT_EOF 1>&2
9393
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9396 *** is disabling shared libraries support.  We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9400
9401 _LT_EOF
9402         ;;
9403         *)
9404           # For security reasons, it is highly recommended that you always
9405           # use absolute paths for naming shared libraries, and exclude the
9406           # DT_RUNPATH tag from executables and libraries.  But doing so
9407           # requires that you compile everything twice, which is a pain.
9408           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412           else
9413             ld_shlibs=no
9414           fi
9415         ;;
9416       esac
9417       ;;
9418
9419     sunos4*)
9420       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421       wlarc=
9422       hardcode_direct=yes
9423       hardcode_shlibpath_var=no
9424       ;;
9425
9426     *)
9427       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430       else
9431         ld_shlibs=no
9432       fi
9433       ;;
9434     esac
9435
9436     if test "$ld_shlibs" = no; then
9437       runpath_var=
9438       hardcode_libdir_flag_spec=
9439       export_dynamic_flag_spec=
9440       whole_archive_flag_spec=
9441     fi
9442   else
9443     # PORTME fill in a description of your system's linker (not GNU ld)
9444     case $host_os in
9445     aix3*)
9446       allow_undefined_flag=unsupported
9447       always_export_symbols=yes
9448       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'
9449       # Note: this linker hardcodes the directories in LIBPATH if there
9450       # are no directories specified by -L.
9451       hardcode_minus_L=yes
9452       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453         # Neither direct hardcoding nor static linking is supported with a
9454         # broken collect2.
9455         hardcode_direct=unsupported
9456       fi
9457       ;;
9458
9459     aix[4-9]*)
9460       if test "$host_cpu" = ia64; then
9461         # On IA64, the linker does run time linking by default, so we don't
9462         # have to do anything special.
9463         aix_use_runtimelinking=no
9464         exp_sym_flag='-Bexport'
9465         no_entry_flag=""
9466       else
9467         # If we're using GNU nm, then we don't want the "-C" option.
9468         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469         # Also, AIX nm treats weak defined symbols like other global
9470         # defined symbols, whereas GNU nm marks them as "W".
9471         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472           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'
9473         else
9474           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9475         fi
9476         aix_use_runtimelinking=no
9477
9478         # Test if we are trying to use run time linking or normal
9479         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480         # need to do runtime linking.
9481         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482           for ld_flag in $LDFLAGS; do
9483           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484             aix_use_runtimelinking=yes
9485             break
9486           fi
9487           done
9488           ;;
9489         esac
9490
9491         exp_sym_flag='-bexport'
9492         no_entry_flag='-bnoentry'
9493       fi
9494
9495       # When large executables or shared objects are built, AIX ld can
9496       # have problems creating the table of contents.  If linking a library
9497       # or program results in "error TOC overflow" add -mminimal-toc to
9498       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9499       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9500
9501       archive_cmds=''
9502       hardcode_direct=yes
9503       hardcode_direct_absolute=yes
9504       hardcode_libdir_separator=':'
9505       link_all_deplibs=yes
9506       file_list_spec='${wl}-f,'
9507
9508       if test "$GCC" = yes; then
9509         case $host_os in aix4.[012]|aix4.[012].*)
9510         # We only want to do this on AIX 4.2 and lower, the check
9511         # below for broken collect2 doesn't work under 4.3+
9512           collect2name=`${CC} -print-prog-name=collect2`
9513           if test -f "$collect2name" &&
9514            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9515           then
9516           # We have reworked collect2
9517           :
9518           else
9519           # We have old collect2
9520           hardcode_direct=unsupported
9521           # It fails to find uninstalled libraries when the uninstalled
9522           # path is not listed in the libpath.  Setting hardcode_minus_L
9523           # to unsupported forces relinking
9524           hardcode_minus_L=yes
9525           hardcode_libdir_flag_spec='-L$libdir'
9526           hardcode_libdir_separator=
9527           fi
9528           ;;
9529         esac
9530         shared_flag='-shared'
9531         if test "$aix_use_runtimelinking" = yes; then
9532           shared_flag="$shared_flag "'${wl}-G'
9533         fi
9534       else
9535         # not using gcc
9536         if test "$host_cpu" = ia64; then
9537         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9538         # chokes on -Wl,-G. The following line is correct:
9539           shared_flag='-G'
9540         else
9541           if test "$aix_use_runtimelinking" = yes; then
9542             shared_flag='${wl}-G'
9543           else
9544             shared_flag='${wl}-bM:SRE'
9545           fi
9546         fi
9547       fi
9548
9549       export_dynamic_flag_spec='${wl}-bexpall'
9550       # It seems that -bexpall does not export symbols beginning with
9551       # underscore (_), so it is better to generate a list of symbols to export.
9552       always_export_symbols=yes
9553       if test "$aix_use_runtimelinking" = yes; then
9554         # Warning - without using the other runtime loading flags (-brtl),
9555         # -berok will link without error, but may produce a broken library.
9556         allow_undefined_flag='-berok'
9557         # Determine the default libpath from the value encoded in an
9558         # empty executable.
9559         if test x$gcc_no_link = xyes; then
9560   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9561 fi
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h.  */
9564
9565 int
9566 main ()
9567 {
9568
9569   ;
9570   return 0;
9571 }
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574
9575 lt_aix_libpath_sed='
9576     /Import File Strings/,/^$/ {
9577         /^0/ {
9578             s/^0  *\(.*\)$/\1/
9579             p
9580         }
9581     }'
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586 fi
9587 fi
9588 rm -f core conftest.err conftest.$ac_objext \
9589     conftest$ac_exeext conftest.$ac_ext
9590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9591
9592         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593         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"
9594       else
9595         if test "$host_cpu" = ia64; then
9596           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597           allow_undefined_flag="-z nodefs"
9598           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"
9599         else
9600          # Determine the default libpath from the value encoded in an
9601          # empty executable.
9602          if test x$gcc_no_link = xyes; then
9603   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9604 fi
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h.  */
9607
9608 int
9609 main ()
9610 {
9611
9612   ;
9613   return 0;
9614 }
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9617
9618 lt_aix_libpath_sed='
9619     /Import File Strings/,/^$/ {
9620         /^0/ {
9621             s/^0  *\(.*\)$/\1/
9622             p
9623         }
9624     }'
9625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 # Check for a 64-bit object if we didn't find anything.
9627 if test -z "$aix_libpath"; then
9628   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629 fi
9630 fi
9631 rm -f core conftest.err conftest.$ac_objext \
9632     conftest$ac_exeext conftest.$ac_ext
9633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9634
9635          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636           # Warning - without using the other run time loading flags,
9637           # -berok will link without error, but may produce a broken library.
9638           no_undefined_flag=' ${wl}-bernotok'
9639           allow_undefined_flag=' ${wl}-berok'
9640           if test "$with_gnu_ld" = yes; then
9641             # We only use this code for GNU lds that support --whole-archive.
9642             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643           else
9644             # Exported symbols can be pulled into shared objects from archives
9645             whole_archive_flag_spec='$convenience'
9646           fi
9647           archive_cmds_need_lc=yes
9648           # This is similar to how AIX traditionally builds its shared libraries.
9649           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'
9650         fi
9651       fi
9652       ;;
9653
9654     amigaos*)
9655       case $host_cpu in
9656       powerpc)
9657             # see comment about AmigaOS4 .so support
9658             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659             archive_expsym_cmds=''
9660         ;;
9661       m68k)
9662             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)'
9663             hardcode_libdir_flag_spec='-L$libdir'
9664             hardcode_minus_L=yes
9665         ;;
9666       esac
9667       ;;
9668
9669     bsdi[45]*)
9670       export_dynamic_flag_spec=-rdynamic
9671       ;;
9672
9673     cygwin* | mingw* | pw32* | cegcc*)
9674       # When not using gcc, we currently assume that we are using
9675       # Microsoft Visual C++.
9676       # hardcode_libdir_flag_spec is actually meaningless, as there is
9677       # no search path for DLLs.
9678       hardcode_libdir_flag_spec=' '
9679       allow_undefined_flag=unsupported
9680       # Tell ltmain to make .lib files, not .a files.
9681       libext=lib
9682       # Tell ltmain to make .dll files, not .so files.
9683       shrext_cmds=".dll"
9684       # FIXME: Setting linknames here is a bad hack.
9685       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9686       # The linker will automatically build a .lib file if we build a DLL.
9687       old_archive_from_new_cmds='true'
9688       # FIXME: Should let the user specify the lib program.
9689       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9690       fix_srcfile_path='`cygpath -w "$srcfile"`'
9691       enable_shared_with_static_runtimes=yes
9692       ;;
9693
9694     darwin* | rhapsody*)
9695
9696
9697   archive_cmds_need_lc=no
9698   hardcode_direct=no
9699   hardcode_automatic=yes
9700   hardcode_shlibpath_var=unsupported
9701   if test "$lt_cv_ld_force_load" = "yes"; then
9702     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\"`'
9703   else
9704     whole_archive_flag_spec=''
9705   fi
9706   link_all_deplibs=yes
9707   allow_undefined_flag="$_lt_dar_allow_undefined"
9708   case $cc_basename in
9709      ifort*) _lt_dar_can_shared=yes ;;
9710      *) _lt_dar_can_shared=$GCC ;;
9711   esac
9712   if test "$_lt_dar_can_shared" = "yes"; then
9713     output_verbose_link_cmd=func_echo_all
9714     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9715     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9716     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}"
9717     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}"
9718
9719   else
9720   ld_shlibs=no
9721   fi
9722
9723       ;;
9724
9725     dgux*)
9726       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727       hardcode_libdir_flag_spec='-L$libdir'
9728       hardcode_shlibpath_var=no
9729       ;;
9730
9731     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9732     # support.  Future versions do this automatically, but an explicit c++rt0.o
9733     # does not break anything, and helps significantly (at the cost of a little
9734     # extra space).
9735     freebsd2.2*)
9736       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9737       hardcode_libdir_flag_spec='-R$libdir'
9738       hardcode_direct=yes
9739       hardcode_shlibpath_var=no
9740       ;;
9741
9742     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9743     freebsd2.*)
9744       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9745       hardcode_direct=yes
9746       hardcode_minus_L=yes
9747       hardcode_shlibpath_var=no
9748       ;;
9749
9750     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9751     freebsd* | dragonfly*)
9752       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9753       hardcode_libdir_flag_spec='-R$libdir'
9754       hardcode_direct=yes
9755       hardcode_shlibpath_var=no
9756       ;;
9757
9758     hpux9*)
9759       if test "$GCC" = yes; then
9760         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'
9761       else
9762         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'
9763       fi
9764       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9765       hardcode_libdir_separator=:
9766       hardcode_direct=yes
9767
9768       # hardcode_minus_L: Not really in the search PATH,
9769       # but as the default location of the library.
9770       hardcode_minus_L=yes
9771       export_dynamic_flag_spec='${wl}-E'
9772       ;;
9773
9774     hpux10*)
9775       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777       else
9778         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9779       fi
9780       if test "$with_gnu_ld" = no; then
9781         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782         hardcode_libdir_flag_spec_ld='+b $libdir'
9783         hardcode_libdir_separator=:
9784         hardcode_direct=yes
9785         hardcode_direct_absolute=yes
9786         export_dynamic_flag_spec='${wl}-E'
9787         # hardcode_minus_L: Not really in the search PATH,
9788         # but as the default location of the library.
9789         hardcode_minus_L=yes
9790       fi
9791       ;;
9792
9793     hpux11*)
9794       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9795         case $host_cpu in
9796         hppa*64*)
9797           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798           ;;
9799         ia64*)
9800           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9801           ;;
9802         *)
9803           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9804           ;;
9805         esac
9806       else
9807         case $host_cpu in
9808         hppa*64*)
9809           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9810           ;;
9811         ia64*)
9812           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9813           ;;
9814         *)
9815
9816           # Older versions of the 11.00 compiler do not understand -b yet
9817           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9818           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9819 $as_echo_n "checking if $CC understands -b... " >&6; }
9820 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9821   $as_echo_n "(cached) " >&6
9822 else
9823   lt_cv_prog_compiler__b=no
9824    save_LDFLAGS="$LDFLAGS"
9825    LDFLAGS="$LDFLAGS -b"
9826    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9827    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9828      # The linker can only warn and ignore the option if not recognized
9829      # So say no if there are warnings
9830      if test -s conftest.err; then
9831        # Append any errors to the config.log.
9832        cat conftest.err 1>&5
9833        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9834        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9835        if diff conftest.exp conftest.er2 >/dev/null; then
9836          lt_cv_prog_compiler__b=yes
9837        fi
9838      else
9839        lt_cv_prog_compiler__b=yes
9840      fi
9841    fi
9842    $RM -r conftest*
9843    LDFLAGS="$save_LDFLAGS"
9844
9845 fi
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9847 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9848
9849 if test x"$lt_cv_prog_compiler__b" = xyes; then
9850     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 else
9852     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9853 fi
9854
9855           ;;
9856         esac
9857       fi
9858       if test "$with_gnu_ld" = no; then
9859         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860         hardcode_libdir_separator=:
9861
9862         case $host_cpu in
9863         hppa*64*|ia64*)
9864           hardcode_direct=no
9865           hardcode_shlibpath_var=no
9866           ;;
9867         *)
9868           hardcode_direct=yes
9869           hardcode_direct_absolute=yes
9870           export_dynamic_flag_spec='${wl}-E'
9871
9872           # hardcode_minus_L: Not really in the search PATH,
9873           # but as the default location of the library.
9874           hardcode_minus_L=yes
9875           ;;
9876         esac
9877       fi
9878       ;;
9879
9880     irix5* | irix6* | nonstopux*)
9881       if test "$GCC" = yes; then
9882         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'
9883         # Try to use the -exported_symbol ld option, if it does not
9884         # work, assume that -exports_file does not work either and
9885         # implicitly export all symbols.
9886         save_LDFLAGS="$LDFLAGS"
9887         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888         if test x$gcc_no_link = xyes; then
9889   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9890 fi
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h.  */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896   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'
9897
9898 fi
9899 rm -f core conftest.err conftest.$ac_objext \
9900     conftest$ac_exeext conftest.$ac_ext
9901         LDFLAGS="$save_LDFLAGS"
9902       else
9903         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'
9904         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'
9905       fi
9906       archive_cmds_need_lc='no'
9907       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908       hardcode_libdir_separator=:
9909       inherit_rpath=yes
9910       link_all_deplibs=yes
9911       ;;
9912
9913     netbsd*)
9914       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9916       else
9917         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9918       fi
9919       hardcode_libdir_flag_spec='-R$libdir'
9920       hardcode_direct=yes
9921       hardcode_shlibpath_var=no
9922       ;;
9923
9924     newsos6)
9925       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926       hardcode_direct=yes
9927       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928       hardcode_libdir_separator=:
9929       hardcode_shlibpath_var=no
9930       ;;
9931
9932     *nto* | *qnx*)
9933       ;;
9934
9935     openbsd*)
9936       if test -f /usr/libexec/ld.so; then
9937         hardcode_direct=yes
9938         hardcode_shlibpath_var=no
9939         hardcode_direct_absolute=yes
9940         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944           export_dynamic_flag_spec='${wl}-E'
9945         else
9946           case $host_os in
9947            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949              hardcode_libdir_flag_spec='-R$libdir'
9950              ;;
9951            *)
9952              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9954              ;;
9955           esac
9956         fi
9957       else
9958         ld_shlibs=no
9959       fi
9960       ;;
9961
9962     os2*)
9963       hardcode_libdir_flag_spec='-L$libdir'
9964       hardcode_minus_L=yes
9965       allow_undefined_flag=unsupported
9966       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'
9967       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9968       ;;
9969
9970     osf3*)
9971       if test "$GCC" = yes; then
9972         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973         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'
9974       else
9975         allow_undefined_flag=' -expect_unresolved \*'
9976         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'
9977       fi
9978       archive_cmds_need_lc='no'
9979       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980       hardcode_libdir_separator=:
9981       ;;
9982
9983     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9984       if test "$GCC" = yes; then
9985         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986         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'
9987         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988       else
9989         allow_undefined_flag=' -expect_unresolved \*'
9990         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'
9991         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~
9992         $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'
9993
9994         # Both c and cxx compiler support -rpath directly
9995         hardcode_libdir_flag_spec='-rpath $libdir'
9996       fi
9997       archive_cmds_need_lc='no'
9998       hardcode_libdir_separator=:
9999       ;;
10000
10001     solaris*)
10002       no_undefined_flag=' -z defs'
10003       if test "$GCC" = yes; then
10004         wlarc='${wl}'
10005         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008       else
10009         case `$CC -V 2>&1` in
10010         *"Compilers 5.0"*)
10011           wlarc=''
10012           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10015           ;;
10016         *)
10017           wlarc='${wl}'
10018           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10021           ;;
10022         esac
10023       fi
10024       hardcode_libdir_flag_spec='-R$libdir'
10025       hardcode_shlibpath_var=no
10026       case $host_os in
10027       solaris2.[0-5] | solaris2.[0-5].*) ;;
10028       *)
10029         # The compiler driver will combine and reorder linker options,
10030         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10031         # but is careful enough not to reorder.
10032         # Supported since Solaris 2.6 (maybe 2.5.1?)
10033         if test "$GCC" = yes; then
10034           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035         else
10036           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10037         fi
10038         ;;
10039       esac
10040       link_all_deplibs=yes
10041       ;;
10042
10043     sunos4*)
10044       if test "x$host_vendor" = xsequent; then
10045         # Use $CC to link under sequent, because it throws in some extra .o
10046         # files that make .init and .fini sections work.
10047         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048       else
10049         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10050       fi
10051       hardcode_libdir_flag_spec='-L$libdir'
10052       hardcode_direct=yes
10053       hardcode_minus_L=yes
10054       hardcode_shlibpath_var=no
10055       ;;
10056
10057     sysv4)
10058       case $host_vendor in
10059         sni)
10060           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061           hardcode_direct=yes # is this really true???
10062         ;;
10063         siemens)
10064           ## LD is ld it makes a PLAMLIB
10065           ## CC just makes a GrossModule.
10066           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067           reload_cmds='$CC -r -o $output$reload_objs'
10068           hardcode_direct=no
10069         ;;
10070         motorola)
10071           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10073         ;;
10074       esac
10075       runpath_var='LD_RUN_PATH'
10076       hardcode_shlibpath_var=no
10077       ;;
10078
10079     sysv4.3*)
10080       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081       hardcode_shlibpath_var=no
10082       export_dynamic_flag_spec='-Bexport'
10083       ;;
10084
10085     sysv4*MP*)
10086       if test -d /usr/nec; then
10087         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088         hardcode_shlibpath_var=no
10089         runpath_var=LD_RUN_PATH
10090         hardcode_runpath_var=yes
10091         ld_shlibs=yes
10092       fi
10093       ;;
10094
10095     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096       no_undefined_flag='${wl}-z,text'
10097       archive_cmds_need_lc=no
10098       hardcode_shlibpath_var=no
10099       runpath_var='LD_RUN_PATH'
10100
10101       if test "$GCC" = yes; then
10102         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104       else
10105         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107       fi
10108       ;;
10109
10110     sysv5* | sco3.2v5* | sco5v6*)
10111       # Note: We can NOT use -z defs as we might desire, because we do not
10112       # link with -lc, and that would cause any symbols used from libc to
10113       # always be unresolved, which means just about no library would
10114       # ever link correctly.  If we're not using GNU ld we use -z text
10115       # though, which does catch some bad symbols but isn't as heavy-handed
10116       # as -z defs.
10117       no_undefined_flag='${wl}-z,text'
10118       allow_undefined_flag='${wl}-z,nodefs'
10119       archive_cmds_need_lc=no
10120       hardcode_shlibpath_var=no
10121       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122       hardcode_libdir_separator=':'
10123       link_all_deplibs=yes
10124       export_dynamic_flag_spec='${wl}-Bexport'
10125       runpath_var='LD_RUN_PATH'
10126
10127       if test "$GCC" = yes; then
10128         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130       else
10131         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10133       fi
10134       ;;
10135
10136     uts4*)
10137       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138       hardcode_libdir_flag_spec='-L$libdir'
10139       hardcode_shlibpath_var=no
10140       ;;
10141
10142     *)
10143       ld_shlibs=no
10144       ;;
10145     esac
10146
10147     if test x$host_vendor = xsni; then
10148       case $host in
10149       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150         export_dynamic_flag_spec='${wl}-Blargedynsym'
10151         ;;
10152       esac
10153     fi
10154   fi
10155
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10159
10160 with_gnu_ld=$with_gnu_ld
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176 #
10177 # Do we need to explicitly link libc?
10178 #
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181   # Assume -lc should be added
10182   archive_cmds_need_lc=yes
10183
10184   if test "$enable_shared" = yes && test "$GCC" = yes; then
10185     case $archive_cmds in
10186     *'~'*)
10187       # FIXME: we may have to deal with multi-command sequences.
10188       ;;
10189     '$CC '*)
10190       # Test whether the compiler implicitly links with -lc since on some
10191       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192       # to ld, don't add -lc before -lgcc.
10193       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196   $as_echo_n "(cached) " >&6
10197 else
10198   $RM conftest*
10199         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10200
10201         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202   (eval $ac_compile) 2>&5
10203   ac_status=$?
10204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205   test $ac_status = 0; } 2>conftest.err; then
10206           soname=conftest
10207           lib=conftest
10208           libobjs=conftest.$ac_objext
10209           deplibs=
10210           wl=$lt_prog_compiler_wl
10211           pic_flag=$lt_prog_compiler_pic
10212           compiler_flags=-v
10213           linker_flags=-v
10214           verstring=
10215           output_objdir=.
10216           libname=conftest
10217           lt_save_allow_undefined_flag=$allow_undefined_flag
10218           allow_undefined_flag=
10219           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221   ac_status=$?
10222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223   test $ac_status = 0; }
10224           then
10225             lt_cv_archive_cmds_need_lc=no
10226           else
10227             lt_cv_archive_cmds_need_lc=yes
10228           fi
10229           allow_undefined_flag=$lt_save_allow_undefined_flag
10230         else
10231           cat conftest.err 1>&5
10232         fi
10233         $RM conftest*
10234
10235 fi
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10239       ;;
10240     esac
10241   fi
10242   ;;
10243 esac
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10403
10404 if test "$GCC" = yes; then
10405   case $host_os in
10406     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407     *) lt_awk_arg="/^libraries:/" ;;
10408   esac
10409   case $host_os in
10410     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411     *) lt_sed_strip_eq="s,=/,/,g" ;;
10412   esac
10413   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414   case $lt_search_path_spec in
10415   *\;*)
10416     # if the path contains ";" then we assume it to be the separator
10417     # otherwise default to the standard path separator (i.e. ":") - it is
10418     # assumed that no part of a normal pathname contains ";" but that should
10419     # okay in the real world where ";" in dirpaths is itself problematic.
10420     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10421     ;;
10422   *)
10423     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10424     ;;
10425   esac
10426   # Ok, now we have the path, separated by spaces, we can step through it
10427   # and add multilib dir if necessary.
10428   lt_tmp_lt_search_path_spec=
10429   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430   for lt_sys_path in $lt_search_path_spec; do
10431     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433     else
10434       test -d "$lt_sys_path" && \
10435         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10436     fi
10437   done
10438   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440   lt_foo="";
10441   lt_count=0;
10442   for (lt_i = NF; lt_i > 0; lt_i--) {
10443     if ($lt_i != "" && $lt_i != ".") {
10444       if ($lt_i == "..") {
10445         lt_count++;
10446       } else {
10447         if (lt_count == 0) {
10448           lt_foo="/" $lt_i lt_foo;
10449         } else {
10450           lt_count--;
10451         }
10452       }
10453     }
10454   }
10455   if (lt_foo != "") { lt_freq[lt_foo]++; }
10456   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10457 }'`
10458   # AWK program above erroneously prepends '/' to C:/dos/paths
10459   # for these hosts.
10460   case $host_os in
10461     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463   esac
10464   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10467 fi
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10483
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10487
10488 case $host_os in
10489 aix3*)
10490   version_type=linux
10491   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492   shlibpath_var=LIBPATH
10493
10494   # AIX 3 has no versioning support, so we append a major version to the name.
10495   soname_spec='${libname}${release}${shared_ext}$major'
10496   ;;
10497
10498 aix[4-9]*)
10499   version_type=linux
10500   need_lib_prefix=no
10501   need_version=no
10502   hardcode_into_libs=yes
10503   if test "$host_cpu" = ia64; then
10504     # AIX 5 supports IA64
10505     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506     shlibpath_var=LD_LIBRARY_PATH
10507   else
10508     # With GCC up to 2.95.x, collect2 would create an import file
10509     # for dependence libraries.  The import file would start with
10510     # the line `#! .'.  This would cause the generated library to
10511     # depend on `.', always an invalid library.  This was fixed in
10512     # development snapshots of GCC prior to 3.0.
10513     case $host_os in
10514       aix4 | aix4.[01] | aix4.[01].*)
10515       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516            echo ' yes '
10517            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10518         :
10519       else
10520         can_build_shared=no
10521       fi
10522       ;;
10523     esac
10524     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525     # soname into executable. Probably we can add versioning support to
10526     # collect2, so additional links can be useful in future.
10527     if test "$aix_use_runtimelinking" = yes; then
10528       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529       # instead of lib<name>.a to let people know that these are not
10530       # typical AIX shared libraries.
10531       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532     else
10533       # We preserve .a as extension for shared libraries through AIX4.2
10534       # and later when we are not doing run time linking.
10535       library_names_spec='${libname}${release}.a $libname.a'
10536       soname_spec='${libname}${release}${shared_ext}$major'
10537     fi
10538     shlibpath_var=LIBPATH
10539   fi
10540   ;;
10541
10542 amigaos*)
10543   case $host_cpu in
10544   powerpc)
10545     # Since July 2007 AmigaOS4 officially supports .so libraries.
10546     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10548     ;;
10549   m68k)
10550     library_names_spec='$libname.ixlibrary $libname.a'
10551     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552     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'
10553     ;;
10554   esac
10555   ;;
10556
10557 beos*)
10558   library_names_spec='${libname}${shared_ext}'
10559   dynamic_linker="$host_os ld.so"
10560   shlibpath_var=LIBRARY_PATH
10561   ;;
10562
10563 bsdi[45]*)
10564   version_type=linux
10565   need_version=no
10566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567   soname_spec='${libname}${release}${shared_ext}$major'
10568   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569   shlibpath_var=LD_LIBRARY_PATH
10570   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572   # the default ld.so.conf also contains /usr/contrib/lib and
10573   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574   # libtool to hard-code these into programs
10575   ;;
10576
10577 cygwin* | mingw* | pw32* | cegcc*)
10578   version_type=windows
10579   shrext_cmds=".dll"
10580   need_version=no
10581   need_lib_prefix=no
10582
10583   case $GCC,$host_os in
10584   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585     library_names_spec='$libname.dll.a'
10586     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587     postinstall_cmds='base_file=`basename \${file}`~
10588       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589       dldir=$destdir/`dirname \$dlpath`~
10590       test -d \$dldir || mkdir -p \$dldir~
10591       $install_prog $dir/$dlname \$dldir/$dlname~
10592       chmod a+x \$dldir/$dlname~
10593       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10595       fi'
10596     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597       dlpath=$dir/\$dldll~
10598        $RM \$dlpath'
10599     shlibpath_overrides_runpath=yes
10600
10601     case $host_os in
10602     cygwin*)
10603       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10605
10606       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10607       ;;
10608     mingw* | cegcc*)
10609       # MinGW DLLs use traditional 'lib' prefix
10610       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10611       ;;
10612     pw32*)
10613       # pw32 DLLs use 'pw' prefix rather than 'lib'
10614       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10615       ;;
10616     esac
10617     ;;
10618
10619   *)
10620     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10621     ;;
10622   esac
10623   dynamic_linker='Win32 ld.exe'
10624   # FIXME: first we should search . and the directory the executable is in
10625   shlibpath_var=PATH
10626   ;;
10627
10628 darwin* | rhapsody*)
10629   dynamic_linker="$host_os dyld"
10630   version_type=darwin
10631   need_lib_prefix=no
10632   need_version=no
10633   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634   soname_spec='${libname}${release}${major}$shared_ext'
10635   shlibpath_overrides_runpath=yes
10636   shlibpath_var=DYLD_LIBRARY_PATH
10637   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10638
10639   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10641   ;;
10642
10643 dgux*)
10644   version_type=linux
10645   need_lib_prefix=no
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   shlibpath_var=LD_LIBRARY_PATH
10650   ;;
10651
10652 freebsd* | dragonfly*)
10653   # DragonFly does not have aout.  When/if they implement a new
10654   # versioning mechanism, adjust this.
10655   if test -x /usr/bin/objformat; then
10656     objformat=`/usr/bin/objformat`
10657   else
10658     case $host_os in
10659     freebsd[23].*) objformat=aout ;;
10660     *) objformat=elf ;;
10661     esac
10662   fi
10663   version_type=freebsd-$objformat
10664   case $version_type in
10665     freebsd-elf*)
10666       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667       need_version=no
10668       need_lib_prefix=no
10669       ;;
10670     freebsd-*)
10671       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672       need_version=yes
10673       ;;
10674   esac
10675   shlibpath_var=LD_LIBRARY_PATH
10676   case $host_os in
10677   freebsd2.*)
10678     shlibpath_overrides_runpath=yes
10679     ;;
10680   freebsd3.[01]* | freebsdelf3.[01]*)
10681     shlibpath_overrides_runpath=yes
10682     hardcode_into_libs=yes
10683     ;;
10684   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10685   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10686     shlibpath_overrides_runpath=no
10687     hardcode_into_libs=yes
10688     ;;
10689   *) # from 4.6 on, and DragonFly
10690     shlibpath_overrides_runpath=yes
10691     hardcode_into_libs=yes
10692     ;;
10693   esac
10694   ;;
10695
10696 gnu*)
10697   version_type=linux
10698   need_lib_prefix=no
10699   need_version=no
10700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10701   soname_spec='${libname}${release}${shared_ext}$major'
10702   shlibpath_var=LD_LIBRARY_PATH
10703   hardcode_into_libs=yes
10704   ;;
10705
10706 haiku*)
10707   version_type=linux
10708   need_lib_prefix=no
10709   need_version=no
10710   dynamic_linker="$host_os runtime_loader"
10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712   soname_spec='${libname}${release}${shared_ext}$major'
10713   shlibpath_var=LIBRARY_PATH
10714   shlibpath_overrides_runpath=yes
10715   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10716   hardcode_into_libs=yes
10717   ;;
10718
10719 hpux9* | hpux10* | hpux11*)
10720   # Give a soname corresponding to the major version so that dld.sl refuses to
10721   # link against other versions.
10722   version_type=sunos
10723   need_lib_prefix=no
10724   need_version=no
10725   case $host_cpu in
10726   ia64*)
10727     shrext_cmds='.so'
10728     hardcode_into_libs=yes
10729     dynamic_linker="$host_os dld.so"
10730     shlibpath_var=LD_LIBRARY_PATH
10731     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733     soname_spec='${libname}${release}${shared_ext}$major'
10734     if test "X$HPUX_IA64_MODE" = X32; then
10735       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10736     else
10737       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10738     fi
10739     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740     ;;
10741   hppa*64*)
10742     shrext_cmds='.sl'
10743     hardcode_into_libs=yes
10744     dynamic_linker="$host_os dld.sl"
10745     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748     soname_spec='${libname}${release}${shared_ext}$major'
10749     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10751     ;;
10752   *)
10753     shrext_cmds='.sl'
10754     dynamic_linker="$host_os dld.sl"
10755     shlibpath_var=SHLIB_PATH
10756     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10757     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758     soname_spec='${libname}${release}${shared_ext}$major'
10759     ;;
10760   esac
10761   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762   postinstall_cmds='chmod 555 $lib'
10763   # or fails outright, so override atomically:
10764   install_override_mode=555
10765   ;;
10766
10767 interix[3-9]*)
10768   version_type=linux
10769   need_lib_prefix=no
10770   need_version=no
10771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772   soname_spec='${libname}${release}${shared_ext}$major'
10773   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774   shlibpath_var=LD_LIBRARY_PATH
10775   shlibpath_overrides_runpath=no
10776   hardcode_into_libs=yes
10777   ;;
10778
10779 irix5* | irix6* | nonstopux*)
10780   case $host_os in
10781     nonstopux*) version_type=nonstopux ;;
10782     *)
10783         if test "$lt_cv_prog_gnu_ld" = yes; then
10784                 version_type=linux
10785         else
10786                 version_type=irix
10787         fi ;;
10788   esac
10789   need_lib_prefix=no
10790   need_version=no
10791   soname_spec='${libname}${release}${shared_ext}$major'
10792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10793   case $host_os in
10794   irix5* | nonstopux*)
10795     libsuff= shlibsuff=
10796     ;;
10797   *)
10798     case $LD in # libtool.m4 will add one of these switches to LD
10799     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800       libsuff= shlibsuff= libmagic=32-bit;;
10801     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802       libsuff=32 shlibsuff=N32 libmagic=N32;;
10803     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805     *) libsuff= shlibsuff= libmagic=never-match;;
10806     esac
10807     ;;
10808   esac
10809   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810   shlibpath_overrides_runpath=no
10811   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813   hardcode_into_libs=yes
10814   ;;
10815
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10818   dynamic_linker=no
10819   ;;
10820
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10823   version_type=linux
10824   need_lib_prefix=no
10825   need_version=no
10826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827   soname_spec='${libname}${release}${shared_ext}$major'
10828   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829   shlibpath_var=LD_LIBRARY_PATH
10830   shlibpath_overrides_runpath=no
10831
10832   # Some binutils ld are patched to set DT_RUNPATH
10833   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10834   $as_echo_n "(cached) " >&6
10835 else
10836   lt_cv_shlibpath_overrides_runpath=no
10837     save_LDFLAGS=$LDFLAGS
10838     save_libdir=$libdir
10839     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841     if test x$gcc_no_link = xyes; then
10842   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10843 fi
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h.  */
10846
10847 int
10848 main ()
10849 {
10850
10851   ;
10852   return 0;
10853 }
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10857   lt_cv_shlibpath_overrides_runpath=yes
10858 fi
10859 fi
10860 rm -f core conftest.err conftest.$ac_objext \
10861     conftest$ac_exeext conftest.$ac_ext
10862     LDFLAGS=$save_LDFLAGS
10863     libdir=$save_libdir
10864
10865 fi
10866
10867   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10868
10869   # This implies no fast_install, which is unacceptable.
10870   # Some rework will be needed to allow for fast_install
10871   # before this can be enabled.
10872   hardcode_into_libs=yes
10873
10874   # Append ld.so.conf contents to the search path
10875   if test -f /etc/ld.so.conf; then
10876     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' ' '`
10877     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10878   fi
10879
10880   # We used to test for /lib/ld.so.1 and disable shared libraries on
10881   # powerpc, because MkLinux only supported shared libraries with the
10882   # GNU dynamic linker.  Since this was broken with cross compilers,
10883   # most powerpc-linux boxes support dynamic linking these days and
10884   # people can always --disable-shared, the test was removed, and we
10885   # assume the GNU/Linux dynamic linker is in use.
10886   dynamic_linker='GNU/Linux ld.so'
10887   ;;
10888
10889 netbsd*)
10890   version_type=sunos
10891   need_lib_prefix=no
10892   need_version=no
10893   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896     dynamic_linker='NetBSD (a.out) ld.so'
10897   else
10898     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899     soname_spec='${libname}${release}${shared_ext}$major'
10900     dynamic_linker='NetBSD ld.elf_so'
10901   fi
10902   shlibpath_var=LD_LIBRARY_PATH
10903   shlibpath_overrides_runpath=yes
10904   hardcode_into_libs=yes
10905   ;;
10906
10907 newsos6)
10908   version_type=linux
10909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910   shlibpath_var=LD_LIBRARY_PATH
10911   shlibpath_overrides_runpath=yes
10912   ;;
10913
10914 *nto* | *qnx*)
10915   version_type=qnx
10916   need_lib_prefix=no
10917   need_version=no
10918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919   soname_spec='${libname}${release}${shared_ext}$major'
10920   shlibpath_var=LD_LIBRARY_PATH
10921   shlibpath_overrides_runpath=no
10922   hardcode_into_libs=yes
10923   dynamic_linker='ldqnx.so'
10924   ;;
10925
10926 openbsd*)
10927   version_type=sunos
10928   sys_lib_dlsearch_path_spec="/usr/lib"
10929   need_lib_prefix=no
10930   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931   case $host_os in
10932     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10933     *)                          need_version=no  ;;
10934   esac
10935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937   shlibpath_var=LD_LIBRARY_PATH
10938   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939     case $host_os in
10940       openbsd2.[89] | openbsd2.[89].*)
10941         shlibpath_overrides_runpath=no
10942         ;;
10943       *)
10944         shlibpath_overrides_runpath=yes
10945         ;;
10946       esac
10947   else
10948     shlibpath_overrides_runpath=yes
10949   fi
10950   ;;
10951
10952 os2*)
10953   libname_spec='$name'
10954   shrext_cmds=".dll"
10955   need_lib_prefix=no
10956   library_names_spec='$libname${shared_ext} $libname.a'
10957   dynamic_linker='OS/2 ld.exe'
10958   shlibpath_var=LIBPATH
10959   ;;
10960
10961 osf3* | osf4* | osf5*)
10962   version_type=osf
10963   need_lib_prefix=no
10964   need_version=no
10965   soname_spec='${libname}${release}${shared_ext}$major'
10966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967   shlibpath_var=LD_LIBRARY_PATH
10968   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10970   ;;
10971
10972 rdos*)
10973   dynamic_linker=no
10974   ;;
10975
10976 solaris*)
10977   version_type=linux
10978   need_lib_prefix=no
10979   need_version=no
10980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981   soname_spec='${libname}${release}${shared_ext}$major'
10982   shlibpath_var=LD_LIBRARY_PATH
10983   shlibpath_overrides_runpath=yes
10984   hardcode_into_libs=yes
10985   # ldd complains unless libraries are executable
10986   postinstall_cmds='chmod +x $lib'
10987   ;;
10988
10989 sunos4*)
10990   version_type=sunos
10991   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993   shlibpath_var=LD_LIBRARY_PATH
10994   shlibpath_overrides_runpath=yes
10995   if test "$with_gnu_ld" = yes; then
10996     need_lib_prefix=no
10997   fi
10998   need_version=yes
10999   ;;
11000
11001 sysv4 | sysv4.3*)
11002   version_type=linux
11003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004   soname_spec='${libname}${release}${shared_ext}$major'
11005   shlibpath_var=LD_LIBRARY_PATH
11006   case $host_vendor in
11007     sni)
11008       shlibpath_overrides_runpath=no
11009       need_lib_prefix=no
11010       runpath_var=LD_RUN_PATH
11011       ;;
11012     siemens)
11013       need_lib_prefix=no
11014       ;;
11015     motorola)
11016       need_lib_prefix=no
11017       need_version=no
11018       shlibpath_overrides_runpath=no
11019       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11020       ;;
11021   esac
11022   ;;
11023
11024 sysv4*MP*)
11025   if test -d /usr/nec ;then
11026     version_type=linux
11027     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028     soname_spec='$libname${shared_ext}.$major'
11029     shlibpath_var=LD_LIBRARY_PATH
11030   fi
11031   ;;
11032
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034   version_type=freebsd-elf
11035   need_lib_prefix=no
11036   need_version=no
11037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038   soname_spec='${libname}${release}${shared_ext}$major'
11039   shlibpath_var=LD_LIBRARY_PATH
11040   shlibpath_overrides_runpath=yes
11041   hardcode_into_libs=yes
11042   if test "$with_gnu_ld" = yes; then
11043     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044   else
11045     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046     case $host_os in
11047       sco3.2v5*)
11048         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11049         ;;
11050     esac
11051   fi
11052   sys_lib_dlsearch_path_spec='/usr/lib'
11053   ;;
11054
11055 tpf*)
11056   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11057   version_type=linux
11058   need_lib_prefix=no
11059   need_version=no
11060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061   shlibpath_var=LD_LIBRARY_PATH
11062   shlibpath_overrides_runpath=no
11063   hardcode_into_libs=yes
11064   ;;
11065
11066 uts4*)
11067   version_type=linux
11068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069   soname_spec='${libname}${release}${shared_ext}$major'
11070   shlibpath_var=LD_LIBRARY_PATH
11071   ;;
11072
11073 *)
11074   dynamic_linker=no
11075   ;;
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11080
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11084 fi
11085
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11088 fi
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11091 fi
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188    test -n "$runpath_var" ||
11189    test "X$hardcode_automatic" = "Xyes" ; then
11190
11191   # We can hardcode non-existent directories.
11192   if test "$hardcode_direct" != no &&
11193      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194      # have to relink, otherwise we might link with an installed library
11195      # when we should be linking with a yet-to-be-installed one
11196      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197      test "$hardcode_minus_L" != no; then
11198     # Linking always hardcodes the temporary library directory.
11199     hardcode_action=relink
11200   else
11201     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202     hardcode_action=immediate
11203   fi
11204 else
11205   # We cannot hardcode anything, or else we can only hardcode existing
11206   # directories.
11207   hardcode_action=unsupported
11208 fi
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11211
11212 if test "$hardcode_action" = relink ||
11213    test "$inherit_rpath" = yes; then
11214   # Fast installation is not supported
11215   enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217      test "$enable_shared" = no; then
11218   # Fast installation is not necessary
11219   enable_fast_install=needless
11220 fi
11221
11222
11223
11224
11225
11226
11227   if test "x$enable_dlopen" != xyes; then
11228   enable_dlopen=unknown
11229   enable_dlopen_self=unknown
11230   enable_dlopen_self_static=unknown
11231 else
11232   lt_cv_dlopen=no
11233   lt_cv_dlopen_libs=
11234
11235   case $host_os in
11236   beos*)
11237     lt_cv_dlopen="load_add_on"
11238     lt_cv_dlopen_libs=
11239     lt_cv_dlopen_self=yes
11240     ;;
11241
11242   mingw* | pw32* | cegcc*)
11243     lt_cv_dlopen="LoadLibrary"
11244     lt_cv_dlopen_libs=
11245     ;;
11246
11247   cygwin*)
11248     lt_cv_dlopen="dlopen"
11249     lt_cv_dlopen_libs=
11250     ;;
11251
11252   darwin*)
11253   # if libdl is installed we need to link against it
11254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11257   $as_echo_n "(cached) " >&6
11258 else
11259   ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl  $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11263 fi
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h.  */
11266
11267 /* Override any GCC internal prototype to avoid an error.
11268    Use char because int might match the return type of a GCC
11269    builtin and then its argument prototype would still apply.  */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11274 int
11275 main ()
11276 {
11277 return dlopen ();
11278   ;
11279   return 0;
11280 }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283   ac_cv_lib_dl_dlopen=yes
11284 else
11285   ac_cv_lib_dl_dlopen=no
11286 fi
11287 rm -f core conftest.err conftest.$ac_objext \
11288     conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11290 fi
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11294   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11296
11297     lt_cv_dlopen="dyld"
11298     lt_cv_dlopen_libs=
11299     lt_cv_dlopen_self=yes
11300
11301 fi
11302
11303     ;;
11304
11305   *)
11306     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11307 if test "x$ac_cv_func_shl_load" = x""yes; then :
11308   lt_cv_dlopen="shl_load"
11309 else
11310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11312 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11313   $as_echo_n "(cached) " >&6
11314 else
11315   ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-ldld  $LIBS"
11317 if test x$gcc_no_link = xyes; then
11318   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11319 fi
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h.  */
11322
11323 /* Override any GCC internal prototype to avoid an error.
11324    Use char because int might match the return type of a GCC
11325    builtin and then its argument prototype would still apply.  */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shl_load ();
11330 int
11331 main ()
11332 {
11333 return shl_load ();
11334   ;
11335   return 0;
11336 }
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339   ac_cv_lib_dld_shl_load=yes
11340 else
11341   ac_cv_lib_dld_shl_load=no
11342 fi
11343 rm -f core conftest.err conftest.$ac_objext \
11344     conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11346 fi
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11349 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11350   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11351 else
11352   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11353 if test "x$ac_cv_func_dlopen" = x""yes; then :
11354   lt_cv_dlopen="dlopen"
11355 else
11356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11359   $as_echo_n "(cached) " >&6
11360 else
11361   ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldl  $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11365 fi
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h.  */
11368
11369 /* Override any GCC internal prototype to avoid an error.
11370    Use char because int might match the return type of a GCC
11371    builtin and then its argument prototype would still apply.  */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11376 int
11377 main ()
11378 {
11379 return dlopen ();
11380   ;
11381   return 0;
11382 }
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385   ac_cv_lib_dl_dlopen=yes
11386 else
11387   ac_cv_lib_dl_dlopen=no
11388 fi
11389 rm -f core conftest.err conftest.$ac_objext \
11390     conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11392 fi
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401   $as_echo_n "(cached) " >&6
11402 else
11403   ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld  $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11407 fi
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h.  */
11410
11411 /* Override any GCC internal prototype to avoid an error.
11412    Use char because int might match the return type of a GCC
11413    builtin and then its argument prototype would still apply.  */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char dlopen ();
11418 int
11419 main ()
11420 {
11421 return dlopen ();
11422   ;
11423   return 0;
11424 }
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427   ac_cv_lib_svld_dlopen=yes
11428 else
11429   ac_cv_lib_svld_dlopen=no
11430 fi
11431 rm -f core conftest.err conftest.$ac_objext \
11432     conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11434 fi
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11438   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11439 else
11440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11443   $as_echo_n "(cached) " >&6
11444 else
11445   ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldld  $LIBS"
11447 if test x$gcc_no_link = xyes; then
11448   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11449 fi
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h.  */
11452
11453 /* Override any GCC internal prototype to avoid an error.
11454    Use char because int might match the return type of a GCC
11455    builtin and then its argument prototype would still apply.  */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dld_link ();
11460 int
11461 main ()
11462 {
11463 return dld_link ();
11464   ;
11465   return 0;
11466 }
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469   ac_cv_lib_dld_dld_link=yes
11470 else
11471   ac_cv_lib_dld_dld_link=no
11472 fi
11473 rm -f core conftest.err conftest.$ac_objext \
11474     conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11476 fi
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11478 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11479 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11480   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11481 fi
11482
11483
11484 fi
11485
11486
11487 fi
11488
11489
11490 fi
11491
11492
11493 fi
11494
11495
11496 fi
11497
11498     ;;
11499   esac
11500
11501   if test "x$lt_cv_dlopen" != xno; then
11502     enable_dlopen=yes
11503   else
11504     enable_dlopen=no
11505   fi
11506
11507   case $lt_cv_dlopen in
11508   dlopen)
11509     save_CPPFLAGS="$CPPFLAGS"
11510     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11511
11512     save_LDFLAGS="$LDFLAGS"
11513     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11514
11515     save_LIBS="$LIBS"
11516     LIBS="$lt_cv_dlopen_libs $LIBS"
11517
11518     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11519 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11520 if test "${lt_cv_dlopen_self+set}" = set; then :
11521   $as_echo_n "(cached) " >&6
11522 else
11523           if test "$cross_compiling" = yes; then :
11524   lt_cv_dlopen_self=cross
11525 else
11526   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527   lt_status=$lt_dlunknown
11528   cat > conftest.$ac_ext <<_LT_EOF
11529 #line 11529 "configure"
11530 #include "confdefs.h"
11531
11532 #if HAVE_DLFCN_H
11533 #include <dlfcn.h>
11534 #endif
11535
11536 #include <stdio.h>
11537
11538 #ifdef RTLD_GLOBAL
11539 #  define LT_DLGLOBAL           RTLD_GLOBAL
11540 #else
11541 #  ifdef DL_GLOBAL
11542 #    define LT_DLGLOBAL         DL_GLOBAL
11543 #  else
11544 #    define LT_DLGLOBAL         0
11545 #  endif
11546 #endif
11547
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549    find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11551 #  ifdef RTLD_LAZY
11552 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11553 #  else
11554 #    ifdef DL_LAZY
11555 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11556 #    else
11557 #      ifdef RTLD_NOW
11558 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11559 #      else
11560 #        ifdef DL_NOW
11561 #          define LT_DLLAZY_OR_NOW      DL_NOW
11562 #        else
11563 #          define LT_DLLAZY_OR_NOW      0
11564 #        endif
11565 #      endif
11566 #    endif
11567 #  endif
11568 #endif
11569
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571    correspondingly for the symbols needed.  */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11574 #endif
11575
11576 void fnord () { int i=42; }
11577 int main ()
11578 {
11579   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580   int status = $lt_dlunknown;
11581
11582   if (self)
11583     {
11584       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11585       else
11586         {
11587           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11588           else puts (dlerror ());
11589         }
11590       /* dlclose (self); */
11591     }
11592   else
11593     puts (dlerror ());
11594
11595   return status;
11596 }
11597 _LT_EOF
11598   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599   (eval $ac_link) 2>&5
11600   ac_status=$?
11601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11603     (./conftest; exit; ) >&5 2>/dev/null
11604     lt_status=$?
11605     case x$lt_status in
11606       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11607       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11608       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609     esac
11610   else :
11611     # compilation failed
11612     lt_cv_dlopen_self=no
11613   fi
11614 fi
11615 rm -fr conftest*
11616
11617
11618 fi
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11620 $as_echo "$lt_cv_dlopen_self" >&6; }
11621
11622     if test "x$lt_cv_dlopen_self" = xyes; then
11623       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11624       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11625 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11626 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11627   $as_echo_n "(cached) " >&6
11628 else
11629           if test "$cross_compiling" = yes; then :
11630   lt_cv_dlopen_self_static=cross
11631 else
11632   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11633   lt_status=$lt_dlunknown
11634   cat > conftest.$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11637
11638 #if HAVE_DLFCN_H
11639 #include <dlfcn.h>
11640 #endif
11641
11642 #include <stdio.h>
11643
11644 #ifdef RTLD_GLOBAL
11645 #  define LT_DLGLOBAL           RTLD_GLOBAL
11646 #else
11647 #  ifdef DL_GLOBAL
11648 #    define LT_DLGLOBAL         DL_GLOBAL
11649 #  else
11650 #    define LT_DLGLOBAL         0
11651 #  endif
11652 #endif
11653
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655    find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11657 #  ifdef RTLD_LAZY
11658 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11659 #  else
11660 #    ifdef DL_LAZY
11661 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11662 #    else
11663 #      ifdef RTLD_NOW
11664 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11665 #      else
11666 #        ifdef DL_NOW
11667 #          define LT_DLLAZY_OR_NOW      DL_NOW
11668 #        else
11669 #          define LT_DLLAZY_OR_NOW      0
11670 #        endif
11671 #      endif
11672 #    endif
11673 #  endif
11674 #endif
11675
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677    correspondingly for the symbols needed.  */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11680 #endif
11681
11682 void fnord () { int i=42; }
11683 int main ()
11684 {
11685   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686   int status = $lt_dlunknown;
11687
11688   if (self)
11689     {
11690       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11691       else
11692         {
11693           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11694           else puts (dlerror ());
11695         }
11696       /* dlclose (self); */
11697     }
11698   else
11699     puts (dlerror ());
11700
11701   return status;
11702 }
11703 _LT_EOF
11704   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705   (eval $ac_link) 2>&5
11706   ac_status=$?
11707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709     (./conftest; exit; ) >&5 2>/dev/null
11710     lt_status=$?
11711     case x$lt_status in
11712       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715     esac
11716   else :
11717     # compilation failed
11718     lt_cv_dlopen_self_static=no
11719   fi
11720 fi
11721 rm -fr conftest*
11722
11723
11724 fi
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11727     fi
11728
11729     CPPFLAGS="$save_CPPFLAGS"
11730     LDFLAGS="$save_LDFLAGS"
11731     LIBS="$save_LIBS"
11732     ;;
11733   esac
11734
11735   case $lt_cv_dlopen_self in
11736   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737   *) enable_dlopen_self=unknown ;;
11738   esac
11739
11740   case $lt_cv_dlopen_self_static in
11741   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742   *) enable_dlopen_self_static=unknown ;;
11743   esac
11744 fi
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773   case $host_os in
11774   darwin*)
11775     if test -n "$STRIP" ; then
11776       striplib="$STRIP -x"
11777       old_striplib="$STRIP -S"
11778       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780     else
11781       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11783     fi
11784     ;;
11785   *)
11786     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11788     ;;
11789   esac
11790 fi
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803   # Report which library types will actually be built
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11808
11809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811   test "$can_build_shared" = "no" && enable_shared=no
11812
11813   # On AIX, shared libraries and static libraries use the same namespace, and
11814   # are all built from PIC.
11815   case $host_os in
11816   aix3*)
11817     test "$enable_shared" = yes && enable_static=no
11818     if test -n "$RANLIB"; then
11819       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820       postinstall_cmds='$RANLIB $lib'
11821     fi
11822     ;;
11823
11824   aix[4-9]*)
11825     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826       test "$enable_shared" = yes && enable_static=no
11827     fi
11828     ;;
11829   esac
11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11832
11833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835   # Make sure either enable_shared or enable_static is yes.
11836   test "$enable_shared" = yes || enable_static=yes
11837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11839
11840
11841
11842
11843 fi
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11849
11850 CC="$lt_save_CC"
11851
11852       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854     (test "X$CXX" != "Xg++"))) ; then
11855   ac_ext=cpp
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11862 if test -z "$CXXCPP"; then
11863   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11864   $as_echo_n "(cached) " >&6
11865 else
11866       # Double quotes because CXXCPP needs to be expanded
11867     for CXXCPP in "$CXX -E" "/lib/cpp"
11868     do
11869       ac_preproc_ok=false
11870 for ac_cxx_preproc_warn_flag in '' yes
11871 do
11872   # Use a header file that comes with gcc, so configuring glibc
11873   # with a fresh cross-compiler works.
11874   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875   # <limits.h> exists even on freestanding compilers.
11876   # On the NeXT, cc -E runs the code through the compiler's parser,
11877   # not just through cpp. "Syntax error" is here to catch this case.
11878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h.  */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11885                      Syntax error
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11888
11889 else
11890   # Broken: fails on valid input.
11891 continue
11892 fi
11893 rm -f conftest.err conftest.$ac_ext
11894
11895   # OK, works on sane cases.  Now check whether nonexistent headers
11896   # can be detected and how.
11897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h.  */
11899 #include <ac_nonexistent.h>
11900 _ACEOF
11901 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902   # Broken: success on invalid input.
11903 continue
11904 else
11905   # Passes both tests.
11906 ac_preproc_ok=:
11907 break
11908 fi
11909 rm -f conftest.err conftest.$ac_ext
11910
11911 done
11912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11913 rm -f conftest.err conftest.$ac_ext
11914 if $ac_preproc_ok; then :
11915   break
11916 fi
11917
11918     done
11919     ac_cv_prog_CXXCPP=$CXXCPP
11920
11921 fi
11922   CXXCPP=$ac_cv_prog_CXXCPP
11923 else
11924   ac_cv_prog_CXXCPP=$CXXCPP
11925 fi
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11927 $as_echo "$CXXCPP" >&6; }
11928 ac_preproc_ok=false
11929 for ac_cxx_preproc_warn_flag in '' yes
11930 do
11931   # Use a header file that comes with gcc, so configuring glibc
11932   # with a fresh cross-compiler works.
11933   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934   # <limits.h> exists even on freestanding compilers.
11935   # On the NeXT, cc -E runs the code through the compiler's parser,
11936   # not just through cpp. "Syntax error" is here to catch this case.
11937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h.  */
11939 #ifdef __STDC__
11940 # include <limits.h>
11941 #else
11942 # include <assert.h>
11943 #endif
11944                      Syntax error
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11947
11948 else
11949   # Broken: fails on valid input.
11950 continue
11951 fi
11952 rm -f conftest.err conftest.$ac_ext
11953
11954   # OK, works on sane cases.  Now check whether nonexistent headers
11955   # can be detected and how.
11956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h.  */
11958 #include <ac_nonexistent.h>
11959 _ACEOF
11960 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961   # Broken: success on invalid input.
11962 continue
11963 else
11964   # Passes both tests.
11965 ac_preproc_ok=:
11966 break
11967 fi
11968 rm -f conftest.err conftest.$ac_ext
11969
11970 done
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.$ac_ext
11973 if $ac_preproc_ok; then :
11974
11975 else
11976   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11979 See \`config.log' for more details." "$LINENO" 5; }
11980 fi
11981
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11987
11988 else
11989   _lt_caught_CXX_error=yes
11990 fi
11991
11992 ac_ext=cpp
11993 ac_cpp='$CXXCPP $CPPFLAGS'
11994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11997
11998 archive_cmds_need_lc_CXX=no
11999 allow_undefined_flag_CXX=
12000 always_export_symbols_CXX=no
12001 archive_expsym_cmds_CXX=
12002 compiler_needs_object_CXX=no
12003 export_dynamic_flag_spec_CXX=
12004 hardcode_direct_CXX=no
12005 hardcode_direct_absolute_CXX=no
12006 hardcode_libdir_flag_spec_CXX=
12007 hardcode_libdir_flag_spec_ld_CXX=
12008 hardcode_libdir_separator_CXX=
12009 hardcode_minus_L_CXX=no
12010 hardcode_shlibpath_var_CXX=unsupported
12011 hardcode_automatic_CXX=no
12012 inherit_rpath_CXX=no
12013 module_cmds_CXX=
12014 module_expsym_cmds_CXX=
12015 link_all_deplibs_CXX=unknown
12016 old_archive_cmds_CXX=$old_archive_cmds
12017 reload_flag_CXX=$reload_flag
12018 reload_cmds_CXX=$reload_cmds
12019 no_undefined_flag_CXX=
12020 whole_archive_flag_spec_CXX=
12021 enable_shared_with_static_runtimes_CXX=no
12022
12023 # Source file extension for C++ test sources.
12024 ac_ext=cpp
12025
12026 # Object file extension for compiled C++ test sources.
12027 objext=o
12028 objext_CXX=$objext
12029
12030 # No sense in running all these tests if we already determined that
12031 # the CXX compiler isn't working.  Some variables (like enable_shared)
12032 # are currently assumed to apply to all compilers on this platform,
12033 # and will be corrupted by setting them based on a non-working compiler.
12034 if test "$_lt_caught_CXX_error" != yes; then
12035   # Code to be used in simple compile tests
12036   lt_simple_compile_test_code="int some_variable = 0;"
12037
12038   # Code to be used in simple link tests
12039   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12040
12041   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12042
12043
12044
12045
12046
12047
12048 # If no C compiler was specified, use CC.
12049 LTCC=${LTCC-"$CC"}
12050
12051 # If no C compiler flags were specified, use CFLAGS.
12052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12053
12054 # Allow CC to be a program name with arguments.
12055 compiler=$CC
12056
12057
12058   # save warnings/boilerplate of simple test code
12059   ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12061 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_compiler_boilerplate=`cat conftest.err`
12063 $RM conftest*
12064
12065   ac_outfile=conftest.$ac_objext
12066 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12067 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12068 _lt_linker_boilerplate=`cat conftest.err`
12069 $RM -r conftest*
12070
12071
12072   # Allow CC to be a program name with arguments.
12073   lt_save_CC=$CC
12074   lt_save_LD=$LD
12075   lt_save_GCC=$GCC
12076   GCC=$GXX
12077   lt_save_with_gnu_ld=$with_gnu_ld
12078   lt_save_path_LD=$lt_cv_path_LD
12079   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12080     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081   else
12082     $as_unset lt_cv_prog_gnu_ld
12083   fi
12084   if test -n "${lt_cv_path_LDCXX+set}"; then
12085     lt_cv_path_LD=$lt_cv_path_LDCXX
12086   else
12087     $as_unset lt_cv_path_LD
12088   fi
12089   test -z "${LDCXX+set}" || LD=$LDCXX
12090   CC=${CXX-"c++"}
12091   compiler=$CC
12092   compiler_CXX=$CC
12093   for cc_temp in $compiler""; do
12094   case $cc_temp in
12095     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097     \-*) ;;
12098     *) break;;
12099   esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12102
12103
12104   if test -n "$compiler"; then
12105     # We don't want -fno-exception when compiling C++ code, so set the
12106     # no_builtin_flag separately
12107     if test "$GXX" = yes; then
12108       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109     else
12110       lt_prog_compiler_no_builtin_flag_CXX=
12111     fi
12112
12113     if test "$GXX" = yes; then
12114       # Set up default GNU C++ configuration
12115
12116
12117
12118 # Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122   with_gnu_ld=no
12123 fi
12124
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127   # Check if gcc -print-prog-name=ld gives a path.
12128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130   case $host in
12131   *-*-mingw*)
12132     # gcc leaves a trailing carriage return which upsets mingw
12133     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12134   *)
12135     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136   esac
12137   case $ac_prog in
12138     # Accept absolute paths.
12139     [\\/]* | ?:[\\/]*)
12140       re_direlt='/[^/][^/]*/\.\./'
12141       # Canonicalize the pathname of ld
12142       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145       done
12146       test -z "$LD" && LD="$ac_prog"
12147       ;;
12148   "")
12149     # If it fails, then pretend we aren't using GCC.
12150     ac_prog=ld
12151     ;;
12152   *)
12153     # If it is relative, then search for the first ld in PATH.
12154     with_gnu_ld=unknown
12155     ;;
12156   esac
12157 elif test "$with_gnu_ld" = yes; then
12158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12163 fi
12164 if test "${lt_cv_path_LD+set}" = set; then :
12165   $as_echo_n "(cached) " >&6
12166 else
12167   if test -z "$LD"; then
12168   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169   for ac_dir in $PATH; do
12170     IFS="$lt_save_ifs"
12171     test -z "$ac_dir" && ac_dir=.
12172     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173       lt_cv_path_LD="$ac_dir/$ac_prog"
12174       # Check to see if the program is GNU ld.  I'd rather use --version,
12175       # but apparently some variants of GNU ld only accept -v.
12176       # Break only if it was the GNU/non-GNU ld that we prefer.
12177       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178       *GNU* | *'with BFD'*)
12179         test "$with_gnu_ld" != no && break
12180         ;;
12181       *)
12182         test "$with_gnu_ld" != yes && break
12183         ;;
12184       esac
12185     fi
12186   done
12187   IFS="$lt_save_ifs"
12188 else
12189   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12190 fi
12191 fi
12192
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12200 fi
12201 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12205   $as_echo_n "(cached) " >&6
12206 else
12207   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210   lt_cv_prog_gnu_ld=yes
12211   ;;
12212 *)
12213   lt_cv_prog_gnu_ld=no
12214   ;;
12215 esac
12216 fi
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12220
12221
12222
12223
12224
12225
12226
12227       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228       # archiving commands below assume that GNU ld is being used.
12229       if test "$with_gnu_ld" = yes; then
12230         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12232
12233         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12235
12236         # If archive_cmds runs LD, not CC, wlarc should be empty
12237         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238         #     investigate it a little bit more. (MM)
12239         wlarc='${wl}'
12240
12241         # ancient GNU ld didn't support --whole-archive et. al.
12242         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243           $GREP 'no-whole-archive' > /dev/null; then
12244           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245         else
12246           whole_archive_flag_spec_CXX=
12247         fi
12248       else
12249         with_gnu_ld=no
12250         wlarc=
12251
12252         # A generic and very simple default shared library creation
12253         # command for GNU C++ for the case where it uses the native
12254         # linker, instead of GNU ld.  If possible, this setting should
12255         # overridden to take advantage of the native linker features on
12256         # the platform it is being used on.
12257         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12258       fi
12259
12260       # Commands to make compiler produce verbose output that lists
12261       # what "hidden" libraries, object files and flags are used when
12262       # linking a shared library.
12263       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12264
12265     else
12266       GXX=no
12267       with_gnu_ld=no
12268       wlarc=
12269     fi
12270
12271     # PORTME: fill in a description of your system's C++ link characteristics
12272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274     ld_shlibs_CXX=yes
12275     case $host_os in
12276       aix3*)
12277         # FIXME: insert proper C++ library support
12278         ld_shlibs_CXX=no
12279         ;;
12280       aix[4-9]*)
12281         if test "$host_cpu" = ia64; then
12282           # On IA64, the linker does run time linking by default, so we don't
12283           # have to do anything special.
12284           aix_use_runtimelinking=no
12285           exp_sym_flag='-Bexport'
12286           no_entry_flag=""
12287         else
12288           aix_use_runtimelinking=no
12289
12290           # Test if we are trying to use run time linking or normal
12291           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292           # need to do runtime linking.
12293           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294             for ld_flag in $LDFLAGS; do
12295               case $ld_flag in
12296               *-brtl*)
12297                 aix_use_runtimelinking=yes
12298                 break
12299                 ;;
12300               esac
12301             done
12302             ;;
12303           esac
12304
12305           exp_sym_flag='-bexport'
12306           no_entry_flag='-bnoentry'
12307         fi
12308
12309         # When large executables or shared objects are built, AIX ld can
12310         # have problems creating the table of contents.  If linking a library
12311         # or program results in "error TOC overflow" add -mminimal-toc to
12312         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12313         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12314
12315         archive_cmds_CXX=''
12316         hardcode_direct_CXX=yes
12317         hardcode_direct_absolute_CXX=yes
12318         hardcode_libdir_separator_CXX=':'
12319         link_all_deplibs_CXX=yes
12320         file_list_spec_CXX='${wl}-f,'
12321
12322         if test "$GXX" = yes; then
12323           case $host_os in aix4.[012]|aix4.[012].*)
12324           # We only want to do this on AIX 4.2 and lower, the check
12325           # below for broken collect2 doesn't work under 4.3+
12326           collect2name=`${CC} -print-prog-name=collect2`
12327           if test -f "$collect2name" &&
12328              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329           then
12330             # We have reworked collect2
12331             :
12332           else
12333             # We have old collect2
12334             hardcode_direct_CXX=unsupported
12335             # It fails to find uninstalled libraries when the uninstalled
12336             # path is not listed in the libpath.  Setting hardcode_minus_L
12337             # to unsupported forces relinking
12338             hardcode_minus_L_CXX=yes
12339             hardcode_libdir_flag_spec_CXX='-L$libdir'
12340             hardcode_libdir_separator_CXX=
12341           fi
12342           esac
12343           shared_flag='-shared'
12344           if test "$aix_use_runtimelinking" = yes; then
12345             shared_flag="$shared_flag "'${wl}-G'
12346           fi
12347         else
12348           # not using gcc
12349           if test "$host_cpu" = ia64; then
12350           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351           # chokes on -Wl,-G. The following line is correct:
12352           shared_flag='-G'
12353           else
12354             if test "$aix_use_runtimelinking" = yes; then
12355               shared_flag='${wl}-G'
12356             else
12357               shared_flag='${wl}-bM:SRE'
12358             fi
12359           fi
12360         fi
12361
12362         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363         # It seems that -bexpall does not export symbols beginning with
12364         # underscore (_), so it is better to generate a list of symbols to
12365         # export.
12366         always_export_symbols_CXX=yes
12367         if test "$aix_use_runtimelinking" = yes; then
12368           # Warning - without using the other runtime loading flags (-brtl),
12369           # -berok will link without error, but may produce a broken library.
12370           allow_undefined_flag_CXX='-berok'
12371           # Determine the default libpath from the value encoded in an empty
12372           # executable.
12373           if test x$gcc_no_link = xyes; then
12374   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12375 fi
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h.  */
12378
12379 int
12380 main ()
12381 {
12382
12383   ;
12384   return 0;
12385 }
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12388
12389 lt_aix_libpath_sed='
12390     /Import File Strings/,/^$/ {
12391         /^0/ {
12392             s/^0  *\(.*\)$/\1/
12393             p
12394         }
12395     }'
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12400 fi
12401 fi
12402 rm -f core conftest.err conftest.$ac_objext \
12403     conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12405
12406           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12407
12408           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"
12409         else
12410           if test "$host_cpu" = ia64; then
12411             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12412             allow_undefined_flag_CXX="-z nodefs"
12413             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"
12414           else
12415             # Determine the default libpath from the value encoded in an
12416             # empty executable.
12417             if test x$gcc_no_link = xyes; then
12418   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12419 fi
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h.  */
12422
12423 int
12424 main ()
12425 {
12426
12427   ;
12428   return 0;
12429 }
12430 _ACEOF
12431 if ac_fn_cxx_try_link "$LINENO"; then :
12432
12433 lt_aix_libpath_sed='
12434     /Import File Strings/,/^$/ {
12435         /^0/ {
12436             s/^0  *\(.*\)$/\1/
12437             p
12438         }
12439     }'
12440 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12441 # Check for a 64-bit object if we didn't find anything.
12442 if test -z "$aix_libpath"; then
12443   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12444 fi
12445 fi
12446 rm -f core conftest.err conftest.$ac_objext \
12447     conftest$ac_exeext conftest.$ac_ext
12448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12449
12450             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12451             # Warning - without using the other run time loading flags,
12452             # -berok will link without error, but may produce a broken library.
12453             no_undefined_flag_CXX=' ${wl}-bernotok'
12454             allow_undefined_flag_CXX=' ${wl}-berok'
12455             if test "$with_gnu_ld" = yes; then
12456               # We only use this code for GNU lds that support --whole-archive.
12457               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12458             else
12459               # Exported symbols can be pulled into shared objects from archives
12460               whole_archive_flag_spec_CXX='$convenience'
12461             fi
12462             archive_cmds_need_lc_CXX=yes
12463             # This is similar to how AIX traditionally builds its shared
12464             # libraries.
12465             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'
12466           fi
12467         fi
12468         ;;
12469
12470       beos*)
12471         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12472           allow_undefined_flag_CXX=unsupported
12473           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12474           # support --undefined.  This deserves some investigation.  FIXME
12475           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476         else
12477           ld_shlibs_CXX=no
12478         fi
12479         ;;
12480
12481       chorus*)
12482         case $cc_basename in
12483           *)
12484           # FIXME: insert proper C++ library support
12485           ld_shlibs_CXX=no
12486           ;;
12487         esac
12488         ;;
12489
12490       cygwin* | mingw* | pw32* | cegcc*)
12491         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12492         # as there is no search path for DLLs.
12493         hardcode_libdir_flag_spec_CXX='-L$libdir'
12494         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12495         allow_undefined_flag_CXX=unsupported
12496         always_export_symbols_CXX=no
12497         enable_shared_with_static_runtimes_CXX=yes
12498
12499         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12500           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'
12501           # If the export-symbols file already is a .def file (1st line
12502           # is EXPORTS), use it as is; otherwise, prepend...
12503           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12504             cp $export_symbols $output_objdir/$soname.def;
12505           else
12506             echo EXPORTS > $output_objdir/$soname.def;
12507             cat $export_symbols >> $output_objdir/$soname.def;
12508           fi~
12509           $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'
12510         else
12511           ld_shlibs_CXX=no
12512         fi
12513         ;;
12514       darwin* | rhapsody*)
12515
12516
12517   archive_cmds_need_lc_CXX=no
12518   hardcode_direct_CXX=no
12519   hardcode_automatic_CXX=yes
12520   hardcode_shlibpath_var_CXX=unsupported
12521   if test "$lt_cv_ld_force_load" = "yes"; then
12522     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\"`'
12523   else
12524     whole_archive_flag_spec_CXX=''
12525   fi
12526   link_all_deplibs_CXX=yes
12527   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12528   case $cc_basename in
12529      ifort*) _lt_dar_can_shared=yes ;;
12530      *) _lt_dar_can_shared=$GCC ;;
12531   esac
12532   if test "$_lt_dar_can_shared" = "yes"; then
12533     output_verbose_link_cmd=func_echo_all
12534     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}"
12535     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536     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}"
12537     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}"
12538        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539       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}"
12540       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}"
12541     fi
12542
12543   else
12544   ld_shlibs_CXX=no
12545   fi
12546
12547         ;;
12548
12549       dgux*)
12550         case $cc_basename in
12551           ec++*)
12552             # FIXME: insert proper C++ library support
12553             ld_shlibs_CXX=no
12554             ;;
12555           ghcx*)
12556             # Green Hills C++ Compiler
12557             # FIXME: insert proper C++ library support
12558             ld_shlibs_CXX=no
12559             ;;
12560           *)
12561             # FIXME: insert proper C++ library support
12562             ld_shlibs_CXX=no
12563             ;;
12564         esac
12565         ;;
12566
12567       freebsd2.*)
12568         # C++ shared libraries reported to be fairly broken before
12569         # switch to ELF
12570         ld_shlibs_CXX=no
12571         ;;
12572
12573       freebsd-elf*)
12574         archive_cmds_need_lc_CXX=no
12575         ;;
12576
12577       freebsd* | dragonfly*)
12578         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12579         # conventions
12580         ld_shlibs_CXX=yes
12581         ;;
12582
12583       gnu*)
12584         ;;
12585
12586       haiku*)
12587         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588         link_all_deplibs_CXX=yes
12589         ;;
12590
12591       hpux9*)
12592         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593         hardcode_libdir_separator_CXX=:
12594         export_dynamic_flag_spec_CXX='${wl}-E'
12595         hardcode_direct_CXX=yes
12596         hardcode_minus_L_CXX=yes # Not in the search PATH,
12597                                              # but as the default
12598                                              # location of the library.
12599
12600         case $cc_basename in
12601           CC*)
12602             # FIXME: insert proper C++ library support
12603             ld_shlibs_CXX=no
12604             ;;
12605           aCC*)
12606             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'
12607             # Commands to make compiler produce verbose output that lists
12608             # what "hidden" libraries, object files and flags are used when
12609             # linking a shared library.
12610             #
12611             # There doesn't appear to be a way to prevent this compiler from
12612             # explicitly linking system object files so we need to strip them
12613             # from the output so that they don't get included in the library
12614             # dependencies.
12615             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"'
12616             ;;
12617           *)
12618             if test "$GXX" = yes; then
12619               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'
12620             else
12621               # FIXME: insert proper C++ library support
12622               ld_shlibs_CXX=no
12623             fi
12624             ;;
12625         esac
12626         ;;
12627
12628       hpux10*|hpux11*)
12629         if test $with_gnu_ld = no; then
12630           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12631           hardcode_libdir_separator_CXX=:
12632
12633           case $host_cpu in
12634             hppa*64*|ia64*)
12635               ;;
12636             *)
12637               export_dynamic_flag_spec_CXX='${wl}-E'
12638               ;;
12639           esac
12640         fi
12641         case $host_cpu in
12642           hppa*64*|ia64*)
12643             hardcode_direct_CXX=no
12644             hardcode_shlibpath_var_CXX=no
12645             ;;
12646           *)
12647             hardcode_direct_CXX=yes
12648             hardcode_direct_absolute_CXX=yes
12649             hardcode_minus_L_CXX=yes # Not in the search PATH,
12650                                                  # but as the default
12651                                                  # location of the library.
12652             ;;
12653         esac
12654
12655         case $cc_basename in
12656           CC*)
12657             # FIXME: insert proper C++ library support
12658             ld_shlibs_CXX=no
12659             ;;
12660           aCC*)
12661             case $host_cpu in
12662               hppa*64*)
12663                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12664                 ;;
12665               ia64*)
12666                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12667                 ;;
12668               *)
12669                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670                 ;;
12671             esac
12672             # Commands to make compiler produce verbose output that lists
12673             # what "hidden" libraries, object files and flags are used when
12674             # linking a shared library.
12675             #
12676             # There doesn't appear to be a way to prevent this compiler from
12677             # explicitly linking system object files so we need to strip them
12678             # from the output so that they don't get included in the library
12679             # dependencies.
12680             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"'
12681             ;;
12682           *)
12683             if test "$GXX" = yes; then
12684               if test $with_gnu_ld = no; then
12685                 case $host_cpu in
12686                   hppa*64*)
12687                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12688                     ;;
12689                   ia64*)
12690                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12691                     ;;
12692                   *)
12693                     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'
12694                     ;;
12695                 esac
12696               fi
12697             else
12698               # FIXME: insert proper C++ library support
12699               ld_shlibs_CXX=no
12700             fi
12701             ;;
12702         esac
12703         ;;
12704
12705       interix[3-9]*)
12706         hardcode_direct_CXX=no
12707         hardcode_shlibpath_var_CXX=no
12708         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12709         export_dynamic_flag_spec_CXX='${wl}-E'
12710         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711         # Instead, shared libraries are loaded at an image base (0x10000000 by
12712         # default) and relocated if they conflict, which is a slow very memory
12713         # consuming and fragmenting process.  To avoid this, we pick a random,
12714         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12716         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'
12717         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'
12718         ;;
12719       irix5* | irix6*)
12720         case $cc_basename in
12721           CC*)
12722             # SGI C++
12723             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'
12724
12725             # Archives containing C++ object files must be created using
12726             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12727             # necessary to make sure instantiated templates are included
12728             # in the archive.
12729             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12730             ;;
12731           *)
12732             if test "$GXX" = yes; then
12733               if test "$with_gnu_ld" = no; then
12734                 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'
12735               else
12736                 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'
12737               fi
12738             fi
12739             link_all_deplibs_CXX=yes
12740             ;;
12741         esac
12742         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743         hardcode_libdir_separator_CXX=:
12744         inherit_rpath_CXX=yes
12745         ;;
12746
12747       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12748         case $cc_basename in
12749           KCC*)
12750             # Kuck and Associates, Inc. (KAI) C++ Compiler
12751
12752             # KCC will only create a shared library if the output file
12753             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754             # to its proper name (with version) after linking.
12755             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'
12756             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'
12757             # Commands to make compiler produce verbose output that lists
12758             # what "hidden" libraries, object files and flags are used when
12759             # linking a shared library.
12760             #
12761             # There doesn't appear to be a way to prevent this compiler from
12762             # explicitly linking system object files so we need to strip them
12763             # from the output so that they don't get included in the library
12764             # dependencies.
12765             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"'
12766
12767             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12768             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12769
12770             # Archives containing C++ object files must be created using
12771             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12773             ;;
12774           icpc* | ecpc* )
12775             # Intel C++
12776             with_gnu_ld=yes
12777             # version 8.0 and above of icpc choke on multiply defined symbols
12778             # if we add $predep_objects and $postdep_objects, however 7.1 and
12779             # earlier do not add the objects themselves.
12780             case `$CC -V 2>&1` in
12781               *"Version 7."*)
12782                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783                 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'
12784                 ;;
12785               *)  # Version 8.0 or newer
12786                 tmp_idyn=
12787                 case $host_cpu in
12788                   ia64*) tmp_idyn=' -i_dynamic';;
12789                 esac
12790                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791                 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'
12792                 ;;
12793             esac
12794             archive_cmds_need_lc_CXX=no
12795             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12796             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12798             ;;
12799           pgCC* | pgcpp*)
12800             # Portland Group C++ compiler
12801             case `$CC -V` in
12802             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12803               prelink_cmds_CXX='tpldir=Template.dir~
12804                 rm -rf $tpldir~
12805                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12807               old_archive_cmds_CXX='tpldir=Template.dir~
12808                 rm -rf $tpldir~
12809                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12811                 $RANLIB $oldlib'
12812               archive_cmds_CXX='tpldir=Template.dir~
12813                 rm -rf $tpldir~
12814                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816               archive_expsym_cmds_CXX='tpldir=Template.dir~
12817                 rm -rf $tpldir~
12818                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819                 $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'
12820               ;;
12821             *) # Version 6 and above use weak symbols
12822               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823               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'
12824               ;;
12825             esac
12826
12827             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12828             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12829             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'
12830             ;;
12831           cxx*)
12832             # Compaq C++
12833             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834             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'
12835
12836             runpath_var=LD_RUN_PATH
12837             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12838             hardcode_libdir_separator_CXX=:
12839
12840             # Commands to make compiler produce verbose output that lists
12841             # what "hidden" libraries, object files and flags are used when
12842             # linking a shared library.
12843             #
12844             # There doesn't appear to be a way to prevent this compiler from
12845             # explicitly linking system object files so we need to strip them
12846             # from the output so that they don't get included in the library
12847             # dependencies.
12848             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'
12849             ;;
12850           xl* | mpixl* | bgxl*)
12851             # IBM XL 8.0 on PPC, with GNU ld
12852             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12853             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855             if test "x$supports_anon_versioning" = xyes; then
12856               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12857                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858                 echo "local: *; };" >> $output_objdir/$libname.ver~
12859                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12860             fi
12861             ;;
12862           *)
12863             case `$CC -V 2>&1 | sed 5q` in
12864             *Sun\ C*)
12865               # Sun C++ 5.9
12866               no_undefined_flag_CXX=' -zdefs'
12867               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868               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'
12869               hardcode_libdir_flag_spec_CXX='-R$libdir'
12870               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'
12871               compiler_needs_object_CXX=yes
12872
12873               # Not sure whether something based on
12874               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12875               # would be better.
12876               output_verbose_link_cmd='func_echo_all'
12877
12878               # Archives containing C++ object files must be created using
12879               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12880               # necessary to make sure instantiated templates are included
12881               # in the archive.
12882               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12883               ;;
12884             esac
12885             ;;
12886         esac
12887         ;;
12888
12889       lynxos*)
12890         # FIXME: insert proper C++ library support
12891         ld_shlibs_CXX=no
12892         ;;
12893
12894       m88k*)
12895         # FIXME: insert proper C++ library support
12896         ld_shlibs_CXX=no
12897         ;;
12898
12899       mvs*)
12900         case $cc_basename in
12901           cxx*)
12902             # FIXME: insert proper C++ library support
12903             ld_shlibs_CXX=no
12904             ;;
12905           *)
12906             # FIXME: insert proper C++ library support
12907             ld_shlibs_CXX=no
12908             ;;
12909         esac
12910         ;;
12911
12912       netbsd*)
12913         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12914           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12915           wlarc=
12916           hardcode_libdir_flag_spec_CXX='-R$libdir'
12917           hardcode_direct_CXX=yes
12918           hardcode_shlibpath_var_CXX=no
12919         fi
12920         # Workaround some broken pre-1.5 toolchains
12921         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12922         ;;
12923
12924       *nto* | *qnx*)
12925         ld_shlibs_CXX=yes
12926         ;;
12927
12928       openbsd2*)
12929         # C++ shared libraries are fairly broken
12930         ld_shlibs_CXX=no
12931         ;;
12932
12933       openbsd*)
12934         if test -f /usr/libexec/ld.so; then
12935           hardcode_direct_CXX=yes
12936           hardcode_shlibpath_var_CXX=no
12937           hardcode_direct_absolute_CXX=yes
12938           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942             export_dynamic_flag_spec_CXX='${wl}-E'
12943             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12944           fi
12945           output_verbose_link_cmd=func_echo_all
12946         else
12947           ld_shlibs_CXX=no
12948         fi
12949         ;;
12950
12951       osf3* | osf4* | osf5*)
12952         case $cc_basename in
12953           KCC*)
12954             # Kuck and Associates, Inc. (KAI) C++ Compiler
12955
12956             # KCC will only create a shared library if the output file
12957             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958             # to its proper name (with version) after linking.
12959             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'
12960
12961             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12962             hardcode_libdir_separator_CXX=:
12963
12964             # Archives containing C++ object files must be created using
12965             # the KAI C++ compiler.
12966             case $host in
12967               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12969             esac
12970             ;;
12971           RCC*)
12972             # Rational C++ 2.4.1
12973             # FIXME: insert proper C++ library support
12974             ld_shlibs_CXX=no
12975             ;;
12976           cxx*)
12977             case $host in
12978               osf3*)
12979                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980                 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'
12981                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982                 ;;
12983               *)
12984                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12985                 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'
12986                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987                   echo "-hidden">> $lib.exp~
12988                   $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~
12989                   $RM $lib.exp'
12990                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12991                 ;;
12992             esac
12993
12994             hardcode_libdir_separator_CXX=:
12995
12996             # Commands to make compiler produce verbose output that lists
12997             # what "hidden" libraries, object files and flags are used when
12998             # linking a shared library.
12999             #
13000             # There doesn't appear to be a way to prevent this compiler from
13001             # explicitly linking system object files so we need to strip them
13002             # from the output so that they don't get included in the library
13003             # dependencies.
13004             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"'
13005             ;;
13006           *)
13007             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13008               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009               case $host in
13010                 osf3*)
13011                   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'
13012                   ;;
13013                 *)
13014                   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'
13015                   ;;
13016               esac
13017
13018               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13019               hardcode_libdir_separator_CXX=:
13020
13021               # Commands to make compiler produce verbose output that lists
13022               # what "hidden" libraries, object files and flags are used when
13023               # linking a shared library.
13024               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13025
13026             else
13027               # FIXME: insert proper C++ library support
13028               ld_shlibs_CXX=no
13029             fi
13030             ;;
13031         esac
13032         ;;
13033
13034       psos*)
13035         # FIXME: insert proper C++ library support
13036         ld_shlibs_CXX=no
13037         ;;
13038
13039       sunos4*)
13040         case $cc_basename in
13041           CC*)
13042             # Sun C++ 4.x
13043             # FIXME: insert proper C++ library support
13044             ld_shlibs_CXX=no
13045             ;;
13046           lcc*)
13047             # Lucid
13048             # FIXME: insert proper C++ library support
13049             ld_shlibs_CXX=no
13050             ;;
13051           *)
13052             # FIXME: insert proper C++ library support
13053             ld_shlibs_CXX=no
13054             ;;
13055         esac
13056         ;;
13057
13058       solaris*)
13059         case $cc_basename in
13060           CC*)
13061             # Sun C++ 4.2, 5.x and Centerline C++
13062             archive_cmds_need_lc_CXX=yes
13063             no_undefined_flag_CXX=' -zdefs'
13064             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066               $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'
13067
13068             hardcode_libdir_flag_spec_CXX='-R$libdir'
13069             hardcode_shlibpath_var_CXX=no
13070             case $host_os in
13071               solaris2.[0-5] | solaris2.[0-5].*) ;;
13072               *)
13073                 # The compiler driver will combine and reorder linker options,
13074                 # but understands `-z linker_flag'.
13075                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13077                 ;;
13078             esac
13079             link_all_deplibs_CXX=yes
13080
13081             output_verbose_link_cmd='func_echo_all'
13082
13083             # Archives containing C++ object files must be created using
13084             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13085             # necessary to make sure instantiated templates are included
13086             # in the archive.
13087             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13088             ;;
13089           gcx*)
13090             # Green Hills C++ Compiler
13091             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13092
13093             # The C++ compiler must be used to create the archive.
13094             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13095             ;;
13096           *)
13097             # GNU C++ compiler with Solaris linker
13098             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13099               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13100               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13101                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13104
13105                 # Commands to make compiler produce verbose output that lists
13106                 # what "hidden" libraries, object files and flags are used when
13107                 # linking a shared library.
13108                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109               else
13110                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13111                 # platform.
13112                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13115
13116                 # Commands to make compiler produce verbose output that lists
13117                 # what "hidden" libraries, object files and flags are used when
13118                 # linking a shared library.
13119                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13120               fi
13121
13122               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13123               case $host_os in
13124                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13125                 *)
13126                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13127                   ;;
13128               esac
13129             fi
13130             ;;
13131         esac
13132         ;;
13133
13134     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13135       no_undefined_flag_CXX='${wl}-z,text'
13136       archive_cmds_need_lc_CXX=no
13137       hardcode_shlibpath_var_CXX=no
13138       runpath_var='LD_RUN_PATH'
13139
13140       case $cc_basename in
13141         CC*)
13142           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144           ;;
13145         *)
13146           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148           ;;
13149       esac
13150       ;;
13151
13152       sysv5* | sco3.2v5* | sco5v6*)
13153         # Note: We can NOT use -z defs as we might desire, because we do not
13154         # link with -lc, and that would cause any symbols used from libc to
13155         # always be unresolved, which means just about no library would
13156         # ever link correctly.  If we're not using GNU ld we use -z text
13157         # though, which does catch some bad symbols but isn't as heavy-handed
13158         # as -z defs.
13159         no_undefined_flag_CXX='${wl}-z,text'
13160         allow_undefined_flag_CXX='${wl}-z,nodefs'
13161         archive_cmds_need_lc_CXX=no
13162         hardcode_shlibpath_var_CXX=no
13163         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13164         hardcode_libdir_separator_CXX=':'
13165         link_all_deplibs_CXX=yes
13166         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13167         runpath_var='LD_RUN_PATH'
13168
13169         case $cc_basename in
13170           CC*)
13171             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13174               '"$old_archive_cmds_CXX"
13175             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13176               '"$reload_cmds_CXX"
13177             ;;
13178           *)
13179             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13181             ;;
13182         esac
13183       ;;
13184
13185       tandem*)
13186         case $cc_basename in
13187           NCC*)
13188             # NonStop-UX NCC 3.20
13189             # FIXME: insert proper C++ library support
13190             ld_shlibs_CXX=no
13191             ;;
13192           *)
13193             # FIXME: insert proper C++ library support
13194             ld_shlibs_CXX=no
13195             ;;
13196         esac
13197         ;;
13198
13199       vxworks*)
13200         # FIXME: insert proper C++ library support
13201         ld_shlibs_CXX=no
13202         ;;
13203
13204       *)
13205         # FIXME: insert proper C++ library support
13206         ld_shlibs_CXX=no
13207         ;;
13208     esac
13209
13210     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212     test "$ld_shlibs_CXX" = no && can_build_shared=no
13213
13214     GCC_CXX="$GXX"
13215     LD_CXX="$LD"
13216
13217     ## CAVEAT EMPTOR:
13218     ## There is no encapsulation within the following macros, do not change
13219     ## the running order or otherwise move them around unless you know exactly
13220     ## what you are doing...
13221     # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX=
13223 postdep_objects_CXX=
13224 predeps_CXX=
13225 postdeps_CXX=
13226 compiler_lib_search_path_CXX=
13227
13228 cat > conftest.$ac_ext <<_LT_EOF
13229 class Foo
13230 {
13231 public:
13232   Foo (void) { a = 0; }
13233 private:
13234   int a;
13235 };
13236 _LT_EOF
13237
13238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13239   (eval $ac_compile) 2>&5
13240   ac_status=$?
13241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242   test $ac_status = 0; }; then
13243   # Parse the compiler output and extract the necessary
13244   # objects, libraries and library flags.
13245
13246   # Sentinel used to keep track of whether or not we are before
13247   # the conftest object file.
13248   pre_test_object_deps_done=no
13249
13250   for p in `eval "$output_verbose_link_cmd"`; do
13251     case $p in
13252
13253     -L* | -R* | -l*)
13254        # Some compilers place space between "-{L,R}" and the path.
13255        # Remove the space.
13256        if test $p = "-L" ||
13257           test $p = "-R"; then
13258          prev=$p
13259          continue
13260        else
13261          prev=
13262        fi
13263
13264        if test "$pre_test_object_deps_done" = no; then
13265          case $p in
13266          -L* | -R*)
13267            # Internal compiler library paths should come after those
13268            # provided the user.  The postdeps already come after the
13269            # user supplied libs so there is no need to process them.
13270            if test -z "$compiler_lib_search_path_CXX"; then
13271              compiler_lib_search_path_CXX="${prev}${p}"
13272            else
13273              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13274            fi
13275            ;;
13276          # The "-l" case would never come before the object being
13277          # linked, so don't bother handling this case.
13278          esac
13279        else
13280          if test -z "$postdeps_CXX"; then
13281            postdeps_CXX="${prev}${p}"
13282          else
13283            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13284          fi
13285        fi
13286        ;;
13287
13288     *.$objext)
13289        # This assumes that the test object file only shows up
13290        # once in the compiler output.
13291        if test "$p" = "conftest.$objext"; then
13292          pre_test_object_deps_done=yes
13293          continue
13294        fi
13295
13296        if test "$pre_test_object_deps_done" = no; then
13297          if test -z "$predep_objects_CXX"; then
13298            predep_objects_CXX="$p"
13299          else
13300            predep_objects_CXX="$predep_objects_CXX $p"
13301          fi
13302        else
13303          if test -z "$postdep_objects_CXX"; then
13304            postdep_objects_CXX="$p"
13305          else
13306            postdep_objects_CXX="$postdep_objects_CXX $p"
13307          fi
13308        fi
13309        ;;
13310
13311     *) ;; # Ignore the rest.
13312
13313     esac
13314   done
13315
13316   # Clean up.
13317   rm -f a.out a.exe
13318 else
13319   echo "libtool.m4: error: problem compiling CXX test program"
13320 fi
13321
13322 $RM -f confest.$objext
13323
13324 # PORTME: override above test on systems where it is broken
13325 case $host_os in
13326 interix[3-9]*)
13327   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13328   # hack all around it, let's just trust "g++" to DTRT.
13329   predep_objects_CXX=
13330   postdep_objects_CXX=
13331   postdeps_CXX=
13332   ;;
13333
13334 linux*)
13335   case `$CC -V 2>&1 | sed 5q` in
13336   *Sun\ C*)
13337     # Sun C++ 5.9
13338
13339     # The more standards-conforming stlport4 library is
13340     # incompatible with the Cstd library. Avoid specifying
13341     # it if it's in CXXFLAGS. Ignore libCrun as
13342     # -library=stlport4 depends on it.
13343     case " $CXX $CXXFLAGS " in
13344     *" -library=stlport4 "*)
13345       solaris_use_stlport4=yes
13346       ;;
13347     esac
13348
13349     if test "$solaris_use_stlport4" != yes; then
13350       postdeps_CXX='-library=Cstd -library=Crun'
13351     fi
13352     ;;
13353   esac
13354   ;;
13355
13356 solaris*)
13357   case $cc_basename in
13358   CC*)
13359     # The more standards-conforming stlport4 library is
13360     # incompatible with the Cstd library. Avoid specifying
13361     # it if it's in CXXFLAGS. Ignore libCrun as
13362     # -library=stlport4 depends on it.
13363     case " $CXX $CXXFLAGS " in
13364     *" -library=stlport4 "*)
13365       solaris_use_stlport4=yes
13366       ;;
13367     esac
13368
13369     # Adding this requires a known-good setup of shared libraries for
13370     # Sun compiler versions before 5.6, else PIC objects from an old
13371     # archive will be linked into the output, leading to subtle bugs.
13372     if test "$solaris_use_stlport4" != yes; then
13373       postdeps_CXX='-library=Cstd -library=Crun'
13374     fi
13375     ;;
13376   esac
13377   ;;
13378 esac
13379
13380
13381 case " $postdeps_CXX " in
13382 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13383 esac
13384  compiler_lib_search_dirs_CXX=
13385 if test -n "${compiler_lib_search_path_CXX}"; then
13386  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13387 fi
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419     lt_prog_compiler_wl_CXX=
13420 lt_prog_compiler_pic_CXX=
13421 lt_prog_compiler_static_CXX=
13422
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13425
13426   # C++ specific cases for pic, static, wl, etc.
13427   if test "$GXX" = yes; then
13428     lt_prog_compiler_wl_CXX='-Wl,'
13429     lt_prog_compiler_static_CXX='-static'
13430
13431     case $host_os in
13432     aix*)
13433       # All AIX code is PIC.
13434       if test "$host_cpu" = ia64; then
13435         # AIX 5 now supports IA64 processor
13436         lt_prog_compiler_static_CXX='-Bstatic'
13437       fi
13438       lt_prog_compiler_pic_CXX='-fPIC'
13439       ;;
13440
13441     amigaos*)
13442       case $host_cpu in
13443       powerpc)
13444             # see comment about AmigaOS4 .so support
13445             lt_prog_compiler_pic_CXX='-fPIC'
13446         ;;
13447       m68k)
13448             # FIXME: we need at least 68020 code to build shared libraries, but
13449             # adding the `-m68020' flag to GCC prevents building anything better,
13450             # like `-m68040'.
13451             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13452         ;;
13453       esac
13454       ;;
13455
13456     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13457       # PIC is the default for these OSes.
13458       ;;
13459     mingw* | cygwin* | os2* | pw32* | cegcc*)
13460       # This hack is so that the source file can tell whether it is being
13461       # built for inclusion in a dll (and should export symbols for example).
13462       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463       # (--disable-auto-import) libraries
13464       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13465       ;;
13466     darwin* | rhapsody*)
13467       # PIC is the default on this platform
13468       # Common symbols not allowed in MH_DYLIB files
13469       lt_prog_compiler_pic_CXX='-fno-common'
13470       ;;
13471     *djgpp*)
13472       # DJGPP does not support shared libraries at all
13473       lt_prog_compiler_pic_CXX=
13474       ;;
13475     haiku*)
13476       # PIC is the default for Haiku.
13477       # The "-static" flag exists, but is broken.
13478       lt_prog_compiler_static_CXX=
13479       ;;
13480     interix[3-9]*)
13481       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13482       # Instead, we relocate shared libraries at runtime.
13483       ;;
13484     sysv4*MP*)
13485       if test -d /usr/nec; then
13486         lt_prog_compiler_pic_CXX=-Kconform_pic
13487       fi
13488       ;;
13489     hpux*)
13490       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13491       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13492       # sets the default TLS model and affects inlining.
13493       case $host_cpu in
13494       hppa*64*)
13495         ;;
13496       *)
13497         lt_prog_compiler_pic_CXX='-fPIC'
13498         ;;
13499       esac
13500       ;;
13501     *qnx* | *nto*)
13502       # QNX uses GNU C++, but need to define -shared option too, otherwise
13503       # it will coredump.
13504       lt_prog_compiler_pic_CXX='-fPIC -shared'
13505       ;;
13506     *)
13507       lt_prog_compiler_pic_CXX='-fPIC'
13508       ;;
13509     esac
13510   else
13511     case $host_os in
13512       aix[4-9]*)
13513         # All AIX code is PIC.
13514         if test "$host_cpu" = ia64; then
13515           # AIX 5 now supports IA64 processor
13516           lt_prog_compiler_static_CXX='-Bstatic'
13517         else
13518           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13519         fi
13520         ;;
13521       chorus*)
13522         case $cc_basename in
13523         cxch68*)
13524           # Green Hills C++ Compiler
13525           # _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"
13526           ;;
13527         esac
13528         ;;
13529       dgux*)
13530         case $cc_basename in
13531           ec++*)
13532             lt_prog_compiler_pic_CXX='-KPIC'
13533             ;;
13534           ghcx*)
13535             # Green Hills C++ Compiler
13536             lt_prog_compiler_pic_CXX='-pic'
13537             ;;
13538           *)
13539             ;;
13540         esac
13541         ;;
13542       freebsd* | dragonfly*)
13543         # FreeBSD uses GNU C++
13544         ;;
13545       hpux9* | hpux10* | hpux11*)
13546         case $cc_basename in
13547           CC*)
13548             lt_prog_compiler_wl_CXX='-Wl,'
13549             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550             if test "$host_cpu" != ia64; then
13551               lt_prog_compiler_pic_CXX='+Z'
13552             fi
13553             ;;
13554           aCC*)
13555             lt_prog_compiler_wl_CXX='-Wl,'
13556             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13557             case $host_cpu in
13558             hppa*64*|ia64*)
13559               # +Z the default
13560               ;;
13561             *)
13562               lt_prog_compiler_pic_CXX='+Z'
13563               ;;
13564             esac
13565             ;;
13566           *)
13567             ;;
13568         esac
13569         ;;
13570       interix*)
13571         # This is c89, which is MS Visual C++ (no shared libs)
13572         # Anyone wants to do a port?
13573         ;;
13574       irix5* | irix6* | nonstopux*)
13575         case $cc_basename in
13576           CC*)
13577             lt_prog_compiler_wl_CXX='-Wl,'
13578             lt_prog_compiler_static_CXX='-non_shared'
13579             # CC pic flag -KPIC is the default.
13580             ;;
13581           *)
13582             ;;
13583         esac
13584         ;;
13585       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13586         case $cc_basename in
13587           KCC*)
13588             # KAI C++ Compiler
13589             lt_prog_compiler_wl_CXX='--backend -Wl,'
13590             lt_prog_compiler_pic_CXX='-fPIC'
13591             ;;
13592           ecpc* )
13593             # old Intel C++ for x86_64 which still supported -KPIC.
13594             lt_prog_compiler_wl_CXX='-Wl,'
13595             lt_prog_compiler_pic_CXX='-KPIC'
13596             lt_prog_compiler_static_CXX='-static'
13597             ;;
13598           icpc* )
13599             # Intel C++, used to be incompatible with GCC.
13600             # ICC 10 doesn't accept -KPIC any more.
13601             lt_prog_compiler_wl_CXX='-Wl,'
13602             lt_prog_compiler_pic_CXX='-fPIC'
13603             lt_prog_compiler_static_CXX='-static'
13604             ;;
13605           pgCC* | pgcpp*)
13606             # Portland Group C++ compiler
13607             lt_prog_compiler_wl_CXX='-Wl,'
13608             lt_prog_compiler_pic_CXX='-fpic'
13609             lt_prog_compiler_static_CXX='-Bstatic'
13610             ;;
13611           cxx*)
13612             # Compaq C++
13613             # Make sure the PIC flag is empty.  It appears that all Alpha
13614             # Linux and Compaq Tru64 Unix objects are PIC.
13615             lt_prog_compiler_pic_CXX=
13616             lt_prog_compiler_static_CXX='-non_shared'
13617             ;;
13618           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13619             # IBM XL 8.0, 9.0 on PPC and BlueGene
13620             lt_prog_compiler_wl_CXX='-Wl,'
13621             lt_prog_compiler_pic_CXX='-qpic'
13622             lt_prog_compiler_static_CXX='-qstaticlink'
13623             ;;
13624           *)
13625             case `$CC -V 2>&1 | sed 5q` in
13626             *Sun\ C*)
13627               # Sun C++ 5.9
13628               lt_prog_compiler_pic_CXX='-KPIC'
13629               lt_prog_compiler_static_CXX='-Bstatic'
13630               lt_prog_compiler_wl_CXX='-Qoption ld '
13631               ;;
13632             esac
13633             ;;
13634         esac
13635         ;;
13636       lynxos*)
13637         ;;
13638       m88k*)
13639         ;;
13640       mvs*)
13641         case $cc_basename in
13642           cxx*)
13643             lt_prog_compiler_pic_CXX='-W c,exportall'
13644             ;;
13645           *)
13646             ;;
13647         esac
13648         ;;
13649       netbsd*)
13650         ;;
13651       *qnx* | *nto*)
13652         # QNX uses GNU C++, but need to define -shared option too, otherwise
13653         # it will coredump.
13654         lt_prog_compiler_pic_CXX='-fPIC -shared'
13655         ;;
13656       osf3* | osf4* | osf5*)
13657         case $cc_basename in
13658           KCC*)
13659             lt_prog_compiler_wl_CXX='--backend -Wl,'
13660             ;;
13661           RCC*)
13662             # Rational C++ 2.4.1
13663             lt_prog_compiler_pic_CXX='-pic'
13664             ;;
13665           cxx*)
13666             # Digital/Compaq C++
13667             lt_prog_compiler_wl_CXX='-Wl,'
13668             # Make sure the PIC flag is empty.  It appears that all Alpha
13669             # Linux and Compaq Tru64 Unix objects are PIC.
13670             lt_prog_compiler_pic_CXX=
13671             lt_prog_compiler_static_CXX='-non_shared'
13672             ;;
13673           *)
13674             ;;
13675         esac
13676         ;;
13677       psos*)
13678         ;;
13679       solaris*)
13680         case $cc_basename in
13681           CC*)
13682             # Sun C++ 4.2, 5.x and Centerline C++
13683             lt_prog_compiler_pic_CXX='-KPIC'
13684             lt_prog_compiler_static_CXX='-Bstatic'
13685             lt_prog_compiler_wl_CXX='-Qoption ld '
13686             ;;
13687           gcx*)
13688             # Green Hills C++ Compiler
13689             lt_prog_compiler_pic_CXX='-PIC'
13690             ;;
13691           *)
13692             ;;
13693         esac
13694         ;;
13695       sunos4*)
13696         case $cc_basename in
13697           CC*)
13698             # Sun C++ 4.x
13699             lt_prog_compiler_pic_CXX='-pic'
13700             lt_prog_compiler_static_CXX='-Bstatic'
13701             ;;
13702           lcc*)
13703             # Lucid
13704             lt_prog_compiler_pic_CXX='-pic'
13705             ;;
13706           *)
13707             ;;
13708         esac
13709         ;;
13710       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13711         case $cc_basename in
13712           CC*)
13713             lt_prog_compiler_wl_CXX='-Wl,'
13714             lt_prog_compiler_pic_CXX='-KPIC'
13715             lt_prog_compiler_static_CXX='-Bstatic'
13716             ;;
13717         esac
13718         ;;
13719       tandem*)
13720         case $cc_basename in
13721           NCC*)
13722             # NonStop-UX NCC 3.20
13723             lt_prog_compiler_pic_CXX='-KPIC'
13724             ;;
13725           *)
13726             ;;
13727         esac
13728         ;;
13729       vxworks*)
13730         ;;
13731       *)
13732         lt_prog_compiler_can_build_shared_CXX=no
13733         ;;
13734     esac
13735   fi
13736
13737 case $host_os in
13738   # For platforms which do not support PIC, -DPIC is meaningless:
13739   *djgpp*)
13740     lt_prog_compiler_pic_CXX=
13741     ;;
13742   *)
13743     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13744     ;;
13745 esac
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13747 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13748
13749
13750
13751 #
13752 # Check to make sure the PIC flag actually works.
13753 #
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13756 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13757 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13758   $as_echo_n "(cached) " >&6
13759 else
13760   lt_cv_prog_compiler_pic_works_CXX=no
13761    ac_outfile=conftest.$ac_objext
13762    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13763    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13764    # Insert the option either (1) after the last *FLAGS variable, or
13765    # (2) before a word containing "conftest.", or (3) at the end.
13766    # Note that $ac_compile itself does not contain backslashes and begins
13767    # with a dollar sign (not a hyphen), so the echo should work correctly.
13768    # The option is referenced via a variable to avoid confusing sed.
13769    lt_compile=`echo "$ac_compile" | $SED \
13770    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13771    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13772    -e 's:$: $lt_compiler_flag:'`
13773    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13774    (eval "$lt_compile" 2>conftest.err)
13775    ac_status=$?
13776    cat conftest.err >&5
13777    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778    if (exit $ac_status) && test -s "$ac_outfile"; then
13779      # The compiler can only warn and ignore the option if not recognized
13780      # So say no if there are warnings other than the usual output.
13781      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13782      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13784        lt_cv_prog_compiler_pic_works_CXX=yes
13785      fi
13786    fi
13787    $RM conftest*
13788
13789 fi
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13791 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13792
13793 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13794     case $lt_prog_compiler_pic_CXX in
13795      "" | " "*) ;;
13796      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13797      esac
13798 else
13799     lt_prog_compiler_pic_CXX=
13800      lt_prog_compiler_can_build_shared_CXX=no
13801 fi
13802
13803 fi
13804
13805
13806
13807 #
13808 # Check to make sure the static flag actually works.
13809 #
13810 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13813 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13814   $as_echo_n "(cached) " >&6
13815 else
13816   lt_cv_prog_compiler_static_works_CXX=no
13817    save_LDFLAGS="$LDFLAGS"
13818    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13819    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13820    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13821      # The linker can only warn and ignore the option if not recognized
13822      # So say no if there are warnings
13823      if test -s conftest.err; then
13824        # Append any errors to the config.log.
13825        cat conftest.err 1>&5
13826        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13827        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13828        if diff conftest.exp conftest.er2 >/dev/null; then
13829          lt_cv_prog_compiler_static_works_CXX=yes
13830        fi
13831      else
13832        lt_cv_prog_compiler_static_works_CXX=yes
13833      fi
13834    fi
13835    $RM -r conftest*
13836    LDFLAGS="$save_LDFLAGS"
13837
13838 fi
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13841
13842 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13843     :
13844 else
13845     lt_prog_compiler_static_CXX=
13846 fi
13847
13848
13849
13850
13851     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13854   $as_echo_n "(cached) " >&6
13855 else
13856   lt_cv_prog_compiler_c_o_CXX=no
13857    $RM -r conftest 2>/dev/null
13858    mkdir conftest
13859    cd conftest
13860    mkdir out
13861    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13862
13863    lt_compiler_flag="-o out/conftest2.$ac_objext"
13864    # Insert the option either (1) after the last *FLAGS variable, or
13865    # (2) before a word containing "conftest.", or (3) at the end.
13866    # Note that $ac_compile itself does not contain backslashes and begins
13867    # with a dollar sign (not a hyphen), so the echo should work correctly.
13868    lt_compile=`echo "$ac_compile" | $SED \
13869    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13870    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13871    -e 's:$: $lt_compiler_flag:'`
13872    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13873    (eval "$lt_compile" 2>out/conftest.err)
13874    ac_status=$?
13875    cat out/conftest.err >&5
13876    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13878    then
13879      # The compiler can only warn and ignore the option if not recognized
13880      # So say no if there are warnings
13881      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13882      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13883      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13884        lt_cv_prog_compiler_c_o_CXX=yes
13885      fi
13886    fi
13887    chmod u+w . 2>&5
13888    $RM conftest*
13889    # SGI C++ compiler will create directory out/ii_files/ for
13890    # template instantiation
13891    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13892    $RM out/* && rmdir out
13893    cd ..
13894    $RM -r conftest
13895    $RM conftest*
13896
13897 fi
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13899 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13900
13901
13902
13903     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13905 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13906   $as_echo_n "(cached) " >&6
13907 else
13908   lt_cv_prog_compiler_c_o_CXX=no
13909    $RM -r conftest 2>/dev/null
13910    mkdir conftest
13911    cd conftest
13912    mkdir out
13913    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13914
13915    lt_compiler_flag="-o out/conftest2.$ac_objext"
13916    # Insert the option either (1) after the last *FLAGS variable, or
13917    # (2) before a word containing "conftest.", or (3) at the end.
13918    # Note that $ac_compile itself does not contain backslashes and begins
13919    # with a dollar sign (not a hyphen), so the echo should work correctly.
13920    lt_compile=`echo "$ac_compile" | $SED \
13921    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923    -e 's:$: $lt_compiler_flag:'`
13924    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13925    (eval "$lt_compile" 2>out/conftest.err)
13926    ac_status=$?
13927    cat out/conftest.err >&5
13928    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13930    then
13931      # The compiler can only warn and ignore the option if not recognized
13932      # So say no if there are warnings
13933      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13934      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13935      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13936        lt_cv_prog_compiler_c_o_CXX=yes
13937      fi
13938    fi
13939    chmod u+w . 2>&5
13940    $RM conftest*
13941    # SGI C++ compiler will create directory out/ii_files/ for
13942    # template instantiation
13943    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13944    $RM out/* && rmdir out
13945    cd ..
13946    $RM -r conftest
13947    $RM conftest*
13948
13949 fi
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13951 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13952
13953
13954
13955
13956 hard_links="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13958   # do not overwrite the value of need_locks provided by the user
13959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13960 $as_echo_n "checking if we can lock with hard links... " >&6; }
13961   hard_links=yes
13962   $RM conftest*
13963   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13964   touch conftest.a
13965   ln conftest.a conftest.b 2>&5 || hard_links=no
13966   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13968 $as_echo "$hard_links" >&6; }
13969   if test "$hard_links" = no; then
13970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13972     need_locks=warn
13973   fi
13974 else
13975   need_locks=no
13976 fi
13977
13978
13979
13980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13981 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13982
13983   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984   case $host_os in
13985   aix[4-9]*)
13986     # If we're using GNU nm, then we don't want the "-C" option.
13987     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13988     # Also, AIX nm treats weak defined symbols like other global defined
13989     # symbols, whereas GNU nm marks them as "W".
13990     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13991       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'
13992     else
13993       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13994     fi
13995     ;;
13996   pw32*)
13997     export_symbols_cmds_CXX="$ltdll_cmds"
13998   ;;
13999   cygwin* | mingw* | cegcc*)
14000     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'
14001   ;;
14002   *)
14003     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14004   ;;
14005   esac
14006   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14007
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14009 $as_echo "$ld_shlibs_CXX" >&6; }
14010 test "$ld_shlibs_CXX" = no && can_build_shared=no
14011
14012 with_gnu_ld_CXX=$with_gnu_ld
14013
14014
14015
14016
14017
14018
14019 #
14020 # Do we need to explicitly link libc?
14021 #
14022 case "x$archive_cmds_need_lc_CXX" in
14023 x|xyes)
14024   # Assume -lc should be added
14025   archive_cmds_need_lc_CXX=yes
14026
14027   if test "$enable_shared" = yes && test "$GCC" = yes; then
14028     case $archive_cmds_CXX in
14029     *'~'*)
14030       # FIXME: we may have to deal with multi-command sequences.
14031       ;;
14032     '$CC '*)
14033       # Test whether the compiler implicitly links with -lc since on some
14034       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14035       # to ld, don't add -lc before -lgcc.
14036       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14038 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14039   $as_echo_n "(cached) " >&6
14040 else
14041   $RM conftest*
14042         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14043
14044         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14045   (eval $ac_compile) 2>&5
14046   ac_status=$?
14047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048   test $ac_status = 0; } 2>conftest.err; then
14049           soname=conftest
14050           lib=conftest
14051           libobjs=conftest.$ac_objext
14052           deplibs=
14053           wl=$lt_prog_compiler_wl_CXX
14054           pic_flag=$lt_prog_compiler_pic_CXX
14055           compiler_flags=-v
14056           linker_flags=-v
14057           verstring=
14058           output_objdir=.
14059           libname=conftest
14060           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14061           allow_undefined_flag_CXX=
14062           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14063   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064   ac_status=$?
14065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066   test $ac_status = 0; }
14067           then
14068             lt_cv_archive_cmds_need_lc_CXX=no
14069           else
14070             lt_cv_archive_cmds_need_lc_CXX=yes
14071           fi
14072           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073         else
14074           cat conftest.err 1>&5
14075         fi
14076         $RM conftest*
14077
14078 fi
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14080 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14081       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14082       ;;
14083     esac
14084   fi
14085   ;;
14086 esac
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14153
14154 library_names_spec=
14155 libname_spec='lib$name'
14156 soname_spec=
14157 shrext_cmds=".so"
14158 postinstall_cmds=
14159 postuninstall_cmds=
14160 finish_cmds=
14161 finish_eval=
14162 shlibpath_var=
14163 shlibpath_overrides_runpath=unknown
14164 version_type=none
14165 dynamic_linker="$host_os ld.so"
14166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167 need_lib_prefix=unknown
14168 hardcode_into_libs=no
14169
14170 # when you set need_version to no, make sure it does not cause -set_version
14171 # flags to be left without arguments
14172 need_version=unknown
14173
14174 case $host_os in
14175 aix3*)
14176   version_type=linux
14177   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14178   shlibpath_var=LIBPATH
14179
14180   # AIX 3 has no versioning support, so we append a major version to the name.
14181   soname_spec='${libname}${release}${shared_ext}$major'
14182   ;;
14183
14184 aix[4-9]*)
14185   version_type=linux
14186   need_lib_prefix=no
14187   need_version=no
14188   hardcode_into_libs=yes
14189   if test "$host_cpu" = ia64; then
14190     # AIX 5 supports IA64
14191     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14192     shlibpath_var=LD_LIBRARY_PATH
14193   else
14194     # With GCC up to 2.95.x, collect2 would create an import file
14195     # for dependence libraries.  The import file would start with
14196     # the line `#! .'.  This would cause the generated library to
14197     # depend on `.', always an invalid library.  This was fixed in
14198     # development snapshots of GCC prior to 3.0.
14199     case $host_os in
14200       aix4 | aix4.[01] | aix4.[01].*)
14201       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14202            echo ' yes '
14203            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14204         :
14205       else
14206         can_build_shared=no
14207       fi
14208       ;;
14209     esac
14210     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14211     # soname into executable. Probably we can add versioning support to
14212     # collect2, so additional links can be useful in future.
14213     if test "$aix_use_runtimelinking" = yes; then
14214       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14215       # instead of lib<name>.a to let people know that these are not
14216       # typical AIX shared libraries.
14217       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218     else
14219       # We preserve .a as extension for shared libraries through AIX4.2
14220       # and later when we are not doing run time linking.
14221       library_names_spec='${libname}${release}.a $libname.a'
14222       soname_spec='${libname}${release}${shared_ext}$major'
14223     fi
14224     shlibpath_var=LIBPATH
14225   fi
14226   ;;
14227
14228 amigaos*)
14229   case $host_cpu in
14230   powerpc)
14231     # Since July 2007 AmigaOS4 officially supports .so libraries.
14232     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14233     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14234     ;;
14235   m68k)
14236     library_names_spec='$libname.ixlibrary $libname.a'
14237     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14238     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'
14239     ;;
14240   esac
14241   ;;
14242
14243 beos*)
14244   library_names_spec='${libname}${shared_ext}'
14245   dynamic_linker="$host_os ld.so"
14246   shlibpath_var=LIBRARY_PATH
14247   ;;
14248
14249 bsdi[45]*)
14250   version_type=linux
14251   need_version=no
14252   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253   soname_spec='${libname}${release}${shared_ext}$major'
14254   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14255   shlibpath_var=LD_LIBRARY_PATH
14256   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14257   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14258   # the default ld.so.conf also contains /usr/contrib/lib and
14259   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14260   # libtool to hard-code these into programs
14261   ;;
14262
14263 cygwin* | mingw* | pw32* | cegcc*)
14264   version_type=windows
14265   shrext_cmds=".dll"
14266   need_version=no
14267   need_lib_prefix=no
14268
14269   case $GCC,$host_os in
14270   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14271     library_names_spec='$libname.dll.a'
14272     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14273     postinstall_cmds='base_file=`basename \${file}`~
14274       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14275       dldir=$destdir/`dirname \$dlpath`~
14276       test -d \$dldir || mkdir -p \$dldir~
14277       $install_prog $dir/$dlname \$dldir/$dlname~
14278       chmod a+x \$dldir/$dlname~
14279       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14280         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14281       fi'
14282     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14283       dlpath=$dir/\$dldll~
14284        $RM \$dlpath'
14285     shlibpath_overrides_runpath=yes
14286
14287     case $host_os in
14288     cygwin*)
14289       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14290       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14291
14292       ;;
14293     mingw* | cegcc*)
14294       # MinGW DLLs use traditional 'lib' prefix
14295       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14296       ;;
14297     pw32*)
14298       # pw32 DLLs use 'pw' prefix rather than 'lib'
14299       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14300       ;;
14301     esac
14302     ;;
14303
14304   *)
14305     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14306     ;;
14307   esac
14308   dynamic_linker='Win32 ld.exe'
14309   # FIXME: first we should search . and the directory the executable is in
14310   shlibpath_var=PATH
14311   ;;
14312
14313 darwin* | rhapsody*)
14314   dynamic_linker="$host_os dyld"
14315   version_type=darwin
14316   need_lib_prefix=no
14317   need_version=no
14318   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14319   soname_spec='${libname}${release}${major}$shared_ext'
14320   shlibpath_overrides_runpath=yes
14321   shlibpath_var=DYLD_LIBRARY_PATH
14322   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14323
14324   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14325   ;;
14326
14327 dgux*)
14328   version_type=linux
14329   need_lib_prefix=no
14330   need_version=no
14331   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14332   soname_spec='${libname}${release}${shared_ext}$major'
14333   shlibpath_var=LD_LIBRARY_PATH
14334   ;;
14335
14336 freebsd* | dragonfly*)
14337   # DragonFly does not have aout.  When/if they implement a new
14338   # versioning mechanism, adjust this.
14339   if test -x /usr/bin/objformat; then
14340     objformat=`/usr/bin/objformat`
14341   else
14342     case $host_os in
14343     freebsd[23].*) objformat=aout ;;
14344     *) objformat=elf ;;
14345     esac
14346   fi
14347   version_type=freebsd-$objformat
14348   case $version_type in
14349     freebsd-elf*)
14350       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14351       need_version=no
14352       need_lib_prefix=no
14353       ;;
14354     freebsd-*)
14355       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14356       need_version=yes
14357       ;;
14358   esac
14359   shlibpath_var=LD_LIBRARY_PATH
14360   case $host_os in
14361   freebsd2.*)
14362     shlibpath_overrides_runpath=yes
14363     ;;
14364   freebsd3.[01]* | freebsdelf3.[01]*)
14365     shlibpath_overrides_runpath=yes
14366     hardcode_into_libs=yes
14367     ;;
14368   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14369   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14370     shlibpath_overrides_runpath=no
14371     hardcode_into_libs=yes
14372     ;;
14373   *) # from 4.6 on, and DragonFly
14374     shlibpath_overrides_runpath=yes
14375     hardcode_into_libs=yes
14376     ;;
14377   esac
14378   ;;
14379
14380 gnu*)
14381   version_type=linux
14382   need_lib_prefix=no
14383   need_version=no
14384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14385   soname_spec='${libname}${release}${shared_ext}$major'
14386   shlibpath_var=LD_LIBRARY_PATH
14387   hardcode_into_libs=yes
14388   ;;
14389
14390 haiku*)
14391   version_type=linux
14392   need_lib_prefix=no
14393   need_version=no
14394   dynamic_linker="$host_os runtime_loader"
14395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396   soname_spec='${libname}${release}${shared_ext}$major'
14397   shlibpath_var=LIBRARY_PATH
14398   shlibpath_overrides_runpath=yes
14399   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14400   hardcode_into_libs=yes
14401   ;;
14402
14403 hpux9* | hpux10* | hpux11*)
14404   # Give a soname corresponding to the major version so that dld.sl refuses to
14405   # link against other versions.
14406   version_type=sunos
14407   need_lib_prefix=no
14408   need_version=no
14409   case $host_cpu in
14410   ia64*)
14411     shrext_cmds='.so'
14412     hardcode_into_libs=yes
14413     dynamic_linker="$host_os dld.so"
14414     shlibpath_var=LD_LIBRARY_PATH
14415     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14416     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417     soname_spec='${libname}${release}${shared_ext}$major'
14418     if test "X$HPUX_IA64_MODE" = X32; then
14419       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14420     else
14421       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14422     fi
14423     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14424     ;;
14425   hppa*64*)
14426     shrext_cmds='.sl'
14427     hardcode_into_libs=yes
14428     dynamic_linker="$host_os dld.sl"
14429     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14430     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14431     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432     soname_spec='${libname}${release}${shared_ext}$major'
14433     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14434     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14435     ;;
14436   *)
14437     shrext_cmds='.sl'
14438     dynamic_linker="$host_os dld.sl"
14439     shlibpath_var=SHLIB_PATH
14440     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14441     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442     soname_spec='${libname}${release}${shared_ext}$major'
14443     ;;
14444   esac
14445   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14446   postinstall_cmds='chmod 555 $lib'
14447   # or fails outright, so override atomically:
14448   install_override_mode=555
14449   ;;
14450
14451 interix[3-9]*)
14452   version_type=linux
14453   need_lib_prefix=no
14454   need_version=no
14455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14456   soname_spec='${libname}${release}${shared_ext}$major'
14457   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14458   shlibpath_var=LD_LIBRARY_PATH
14459   shlibpath_overrides_runpath=no
14460   hardcode_into_libs=yes
14461   ;;
14462
14463 irix5* | irix6* | nonstopux*)
14464   case $host_os in
14465     nonstopux*) version_type=nonstopux ;;
14466     *)
14467         if test "$lt_cv_prog_gnu_ld" = yes; then
14468                 version_type=linux
14469         else
14470                 version_type=irix
14471         fi ;;
14472   esac
14473   need_lib_prefix=no
14474   need_version=no
14475   soname_spec='${libname}${release}${shared_ext}$major'
14476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14477   case $host_os in
14478   irix5* | nonstopux*)
14479     libsuff= shlibsuff=
14480     ;;
14481   *)
14482     case $LD in # libtool.m4 will add one of these switches to LD
14483     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14484       libsuff= shlibsuff= libmagic=32-bit;;
14485     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14486       libsuff=32 shlibsuff=N32 libmagic=N32;;
14487     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14488       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14489     *) libsuff= shlibsuff= libmagic=never-match;;
14490     esac
14491     ;;
14492   esac
14493   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14494   shlibpath_overrides_runpath=no
14495   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14496   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14497   hardcode_into_libs=yes
14498   ;;
14499
14500 # No shared lib support for Linux oldld, aout, or coff.
14501 linux*oldld* | linux*aout* | linux*coff*)
14502   dynamic_linker=no
14503   ;;
14504
14505 # This must be Linux ELF.
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14507   version_type=linux
14508   need_lib_prefix=no
14509   need_version=no
14510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511   soname_spec='${libname}${release}${shared_ext}$major'
14512   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14513   shlibpath_var=LD_LIBRARY_PATH
14514   shlibpath_overrides_runpath=no
14515
14516   # Some binutils ld are patched to set DT_RUNPATH
14517   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14518   $as_echo_n "(cached) " >&6
14519 else
14520   lt_cv_shlibpath_overrides_runpath=no
14521     save_LDFLAGS=$LDFLAGS
14522     save_libdir=$libdir
14523     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14524          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14525     if test x$gcc_no_link = xyes; then
14526   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14527 fi
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h.  */
14530
14531 int
14532 main ()
14533 {
14534
14535   ;
14536   return 0;
14537 }
14538 _ACEOF
14539 if ac_fn_cxx_try_link "$LINENO"; then :
14540   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14541   lt_cv_shlibpath_overrides_runpath=yes
14542 fi
14543 fi
14544 rm -f core conftest.err conftest.$ac_objext \
14545     conftest$ac_exeext conftest.$ac_ext
14546     LDFLAGS=$save_LDFLAGS
14547     libdir=$save_libdir
14548
14549 fi
14550
14551   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14552
14553   # This implies no fast_install, which is unacceptable.
14554   # Some rework will be needed to allow for fast_install
14555   # before this can be enabled.
14556   hardcode_into_libs=yes
14557
14558   # Append ld.so.conf contents to the search path
14559   if test -f /etc/ld.so.conf; then
14560     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' ' '`
14561     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14562   fi
14563
14564   # We used to test for /lib/ld.so.1 and disable shared libraries on
14565   # powerpc, because MkLinux only supported shared libraries with the
14566   # GNU dynamic linker.  Since this was broken with cross compilers,
14567   # most powerpc-linux boxes support dynamic linking these days and
14568   # people can always --disable-shared, the test was removed, and we
14569   # assume the GNU/Linux dynamic linker is in use.
14570   dynamic_linker='GNU/Linux ld.so'
14571   ;;
14572
14573 netbsd*)
14574   version_type=sunos
14575   need_lib_prefix=no
14576   need_version=no
14577   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14578     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580     dynamic_linker='NetBSD (a.out) ld.so'
14581   else
14582     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14583     soname_spec='${libname}${release}${shared_ext}$major'
14584     dynamic_linker='NetBSD ld.elf_so'
14585   fi
14586   shlibpath_var=LD_LIBRARY_PATH
14587   shlibpath_overrides_runpath=yes
14588   hardcode_into_libs=yes
14589   ;;
14590
14591 newsos6)
14592   version_type=linux
14593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594   shlibpath_var=LD_LIBRARY_PATH
14595   shlibpath_overrides_runpath=yes
14596   ;;
14597
14598 *nto* | *qnx*)
14599   version_type=qnx
14600   need_lib_prefix=no
14601   need_version=no
14602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603   soname_spec='${libname}${release}${shared_ext}$major'
14604   shlibpath_var=LD_LIBRARY_PATH
14605   shlibpath_overrides_runpath=no
14606   hardcode_into_libs=yes
14607   dynamic_linker='ldqnx.so'
14608   ;;
14609
14610 openbsd*)
14611   version_type=sunos
14612   sys_lib_dlsearch_path_spec="/usr/lib"
14613   need_lib_prefix=no
14614   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14615   case $host_os in
14616     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14617     *)                          need_version=no  ;;
14618   esac
14619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14620   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14621   shlibpath_var=LD_LIBRARY_PATH
14622   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14623     case $host_os in
14624       openbsd2.[89] | openbsd2.[89].*)
14625         shlibpath_overrides_runpath=no
14626         ;;
14627       *)
14628         shlibpath_overrides_runpath=yes
14629         ;;
14630       esac
14631   else
14632     shlibpath_overrides_runpath=yes
14633   fi
14634   ;;
14635
14636 os2*)
14637   libname_spec='$name'
14638   shrext_cmds=".dll"
14639   need_lib_prefix=no
14640   library_names_spec='$libname${shared_ext} $libname.a'
14641   dynamic_linker='OS/2 ld.exe'
14642   shlibpath_var=LIBPATH
14643   ;;
14644
14645 osf3* | osf4* | osf5*)
14646   version_type=osf
14647   need_lib_prefix=no
14648   need_version=no
14649   soname_spec='${libname}${release}${shared_ext}$major'
14650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651   shlibpath_var=LD_LIBRARY_PATH
14652   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14653   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14654   ;;
14655
14656 rdos*)
14657   dynamic_linker=no
14658   ;;
14659
14660 solaris*)
14661   version_type=linux
14662   need_lib_prefix=no
14663   need_version=no
14664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665   soname_spec='${libname}${release}${shared_ext}$major'
14666   shlibpath_var=LD_LIBRARY_PATH
14667   shlibpath_overrides_runpath=yes
14668   hardcode_into_libs=yes
14669   # ldd complains unless libraries are executable
14670   postinstall_cmds='chmod +x $lib'
14671   ;;
14672
14673 sunos4*)
14674   version_type=sunos
14675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14676   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14677   shlibpath_var=LD_LIBRARY_PATH
14678   shlibpath_overrides_runpath=yes
14679   if test "$with_gnu_ld" = yes; then
14680     need_lib_prefix=no
14681   fi
14682   need_version=yes
14683   ;;
14684
14685 sysv4 | sysv4.3*)
14686   version_type=linux
14687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688   soname_spec='${libname}${release}${shared_ext}$major'
14689   shlibpath_var=LD_LIBRARY_PATH
14690   case $host_vendor in
14691     sni)
14692       shlibpath_overrides_runpath=no
14693       need_lib_prefix=no
14694       runpath_var=LD_RUN_PATH
14695       ;;
14696     siemens)
14697       need_lib_prefix=no
14698       ;;
14699     motorola)
14700       need_lib_prefix=no
14701       need_version=no
14702       shlibpath_overrides_runpath=no
14703       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14704       ;;
14705   esac
14706   ;;
14707
14708 sysv4*MP*)
14709   if test -d /usr/nec ;then
14710     version_type=linux
14711     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14712     soname_spec='$libname${shared_ext}.$major'
14713     shlibpath_var=LD_LIBRARY_PATH
14714   fi
14715   ;;
14716
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14718   version_type=freebsd-elf
14719   need_lib_prefix=no
14720   need_version=no
14721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14722   soname_spec='${libname}${release}${shared_ext}$major'
14723   shlibpath_var=LD_LIBRARY_PATH
14724   shlibpath_overrides_runpath=yes
14725   hardcode_into_libs=yes
14726   if test "$with_gnu_ld" = yes; then
14727     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14728   else
14729     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14730     case $host_os in
14731       sco3.2v5*)
14732         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14733         ;;
14734     esac
14735   fi
14736   sys_lib_dlsearch_path_spec='/usr/lib'
14737   ;;
14738
14739 tpf*)
14740   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14741   version_type=linux
14742   need_lib_prefix=no
14743   need_version=no
14744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745   shlibpath_var=LD_LIBRARY_PATH
14746   shlibpath_overrides_runpath=no
14747   hardcode_into_libs=yes
14748   ;;
14749
14750 uts4*)
14751   version_type=linux
14752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753   soname_spec='${libname}${release}${shared_ext}$major'
14754   shlibpath_var=LD_LIBRARY_PATH
14755   ;;
14756
14757 *)
14758   dynamic_linker=no
14759   ;;
14760 esac
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14762 $as_echo "$dynamic_linker" >&6; }
14763 test "$dynamic_linker" = no && can_build_shared=no
14764
14765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14768 fi
14769
14770 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14771   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14772 fi
14773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14774   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14775 fi
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14816 hardcode_action_CXX=
14817 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14818    test -n "$runpath_var_CXX" ||
14819    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14820
14821   # We can hardcode non-existent directories.
14822   if test "$hardcode_direct_CXX" != no &&
14823      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14824      # have to relink, otherwise we might link with an installed library
14825      # when we should be linking with a yet-to-be-installed one
14826      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14827      test "$hardcode_minus_L_CXX" != no; then
14828     # Linking always hardcodes the temporary library directory.
14829     hardcode_action_CXX=relink
14830   else
14831     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832     hardcode_action_CXX=immediate
14833   fi
14834 else
14835   # We cannot hardcode anything, or else we can only hardcode existing
14836   # directories.
14837   hardcode_action_CXX=unsupported
14838 fi
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14840 $as_echo "$hardcode_action_CXX" >&6; }
14841
14842 if test "$hardcode_action_CXX" = relink ||
14843    test "$inherit_rpath_CXX" = yes; then
14844   # Fast installation is not supported
14845   enable_fast_install=no
14846 elif test "$shlibpath_overrides_runpath" = yes ||
14847      test "$enable_shared" = no; then
14848   # Fast installation is not necessary
14849   enable_fast_install=needless
14850 fi
14851
14852
14853
14854
14855
14856
14857
14858   fi # test -n "$compiler"
14859
14860   CC=$lt_save_CC
14861   LDCXX=$LD
14862   LD=$lt_save_LD
14863   GCC=$lt_save_GCC
14864   with_gnu_ld=$lt_save_with_gnu_ld
14865   lt_cv_path_LDCXX=$lt_cv_path_LD
14866   lt_cv_path_LD=$lt_save_path_LD
14867   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14868   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14869 fi # test "$_lt_caught_CXX_error" != yes
14870
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889         ac_config_commands="$ac_config_commands libtool"
14890
14891
14892
14893
14894 # Only expand once:
14895
14896
14897
14898
14899
14900 case $host in
14901   *-cygwin* | *-mingw*)
14902     # 'host' will be top-level target in the case of a target lib,
14903     # we must compare to with_cross_host to decide if this is a native
14904     # or cross-compiler and select where to install dlls appropriately.
14905     if test -n "$with_cross_host" &&
14906         test x"$with_cross_host" != x"no"; then
14907       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14908     else
14909       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14910     fi
14911     ;;
14912   *)
14913     lt_host_flags=
14914     ;;
14915 esac
14916
14917
14918
14919
14920
14921
14922 if test "$enable_vtable_verify" = yes; then
14923   predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14924   postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14925 fi
14926
14927
14928 # libtool variables for C++ shared and position-independent compiles.
14929 #
14930 # Use glibcxx_lt_pic_flag to designate the automake variable
14931 # used to encapsulate the default libtool approach to creating objects
14932 # with position-independent code. Default: -prefer-pic.
14933 #
14934 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14935 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14936 #
14937 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14938 # creating position-independent objects. This varies with the target
14939 # hardware and operating system, but is often: -DPIC -fPIC.
14940 if test "$enable_shared" = yes; then
14941   glibcxx_lt_pic_flag="-prefer-pic"
14942   glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14943   glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14944
14945 else
14946   glibcxx_lt_pic_flag=
14947   glibcxx_compiler_pic_flag=
14948   glibcxx_compiler_shared_flag=
14949 fi
14950
14951
14952
14953
14954 # Override the libtool's pic_flag and pic_mode.
14955 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14956 # NB: this impacts --with-pic and --without-pic.
14957 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14958 pic_mode='default'
14959
14960 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14961 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14962
14963 # Possibly disable most of the library.
14964 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14965 ## than just ignoring the results.  Faster /and/ more correct, win win.
14966
14967   # Check whether --enable-hosted-libstdcxx was given.
14968 if test "${enable_hosted_libstdcxx+set}" = set; then :
14969   enableval=$enable_hosted_libstdcxx;
14970 else
14971   case "$host" in
14972         arm*-*-symbianelf*)
14973             enable_hosted_libstdcxx=no
14974             ;;
14975         *)
14976             enable_hosted_libstdcxx=yes
14977             ;;
14978      esac
14979 fi
14980
14981   if test "$enable_hosted_libstdcxx" = no; then
14982     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14983 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14984     is_hosted=no
14985     hosted_define=0
14986     enable_abi_check=no
14987     enable_libstdcxx_pch=no
14988   else
14989     is_hosted=yes
14990     hosted_define=1
14991   fi
14992
14993
14994 cat >>confdefs.h <<_ACEOF
14995 #define _GLIBCXX_HOSTED $hosted_define
14996 _ACEOF
14997
14998
14999
15000 # Enable descriptive messages to standard output on termination.
15001
15002   # Check whether --enable-libstdcxx-verbose was given.
15003 if test "${enable_libstdcxx_verbose+set}" = set; then :
15004   enableval=$enable_libstdcxx_verbose;
15005 else
15006   enable_libstdcxx_verbose=yes
15007 fi
15008
15009   if test x"$enable_libstdcxx_verbose" = xyes; then
15010     verbose_define=1
15011   else
15012     { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15013 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15014     verbose_define=0
15015   fi
15016
15017 cat >>confdefs.h <<_ACEOF
15018 #define _GLIBCXX_VERBOSE $verbose_define
15019 _ACEOF
15020
15021
15022
15023 # Enable compiler support that doesn't require linking.
15024
15025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15026 $as_echo_n "checking for exception model to use... " >&6; }
15027
15028   ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15033
15034    # Check whether --enable-sjlj-exceptions was given.
15035 if test "${enable_sjlj_exceptions+set}" = set; then :
15036   enableval=$enable_sjlj_exceptions;
15037       case "$enableval" in
15038        yes|no|auto) ;;
15039        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15040                         esac
15041
15042 else
15043   enable_sjlj_exceptions=auto
15044 fi
15045
15046
15047
15048   if test $enable_sjlj_exceptions = auto; then
15049     # Botheration.  Now we've got to detect the exception model.  Link tests
15050     # against libgcc.a are problematic since we've not been given proper -L
15051     # bits for single-tree newlib and libgloss.
15052     #
15053     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
15054     cat > conftest.$ac_ext << EOF
15055 #line 15055 "configure"
15056 struct S { ~S(); };
15057 void bar();
15058 void foo()
15059 {
15060   S s;
15061   bar();
15062 }
15063 EOF
15064     old_CXXFLAGS="$CXXFLAGS"
15065     CXXFLAGS=-S
15066     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067   (eval $ac_compile) 2>&5
15068   ac_status=$?
15069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070   test $ac_status = 0; }; then
15071       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15072         enable_sjlj_exceptions=yes
15073       elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15074         enable_sjlj_exceptions=yes
15075       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15076         enable_sjlj_exceptions=no
15077       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15078         enable_sjlj_exceptions=no
15079       fi
15080     fi
15081     CXXFLAGS="$old_CXXFLAGS"
15082     rm -f conftest*
15083   fi
15084
15085   # This is a tad weird, for hysterical raisins.  We have to map
15086   # enable/disable to two different models.
15087   case $enable_sjlj_exceptions in
15088     yes)
15089
15090 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15091
15092       ac_exception_model_name=sjlj
15093       ;;
15094     no)
15095       ac_exception_model_name="call frame"
15096       ;;
15097     *)
15098       as_fn_error "unable to detect exception model" "$LINENO" 5
15099       ;;
15100   esac
15101  ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15106
15107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15108 $as_echo "$ac_exception_model_name" >&6; }
15109
15110
15111    # Check whether --enable-libstdcxx-pch was given.
15112 if test "${enable_libstdcxx_pch+set}" = set; then :
15113   enableval=$enable_libstdcxx_pch;
15114       case "$enableval" in
15115        yes|no) ;;
15116        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15117       esac
15118
15119 else
15120   enable_libstdcxx_pch=$is_hosted
15121 fi
15122
15123
15124   if test $enable_libstdcxx_pch = yes; then
15125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15126 $as_echo_n "checking for compiler with PCH support... " >&6; }
15127 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15128   $as_echo_n "(cached) " >&6
15129 else
15130   ac_save_CXXFLAGS="$CXXFLAGS"
15131        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15132
15133        ac_ext=cpp
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15138
15139        echo '#include <math.h>' > conftest.h
15140        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15141                           -o conftest.h.gch 1>&5 2>&1 &&
15142                 echo '#error "pch failed"' > conftest.h &&
15143           echo '#include "conftest.h"' > conftest.cc &&
15144                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15145        then
15146          glibcxx_cv_prog_CXX_pch=yes
15147        else
15148          glibcxx_cv_prog_CXX_pch=no
15149        fi
15150        rm -f conftest*
15151        CXXFLAGS=$ac_save_CXXFLAGS
15152        ac_ext=c
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15157
15158
15159 fi
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15161 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15162     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15163   fi
15164
15165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15166 $as_echo_n "checking for enabled PCH... " >&6; }
15167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15168 $as_echo "$enable_libstdcxx_pch" >&6; }
15169
15170
15171   if test $enable_libstdcxx_pch = yes; then
15172     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15173   else
15174     glibcxx_PCHFLAGS=""
15175   fi
15176
15177
15178
15179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15180 $as_echo_n "checking for thread model used by GCC... " >&6; }
15181   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15183 $as_echo "$target_thread_file" >&6; }
15184
15185 case $target_thread_file in
15186     aix)        thread_header=config/rs6000/gthr-aix.h ;;
15187     dce)        thread_header=config/pa/gthr-dce.h ;;
15188     lynx)       thread_header=config/gthr-lynx.h ;;
15189     mipssde)    thread_header=config/mips/gthr-mipssde.h ;;
15190     posix)      thread_header=gthr-posix.h ;;
15191     rtems)      thread_header=config/gthr-rtems.h ;;
15192     single)     thread_header=gthr-single.h ;;
15193     tpf)        thread_header=config/s390/gthr-tpf.h ;;
15194     vxworks)    thread_header=config/gthr-vxworks.h ;;
15195     win32)      thread_header=config/i386/gthr-win32.h ;;
15196 esac
15197
15198
15199
15200
15201
15202   ac_ext=cpp
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15207
15208   old_CXXFLAGS="$CXXFLAGS"
15209
15210   # Do link tests if possible, instead asm tests, limited to some platforms
15211   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15212   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15213   atomic_builtins_link_tests=no
15214   if test x$gcc_no_link != xyes; then
15215     # Can do link tests. Limit to some tested platforms
15216     case "$host" in
15217       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15218         atomic_builtins_link_tests=yes
15219         ;;
15220     esac
15221   fi
15222
15223   if test x$atomic_builtins_link_tests = xyes; then
15224
15225   # Do link tests.
15226
15227   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15228
15229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15230 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15231   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15232   $as_echo_n "(cached) " >&6
15233 else
15234
15235     if test x$gcc_no_link = xyes; then
15236   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15237 fi
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h.  */
15240
15241 int
15242 main ()
15243 {
15244 typedef bool atomic_type;
15245        atomic_type c1;
15246        atomic_type c2;
15247        atomic_type c3(0);
15248        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15249        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15250                                    __ATOMIC_RELAXED);
15251        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15252        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15253
15254   ;
15255   return 0;
15256 }
15257 _ACEOF
15258 if ac_fn_cxx_try_link "$LINENO"; then :
15259   glibcxx_cv_atomic_bool=yes
15260 else
15261   glibcxx_cv_atomic_bool=no
15262 fi
15263 rm -f core conftest.err conftest.$ac_objext \
15264     conftest$ac_exeext conftest.$ac_ext
15265
15266 fi
15267
15268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15269 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15270
15271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15272 $as_echo_n "checking for atomic builtins for short... " >&6; }
15273   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15274   $as_echo_n "(cached) " >&6
15275 else
15276
15277     if test x$gcc_no_link = xyes; then
15278   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15279 fi
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h.  */
15282
15283 int
15284 main ()
15285 {
15286 typedef short atomic_type;
15287        atomic_type c1;
15288        atomic_type c2;
15289        atomic_type c3(0);
15290        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15291        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15292                                    __ATOMIC_RELAXED);
15293        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15294        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15295
15296   ;
15297   return 0;
15298 }
15299 _ACEOF
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301   glibcxx_cv_atomic_short=yes
15302 else
15303   glibcxx_cv_atomic_short=no
15304 fi
15305 rm -f core conftest.err conftest.$ac_objext \
15306     conftest$ac_exeext conftest.$ac_ext
15307
15308 fi
15309
15310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15311 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15312
15313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15314 $as_echo_n "checking for atomic builtins for int... " >&6; }
15315   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15316   $as_echo_n "(cached) " >&6
15317 else
15318
15319     if test x$gcc_no_link = xyes; then
15320   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15321 fi
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h.  */
15324
15325 int
15326 main ()
15327 {
15328 typedef int atomic_type;
15329        atomic_type c1;
15330        atomic_type c2;
15331        atomic_type c3(0);
15332        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15333        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15334                                    __ATOMIC_RELAXED);
15335        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15336        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15337
15338   ;
15339   return 0;
15340 }
15341 _ACEOF
15342 if ac_fn_cxx_try_link "$LINENO"; then :
15343   glibcxx_cv_atomic_int=yes
15344 else
15345   glibcxx_cv_atomic_int=no
15346 fi
15347 rm -f core conftest.err conftest.$ac_objext \
15348     conftest$ac_exeext conftest.$ac_ext
15349
15350 fi
15351
15352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15353 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15354
15355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15356 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15357   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15358   $as_echo_n "(cached) " >&6
15359 else
15360
15361     if test x$gcc_no_link = xyes; then
15362   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15363 fi
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h.  */
15366
15367 int
15368 main ()
15369 {
15370 typedef long long atomic_type;
15371        atomic_type c1;
15372        atomic_type c2;
15373        atomic_type c3(0);
15374        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15375        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15376                                    __ATOMIC_RELAXED);
15377        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15378        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15379
15380   ;
15381   return 0;
15382 }
15383 _ACEOF
15384 if ac_fn_cxx_try_link "$LINENO"; then :
15385   glibcxx_cv_atomic_long_long=yes
15386 else
15387   glibcxx_cv_atomic_long_long=no
15388 fi
15389 rm -f core conftest.err conftest.$ac_objext \
15390     conftest$ac_exeext conftest.$ac_ext
15391
15392 fi
15393
15394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15395 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15396
15397   else
15398
15399   # Do asm tests.
15400
15401   # Compile unoptimized.
15402   CXXFLAGS='-O0 -S'
15403
15404   # Fake what AC_TRY_COMPILE does.
15405
15406     cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15409 {
15410   typedef bool atomic_type;
15411   atomic_type c1;
15412   atomic_type c2;
15413   atomic_type c3(0);
15414   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15415   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15416                               __ATOMIC_RELAXED);
15417   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15418   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15419
15420   return 0;
15421 }
15422 EOF
15423
15424     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15425 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15426     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15427   (eval $ac_compile) 2>&5
15428   ac_status=$?
15429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430   test $ac_status = 0; }; then
15431       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15432         glibcxx_cv_atomic_bool=no
15433       else
15434         glibcxx_cv_atomic_bool=yes
15435       fi
15436     fi
15437     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15438 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15439     rm -f conftest*
15440
15441     cat > conftest.$ac_ext << EOF
15442 #line 15442 "configure"
15443 int main()
15444 {
15445   typedef short atomic_type;
15446   atomic_type c1;
15447   atomic_type c2;
15448   atomic_type c3(0);
15449   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15450   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15451                               __ATOMIC_RELAXED);
15452   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15453   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15454
15455   return 0;
15456 }
15457 EOF
15458
15459     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15460 $as_echo_n "checking for atomic builtins for short... " >&6; }
15461     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15462   (eval $ac_compile) 2>&5
15463   ac_status=$?
15464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465   test $ac_status = 0; }; then
15466       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15467         glibcxx_cv_atomic_short=no
15468       else
15469         glibcxx_cv_atomic_short=yes
15470       fi
15471     fi
15472     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15473 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15474     rm -f conftest*
15475
15476     cat > conftest.$ac_ext << EOF
15477 #line 15477 "configure"
15478 int main()
15479 {
15480   // NB: _Atomic_word not necessarily int.
15481   typedef int atomic_type;
15482   atomic_type c1;
15483   atomic_type c2;
15484   atomic_type c3(0);
15485   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15486   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15487                               __ATOMIC_RELAXED);
15488   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15489   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15490
15491   return 0;
15492 }
15493 EOF
15494
15495     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15496 $as_echo_n "checking for atomic builtins for int... " >&6; }
15497     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498   (eval $ac_compile) 2>&5
15499   ac_status=$?
15500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501   test $ac_status = 0; }; then
15502       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15503         glibcxx_cv_atomic_int=no
15504       else
15505         glibcxx_cv_atomic_int=yes
15506       fi
15507     fi
15508     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15509 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15510     rm -f conftest*
15511
15512     cat > conftest.$ac_ext << EOF
15513 #line 15513 "configure"
15514 int main()
15515 {
15516   typedef long long atomic_type;
15517   atomic_type c1;
15518   atomic_type c2;
15519   atomic_type c3(0);
15520   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15521   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15522                               __ATOMIC_RELAXED);
15523   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15524   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15525
15526   return 0;
15527 }
15528 EOF
15529
15530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15531 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15532     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15533   (eval $ac_compile) 2>&5
15534   ac_status=$?
15535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536   test $ac_status = 0; }; then
15537       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15538         glibcxx_cv_atomic_long_long=no
15539       else
15540         glibcxx_cv_atomic_long_long=yes
15541       fi
15542     fi
15543     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15544 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15545     rm -f conftest*
15546
15547   fi
15548
15549   CXXFLAGS="$old_CXXFLAGS"
15550   ac_ext=c
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15555
15556
15557   # Set atomicity_dir to builtins if all but the long long test above passes.
15558   if test $glibcxx_cv_atomic_bool = yes \
15559      && test $glibcxx_cv_atomic_short = yes \
15560      && test $glibcxx_cv_atomic_int = yes; then
15561
15562 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15563
15564     atomicity_dir=cpu/generic/atomicity_builtins
15565   fi
15566
15567   # If still generic, set to mutex.
15568   if test $atomicity_dir = "cpu/generic" ; then
15569     atomicity_dir=cpu/generic/atomicity_mutex
15570     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15571 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15572       if test "x$target_thread_file" = xsingle; then
15573         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15574 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15575         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15576 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15577       else
15578         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15579 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15580         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15581 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15582       fi
15583   fi
15584
15585
15586
15587
15588   # Fake what AC_TRY_COMPILE does, without linking as this is
15589   # unnecessary for this test.
15590
15591     cat > conftest.$ac_ext << EOF
15592 #line 15592 "configure"
15593 int main()
15594 {
15595   _Decimal32 d1;
15596   _Decimal64 d2;
15597   _Decimal128 d3;
15598   return 0;
15599 }
15600 EOF
15601
15602     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15603 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15604     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15605   (eval $ac_compile) 2>&5
15606   ac_status=$?
15607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608   test $ac_status = 0; }; then
15609
15610 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15611
15612       enable_dfp=yes
15613     else
15614       enable_dfp=no
15615     fi
15616     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15617 $as_echo "$enable_dfp" >&6; }
15618     rm -f conftest*
15619
15620
15621
15622
15623   ac_ext=cpp
15624 ac_cpp='$CXXCPP $CPPFLAGS'
15625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15628
15629
15630   # Fake what AC_TRY_COMPILE does, without linking as this is
15631   # unnecessary for this test.
15632
15633     cat > conftest.$ac_ext << EOF
15634 #line 15634 "configure"
15635 template<typename T1, typename T2>
15636   struct same
15637   { typedef T2 type; };
15638
15639 template<typename T>
15640   struct same<T, T>;
15641
15642 int main()
15643 {
15644   typename same<long, __int128>::type                i1;
15645   typename same<long long, __int128>::type           i2;
15646 }
15647 EOF
15648
15649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15650 $as_echo_n "checking for __int128... " >&6; }
15651     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15652   (eval $ac_compile) 2>&5
15653   ac_status=$?
15654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15655   test $ac_status = 0; }; then
15656
15657 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15658
15659       enable_int128=yes
15660     else
15661       enable_int128=no
15662     fi
15663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15664 $as_echo "$enable_int128" >&6; }
15665     rm -f conftest*
15666
15667     cat > conftest.$ac_ext << EOF
15668 #line 15668 "configure"
15669 template<typename T1, typename T2>
15670   struct same
15671   { typedef T2 type; };
15672
15673 template<typename T>
15674   struct same<T, T>;
15675
15676 int main()
15677 {
15678   typename same<double, __float128>::type      f1;
15679   typename same<long double, __float128>::type f2;
15680 }
15681 EOF
15682
15683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15684 $as_echo_n "checking for __float128... " >&6; }
15685     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15686   (eval $ac_compile) 2>&5
15687   ac_status=$?
15688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15689   test $ac_status = 0; }; then
15690
15691 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15692
15693       enable_float128=yes
15694     else
15695       enable_float128=no
15696     fi
15697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15698 $as_echo "$enable_float128" >&6; }
15699     rm -f conftest*
15700
15701   ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15706
15707
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* | freebsd*)
15850         enable_clocale_flag=darwin
15851         ;;
15852       openbsd*)
15853         enable_clocale_flag=newlib
15854         ;;
15855       *)
15856         if test x"$with_newlib" = x"yes"; then
15857           enable_clocale_flag=newlib
15858         else
15859           enable_clocale_flag=generic
15860         fi
15861         ;;
15862     esac
15863   fi
15864
15865   # Sanity check model, and test for special functionality.
15866   if test $enable_clocale_flag = gnu; then
15867     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h.  */
15869
15870     #include <features.h>
15871     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15872       _GLIBCXX_ok
15873     #endif
15874
15875 _ACEOF
15876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15877   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15878   enable_clocale_flag=gnu
15879 else
15880   enable_clocale_flag=generic
15881 fi
15882 rm -f conftest*
15883
15884
15885     # Set it to scream when it hurts.
15886     ac_save_CFLAGS="$CFLAGS"
15887     CFLAGS="-Wimplicit-function-declaration -Werror"
15888
15889     # Use strxfrm_l if available.
15890     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h.  */
15892 #define _GNU_SOURCE 1
15893                     #include <string.h>
15894                     #include <locale.h>
15895 int
15896 main ()
15897 {
15898 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15899   ;
15900   return 0;
15901 }
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15904
15905 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15906
15907 fi
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909
15910     # Use strerror_l if available.
15911     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h.  */
15913 #define _GNU_SOURCE 1
15914                     #include <string.h>
15915                     #include <locale.h>
15916 int
15917 main ()
15918 {
15919 __locale_t loc; strerror_l(5, loc);
15920   ;
15921   return 0;
15922 }
15923 _ACEOF
15924 if ac_fn_c_try_compile "$LINENO"; then :
15925
15926 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15927
15928 fi
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15930
15931     CFLAGS="$ac_save_CFLAGS"
15932   fi
15933
15934   # Perhaps use strerror_r if available, and strerror_l isn't.
15935   ac_save_CFLAGS="$CFLAGS"
15936   CFLAGS="-Wimplicit-function-declaration -Werror"
15937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h.  */
15939 #define _GNU_SOURCE 1
15940                   #include <string.h>
15941                   #include <locale.h>
15942 int
15943 main ()
15944 {
15945 char s[128]; strerror_r(5, s, 128);
15946   ;
15947   return 0;
15948 }
15949 _ACEOF
15950 if ac_fn_c_try_compile "$LINENO"; then :
15951
15952 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15953
15954 fi
15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15956   CFLAGS="$ac_save_CFLAGS"
15957
15958   # Set configure bits for specified locale package
15959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15960 $as_echo_n "checking for C locale to use... " >&6; }
15961   case ${enable_clocale_flag} in
15962     generic)
15963       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15964 $as_echo "generic" >&6; }
15965
15966       CLOCALE_H=config/locale/generic/c_locale.h
15967       CLOCALE_CC=config/locale/generic/c_locale.cc
15968       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15969       CCOLLATE_CC=config/locale/generic/collate_members.cc
15970       CCTYPE_CC=config/locale/generic/ctype_members.cc
15971       CMESSAGES_H=config/locale/generic/messages_members.h
15972       CMESSAGES_CC=config/locale/generic/messages_members.cc
15973       CMONEY_CC=config/locale/generic/monetary_members.cc
15974       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15975       CTIME_H=config/locale/generic/time_members.h
15976       CTIME_CC=config/locale/generic/time_members.cc
15977       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15978       ;;
15979     darwin)
15980       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15981 $as_echo "darwin or freebsd" >&6; }
15982
15983       CLOCALE_H=config/locale/generic/c_locale.h
15984       CLOCALE_CC=config/locale/generic/c_locale.cc
15985       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986       CCOLLATE_CC=config/locale/generic/collate_members.cc
15987       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15988       CMESSAGES_H=config/locale/generic/messages_members.h
15989       CMESSAGES_CC=config/locale/generic/messages_members.cc
15990       CMONEY_CC=config/locale/generic/monetary_members.cc
15991       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992       CTIME_H=config/locale/generic/time_members.h
15993       CTIME_CC=config/locale/generic/time_members.cc
15994       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15995       ;;
15996
15997     gnu)
15998       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15999 $as_echo "gnu" >&6; }
16000
16001       # Declare intention to use gettext, and add support for specific
16002       # languages.
16003       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16004       ALL_LINGUAS="de fr"
16005
16006       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16007       # Extract the first word of "msgfmt", so it can be a program name with args.
16008 set dummy msgfmt; ac_word=$2
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16010 $as_echo_n "checking for $ac_word... " >&6; }
16011 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16012   $as_echo_n "(cached) " >&6
16013 else
16014   if test -n "$check_msgfmt"; then
16015   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16016 else
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH
16019 do
16020   IFS=$as_save_IFS
16021   test -z "$as_dir" && as_dir=.
16022     for ac_exec_ext in '' $ac_executable_extensions; do
16023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024     ac_cv_prog_check_msgfmt="yes"
16025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026     break 2
16027   fi
16028 done
16029   done
16030 IFS=$as_save_IFS
16031
16032   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16033 fi
16034 fi
16035 check_msgfmt=$ac_cv_prog_check_msgfmt
16036 if test -n "$check_msgfmt"; then
16037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16038 $as_echo "$check_msgfmt" >&6; }
16039 else
16040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16042 fi
16043
16044
16045       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16046         USE_NLS=yes
16047       fi
16048       # Export the build objects.
16049       for ling in $ALL_LINGUAS; do \
16050         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16051         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16052       done
16053
16054
16055
16056       CLOCALE_H=config/locale/gnu/c_locale.h
16057       CLOCALE_CC=config/locale/gnu/c_locale.cc
16058       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16059       CCOLLATE_CC=config/locale/gnu/collate_members.cc
16060       CCTYPE_CC=config/locale/gnu/ctype_members.cc
16061       CMESSAGES_H=config/locale/gnu/messages_members.h
16062       CMESSAGES_CC=config/locale/gnu/messages_members.cc
16063       CMONEY_CC=config/locale/gnu/monetary_members.cc
16064       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16065       CTIME_H=config/locale/gnu/time_members.h
16066       CTIME_CC=config/locale/gnu/time_members.cc
16067       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16068       ;;
16069     ieee_1003.1-2001)
16070       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16071 $as_echo "IEEE 1003.1" >&6; }
16072
16073       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16074       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16075       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16076       CCOLLATE_CC=config/locale/generic/collate_members.cc
16077       CCTYPE_CC=config/locale/generic/ctype_members.cc
16078       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16079       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16080       CMONEY_CC=config/locale/generic/monetary_members.cc
16081       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16082       CTIME_H=config/locale/generic/time_members.h
16083       CTIME_CC=config/locale/generic/time_members.cc
16084       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16085       ;;
16086     newlib)
16087       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16088 $as_echo "newlib" >&6; }
16089
16090       CLOCALE_H=config/locale/generic/c_locale.h
16091       CLOCALE_CC=config/locale/generic/c_locale.cc
16092       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16093       CCOLLATE_CC=config/locale/generic/collate_members.cc
16094       CCTYPE_CC=config/locale/newlib/ctype_members.cc
16095       CMESSAGES_H=config/locale/generic/messages_members.h
16096       CMESSAGES_CC=config/locale/generic/messages_members.cc
16097       CMONEY_CC=config/locale/generic/monetary_members.cc
16098       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16099       CTIME_H=config/locale/generic/time_members.h
16100       CTIME_CC=config/locale/generic/time_members.cc
16101       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16102       ;;
16103   esac
16104
16105   # This is where the testsuite looks for locale catalogs, using the
16106   # -DLOCALEDIR define during testsuite compilation.
16107   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16108
16109
16110   # A standalone libintl (e.g., GNU libintl) may be in use.
16111   if test $USE_NLS = yes; then
16112     for ac_header in libintl.h
16113 do :
16114   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16115 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16116   cat >>confdefs.h <<_ACEOF
16117 #define HAVE_LIBINTL_H 1
16118 _ACEOF
16119
16120 else
16121   USE_NLS=no
16122 fi
16123
16124 done
16125
16126     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16127 $as_echo_n "checking for library containing gettext... " >&6; }
16128 if test "${ac_cv_search_gettext+set}" = set; then :
16129   $as_echo_n "(cached) " >&6
16130 else
16131   ac_func_search_save_LIBS=$LIBS
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h.  */
16134
16135 /* Override any GCC internal prototype to avoid an error.
16136    Use char because int might match the return type of a GCC
16137    builtin and then its argument prototype would still apply.  */
16138 #ifdef __cplusplus
16139 extern "C"
16140 #endif
16141 char gettext ();
16142 int
16143 main ()
16144 {
16145 return gettext ();
16146   ;
16147   return 0;
16148 }
16149 _ACEOF
16150 for ac_lib in '' intl; do
16151   if test -z "$ac_lib"; then
16152     ac_res="none required"
16153   else
16154     ac_res=-l$ac_lib
16155     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16156   fi
16157   if test x$gcc_no_link = xyes; then
16158   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16159 fi
16160 if ac_fn_c_try_link "$LINENO"; then :
16161   ac_cv_search_gettext=$ac_res
16162 fi
16163 rm -f core conftest.err conftest.$ac_objext \
16164     conftest$ac_exeext
16165   if test "${ac_cv_search_gettext+set}" = set; then :
16166   break
16167 fi
16168 done
16169 if test "${ac_cv_search_gettext+set}" = set; then :
16170
16171 else
16172   ac_cv_search_gettext=no
16173 fi
16174 rm conftest.$ac_ext
16175 LIBS=$ac_func_search_save_LIBS
16176 fi
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16178 $as_echo "$ac_cv_search_gettext" >&6; }
16179 ac_res=$ac_cv_search_gettext
16180 if test "$ac_res" != no; then :
16181   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16182
16183 else
16184   USE_NLS=no
16185 fi
16186
16187   fi
16188   if test $USE_NLS = yes; then
16189
16190 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16191
16192   fi
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16210 $as_echo_n "checking for std::allocator base class... " >&6; }
16211    # Check whether --enable-libstdcxx-allocator was given.
16212 if test "${enable_libstdcxx_allocator+set}" = set; then :
16213   enableval=$enable_libstdcxx_allocator;
16214       case "$enableval" in
16215        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16216        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16217                         esac
16218
16219 else
16220   enable_libstdcxx_allocator=auto
16221 fi
16222
16223
16224
16225   # If they didn't use this option switch, or if they specified --enable
16226   # with no specific model, we'll have to look for one.  If they
16227   # specified --disable (???), do likewise.
16228   if test $enable_libstdcxx_allocator = no ||
16229      test $enable_libstdcxx_allocator = yes;
16230   then
16231      enable_libstdcxx_allocator=auto
16232   fi
16233
16234   # Either a known package, or "auto". Auto implies the default choice
16235   # for a particular platform.
16236   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16237
16238   # Probe for host-specific support if no specific model is specified.
16239   # Default to "new".
16240   if test $enable_libstdcxx_allocator_flag = auto; then
16241     case ${target_os} in
16242       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16243         enable_libstdcxx_allocator_flag=new
16244         ;;
16245       *)
16246         enable_libstdcxx_allocator_flag=new
16247         ;;
16248     esac
16249   fi
16250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16251 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16252
16253
16254   # Set configure bits for specified locale package
16255   case ${enable_libstdcxx_allocator_flag} in
16256     bitmap)
16257       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16258       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16259       ;;
16260     malloc)
16261       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16262       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16263       ;;
16264     mt)
16265       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16266       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16267       ;;
16268     new)
16269       ALLOCATOR_H=config/allocator/new_allocator_base.h
16270       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16271       ;;
16272     pool)
16273       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16274       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16275       ;;
16276   esac
16277
16278
16279
16280
16281
16282    # Check whether --enable-cheaders was given.
16283 if test "${enable_cheaders+set}" = set; then :
16284   enableval=$enable_cheaders;
16285       case "$enableval" in
16286        c|c_std|c_global) ;;
16287        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16288                         esac
16289
16290 else
16291   enable_cheaders=$c_model
16292 fi
16293
16294
16295   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16296 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16297
16298   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16299
16300   # Allow overrides to configure.host here.
16301   if test $enable_cheaders = c_global; then
16302      c_compatibility=yes
16303   fi
16304
16305
16306
16307
16308
16309
16310
16311    # Check whether --enable-long-long was given.
16312 if test "${enable_long_long+set}" = set; then :
16313   enableval=$enable_long_long;
16314       case "$enableval" in
16315        yes|no) ;;
16316        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16317       esac
16318
16319 else
16320   enable_long_long=yes
16321 fi
16322
16323
16324   if test $enable_long_long = yes; then
16325
16326 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16327
16328   fi
16329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16330 $as_echo_n "checking for enabled long long specializations... " >&6; }
16331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16332 $as_echo "$enable_long_long" >&6; }
16333
16334
16335    # Check whether --enable-wchar_t was given.
16336 if test "${enable_wchar_t+set}" = set; then :
16337   enableval=$enable_wchar_t;
16338       case "$enableval" in
16339        yes|no) ;;
16340        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16341       esac
16342
16343 else
16344   enable_wchar_t=yes
16345 fi
16346
16347
16348
16349   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16350   for ac_header in wchar.h
16351 do :
16352   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16353 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16354   cat >>confdefs.h <<_ACEOF
16355 #define HAVE_WCHAR_H 1
16356 _ACEOF
16357  ac_has_wchar_h=yes
16358 else
16359   ac_has_wchar_h=no
16360 fi
16361
16362 done
16363
16364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16365 $as_echo_n "checking for mbstate_t... " >&6; }
16366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h.  */
16368 #include <wchar.h>
16369 int
16370 main ()
16371 {
16372 mbstate_t teststate;
16373   ;
16374   return 0;
16375 }
16376 _ACEOF
16377 if ac_fn_c_try_compile "$LINENO"; then :
16378   have_mbstate_t=yes
16379 else
16380   have_mbstate_t=no
16381 fi
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16384 $as_echo "$have_mbstate_t" >&6; }
16385   if test x"$have_mbstate_t" = xyes; then
16386
16387 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16388
16389   fi
16390
16391   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16392   # ac_has_wchar_h.
16393   for ac_header in wctype.h
16394 do :
16395   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16397   cat >>confdefs.h <<_ACEOF
16398 #define HAVE_WCTYPE_H 1
16399 _ACEOF
16400  ac_has_wctype_h=yes
16401 else
16402   ac_has_wctype_h=no
16403 fi
16404
16405 done
16406
16407
16408   if test x"$enable_wchar_t" = x"yes"; then
16409
16410
16411     ac_ext=cpp
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16416
16417
16418     if test x"$ac_has_wchar_h" = xyes &&
16419        test x"$ac_has_wctype_h" = xyes; then
16420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h.  */
16422 #include <wchar.h>
16423                       #include <stddef.h>
16424                       wint_t i;
16425                       long l = WEOF;
16426                       long j = WCHAR_MIN;
16427                       long k = WCHAR_MAX;
16428                       namespace test
16429                       {
16430                         using ::btowc;
16431                         using ::fgetwc;
16432                         using ::fgetws;
16433                         using ::fputwc;
16434                         using ::fputws;
16435                         using ::fwide;
16436                         using ::fwprintf;
16437                         using ::fwscanf;
16438                         using ::getwc;
16439                         using ::getwchar;
16440                         using ::mbrlen;
16441                         using ::mbrtowc;
16442                         using ::mbsinit;
16443                         using ::mbsrtowcs;
16444                         using ::putwc;
16445                         using ::putwchar;
16446                         using ::swprintf;
16447                         using ::swscanf;
16448                         using ::ungetwc;
16449                         using ::vfwprintf;
16450                         using ::vswprintf;
16451                         using ::vwprintf;
16452                         using ::wcrtomb;
16453                         using ::wcscat;
16454                         using ::wcschr;
16455                         using ::wcscmp;
16456                         using ::wcscoll;
16457                         using ::wcscpy;
16458                         using ::wcscspn;
16459                         using ::wcsftime;
16460                         using ::wcslen;
16461                         using ::wcsncat;
16462                         using ::wcsncmp;
16463                         using ::wcsncpy;
16464                         using ::wcspbrk;
16465                         using ::wcsrchr;
16466                         using ::wcsrtombs;
16467                         using ::wcsspn;
16468                         using ::wcsstr;
16469                         using ::wcstod;
16470                         using ::wcstok;
16471                         using ::wcstol;
16472                         using ::wcstoul;
16473                         using ::wcsxfrm;
16474                         using ::wctob;
16475                         using ::wmemchr;
16476                         using ::wmemcmp;
16477                         using ::wmemcpy;
16478                         using ::wmemmove;
16479                         using ::wmemset;
16480                         using ::wprintf;
16481                         using ::wscanf;
16482                       }
16483
16484 int
16485 main ()
16486 {
16487
16488   ;
16489   return 0;
16490 }
16491 _ACEOF
16492 if ac_fn_cxx_try_compile "$LINENO"; then :
16493
16494 else
16495   enable_wchar_t=no
16496 fi
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498     else
16499       enable_wchar_t=no
16500     fi
16501
16502     ac_ext=c
16503 ac_cpp='$CPP $CPPFLAGS'
16504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16507
16508   fi
16509
16510   if test x"$enable_wchar_t" = x"yes"; then
16511
16512 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16513
16514   fi
16515
16516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16517 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16519 $as_echo "$enable_wchar_t" >&6; }
16520
16521
16522
16523    # Check whether --enable-c99 was given.
16524 if test "${enable_c99+set}" = set; then :
16525   enableval=$enable_c99;
16526       case "$enableval" in
16527        yes|no) ;;
16528        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16529       esac
16530
16531 else
16532   enable_c99=yes
16533 fi
16534
16535
16536
16537   if test x"$enable_c99" = x"yes"; then
16538
16539
16540   ac_ext=cpp
16541 ac_cpp='$CXXCPP $CPPFLAGS'
16542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16545
16546
16547   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16548   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16549   # spuriously enabled.
16550   # Long term, -std=c++0x could be even better, could manage to explicitely
16551   # request C99 facilities to the underlying C headers.
16552   ac_save_CXXFLAGS="$CXXFLAGS"
16553   CXXFLAGS="$CXXFLAGS -std=c++98"
16554   ac_save_LIBS="$LIBS"
16555   ac_save_gcc_no_link="$gcc_no_link"
16556
16557   if test x$gcc_no_link != xyes; then
16558     # Use -fno-exceptions to that the C driver can link these tests without
16559     # hitting undefined references to personality routines.
16560     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16562 $as_echo_n "checking for sin in -lm... " >&6; }
16563 if test "${ac_cv_lib_m_sin+set}" = set; then :
16564   $as_echo_n "(cached) " >&6
16565 else
16566   ac_check_lib_save_LIBS=$LIBS
16567 LIBS="-lm  $LIBS"
16568 if test x$gcc_no_link = xyes; then
16569   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16570 fi
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h.  */
16573
16574 /* Override any GCC internal prototype to avoid an error.
16575    Use char because int might match the return type of a GCC
16576    builtin and then its argument prototype would still apply.  */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 char sin ();
16581 int
16582 main ()
16583 {
16584 return sin ();
16585   ;
16586   return 0;
16587 }
16588 _ACEOF
16589 if ac_fn_cxx_try_link "$LINENO"; then :
16590   ac_cv_lib_m_sin=yes
16591 else
16592   ac_cv_lib_m_sin=no
16593 fi
16594 rm -f core conftest.err conftest.$ac_objext \
16595     conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_lib_save_LIBS
16597 fi
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16599 $as_echo "$ac_cv_lib_m_sin" >&6; }
16600 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16601
16602       LIBS="$LIBS -lm"
16603
16604 else
16605
16606       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16607       gcc_no_link=yes
16608
16609 fi
16610
16611   fi
16612
16613   # Check for the existence of <math.h> functions used if C99 is enabled.
16614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16615 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16616   if test "${glibcxx_cv_c99_math+set}" = set; then :
16617   $as_echo_n "(cached) " >&6
16618 else
16619
16620   if test x$gcc_no_link = xyes; then
16621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h.  */
16623 #include <math.h>
16624       volatile double d1, d2;
16625       volatile int i;
16626 int
16627 main ()
16628 {
16629 i = fpclassify(d1);
16630       i = isfinite(d1);
16631       i = isinf(d1);
16632       i = isnan(d1);
16633       i = isnormal(d1);
16634       i = signbit(d1);
16635       i = isgreater(d1, d2);
16636       i = isgreaterequal(d1, d2);
16637       i = isless(d1, d2);
16638       i = islessequal(d1, d2);
16639       i = islessgreater(d1, d2);
16640       i = islessgreater(d1, d2);
16641       i = isunordered(d1, d2);
16642
16643   ;
16644   return 0;
16645 }
16646 _ACEOF
16647 if ac_fn_cxx_try_compile "$LINENO"; then :
16648   glibcxx_cv_c99_math=yes
16649 else
16650   glibcxx_cv_c99_math=no
16651 fi
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 else
16654   if test x$gcc_no_link = xyes; then
16655   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16656 fi
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h.  */
16659 #include <math.h>
16660       volatile double d1, d2;
16661       volatile int i;
16662 int
16663 main ()
16664 {
16665 i = fpclassify(d1);
16666       i = isfinite(d1);
16667       i = isinf(d1);
16668       i = isnan(d1);
16669       i = isnormal(d1);
16670       i = signbit(d1);
16671       i = isgreater(d1, d2);
16672       i = isgreaterequal(d1, d2);
16673       i = isless(d1, d2);
16674       i = islessequal(d1, d2);
16675       i = islessgreater(d1, d2);
16676       i = islessgreater(d1, d2);
16677       i = isunordered(d1, d2);
16678
16679   ;
16680   return 0;
16681 }
16682 _ACEOF
16683 if ac_fn_cxx_try_link "$LINENO"; then :
16684   glibcxx_cv_c99_math=yes
16685 else
16686   glibcxx_cv_c99_math=no
16687 fi
16688 rm -f core conftest.err conftest.$ac_objext \
16689     conftest$ac_exeext conftest.$ac_ext
16690 fi
16691
16692 fi
16693
16694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16695 $as_echo "$glibcxx_cv_c99_math" >&6; }
16696   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16697
16698 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16699
16700   fi
16701
16702   # Check for the existence of <complex.h> complex math functions.
16703   # This is necessary even though libstdc++ uses the builtin versions
16704   # of these functions, because if the builtin cannot be used, a reference
16705   # to the library function is emitted.
16706   for ac_header in tgmath.h
16707 do :
16708   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16710   cat >>confdefs.h <<_ACEOF
16711 #define HAVE_TGMATH_H 1
16712 _ACEOF
16713  ac_has_tgmath_h=yes
16714 else
16715   ac_has_tgmath_h=no
16716 fi
16717
16718 done
16719
16720   for ac_header in complex.h
16721 do :
16722   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16723 if test "x$ac_cv_header_complex_h" = x""yes; then :
16724   cat >>confdefs.h <<_ACEOF
16725 #define HAVE_COMPLEX_H 1
16726 _ACEOF
16727  ac_has_complex_h=yes
16728 else
16729   ac_has_complex_h=no
16730 fi
16731
16732 done
16733
16734   glibcxx_cv_c99_complex=no;
16735   if test x"$ac_has_complex_h" = x"yes"; then
16736     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16737 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16738     if test x$gcc_no_link = xyes; then
16739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h.  */
16741 #include <complex.h>
16742         typedef __complex__ float float_type;
16743         typedef __complex__ double double_type;
16744         typedef __complex__ long double ld_type;
16745         volatile float_type tmpf;
16746         volatile double_type tmpd;
16747         volatile ld_type tmpld;
16748         volatile float f;
16749         volatile double d;
16750         volatile long double ld;
16751 int
16752 main ()
16753 {
16754 f = cabsf(tmpf);
16755         f = cargf(tmpf);
16756         tmpf = ccosf(tmpf);
16757         tmpf = ccoshf(tmpf);
16758         tmpf = cexpf(tmpf);
16759         tmpf = clogf(tmpf);
16760         tmpf = csinf(tmpf);
16761         tmpf = csinhf(tmpf);
16762         tmpf = csqrtf(tmpf);
16763         tmpf = ctanf(tmpf);
16764         tmpf = ctanhf(tmpf);
16765         tmpf = cpowf(tmpf, tmpf);
16766         tmpf = cprojf(tmpf);
16767         d = cabs(tmpd);
16768         d = carg(tmpd);
16769         tmpd = ccos(tmpd);
16770         tmpd = ccosh(tmpd);
16771         tmpd = cexp(tmpd);
16772         tmpd = clog(tmpd);
16773         tmpd = csin(tmpd);
16774         tmpd = csinh(tmpd);
16775         tmpd = csqrt(tmpd);
16776         tmpd = ctan(tmpd);
16777         tmpd = ctanh(tmpd);
16778         tmpd = cpow(tmpd, tmpd);
16779         tmpd = cproj(tmpd);
16780         ld = cabsl(tmpld);
16781         ld = cargl(tmpld);
16782         tmpld = ccosl(tmpld);
16783         tmpld = ccoshl(tmpld);
16784         tmpld = cexpl(tmpld);
16785         tmpld = clogl(tmpld);
16786         tmpld = csinl(tmpld);
16787         tmpld = csinhl(tmpld);
16788         tmpld = csqrtl(tmpld);
16789         tmpld = ctanl(tmpld);
16790         tmpld = ctanhl(tmpld);
16791         tmpld = cpowl(tmpld, tmpld);
16792         tmpld = cprojl(tmpld);
16793
16794   ;
16795   return 0;
16796 }
16797 _ACEOF
16798 if ac_fn_cxx_try_compile "$LINENO"; then :
16799   glibcxx_cv_c99_complex=yes
16800 else
16801   glibcxx_cv_c99_complex=no
16802 fi
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 else
16805   if test x$gcc_no_link = xyes; then
16806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16807 fi
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h.  */
16810 #include <complex.h>
16811         typedef __complex__ float float_type;
16812         typedef __complex__ double double_type;
16813         typedef __complex__ long double ld_type;
16814         volatile float_type tmpf;
16815         volatile double_type tmpd;
16816         volatile ld_type tmpld;
16817         volatile float f;
16818         volatile double d;
16819         volatile long double ld;
16820 int
16821 main ()
16822 {
16823 f = cabsf(tmpf);
16824         f = cargf(tmpf);
16825         tmpf = ccosf(tmpf);
16826         tmpf = ccoshf(tmpf);
16827         tmpf = cexpf(tmpf);
16828         tmpf = clogf(tmpf);
16829         tmpf = csinf(tmpf);
16830         tmpf = csinhf(tmpf);
16831         tmpf = csqrtf(tmpf);
16832         tmpf = ctanf(tmpf);
16833         tmpf = ctanhf(tmpf);
16834         tmpf = cpowf(tmpf, tmpf);
16835         tmpf = cprojf(tmpf);
16836         d = cabs(tmpd);
16837         d = carg(tmpd);
16838         tmpd = ccos(tmpd);
16839         tmpd = ccosh(tmpd);
16840         tmpd = cexp(tmpd);
16841         tmpd = clog(tmpd);
16842         tmpd = csin(tmpd);
16843         tmpd = csinh(tmpd);
16844         tmpd = csqrt(tmpd);
16845         tmpd = ctan(tmpd);
16846         tmpd = ctanh(tmpd);
16847         tmpd = cpow(tmpd, tmpd);
16848         tmpd = cproj(tmpd);
16849         ld = cabsl(tmpld);
16850         ld = cargl(tmpld);
16851         tmpld = ccosl(tmpld);
16852         tmpld = ccoshl(tmpld);
16853         tmpld = cexpl(tmpld);
16854         tmpld = clogl(tmpld);
16855         tmpld = csinl(tmpld);
16856         tmpld = csinhl(tmpld);
16857         tmpld = csqrtl(tmpld);
16858         tmpld = ctanl(tmpld);
16859         tmpld = ctanhl(tmpld);
16860         tmpld = cpowl(tmpld, tmpld);
16861         tmpld = cprojl(tmpld);
16862
16863   ;
16864   return 0;
16865 }
16866 _ACEOF
16867 if ac_fn_cxx_try_link "$LINENO"; then :
16868   glibcxx_cv_c99_complex=yes
16869 else
16870   glibcxx_cv_c99_complex=no
16871 fi
16872 rm -f core conftest.err conftest.$ac_objext \
16873     conftest$ac_exeext conftest.$ac_ext
16874 fi
16875   fi
16876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16877 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16878   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16879
16880 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16881
16882   fi
16883
16884   # Check for the existence in <stdio.h> of vscanf, et. al.
16885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16886 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16887   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16888   $as_echo_n "(cached) " >&6
16889 else
16890
16891   if test x$gcc_no_link = xyes; then
16892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h.  */
16894 #include <stdio.h>
16895       #include <stdarg.h>
16896       void foo(char* fmt, ...)
16897       {
16898         va_list args; va_start(args, fmt);
16899         vfscanf(stderr, "%i", args);
16900         vscanf("%i", args);
16901         vsnprintf(fmt, 0, "%i", args);
16902         vsscanf(fmt, "%i", args);
16903       }
16904 int
16905 main ()
16906 {
16907 snprintf("12", 0, "%i");
16908   ;
16909   return 0;
16910 }
16911 _ACEOF
16912 if ac_fn_cxx_try_compile "$LINENO"; then :
16913   glibcxx_cv_c99_stdio=yes
16914 else
16915   glibcxx_cv_c99_stdio=no
16916 fi
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918 else
16919   if test x$gcc_no_link = xyes; then
16920   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16921 fi
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h.  */
16924 #include <stdio.h>
16925       #include <stdarg.h>
16926       void foo(char* fmt, ...)
16927       {
16928         va_list args; va_start(args, fmt);
16929         vfscanf(stderr, "%i", args);
16930         vscanf("%i", args);
16931         vsnprintf(fmt, 0, "%i", args);
16932         vsscanf(fmt, "%i", args);
16933       }
16934 int
16935 main ()
16936 {
16937 snprintf("12", 0, "%i");
16938   ;
16939   return 0;
16940 }
16941 _ACEOF
16942 if ac_fn_cxx_try_link "$LINENO"; then :
16943   glibcxx_cv_c99_stdio=yes
16944 else
16945   glibcxx_cv_c99_stdio=no
16946 fi
16947 rm -f core conftest.err conftest.$ac_objext \
16948     conftest$ac_exeext conftest.$ac_ext
16949 fi
16950
16951 fi
16952
16953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16954 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16955
16956   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16958 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16959   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16960   $as_echo_n "(cached) " >&6
16961 else
16962
16963   if test x$gcc_no_link = xyes; then
16964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h.  */
16966 #include <stdlib.h>
16967       volatile float f;
16968       volatile long double ld;
16969       volatile unsigned long long ll;
16970       lldiv_t mydivt;
16971 int
16972 main ()
16973 {
16974 char* tmp;
16975       f = strtof("gnu", &tmp);
16976       ld = strtold("gnu", &tmp);
16977       ll = strtoll("gnu", &tmp, 10);
16978       ll = strtoull("gnu", &tmp, 10);
16979       ll = llabs(10);
16980       mydivt = lldiv(10,1);
16981       ll = mydivt.quot;
16982       ll = mydivt.rem;
16983       ll = atoll("10");
16984       _Exit(0);
16985
16986   ;
16987   return 0;
16988 }
16989 _ACEOF
16990 if ac_fn_cxx_try_compile "$LINENO"; then :
16991   glibcxx_cv_c99_stdlib=yes
16992 else
16993   glibcxx_cv_c99_stdlib=no
16994 fi
16995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 else
16997   if test x$gcc_no_link = xyes; then
16998   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16999 fi
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h.  */
17002 #include <stdlib.h>
17003       volatile float f;
17004       volatile long double ld;
17005       volatile unsigned long long ll;
17006       lldiv_t mydivt;
17007 int
17008 main ()
17009 {
17010 char* tmp;
17011       f = strtof("gnu", &tmp);
17012       ld = strtold("gnu", &tmp);
17013       ll = strtoll("gnu", &tmp, 10);
17014       ll = strtoull("gnu", &tmp, 10);
17015       ll = llabs(10);
17016       mydivt = lldiv(10,1);
17017       ll = mydivt.quot;
17018       ll = mydivt.rem;
17019       ll = atoll("10");
17020       _Exit(0);
17021
17022   ;
17023   return 0;
17024 }
17025 _ACEOF
17026 if ac_fn_cxx_try_link "$LINENO"; then :
17027   glibcxx_cv_c99_stdlib=yes
17028 else
17029   glibcxx_cv_c99_stdlib=no
17030 fi
17031 rm -f core conftest.err conftest.$ac_objext \
17032     conftest$ac_exeext conftest.$ac_ext
17033 fi
17034
17035 fi
17036
17037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17038 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17039
17040   # Check for the existence in <wchar.h> of wcstold, etc.
17041   glibcxx_cv_c99_wchar=no;
17042   if test x"$ac_has_wchar_h" = xyes &&
17043      test x"$ac_has_wctype_h" = xyes; then
17044     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17045 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17046     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h.  */
17048 #include <wchar.h>
17049                     namespace test
17050                     {
17051                       using ::wcstold;
17052                       using ::wcstoll;
17053                       using ::wcstoull;
17054                     }
17055
17056 int
17057 main ()
17058 {
17059
17060   ;
17061   return 0;
17062 }
17063 _ACEOF
17064 if ac_fn_cxx_try_compile "$LINENO"; then :
17065   glibcxx_cv_c99_wchar=yes
17066 else
17067   glibcxx_cv_c99_wchar=no
17068 fi
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070
17071     # Checks for wide character functions that may not be present.
17072     # Injection of these is wrapped with guard macros.
17073     # NB: only put functions here, instead of immediately above, if
17074     # absolutely necessary.
17075     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h.  */
17077 #include <wchar.h>
17078                     namespace test { using ::vfwscanf; }
17079 int
17080 main ()
17081 {
17082
17083   ;
17084   return 0;
17085 }
17086 _ACEOF
17087 if ac_fn_cxx_try_compile "$LINENO"; then :
17088
17089 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17090
17091 fi
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093
17094     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h.  */
17096 #include <wchar.h>
17097                     namespace test { using ::vswscanf; }
17098 int
17099 main ()
17100 {
17101
17102   ;
17103   return 0;
17104 }
17105 _ACEOF
17106 if ac_fn_cxx_try_compile "$LINENO"; then :
17107
17108 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17109
17110 fi
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17112
17113     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h.  */
17115 #include <wchar.h>
17116                     namespace test { using ::vwscanf; }
17117 int
17118 main ()
17119 {
17120
17121   ;
17122   return 0;
17123 }
17124 _ACEOF
17125 if ac_fn_cxx_try_compile "$LINENO"; then :
17126
17127 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17128
17129 fi
17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17131
17132     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h.  */
17134 #include <wchar.h>
17135                     namespace test { using ::wcstof; }
17136 int
17137 main ()
17138 {
17139
17140   ;
17141   return 0;
17142 }
17143 _ACEOF
17144 if ac_fn_cxx_try_compile "$LINENO"; then :
17145
17146 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17147
17148 fi
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150
17151     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h.  */
17153 #include <wctype.h>
17154 int
17155 main ()
17156 {
17157  wint_t t; int i = iswblank(t);
17158   ;
17159   return 0;
17160 }
17161 _ACEOF
17162 if ac_fn_cxx_try_compile "$LINENO"; then :
17163
17164 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17165
17166 fi
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17168
17169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17170 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17171   fi
17172
17173   # Option parsed, now set things appropriately.
17174   if test x"$glibcxx_cv_c99_math" = x"no" ||
17175      test x"$glibcxx_cv_c99_complex" = x"no" ||
17176      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17177      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17178      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17179     enable_c99=no;
17180   else
17181
17182 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17183
17184   fi
17185
17186   gcc_no_link="$ac_save_gcc_no_link"
17187   LIBS="$ac_save_LIBS"
17188   CXXFLAGS="$ac_save_CXXFLAGS"
17189   ac_ext=c
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17194
17195   fi
17196
17197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17198 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17200 $as_echo "$enable_c99" >&6; }
17201
17202
17203    # Check whether --enable-concept-checks was given.
17204 if test "${enable_concept_checks+set}" = set; then :
17205   enableval=$enable_concept_checks;
17206       case "$enableval" in
17207        yes|no) ;;
17208        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17209       esac
17210
17211 else
17212   enable_concept_checks=no
17213 fi
17214
17215
17216   if test $enable_concept_checks = yes; then
17217
17218 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17219
17220   fi
17221
17222
17223    # Check whether --enable-libstdcxx-debug-flags was given.
17224 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17225   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17226       xno | x)    enable_libstdcxx_debug_flags= ;;
17227       x-*)        ;;
17228       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17229      esac
17230 else
17231   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17232 fi
17233
17234
17235
17236   # Option parsed, now set things appropriately
17237   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17238
17239
17240   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17241 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17242
17243
17244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17245 $as_echo_n "checking for additional debug build... " >&6; }
17246    # Check whether --enable-libstdcxx-debug was given.
17247 if test "${enable_libstdcxx_debug+set}" = set; then :
17248   enableval=$enable_libstdcxx_debug;
17249       case "$enableval" in
17250        yes|no) ;;
17251        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17252       esac
17253
17254 else
17255   enable_libstdcxx_debug=no
17256 fi
17257
17258
17259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17260 $as_echo "$enable_libstdcxx_debug" >&6; }
17261
17262
17263
17264
17265   enable_parallel=no;
17266
17267   # See if configured libgomp/omp.h exists. (libgomp may be in
17268   # noconfigdirs but not explicitly disabled.)
17269   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17270     enable_parallel=yes;
17271   else
17272     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17273 $as_echo "$as_me: target-libgomp not built" >&6;}
17274   fi
17275
17276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17277 $as_echo_n "checking for parallel mode support... " >&6; }
17278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17279 $as_echo "$enable_parallel" >&6; }
17280
17281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17282 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17283    # Check whether --enable-cxx-flags was given.
17284 if test "${enable_cxx_flags+set}" = set; then :
17285   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17286       xno | x)   enable_cxx_flags= ;;
17287       x-*)       ;;
17288       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17289      esac
17290 else
17291   enable_cxx_flags=
17292 fi
17293
17294
17295
17296   # Run through flags (either default or command-line) and set anything
17297   # extra (e.g., #defines) that must accompany particular g++ options.
17298   if test -n "$enable_cxx_flags"; then
17299     for f in $enable_cxx_flags; do
17300       case "$f" in
17301         -fhonor-std)  ;;
17302         -*)  ;;
17303         *)   # and we're trying to pass /what/ exactly?
17304              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17305       esac
17306     done
17307   fi
17308
17309   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17311 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17312
17313
17314
17315    # Check whether --enable-fully-dynamic-string was given.
17316 if test "${enable_fully_dynamic_string+set}" = set; then :
17317   enableval=$enable_fully_dynamic_string;
17318       case "$enableval" in
17319        yes|no) ;;
17320        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17321       esac
17322
17323 else
17324   enable_fully_dynamic_string=no
17325 fi
17326
17327
17328   if test $enable_fully_dynamic_string = yes; then
17329     enable_fully_dynamic_string_def=1
17330   else
17331     enable_fully_dynamic_string_def=0
17332   fi
17333
17334 cat >>confdefs.h <<_ACEOF
17335 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17336 _ACEOF
17337
17338
17339
17340
17341    # Check whether --enable-extern-template was given.
17342 if test "${enable_extern_template+set}" = set; then :
17343   enableval=$enable_extern_template;
17344       case "$enableval" in
17345        yes|no) ;;
17346        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17347       esac
17348
17349 else
17350   enable_extern_template=yes
17351 fi
17352
17353
17354
17355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17356 $as_echo_n "checking for extern template support... " >&6; }
17357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17358 $as_echo "$enable_extern_template" >&6; }
17359
17360
17361
17362
17363
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17365 $as_echo_n "checking for custom python install directory... " >&6; }
17366
17367 # Check whether --with-python-dir was given.
17368 if test "${with_python_dir+set}" = set; then :
17369   withval=$with_python_dir; with_python_dir=$withval
17370 else
17371   with_python_dir="no"
17372 fi
17373
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17375 $as_echo "${with_python_dir}" >&6; }
17376
17377 # Needed for installing Python modules during make install.
17378 python_mod_dir="${with_python_dir}"
17379
17380
17381
17382
17383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17384 $as_echo_n "checking for -Werror... " >&6; }
17385    # Check whether --enable-werror was given.
17386 if test "${enable_werror+set}" = set; then :
17387   enableval=$enable_werror;
17388       case "$enableval" in
17389        yes|no) ;;
17390        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17391       esac
17392
17393 else
17394   enable_werror=yes
17395 fi
17396
17397
17398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17399 $as_echo "$enable_werror" >&6; }
17400
17401
17402
17403
17404    # Check whether --enable-vtable-verify was given.
17405 if test "${enable_vtable_verify+set}" = set; then :
17406   enableval=$enable_vtable_verify;
17407       case "$enableval" in
17408        yes|no) ;;
17409        *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17410       esac
17411
17412 else
17413   enable_vtable_verify=no
17414 fi
17415
17416
17417
17418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17419 $as_echo_n "checking for vtable verify support... " >&6; }
17420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17421 $as_echo "$enable_vtable_verify" >&6; }
17422
17423   if test $enable_vtable_verify = yes; then
17424     VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17425     VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17426     VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17427   else
17428     VTV_CXXFLAGS=
17429     VTV_PCH_CXXFLAGS=
17430     VTV_CXXLINKFLAGS=
17431   fi
17432
17433
17434
17435
17436
17437
17438
17439 # Checks for operating systems support that doesn't require linking.
17440
17441
17442
17443   ac_ext=cpp
17444 ac_cpp='$CXXCPP $CPPFLAGS'
17445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17448
17449
17450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17451 $as_echo_n "checking for gets declaration... " >&6; }
17452   if test "${glibcxx_cv_gets+set}" = set; then :
17453   $as_echo_n "(cached) " >&6
17454 else
17455
17456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h.  */
17458 #include <stdio.h>
17459            namespace test
17460            {
17461               using ::gets;
17462            }
17463
17464 _ACEOF
17465 if ac_fn_cxx_try_compile "$LINENO"; then :
17466   glibcxx_cv_gets=yes
17467 else
17468   glibcxx_cv_gets=no
17469
17470 fi
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 fi
17473
17474
17475   if test $glibcxx_cv_gets = yes; then
17476
17477 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17478
17479   fi
17480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17481 $as_echo "$glibcxx_cv_gets" >&6; }
17482
17483   ac_ext=c
17484 ac_cpp='$CPP $CPPFLAGS'
17485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17488
17489
17490
17491
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17493 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17494 if test "${glibcxx_cv_system_error1+set}" = set; then :
17495   $as_echo_n "(cached) " >&6
17496 else
17497
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h.  */
17500 #include <errno.h>
17501 int
17502 main ()
17503 {
17504 int i = EOWNERDEAD;
17505   ;
17506   return 0;
17507 }
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510   glibcxx_cv_system_error1=yes
17511 else
17512   glibcxx_cv_system_error1=no
17513 fi
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17515
17516 fi
17517
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17519 $as_echo "$glibcxx_cv_system_error1" >&6; }
17520 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17521
17522 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17523
17524 fi
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17526 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17527 if test "${glibcxx_cv_system_error2+set}" = set; then :
17528   $as_echo_n "(cached) " >&6
17529 else
17530
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h.  */
17533 #include <errno.h>
17534 int
17535 main ()
17536 {
17537 int i = ENOTRECOVERABLE;
17538   ;
17539   return 0;
17540 }
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543   glibcxx_cv_system_error2=yes
17544 else
17545   glibcxx_cv_system_error2=no
17546 fi
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548
17549 fi
17550
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17552 $as_echo "$glibcxx_cv_system_error2" >&6; }
17553 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17554
17555 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17556
17557 fi
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17559 $as_echo_n "checking for ENOLINK... " >&6; }
17560 if test "${glibcxx_cv_system_error3+set}" = set; then :
17561   $as_echo_n "(cached) " >&6
17562 else
17563
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h.  */
17566 #include <errno.h>
17567 int
17568 main ()
17569 {
17570 int i = ENOLINK;
17571   ;
17572   return 0;
17573 }
17574 _ACEOF
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576   glibcxx_cv_system_error3=yes
17577 else
17578   glibcxx_cv_system_error3=no
17579 fi
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581
17582 fi
17583
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17585 $as_echo "$glibcxx_cv_system_error3" >&6; }
17586 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17587
17588 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17589
17590 fi
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17592 $as_echo_n "checking for EPROTO... " >&6; }
17593 if test "${glibcxx_cv_system_error4+set}" = set; then :
17594   $as_echo_n "(cached) " >&6
17595 else
17596
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h.  */
17599 #include <errno.h>
17600 int
17601 main ()
17602 {
17603 int i = EPROTO;
17604   ;
17605   return 0;
17606 }
17607 _ACEOF
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609   glibcxx_cv_system_error4=yes
17610 else
17611   glibcxx_cv_system_error4=no
17612 fi
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17614
17615 fi
17616
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17618 $as_echo "$glibcxx_cv_system_error4" >&6; }
17619 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17620
17621 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17622
17623 fi
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17625 $as_echo_n "checking for ENODATA... " >&6; }
17626 if test "${glibcxx_cv_system_error5+set}" = set; then :
17627   $as_echo_n "(cached) " >&6
17628 else
17629
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h.  */
17632 #include <errno.h>
17633 int
17634 main ()
17635 {
17636 int i = ENODATA;
17637   ;
17638   return 0;
17639 }
17640 _ACEOF
17641 if ac_fn_c_try_compile "$LINENO"; then :
17642   glibcxx_cv_system_error5=yes
17643 else
17644   glibcxx_cv_system_error5=no
17645 fi
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647
17648 fi
17649
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17651 $as_echo "$glibcxx_cv_system_error5" >&6; }
17652 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17653
17654 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17655
17656 fi
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17658 $as_echo_n "checking for ENOSR... " >&6; }
17659 if test "${glibcxx_cv_system_error6+set}" = set; then :
17660   $as_echo_n "(cached) " >&6
17661 else
17662
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h.  */
17665 #include <errno.h>
17666 int
17667 main ()
17668 {
17669 int i = ENOSR;
17670   ;
17671   return 0;
17672 }
17673 _ACEOF
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675   glibcxx_cv_system_error6=yes
17676 else
17677   glibcxx_cv_system_error6=no
17678 fi
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17680
17681 fi
17682
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17684 $as_echo "$glibcxx_cv_system_error6" >&6; }
17685 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17686
17687 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17688
17689 fi
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17691 $as_echo_n "checking for ENOSTR... " >&6; }
17692 if test "${glibcxx_cv_system_error7+set}" = set; then :
17693   $as_echo_n "(cached) " >&6
17694 else
17695
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h.  */
17698 #include <errno.h>
17699 int
17700 main ()
17701 {
17702 int i = ENOSTR;
17703   ;
17704   return 0;
17705 }
17706 _ACEOF
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708   glibcxx_cv_system_error7=yes
17709 else
17710   glibcxx_cv_system_error7=no
17711 fi
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713
17714 fi
17715
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17717 $as_echo "$glibcxx_cv_system_error7" >&6; }
17718 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17719
17720 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17721
17722 fi
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17724 $as_echo_n "checking for ETIME... " >&6; }
17725 if test "${glibcxx_cv_system_error8+set}" = set; then :
17726   $as_echo_n "(cached) " >&6
17727 else
17728
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h.  */
17731 #include <errno.h>
17732 int
17733 main ()
17734 {
17735 int i = ETIME;
17736   ;
17737   return 0;
17738 }
17739 _ACEOF
17740 if ac_fn_c_try_compile "$LINENO"; then :
17741   glibcxx_cv_system_error8=yes
17742 else
17743   glibcxx_cv_system_error8=no
17744 fi
17745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17746
17747 fi
17748
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17750 $as_echo "$glibcxx_cv_system_error8" >&6; }
17751 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17752
17753 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17754
17755 fi
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17757 $as_echo_n "checking for EBADMSG... " >&6; }
17758 if test "${glibcxx_cv_system_error9+set}" = set; then :
17759   $as_echo_n "(cached) " >&6
17760 else
17761
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h.  */
17764 #include <errno.h>
17765 int
17766 main ()
17767 {
17768 int i = EBADMSG;
17769   ;
17770   return 0;
17771 }
17772 _ACEOF
17773 if ac_fn_c_try_compile "$LINENO"; then :
17774   glibcxx_cv_system_error9=yes
17775 else
17776   glibcxx_cv_system_error9=no
17777 fi
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779
17780 fi
17781
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17783 $as_echo "$glibcxx_cv_system_error9" >&6; }
17784 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17785
17786 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17787
17788 fi
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17790 $as_echo_n "checking for ECANCELED... " >&6; }
17791 if test "${glibcxx_cv_system_error10+set}" = set; then :
17792   $as_echo_n "(cached) " >&6
17793 else
17794
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h.  */
17797 #include <errno.h>
17798 int
17799 main ()
17800 {
17801 int i = ECANCELED;
17802   ;
17803   return 0;
17804 }
17805 _ACEOF
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807   glibcxx_cv_system_error10=yes
17808 else
17809   glibcxx_cv_system_error10=no
17810 fi
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812
17813 fi
17814
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17816 $as_echo "$glibcxx_cv_system_error10" >&6; }
17817 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17818
17819 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17820
17821 fi
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17823 $as_echo_n "checking for EOVERFLOW... " >&6; }
17824 if test "${glibcxx_cv_system_error11+set}" = set; then :
17825   $as_echo_n "(cached) " >&6
17826 else
17827
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h.  */
17830 #include <errno.h>
17831 int
17832 main ()
17833 {
17834 int i = EOVERFLOW;
17835   ;
17836   return 0;
17837 }
17838 _ACEOF
17839 if ac_fn_c_try_compile "$LINENO"; then :
17840   glibcxx_cv_system_error11=yes
17841 else
17842   glibcxx_cv_system_error11=no
17843 fi
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17845
17846 fi
17847
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17849 $as_echo "$glibcxx_cv_system_error11" >&6; }
17850 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17851
17852 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17853
17854 fi
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17856 $as_echo_n "checking for ENOTSUP... " >&6; }
17857 if test "${glibcxx_cv_system_error12+set}" = set; then :
17858   $as_echo_n "(cached) " >&6
17859 else
17860
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h.  */
17863 #include <errno.h>
17864 int
17865 main ()
17866 {
17867 int i = ENOTSUP;
17868   ;
17869   return 0;
17870 }
17871 _ACEOF
17872 if ac_fn_c_try_compile "$LINENO"; then :
17873   glibcxx_cv_system_error12=yes
17874 else
17875   glibcxx_cv_system_error12=no
17876 fi
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878
17879 fi
17880
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17882 $as_echo "$glibcxx_cv_system_error12" >&6; }
17883 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17884
17885 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17886
17887 fi
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17889 $as_echo_n "checking for EIDRM... " >&6; }
17890 if test "${glibcxx_cv_system_error13+set}" = set; then :
17891   $as_echo_n "(cached) " >&6
17892 else
17893
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h.  */
17896 #include <errno.h>
17897 int
17898 main ()
17899 {
17900 int i = EIDRM;
17901   ;
17902   return 0;
17903 }
17904 _ACEOF
17905 if ac_fn_c_try_compile "$LINENO"; then :
17906   glibcxx_cv_system_error13=yes
17907 else
17908   glibcxx_cv_system_error13=no
17909 fi
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911
17912 fi
17913
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17915 $as_echo "$glibcxx_cv_system_error13" >&6; }
17916 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17917
17918 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17919
17920 fi
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17922 $as_echo_n "checking for ETXTBSY... " >&6; }
17923 if test "${glibcxx_cv_system_error14+set}" = set; then :
17924   $as_echo_n "(cached) " >&6
17925 else
17926
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h.  */
17929 #include <errno.h>
17930 int
17931 main ()
17932 {
17933 int i = ETXTBSY;
17934   ;
17935   return 0;
17936 }
17937 _ACEOF
17938 if ac_fn_c_try_compile "$LINENO"; then :
17939   glibcxx_cv_system_error14=yes
17940 else
17941   glibcxx_cv_system_error14=no
17942 fi
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944
17945 fi
17946
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17948 $as_echo "$glibcxx_cv_system_error14" >&6; }
17949 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17950
17951 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17952
17953 fi
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17955 $as_echo_n "checking for ECHILD... " >&6; }
17956 if test "${glibcxx_cv_system_error15+set}" = set; then :
17957   $as_echo_n "(cached) " >&6
17958 else
17959
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h.  */
17962 #include <errno.h>
17963 int
17964 main ()
17965 {
17966 int i = ECHILD;
17967   ;
17968   return 0;
17969 }
17970 _ACEOF
17971 if ac_fn_c_try_compile "$LINENO"; then :
17972   glibcxx_cv_system_error15=yes
17973 else
17974   glibcxx_cv_system_error15=no
17975 fi
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977
17978 fi
17979
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17981 $as_echo "$glibcxx_cv_system_error15" >&6; }
17982 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17983
17984 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17985
17986 fi
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17988 $as_echo_n "checking for ENOSPC... " >&6; }
17989 if test "${glibcxx_cv_system_error16+set}" = set; then :
17990   $as_echo_n "(cached) " >&6
17991 else
17992
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h.  */
17995 #include <errno.h>
17996 int
17997 main ()
17998 {
17999 int i = ENOSPC;
18000   ;
18001   return 0;
18002 }
18003 _ACEOF
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005   glibcxx_cv_system_error16=yes
18006 else
18007   glibcxx_cv_system_error16=no
18008 fi
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18010
18011 fi
18012
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18014 $as_echo "$glibcxx_cv_system_error16" >&6; }
18015 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18016
18017 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18018
18019 fi
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18021 $as_echo_n "checking for EPERM... " >&6; }
18022 if test "${glibcxx_cv_system_error17+set}" = set; then :
18023   $as_echo_n "(cached) " >&6
18024 else
18025
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h.  */
18028 #include <errno.h>
18029 int
18030 main ()
18031 {
18032 int i = EPERM;
18033   ;
18034   return 0;
18035 }
18036 _ACEOF
18037 if ac_fn_c_try_compile "$LINENO"; then :
18038   glibcxx_cv_system_error17=yes
18039 else
18040   glibcxx_cv_system_error17=no
18041 fi
18042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18043
18044 fi
18045
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18047 $as_echo "$glibcxx_cv_system_error17" >&6; }
18048 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18049
18050 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18051
18052 fi
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18054 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18055 if test "${glibcxx_cv_system_error18+set}" = set; then :
18056   $as_echo_n "(cached) " >&6
18057 else
18058
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h.  */
18061 #include <errno.h>
18062 int
18063 main ()
18064 {
18065 int i = ETIMEDOUT;
18066   ;
18067   return 0;
18068 }
18069 _ACEOF
18070 if ac_fn_c_try_compile "$LINENO"; then :
18071   glibcxx_cv_system_error18=yes
18072 else
18073   glibcxx_cv_system_error18=no
18074 fi
18075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18076
18077 fi
18078
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18080 $as_echo "$glibcxx_cv_system_error18" >&6; }
18081 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18082
18083 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18084
18085 fi
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18087 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18088 if test "${glibcxx_cv_system_error19+set}" = set; then :
18089   $as_echo_n "(cached) " >&6
18090 else
18091
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h.  */
18094 #include <errno.h>
18095 int
18096 main ()
18097 {
18098 int i = EWOULDBLOCK;
18099   ;
18100   return 0;
18101 }
18102 _ACEOF
18103 if ac_fn_c_try_compile "$LINENO"; then :
18104   glibcxx_cv_system_error19=yes
18105 else
18106   glibcxx_cv_system_error19=no
18107 fi
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18109
18110 fi
18111
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18113 $as_echo "$glibcxx_cv_system_error19" >&6; }
18114 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18115
18116 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18117
18118 fi
18119
18120
18121
18122 # For the streamoff typedef.
18123
18124
18125
18126   ac_ext=cpp
18127 ac_cpp='$CXXCPP $CPPFLAGS'
18128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18131
18132
18133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18134 $as_echo_n "checking for int64_t... " >&6; }
18135   if test "${glibcxx_cv_INT64_T+set}" = set; then :
18136   $as_echo_n "(cached) " >&6
18137 else
18138
18139     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h.  */
18141 #include <stdint.h>
18142 int
18143 main ()
18144 {
18145 int64_t var;
18146   ;
18147   return 0;
18148 }
18149 _ACEOF
18150 if ac_fn_cxx_try_compile "$LINENO"; then :
18151   glibcxx_cv_INT64_T=yes
18152 else
18153   glibcxx_cv_INT64_T=no
18154 fi
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18156
18157 fi
18158
18159
18160   if test $glibcxx_cv_INT64_T = yes; then
18161
18162 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18163
18164     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18165 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18166
18167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18168 $as_echo_n "checking for int64_t as long... " >&6; }
18169     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18170   $as_echo_n "(cached) " >&6
18171 else
18172
18173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h.  */
18175 #include <stdint.h>
18176         template<typename, typename> struct same { enum { value = -1 }; };
18177         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18178         int array[same<int64_t, long>::value];
18179 int
18180 main ()
18181 {
18182
18183   ;
18184   return 0;
18185 }
18186 _ACEOF
18187 if ac_fn_cxx_try_compile "$LINENO"; then :
18188   glibcxx_cv_int64_t_long=yes
18189 else
18190   glibcxx_cv_int64_t_long=no
18191 fi
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18193
18194 fi
18195
18196
18197     if test $glibcxx_cv_int64_t_long = yes; then
18198
18199 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18200
18201       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18202 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18203     fi
18204
18205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18206 $as_echo_n "checking for int64_t as long long... " >&6; }
18207     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18208   $as_echo_n "(cached) " >&6
18209 else
18210
18211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h.  */
18213 #include <stdint.h>
18214         template<typename, typename> struct same { enum { value = -1 }; };
18215         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18216         int array[same<int64_t, long long>::value];
18217 int
18218 main ()
18219 {
18220
18221   ;
18222   return 0;
18223 }
18224 _ACEOF
18225 if ac_fn_cxx_try_compile "$LINENO"; then :
18226   glibcxx_cv_int64_t_long_long=yes
18227 else
18228   glibcxx_cv_int64_t_long_long=no
18229 fi
18230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18231
18232 fi
18233
18234
18235     if test $glibcxx_cv_int64_t_long_long = yes; then
18236
18237 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18238
18239       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18240 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18241     fi
18242   fi
18243
18244   ac_ext=c
18245 ac_cpp='$CPP $CPPFLAGS'
18246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18249
18250
18251
18252 # For LFS support.
18253
18254
18255   ac_ext=cpp
18256 ac_cpp='$CXXCPP $CPPFLAGS'
18257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18260
18261   ac_save_CXXFLAGS="$CXXFLAGS"
18262   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18264 $as_echo_n "checking for LFS support... " >&6; }
18265   if test "${glibcxx_cv_LFS+set}" = set; then :
18266   $as_echo_n "(cached) " >&6
18267 else
18268
18269     if test x$gcc_no_link = xyes; then
18270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h.  */
18272 #include <unistd.h>
18273        #include <stdio.h>
18274        #include <sys/stat.h>
18275
18276 int
18277 main ()
18278 {
18279 FILE* fp;
18280        fopen64("t", "w");
18281        fseeko64(fp, 0, SEEK_CUR);
18282        ftello64(fp);
18283        lseek64(1, 0, SEEK_CUR);
18284        struct stat64 buf;
18285        fstat64(1, &buf);
18286   ;
18287   return 0;
18288 }
18289 _ACEOF
18290 if ac_fn_cxx_try_compile "$LINENO"; then :
18291   glibcxx_cv_LFS=yes
18292 else
18293   glibcxx_cv_LFS=no
18294 fi
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 else
18297   if test x$gcc_no_link = xyes; then
18298   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18299 fi
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h.  */
18302 #include <unistd.h>
18303        #include <stdio.h>
18304        #include <sys/stat.h>
18305
18306 int
18307 main ()
18308 {
18309 FILE* fp;
18310        fopen64("t", "w");
18311        fseeko64(fp, 0, SEEK_CUR);
18312        ftello64(fp);
18313        lseek64(1, 0, SEEK_CUR);
18314        struct stat64 buf;
18315        fstat64(1, &buf);
18316   ;
18317   return 0;
18318 }
18319 _ACEOF
18320 if ac_fn_cxx_try_link "$LINENO"; then :
18321   glibcxx_cv_LFS=yes
18322 else
18323   glibcxx_cv_LFS=no
18324 fi
18325 rm -f core conftest.err conftest.$ac_objext \
18326     conftest$ac_exeext conftest.$ac_ext
18327 fi
18328
18329 fi
18330
18331   if test $glibcxx_cv_LFS = yes; then
18332
18333 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18334
18335   fi
18336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18337 $as_echo "$glibcxx_cv_LFS" >&6; }
18338   CXXFLAGS="$ac_save_CXXFLAGS"
18339   ac_ext=c
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18344
18345
18346
18347 # For showmanyc_helper().
18348 for ac_header in sys/ioctl.h sys/filio.h
18349 do :
18350   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18351 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18352 eval as_val=\$$as_ac_Header
18353    if test "x$as_val" = x""yes; then :
18354   cat >>confdefs.h <<_ACEOF
18355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18356 _ACEOF
18357
18358 fi
18359
18360 done
18361
18362
18363
18364
18365   ac_ext=cpp
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18370
18371   ac_save_CXXFLAGS="$CXXFLAGS"
18372   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18373
18374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18375 $as_echo_n "checking for poll... " >&6; }
18376   if test "${glibcxx_cv_POLL+set}" = set; then :
18377   $as_echo_n "(cached) " >&6
18378 else
18379
18380     if test x$gcc_no_link = xyes; then
18381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h.  */
18383 #include <poll.h>
18384 int
18385 main ()
18386 {
18387 struct pollfd pfd[1];
18388        pfd[0].events = POLLIN;
18389        poll(pfd, 1, 0);
18390   ;
18391   return 0;
18392 }
18393 _ACEOF
18394 if ac_fn_cxx_try_compile "$LINENO"; then :
18395   glibcxx_cv_POLL=yes
18396 else
18397   glibcxx_cv_POLL=no
18398 fi
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 else
18401   if test x$gcc_no_link = xyes; then
18402   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18403 fi
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h.  */
18406 #include <poll.h>
18407 int
18408 main ()
18409 {
18410 struct pollfd pfd[1];
18411        pfd[0].events = POLLIN;
18412        poll(pfd, 1, 0);
18413   ;
18414   return 0;
18415 }
18416 _ACEOF
18417 if ac_fn_cxx_try_link "$LINENO"; then :
18418   glibcxx_cv_POLL=yes
18419 else
18420   glibcxx_cv_POLL=no
18421 fi
18422 rm -f core conftest.err conftest.$ac_objext \
18423     conftest$ac_exeext conftest.$ac_ext
18424 fi
18425
18426 fi
18427
18428   if test $glibcxx_cv_POLL = yes; then
18429
18430 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18431
18432   fi
18433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18434 $as_echo "$glibcxx_cv_POLL" >&6; }
18435
18436   CXXFLAGS="$ac_save_CXXFLAGS"
18437   ac_ext=c
18438 ac_cpp='$CPP $CPPFLAGS'
18439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18442
18443
18444
18445
18446
18447   ac_ext=cpp
18448 ac_cpp='$CXXCPP $CPPFLAGS'
18449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18452
18453   ac_save_CXXFLAGS="$CXXFLAGS"
18454   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18455
18456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18457 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18458   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18459   $as_echo_n "(cached) " >&6
18460 else
18461
18462     if test x$gcc_no_link = xyes; then
18463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h.  */
18465 #include <sys/stat.h>
18466 int
18467 main ()
18468 {
18469 struct stat buffer;
18470        fstat(0, &buffer);
18471        S_ISREG(buffer.st_mode);
18472   ;
18473   return 0;
18474 }
18475 _ACEOF
18476 if ac_fn_cxx_try_compile "$LINENO"; then :
18477   glibcxx_cv_S_ISREG=yes
18478 else
18479   glibcxx_cv_S_ISREG=no
18480 fi
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482 else
18483   if test x$gcc_no_link = xyes; then
18484   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18485 fi
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h.  */
18488 #include <sys/stat.h>
18489 int
18490 main ()
18491 {
18492 struct stat buffer;
18493        fstat(0, &buffer);
18494        S_ISREG(buffer.st_mode);
18495   ;
18496   return 0;
18497 }
18498 _ACEOF
18499 if ac_fn_cxx_try_link "$LINENO"; then :
18500   glibcxx_cv_S_ISREG=yes
18501 else
18502   glibcxx_cv_S_ISREG=no
18503 fi
18504 rm -f core conftest.err conftest.$ac_objext \
18505     conftest$ac_exeext conftest.$ac_ext
18506 fi
18507
18508 fi
18509
18510   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18511   $as_echo_n "(cached) " >&6
18512 else
18513
18514     if test x$gcc_no_link = xyes; then
18515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h.  */
18517 #include <sys/stat.h>
18518 int
18519 main ()
18520 {
18521 struct stat buffer;
18522        fstat(0, &buffer);
18523        S_IFREG & buffer.st_mode;
18524   ;
18525   return 0;
18526 }
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529   glibcxx_cv_S_IFREG=yes
18530 else
18531   glibcxx_cv_S_IFREG=no
18532 fi
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 else
18535   if test x$gcc_no_link = xyes; then
18536   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18537 fi
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h.  */
18540 #include <sys/stat.h>
18541 int
18542 main ()
18543 {
18544 struct stat buffer;
18545        fstat(0, &buffer);
18546        S_IFREG & buffer.st_mode;
18547   ;
18548   return 0;
18549 }
18550 _ACEOF
18551 if ac_fn_cxx_try_link "$LINENO"; then :
18552   glibcxx_cv_S_IFREG=yes
18553 else
18554   glibcxx_cv_S_IFREG=no
18555 fi
18556 rm -f core conftest.err conftest.$ac_objext \
18557     conftest$ac_exeext conftest.$ac_ext
18558 fi
18559
18560 fi
18561
18562   res=no
18563   if test $glibcxx_cv_S_ISREG = yes; then
18564
18565 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18566
18567     res=S_ISREG
18568   elif test $glibcxx_cv_S_IFREG = yes; then
18569
18570 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18571
18572     res=S_IFREG
18573   fi
18574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18575 $as_echo "$res" >&6; }
18576
18577   CXXFLAGS="$ac_save_CXXFLAGS"
18578   ac_ext=c
18579 ac_cpp='$CPP $CPPFLAGS'
18580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18583
18584
18585
18586 # For xsputn_2().
18587 for ac_header in sys/uio.h
18588 do :
18589   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18590 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18591   cat >>confdefs.h <<_ACEOF
18592 #define HAVE_SYS_UIO_H 1
18593 _ACEOF
18594
18595 fi
18596
18597 done
18598
18599
18600
18601
18602   ac_ext=cpp
18603 ac_cpp='$CXXCPP $CPPFLAGS'
18604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18607
18608   ac_save_CXXFLAGS="$CXXFLAGS"
18609   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18610
18611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18612 $as_echo_n "checking for writev... " >&6; }
18613   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18614   $as_echo_n "(cached) " >&6
18615 else
18616
18617     if test x$gcc_no_link = xyes; then
18618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h.  */
18620 #include <sys/uio.h>
18621 int
18622 main ()
18623 {
18624 struct iovec iov[2];
18625        writev(0, iov, 0);
18626   ;
18627   return 0;
18628 }
18629 _ACEOF
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18631   glibcxx_cv_WRITEV=yes
18632 else
18633   glibcxx_cv_WRITEV=no
18634 fi
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 else
18637   if test x$gcc_no_link = xyes; then
18638   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18639 fi
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h.  */
18642 #include <sys/uio.h>
18643 int
18644 main ()
18645 {
18646 struct iovec iov[2];
18647        writev(0, iov, 0);
18648   ;
18649   return 0;
18650 }
18651 _ACEOF
18652 if ac_fn_cxx_try_link "$LINENO"; then :
18653   glibcxx_cv_WRITEV=yes
18654 else
18655   glibcxx_cv_WRITEV=no
18656 fi
18657 rm -f core conftest.err conftest.$ac_objext \
18658     conftest$ac_exeext conftest.$ac_ext
18659 fi
18660
18661 fi
18662
18663   if test $glibcxx_cv_WRITEV = yes; then
18664
18665 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18666
18667   fi
18668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18669 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18670
18671   CXXFLAGS="$ac_save_CXXFLAGS"
18672   ac_ext=c
18673 ac_cpp='$CPP $CPPFLAGS'
18674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18677
18678
18679
18680 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18681 # so that the check is done with the C compiler (not C++).
18682 # Checking with C++ can break a canadian cross build if either
18683 # file does not exist in C but does in C++.
18684 for ac_header in fenv.h complex.h
18685 do :
18686   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18687 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18688 eval as_val=\$$as_ac_Header
18689    if test "x$as_val" = x""yes; then :
18690   cat >>confdefs.h <<_ACEOF
18691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18692 _ACEOF
18693
18694 fi
18695
18696 done
18697
18698
18699 # For C99 support to TR1.
18700
18701
18702
18703   ac_ext=cpp
18704 ac_cpp='$CXXCPP $CPPFLAGS'
18705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18708
18709
18710   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18711   # undefined and fake C99 facilities may be spuriously enabled.
18712   ac_save_CXXFLAGS="$CXXFLAGS"
18713   CXXFLAGS="$CXXFLAGS -std=c++98"
18714
18715   # Check for the existence of <complex.h> complex math functions used
18716   # by tr1/complex.
18717   for ac_header in complex.h
18718 do :
18719   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18720 if test "x$ac_cv_header_complex_h" = x""yes; then :
18721   cat >>confdefs.h <<_ACEOF
18722 #define HAVE_COMPLEX_H 1
18723 _ACEOF
18724  ac_has_complex_h=yes
18725 else
18726   ac_has_complex_h=no
18727 fi
18728
18729 done
18730
18731   ac_c99_complex_tr1=no;
18732   if test x"$ac_has_complex_h" = x"yes"; then
18733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18734 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18735     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h.  */
18737 #include <complex.h>
18738 int
18739 main ()
18740 {
18741 typedef __complex__ float float_type; float_type tmpf;
18742                     cacosf(tmpf);
18743                     casinf(tmpf);
18744                     catanf(tmpf);
18745                     cacoshf(tmpf);
18746                     casinhf(tmpf);
18747                     catanhf(tmpf);
18748                     typedef __complex__ double double_type; double_type tmpd;
18749                     cacos(tmpd);
18750                     casin(tmpd);
18751                     catan(tmpd);
18752                     cacosh(tmpd);
18753                     casinh(tmpd);
18754                     catanh(tmpd);
18755                     typedef __complex__ long double ld_type; ld_type tmpld;
18756                     cacosl(tmpld);
18757                     casinl(tmpld);
18758                     catanl(tmpld);
18759                     cacoshl(tmpld);
18760                     casinhl(tmpld);
18761                     catanhl(tmpld);
18762
18763   ;
18764   return 0;
18765 }
18766 _ACEOF
18767 if ac_fn_cxx_try_compile "$LINENO"; then :
18768   ac_c99_complex_tr1=yes
18769 else
18770   ac_c99_complex_tr1=no
18771 fi
18772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18773   fi
18774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18775 $as_echo "$ac_c99_complex_tr1" >&6; }
18776   if test x"$ac_c99_complex_tr1" = x"yes"; then
18777
18778 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18779
18780   fi
18781
18782   # Check for the existence of <ctype.h> functions.
18783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18784 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18785   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18786   $as_echo_n "(cached) " >&6
18787 else
18788
18789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h.  */
18791 #include <ctype.h>
18792 int
18793 main ()
18794 {
18795 int ch;
18796                   int ret;
18797                   ret = isblank(ch);
18798
18799   ;
18800   return 0;
18801 }
18802 _ACEOF
18803 if ac_fn_cxx_try_compile "$LINENO"; then :
18804   glibcxx_cv_c99_ctype_tr1=yes
18805 else
18806   glibcxx_cv_c99_ctype_tr1=no
18807 fi
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18809
18810 fi
18811
18812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18813 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18814   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18815
18816 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18817
18818   fi
18819
18820   # Check for the existence of <fenv.h> functions.
18821   for ac_header in fenv.h
18822 do :
18823   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18824 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18825   cat >>confdefs.h <<_ACEOF
18826 #define HAVE_FENV_H 1
18827 _ACEOF
18828  ac_has_fenv_h=yes
18829 else
18830   ac_has_fenv_h=no
18831 fi
18832
18833 done
18834
18835   ac_c99_fenv_tr1=no;
18836   if test x"$ac_has_fenv_h" = x"yes"; then
18837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18838 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18839     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h.  */
18841 #include <fenv.h>
18842 int
18843 main ()
18844 {
18845 int except, mode;
18846                     fexcept_t* pflag;
18847                     fenv_t* penv;
18848                     int ret;
18849                     ret = feclearexcept(except);
18850                     ret = fegetexceptflag(pflag, except);
18851                     ret = feraiseexcept(except);
18852                     ret = fesetexceptflag(pflag, except);
18853                     ret = fetestexcept(except);
18854                     ret = fegetround();
18855                     ret = fesetround(mode);
18856                     ret = fegetenv(penv);
18857                     ret = feholdexcept(penv);
18858                     ret = fesetenv(penv);
18859                     ret = feupdateenv(penv);
18860
18861   ;
18862   return 0;
18863 }
18864 _ACEOF
18865 if ac_fn_cxx_try_compile "$LINENO"; then :
18866   ac_c99_fenv_tr1=yes
18867 else
18868   ac_c99_fenv_tr1=no
18869 fi
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871   fi
18872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18873 $as_echo "$ac_c99_fenv_tr1" >&6; }
18874   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18875
18876 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18877
18878   fi
18879
18880   # Check for the existence of <stdint.h> types.
18881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18882 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18883   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18884   $as_echo_n "(cached) " >&6
18885 else
18886
18887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h.  */
18889 #define __STDC_LIMIT_MACROS
18890                   #define __STDC_CONSTANT_MACROS
18891                   #include <stdint.h>
18892 int
18893 main ()
18894 {
18895 typedef int8_t          my_int8_t;
18896                   my_int8_t               i8 = INT8_MIN;
18897                   i8 = INT8_MAX;
18898                   typedef int16_t         my_int16_t;
18899                   my_int16_t              i16 = INT16_MIN;
18900                   i16 = INT16_MAX;
18901                   typedef int32_t         my_int32_t;
18902                   my_int32_t              i32 = INT32_MIN;
18903                   i32 = INT32_MAX;
18904                   typedef int64_t         my_int64_t;
18905                   my_int64_t              i64 = INT64_MIN;
18906                   i64 = INT64_MAX;
18907                   typedef int_fast8_t     my_int_fast8_t;
18908                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18909                   if8 = INT_FAST8_MAX;
18910                   typedef int_fast16_t    my_int_fast16_t;
18911                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18912                   if16 = INT_FAST16_MAX;
18913                   typedef int_fast32_t    my_int_fast32_t;
18914                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18915                   if32 = INT_FAST32_MAX;
18916                   typedef int_fast64_t    my_int_fast64_t;
18917                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18918                   if64 = INT_FAST64_MAX;
18919                   typedef int_least8_t    my_int_least8_t;
18920                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18921                   il8 = INT_LEAST8_MAX;
18922                   typedef int_least16_t   my_int_least16_t;
18923                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18924                   il16 = INT_LEAST16_MAX;
18925                   typedef int_least32_t   my_int_least32_t;
18926                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18927                   il32 = INT_LEAST32_MAX;
18928                   typedef int_least64_t   my_int_least64_t;
18929                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18930                   il64 = INT_LEAST64_MAX;
18931                   typedef intmax_t        my_intmax_t;
18932                   my_intmax_t             im = INTMAX_MAX;
18933                   im = INTMAX_MIN;
18934                   typedef intptr_t        my_intptr_t;
18935                   my_intptr_t             ip = INTPTR_MAX;
18936                   ip = INTPTR_MIN;
18937                   typedef uint8_t         my_uint8_t;
18938                   my_uint8_t              ui8 = UINT8_MAX;
18939                   ui8 = UINT8_MAX;
18940                   typedef uint16_t        my_uint16_t;
18941                   my_uint16_t             ui16 = UINT16_MAX;
18942                   ui16 = UINT16_MAX;
18943                   typedef uint32_t        my_uint32_t;
18944                   my_uint32_t             ui32 = UINT32_MAX;
18945                   ui32 = UINT32_MAX;
18946                   typedef uint64_t        my_uint64_t;
18947                   my_uint64_t             ui64 = UINT64_MAX;
18948                   ui64 = UINT64_MAX;
18949                   typedef uint_fast8_t    my_uint_fast8_t;
18950                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18951                   uif8 = UINT_FAST8_MAX;
18952                   typedef uint_fast16_t   my_uint_fast16_t;
18953                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18954                   uif16 = UINT_FAST16_MAX;
18955                   typedef uint_fast32_t   my_uint_fast32_t;
18956                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18957                   uif32 = UINT_FAST32_MAX;
18958                   typedef uint_fast64_t   my_uint_fast64_t;
18959                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18960                   uif64 = UINT_FAST64_MAX;
18961                   typedef uint_least8_t   my_uint_least8_t;
18962                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18963                   uil8 = UINT_LEAST8_MAX;
18964                   typedef uint_least16_t  my_uint_least16_t;
18965                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18966                   uil16 = UINT_LEAST16_MAX;
18967                   typedef uint_least32_t  my_uint_least32_t;
18968                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18969                   uil32 = UINT_LEAST32_MAX;
18970                   typedef uint_least64_t  my_uint_least64_t;
18971                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18972                   uil64 = UINT_LEAST64_MAX;
18973                   typedef uintmax_t       my_uintmax_t;
18974                   my_uintmax_t            uim = UINTMAX_MAX;
18975                   uim = UINTMAX_MAX;
18976                   typedef uintptr_t       my_uintptr_t;
18977                   my_uintptr_t            uip = UINTPTR_MAX;
18978                   uip = UINTPTR_MAX;
18979
18980   ;
18981   return 0;
18982 }
18983 _ACEOF
18984 if ac_fn_cxx_try_compile "$LINENO"; then :
18985   glibcxx_cv_c99_stdint_tr1=yes
18986 else
18987   glibcxx_cv_c99_stdint_tr1=no
18988 fi
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18990
18991 fi
18992
18993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18994 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18995   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18996
18997 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18998
18999   fi
19000
19001   # Check for the existence of <math.h> functions.
19002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19003 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19004   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19005   $as_echo_n "(cached) " >&6
19006 else
19007
19008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h.  */
19010 #include <math.h>
19011 int
19012 main ()
19013 {
19014 typedef double_t  my_double_t;
19015                   typedef float_t   my_float_t;
19016                   acosh(0.0);
19017                   acoshf(0.0f);
19018                   acoshl(0.0l);
19019                   asinh(0.0);
19020                   asinhf(0.0f);
19021                   asinhl(0.0l);
19022                   atanh(0.0);
19023                   atanhf(0.0f);
19024                   atanhl(0.0l);
19025                   cbrt(0.0);
19026                   cbrtf(0.0f);
19027                   cbrtl(0.0l);
19028                   copysign(0.0, 0.0);
19029                   copysignf(0.0f, 0.0f);
19030                   copysignl(0.0l, 0.0l);
19031                   erf(0.0);
19032                   erff(0.0f);
19033                   erfl(0.0l);
19034                   erfc(0.0);
19035                   erfcf(0.0f);
19036                   erfcl(0.0l);
19037                   exp2(0.0);
19038                   exp2f(0.0f);
19039                   exp2l(0.0l);
19040                   expm1(0.0);
19041                   expm1f(0.0f);
19042                   expm1l(0.0l);
19043                   fdim(0.0, 0.0);
19044                   fdimf(0.0f, 0.0f);
19045                   fdiml(0.0l, 0.0l);
19046                   fma(0.0, 0.0, 0.0);
19047                   fmaf(0.0f, 0.0f, 0.0f);
19048                   fmal(0.0l, 0.0l, 0.0l);
19049                   fmax(0.0, 0.0);
19050                   fmaxf(0.0f, 0.0f);
19051                   fmaxl(0.0l, 0.0l);
19052                   fmin(0.0, 0.0);
19053                   fminf(0.0f, 0.0f);
19054                   fminl(0.0l, 0.0l);
19055                   hypot(0.0, 0.0);
19056                   hypotf(0.0f, 0.0f);
19057                   hypotl(0.0l, 0.0l);
19058                   ilogb(0.0);
19059                   ilogbf(0.0f);
19060                   ilogbl(0.0l);
19061                   lgamma(0.0);
19062                   lgammaf(0.0f);
19063                   lgammal(0.0l);
19064                   llrint(0.0);
19065                   llrintf(0.0f);
19066                   llrintl(0.0l);
19067                   llround(0.0);
19068                   llroundf(0.0f);
19069                   llroundl(0.0l);
19070                   log1p(0.0);
19071                   log1pf(0.0f);
19072                   log1pl(0.0l);
19073                   log2(0.0);
19074                   log2f(0.0f);
19075                   log2l(0.0l);
19076                   logb(0.0);
19077                   logbf(0.0f);
19078                   logbl(0.0l);
19079                   lrint(0.0);
19080                   lrintf(0.0f);
19081                   lrintl(0.0l);
19082                   lround(0.0);
19083                   lroundf(0.0f);
19084                   lroundl(0.0l);
19085                   nan(0);
19086                   nanf(0);
19087                   nanl(0);
19088                   nearbyint(0.0);
19089                   nearbyintf(0.0f);
19090                   nearbyintl(0.0l);
19091                   nextafter(0.0, 0.0);
19092                   nextafterf(0.0f, 0.0f);
19093                   nextafterl(0.0l, 0.0l);
19094                   nexttoward(0.0, 0.0);
19095                   nexttowardf(0.0f, 0.0f);
19096                   nexttowardl(0.0l, 0.0l);
19097                   remainder(0.0, 0.0);
19098                   remainderf(0.0f, 0.0f);
19099                   remainderl(0.0l, 0.0l);
19100                   remquo(0.0, 0.0, 0);
19101                   remquof(0.0f, 0.0f, 0);
19102                   remquol(0.0l, 0.0l, 0);
19103                   rint(0.0);
19104                   rintf(0.0f);
19105                   rintl(0.0l);
19106                   round(0.0);
19107                   roundf(0.0f);
19108                   roundl(0.0l);
19109                   scalbln(0.0, 0l);
19110                   scalblnf(0.0f, 0l);
19111                   scalblnl(0.0l, 0l);
19112                   scalbn(0.0, 0);
19113                   scalbnf(0.0f, 0);
19114                   scalbnl(0.0l, 0);
19115                   tgamma(0.0);
19116                   tgammaf(0.0f);
19117                   tgammal(0.0l);
19118                   trunc(0.0);
19119                   truncf(0.0f);
19120                   truncl(0.0l);
19121
19122   ;
19123   return 0;
19124 }
19125 _ACEOF
19126 if ac_fn_cxx_try_compile "$LINENO"; then :
19127   glibcxx_cv_c99_math_tr1=yes
19128 else
19129   glibcxx_cv_c99_math_tr1=no
19130 fi
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19132
19133 fi
19134
19135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19136 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19137   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19138
19139 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19140
19141   fi
19142
19143   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19144   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19145   ac_c99_inttypes_tr1=no;
19146   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19148 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19149     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h.  */
19151 #include <inttypes.h>
19152 int
19153 main ()
19154 {
19155 intmax_t i, numer, denom, base;
19156                     const char* s;
19157                     char** endptr;
19158                     intmax_t ret = imaxabs(i);
19159                     imaxdiv_t dret = imaxdiv(numer, denom);
19160                     ret = strtoimax(s, endptr, base);
19161                     uintmax_t uret = strtoumax(s, endptr, base);
19162
19163   ;
19164   return 0;
19165 }
19166 _ACEOF
19167 if ac_fn_cxx_try_compile "$LINENO"; then :
19168   ac_c99_inttypes_tr1=yes
19169 else
19170   ac_c99_inttypes_tr1=no
19171 fi
19172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19173   fi
19174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19175 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19176   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19177
19178 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19179
19180   fi
19181
19182   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19183   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19184   ac_c99_inttypes_wchar_t_tr1=no;
19185   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19187 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19188     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19189 /* end confdefs.h.  */
19190 #include <inttypes.h>
19191 int
19192 main ()
19193 {
19194 intmax_t base;
19195                     const wchar_t* s;
19196                     wchar_t** endptr;
19197                     intmax_t ret = wcstoimax(s, endptr, base);
19198                     uintmax_t uret = wcstoumax(s, endptr, base);
19199
19200   ;
19201   return 0;
19202 }
19203 _ACEOF
19204 if ac_fn_cxx_try_compile "$LINENO"; then :
19205   ac_c99_inttypes_wchar_t_tr1=yes
19206 else
19207   ac_c99_inttypes_wchar_t_tr1=no
19208 fi
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210   fi
19211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19212 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19213   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19214
19215 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19216
19217   fi
19218
19219   # Check for the existence of the <stdbool.h> header.
19220   for ac_header in stdbool.h
19221 do :
19222   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19223 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19224   cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STDBOOL_H 1
19226 _ACEOF
19227
19228 fi
19229
19230 done
19231
19232
19233   # Check for the existence of the <stdalign.h> header.
19234   for ac_header in stdalign.h
19235 do :
19236   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19237 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19238   cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STDALIGN_H 1
19240 _ACEOF
19241
19242 fi
19243
19244 done
19245
19246
19247   CXXFLAGS="$ac_save_CXXFLAGS"
19248   ac_ext=c
19249 ac_cpp='$CPP $CPPFLAGS'
19250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19253
19254
19255
19256 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19257
19258
19259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19260 $as_echo_n "checking for the value of EOF... " >&6; }
19261 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19262   $as_echo_n "(cached) " >&6
19263 else
19264
19265   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19266
19267 else
19268   as_fn_error "computing EOF failed" "$LINENO" 5
19269 fi
19270
19271
19272 fi
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19274 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19275
19276 cat >>confdefs.h <<_ACEOF
19277 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19278 _ACEOF
19279
19280
19281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19282 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19283 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19284   $as_echo_n "(cached) " >&6
19285 else
19286
19287   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19288
19289 else
19290   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19291 fi
19292
19293
19294 fi
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19296 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19297
19298 cat >>confdefs.h <<_ACEOF
19299 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19300 _ACEOF
19301
19302
19303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19304 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19305 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19306   $as_echo_n "(cached) " >&6
19307 else
19308
19309   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19310
19311 else
19312   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19313 fi
19314
19315
19316 fi
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19318 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19319
19320 cat >>confdefs.h <<_ACEOF
19321 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19322 _ACEOF
19323
19324
19325
19326 # For gettimeofday support.
19327
19328
19329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19330 $as_echo_n "checking for gettimeofday... " >&6; }
19331
19332
19333   ac_ext=cpp
19334 ac_cpp='$CXXCPP $CPPFLAGS'
19335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19338
19339   ac_save_CXXFLAGS="$CXXFLAGS"
19340   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19341
19342   ac_has_gettimeofday=no;
19343   for ac_header in sys/time.h
19344 do :
19345   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19346 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19347   cat >>confdefs.h <<_ACEOF
19348 #define HAVE_SYS_TIME_H 1
19349 _ACEOF
19350  ac_has_sys_time_h=yes
19351 else
19352   ac_has_sys_time_h=no
19353 fi
19354
19355 done
19356
19357   if test x"$ac_has_sys_time_h" = x"yes"; then
19358     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19359 $as_echo_n "checking for gettimeofday... " >&6; }
19360     if test x$gcc_no_link = xyes; then
19361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h.  */
19363 #include <sys/time.h>
19364 int
19365 main ()
19366 {
19367 timeval tv; gettimeofday(&tv, 0);
19368   ;
19369   return 0;
19370 }
19371 _ACEOF
19372 if ac_fn_cxx_try_compile "$LINENO"; then :
19373   ac_has_gettimeofday=yes
19374 else
19375   ac_has_gettimeofday=no
19376 fi
19377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19378 else
19379   if test x$gcc_no_link = xyes; then
19380   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19381 fi
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h.  */
19384 #include <sys/time.h>
19385 int
19386 main ()
19387 {
19388 timeval tv; gettimeofday(&tv, 0);
19389   ;
19390   return 0;
19391 }
19392 _ACEOF
19393 if ac_fn_cxx_try_link "$LINENO"; then :
19394   ac_has_gettimeofday=yes
19395 else
19396   ac_has_gettimeofday=no
19397 fi
19398 rm -f core conftest.err conftest.$ac_objext \
19399     conftest$ac_exeext conftest.$ac_ext
19400 fi
19401
19402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19403 $as_echo "$ac_has_gettimeofday" >&6; }
19404   fi
19405
19406   if test x"$ac_has_gettimeofday" = x"yes"; then
19407
19408 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19409
19410   fi
19411
19412   CXXFLAGS="$ac_save_CXXFLAGS"
19413   ac_ext=c
19414 ac_cpp='$CPP $CPPFLAGS'
19415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19418
19419
19420
19421 # For clock_gettime, nanosleep and sched_yield support.
19422
19423
19424    # Check whether --enable-libstdcxx-time was given.
19425 if test "${enable_libstdcxx_time+set}" = set; then :
19426   enableval=$enable_libstdcxx_time;
19427       case "$enableval" in
19428        yes|no|rt) ;;
19429        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19430                         esac
19431
19432 else
19433   enable_libstdcxx_time=auto
19434 fi
19435
19436
19437
19438
19439   ac_ext=cpp
19440 ac_cpp='$CXXCPP $CPPFLAGS'
19441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19444
19445   ac_save_CXXFLAGS="$CXXFLAGS"
19446   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19447   ac_save_LIBS="$LIBS"
19448
19449   ac_has_clock_monotonic=no
19450   ac_has_clock_realtime=no
19451   ac_has_nanosleep=no
19452   ac_has_sched_yield=no
19453
19454   if test x"$enable_libstdcxx_time" = x"auto"; then
19455
19456     case "${target_os}" in
19457       cygwin*)
19458         ac_has_nanosleep=yes
19459         ;;
19460       darwin*)
19461         ac_has_nanosleep=yes
19462         ac_has_sched_yield=yes
19463         ;;
19464       gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19465         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19466 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19467         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h.  */
19469 #include <features.h>
19470 int
19471 main ()
19472 {
19473
19474           #if ! __GLIBC_PREREQ(2, 17)
19475           #error
19476           #endif
19477
19478   ;
19479   return 0;
19480 }
19481 _ACEOF
19482 if ac_fn_cxx_try_compile "$LINENO"; then :
19483   glibcxx_glibc217=yes
19484 else
19485   glibcxx_glibc217=no
19486 fi
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19489 $as_echo "$glibcxx_glibc217" >&6; }
19490
19491         if test x"$glibcxx_glibc217" = x"yes"; then
19492           ac_has_clock_monotonic=yes
19493           ac_has_clock_realtime=yes
19494         fi
19495         ac_has_nanosleep=yes
19496         ac_has_sched_yield=yes
19497         ;;
19498       freebsd*|netbsd*)
19499         ac_has_clock_monotonic=yes
19500         ac_has_clock_realtime=yes
19501         ac_has_nanosleep=yes
19502         ac_has_sched_yield=yes
19503         ;;
19504       openbsd*)
19505         ac_has_clock_monotonic=yes
19506         ac_has_clock_realtime=yes
19507         ac_has_nanosleep=yes
19508         ;;
19509       solaris*)
19510         GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19511         ac_has_clock_monotonic=yes
19512         ac_has_clock_realtime=yes
19513         ac_has_nanosleep=yes
19514         ac_has_sched_yield=yes
19515         ;;
19516     esac
19517
19518   elif test x"$enable_libstdcxx_time" != x"no"; then
19519
19520     if test x"$enable_libstdcxx_time" = x"rt"; then
19521       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19522 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19523 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19524   $as_echo_n "(cached) " >&6
19525 else
19526   ac_func_search_save_LIBS=$LIBS
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h.  */
19529
19530 /* Override any GCC internal prototype to avoid an error.
19531    Use char because int might match the return type of a GCC
19532    builtin and then its argument prototype would still apply.  */
19533 #ifdef __cplusplus
19534 extern "C"
19535 #endif
19536 char clock_gettime ();
19537 int
19538 main ()
19539 {
19540 return clock_gettime ();
19541   ;
19542   return 0;
19543 }
19544 _ACEOF
19545 for ac_lib in '' rt posix4; do
19546   if test -z "$ac_lib"; then
19547     ac_res="none required"
19548   else
19549     ac_res=-l$ac_lib
19550     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19551   fi
19552   if test x$gcc_no_link = xyes; then
19553   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19554 fi
19555 if ac_fn_cxx_try_link "$LINENO"; then :
19556   ac_cv_search_clock_gettime=$ac_res
19557 fi
19558 rm -f core conftest.err conftest.$ac_objext \
19559     conftest$ac_exeext
19560   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19561   break
19562 fi
19563 done
19564 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19565
19566 else
19567   ac_cv_search_clock_gettime=no
19568 fi
19569 rm conftest.$ac_ext
19570 LIBS=$ac_func_search_save_LIBS
19571 fi
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19573 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19574 ac_res=$ac_cv_search_clock_gettime
19575 if test "$ac_res" != no; then :
19576   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19577
19578 fi
19579
19580       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19581 $as_echo_n "checking for library containing nanosleep... " >&6; }
19582 if test "${ac_cv_search_nanosleep+set}" = set; then :
19583   $as_echo_n "(cached) " >&6
19584 else
19585   ac_func_search_save_LIBS=$LIBS
19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h.  */
19588
19589 /* Override any GCC internal prototype to avoid an error.
19590    Use char because int might match the return type of a GCC
19591    builtin and then its argument prototype would still apply.  */
19592 #ifdef __cplusplus
19593 extern "C"
19594 #endif
19595 char nanosleep ();
19596 int
19597 main ()
19598 {
19599 return nanosleep ();
19600   ;
19601   return 0;
19602 }
19603 _ACEOF
19604 for ac_lib in '' rt posix4; do
19605   if test -z "$ac_lib"; then
19606     ac_res="none required"
19607   else
19608     ac_res=-l$ac_lib
19609     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19610   fi
19611   if test x$gcc_no_link = xyes; then
19612   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19613 fi
19614 if ac_fn_cxx_try_link "$LINENO"; then :
19615   ac_cv_search_nanosleep=$ac_res
19616 fi
19617 rm -f core conftest.err conftest.$ac_objext \
19618     conftest$ac_exeext
19619   if test "${ac_cv_search_nanosleep+set}" = set; then :
19620   break
19621 fi
19622 done
19623 if test "${ac_cv_search_nanosleep+set}" = set; then :
19624
19625 else
19626   ac_cv_search_nanosleep=no
19627 fi
19628 rm conftest.$ac_ext
19629 LIBS=$ac_func_search_save_LIBS
19630 fi
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19632 $as_echo "$ac_cv_search_nanosleep" >&6; }
19633 ac_res=$ac_cv_search_nanosleep
19634 if test "$ac_res" != no; then :
19635   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19636
19637 fi
19638
19639     else
19640       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19641 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19642 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19643   $as_echo_n "(cached) " >&6
19644 else
19645   ac_func_search_save_LIBS=$LIBS
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h.  */
19648
19649 /* Override any GCC internal prototype to avoid an error.
19650    Use char because int might match the return type of a GCC
19651    builtin and then its argument prototype would still apply.  */
19652 #ifdef __cplusplus
19653 extern "C"
19654 #endif
19655 char clock_gettime ();
19656 int
19657 main ()
19658 {
19659 return clock_gettime ();
19660   ;
19661   return 0;
19662 }
19663 _ACEOF
19664 for ac_lib in '' posix4; do
19665   if test -z "$ac_lib"; then
19666     ac_res="none required"
19667   else
19668     ac_res=-l$ac_lib
19669     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19670   fi
19671   if test x$gcc_no_link = xyes; then
19672   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19673 fi
19674 if ac_fn_cxx_try_link "$LINENO"; then :
19675   ac_cv_search_clock_gettime=$ac_res
19676 fi
19677 rm -f core conftest.err conftest.$ac_objext \
19678     conftest$ac_exeext
19679   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19680   break
19681 fi
19682 done
19683 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19684
19685 else
19686   ac_cv_search_clock_gettime=no
19687 fi
19688 rm conftest.$ac_ext
19689 LIBS=$ac_func_search_save_LIBS
19690 fi
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19692 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19693 ac_res=$ac_cv_search_clock_gettime
19694 if test "$ac_res" != no; then :
19695   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19696
19697 fi
19698
19699       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19700 $as_echo_n "checking for library containing nanosleep... " >&6; }
19701 if test "${ac_cv_search_nanosleep+set}" = set; then :
19702   $as_echo_n "(cached) " >&6
19703 else
19704   ac_func_search_save_LIBS=$LIBS
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h.  */
19707
19708 /* Override any GCC internal prototype to avoid an error.
19709    Use char because int might match the return type of a GCC
19710    builtin and then its argument prototype would still apply.  */
19711 #ifdef __cplusplus
19712 extern "C"
19713 #endif
19714 char nanosleep ();
19715 int
19716 main ()
19717 {
19718 return nanosleep ();
19719   ;
19720   return 0;
19721 }
19722 _ACEOF
19723 for ac_lib in '' posix4; do
19724   if test -z "$ac_lib"; then
19725     ac_res="none required"
19726   else
19727     ac_res=-l$ac_lib
19728     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19729   fi
19730   if test x$gcc_no_link = xyes; then
19731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19732 fi
19733 if ac_fn_cxx_try_link "$LINENO"; then :
19734   ac_cv_search_nanosleep=$ac_res
19735 fi
19736 rm -f core conftest.err conftest.$ac_objext \
19737     conftest$ac_exeext
19738   if test "${ac_cv_search_nanosleep+set}" = set; then :
19739   break
19740 fi
19741 done
19742 if test "${ac_cv_search_nanosleep+set}" = set; then :
19743
19744 else
19745   ac_cv_search_nanosleep=no
19746 fi
19747 rm conftest.$ac_ext
19748 LIBS=$ac_func_search_save_LIBS
19749 fi
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19751 $as_echo "$ac_cv_search_nanosleep" >&6; }
19752 ac_res=$ac_cv_search_nanosleep
19753 if test "$ac_res" != no; then :
19754   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19755
19756 fi
19757
19758     fi
19759
19760     case "$ac_cv_search_clock_gettime" in
19761       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19762       ;;
19763     esac
19764     case "$ac_cv_search_nanosleep" in
19765       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19766       ;;
19767     esac
19768
19769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19770 $as_echo_n "checking for library containing sched_yield... " >&6; }
19771 if test "${ac_cv_search_sched_yield+set}" = set; then :
19772   $as_echo_n "(cached) " >&6
19773 else
19774   ac_func_search_save_LIBS=$LIBS
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h.  */
19777
19778 /* Override any GCC internal prototype to avoid an error.
19779    Use char because int might match the return type of a GCC
19780    builtin and then its argument prototype would still apply.  */
19781 #ifdef __cplusplus
19782 extern "C"
19783 #endif
19784 char sched_yield ();
19785 int
19786 main ()
19787 {
19788 return sched_yield ();
19789   ;
19790   return 0;
19791 }
19792 _ACEOF
19793 for ac_lib in '' rt posix4; do
19794   if test -z "$ac_lib"; then
19795     ac_res="none required"
19796   else
19797     ac_res=-l$ac_lib
19798     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19799   fi
19800   if test x$gcc_no_link = xyes; then
19801   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19802 fi
19803 if ac_fn_cxx_try_link "$LINENO"; then :
19804   ac_cv_search_sched_yield=$ac_res
19805 fi
19806 rm -f core conftest.err conftest.$ac_objext \
19807     conftest$ac_exeext
19808   if test "${ac_cv_search_sched_yield+set}" = set; then :
19809   break
19810 fi
19811 done
19812 if test "${ac_cv_search_sched_yield+set}" = set; then :
19813
19814 else
19815   ac_cv_search_sched_yield=no
19816 fi
19817 rm conftest.$ac_ext
19818 LIBS=$ac_func_search_save_LIBS
19819 fi
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19821 $as_echo "$ac_cv_search_sched_yield" >&6; }
19822 ac_res=$ac_cv_search_sched_yield
19823 if test "$ac_res" != no; then :
19824   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19825
19826 fi
19827
19828
19829     case "$ac_cv_search_sched_yield" in
19830       -lposix4*)
19831       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19832       ac_has_sched_yield=yes
19833       ;;
19834       -lrt*)
19835       if test x"$enable_libstdcxx_time" = x"rt"; then
19836         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19837         ac_has_sched_yield=yes
19838       fi
19839       ;;
19840       *)
19841       ac_has_sched_yield=yes
19842       ;;
19843     esac
19844
19845     for ac_header in unistd.h
19846 do :
19847   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19848 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19849   cat >>confdefs.h <<_ACEOF
19850 #define HAVE_UNISTD_H 1
19851 _ACEOF
19852  ac_has_unistd_h=yes
19853 else
19854   ac_has_unistd_h=no
19855 fi
19856
19857 done
19858
19859
19860     if test x"$ac_has_unistd_h" = x"yes"; then
19861       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19862 $as_echo_n "checking for monotonic clock... " >&6; }
19863       if test x$gcc_no_link = xyes; then
19864   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19865 fi
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h.  */
19868 #include <unistd.h>
19869          #include <time.h>
19870
19871 int
19872 main ()
19873 {
19874 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19875           timespec tp;
19876          #endif
19877           clock_gettime(CLOCK_MONOTONIC, &tp);
19878
19879   ;
19880   return 0;
19881 }
19882 _ACEOF
19883 if ac_fn_cxx_try_link "$LINENO"; then :
19884   ac_has_clock_monotonic=yes
19885 else
19886   ac_has_clock_monotonic=no
19887 fi
19888 rm -f core conftest.err conftest.$ac_objext \
19889     conftest$ac_exeext conftest.$ac_ext
19890
19891       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19892 $as_echo "$ac_has_clock_monotonic" >&6; }
19893
19894       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19895 $as_echo_n "checking for realtime clock... " >&6; }
19896       if test x$gcc_no_link = xyes; then
19897   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19898 fi
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h.  */
19901 #include <unistd.h>
19902          #include <time.h>
19903
19904 int
19905 main ()
19906 {
19907 #if _POSIX_TIMERS > 0
19908           timespec tp;
19909          #endif
19910           clock_gettime(CLOCK_REALTIME, &tp);
19911
19912   ;
19913   return 0;
19914 }
19915 _ACEOF
19916 if ac_fn_cxx_try_link "$LINENO"; then :
19917   ac_has_clock_realtime=yes
19918 else
19919   ac_has_clock_realtime=no
19920 fi
19921 rm -f core conftest.err conftest.$ac_objext \
19922     conftest$ac_exeext conftest.$ac_ext
19923
19924       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19925 $as_echo "$ac_has_clock_realtime" >&6; }
19926
19927       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19928 $as_echo_n "checking for nanosleep... " >&6; }
19929       if test x$gcc_no_link = xyes; then
19930   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19931 fi
19932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19933 /* end confdefs.h.  */
19934 #include <unistd.h>
19935          #include <time.h>
19936
19937 int
19938 main ()
19939 {
19940 #if _POSIX_TIMERS > 0
19941           timespec tp;
19942          #endif
19943           nanosleep(&tp, 0);
19944
19945   ;
19946   return 0;
19947 }
19948 _ACEOF
19949 if ac_fn_cxx_try_link "$LINENO"; then :
19950   ac_has_nanosleep=yes
19951 else
19952   ac_has_nanosleep=no
19953 fi
19954 rm -f core conftest.err conftest.$ac_objext \
19955     conftest$ac_exeext conftest.$ac_ext
19956
19957       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19958 $as_echo "$ac_has_nanosleep" >&6; }
19959     fi
19960   fi
19961
19962   if test x"$ac_has_clock_monotonic" != x"yes"; then
19963     case ${target_os} in
19964       linux*)
19965         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19966 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19967         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h.  */
19969 #include <unistd.h>
19970            #include <time.h>
19971            #include <sys/syscall.h>
19972
19973 int
19974 main ()
19975 {
19976 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19977             timespec tp;
19978            #endif
19979            syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19980            syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19981
19982   ;
19983   return 0;
19984 }
19985 _ACEOF
19986 if ac_fn_cxx_try_compile "$LINENO"; then :
19987   ac_has_clock_monotonic_syscall=yes
19988 else
19989   ac_has_clock_monotonic_syscall=no
19990 fi
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19993 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19994         if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19995
19996 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19997
19998           ac_has_clock_monotonic=yes
19999           ac_has_clock_realtime=yes
20000         fi;;
20001     esac
20002   fi
20003
20004   if test x"$ac_has_clock_monotonic" = x"yes"; then
20005
20006 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20007
20008   fi
20009
20010   if test x"$ac_has_clock_realtime" = x"yes"; then
20011
20012 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20013
20014   fi
20015
20016   if test x"$ac_has_sched_yield" = x"yes"; then
20017
20018 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20019
20020   fi
20021
20022   if test x"$ac_has_nanosleep" = x"yes"; then
20023
20024 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20025
20026   else
20027       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20028 $as_echo_n "checking for sleep... " >&6; }
20029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h.  */
20031 #include <unistd.h>
20032 int
20033 main ()
20034 {
20035 sleep(1)
20036   ;
20037   return 0;
20038 }
20039 _ACEOF
20040 if ac_fn_cxx_try_compile "$LINENO"; then :
20041   ac_has_sleep=yes
20042 else
20043   ac_has_sleep=no
20044 fi
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046       if test x"$ac_has_sleep" = x"yes"; then
20047
20048 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20049
20050       fi
20051       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20052 $as_echo "$ac_has_sleep" >&6; }
20053       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20054 $as_echo_n "checking for usleep... " >&6; }
20055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h.  */
20057 #include <unistd.h>
20058 int
20059 main ()
20060 {
20061 sleep(1);
20062                       usleep(100);
20063   ;
20064   return 0;
20065 }
20066 _ACEOF
20067 if ac_fn_cxx_try_compile "$LINENO"; then :
20068   ac_has_usleep=yes
20069 else
20070   ac_has_usleep=no
20071 fi
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073       if test x"$ac_has_usleep" = x"yes"; then
20074
20075 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20076
20077       fi
20078       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20079 $as_echo "$ac_has_usleep" >&6; }
20080   fi
20081
20082   if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20083       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20084 $as_echo_n "checking for Sleep... " >&6; }
20085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h.  */
20087 #include <windows.h>
20088 int
20089 main ()
20090 {
20091 Sleep(1)
20092   ;
20093   return 0;
20094 }
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097   ac_has_win32_sleep=yes
20098 else
20099   ac_has_win32_sleep=no
20100 fi
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102       if test x"$ac_has_win32_sleep" = x"yes"; then
20103
20104 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20105
20106       fi
20107       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20108 $as_echo "$ac_has_win32_sleep" >&6; }
20109   fi
20110
20111
20112
20113   CXXFLAGS="$ac_save_CXXFLAGS"
20114   LIBS="$ac_save_LIBS"
20115   ac_ext=c
20116 ac_cpp='$CPP $CPPFLAGS'
20117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20120
20121
20122
20123 # Check for tmpnam which is obsolescent in POSIX.1-2008
20124
20125   ac_ext=cpp
20126 ac_cpp='$CXXCPP $CPPFLAGS'
20127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20130
20131   ac_save_CXXFLAGS="$CXXFLAGS"
20132   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20134 $as_echo_n "checking for tmpnam... " >&6; }
20135   if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20136   $as_echo_n "(cached) " >&6
20137 else
20138       if test x$gcc_no_link = xyes; then
20139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h.  */
20141 #include <stdio.h>
20142 int
20143 main ()
20144 {
20145 char *tmp = tmpnam(NULL);
20146   ;
20147   return 0;
20148 }
20149 _ACEOF
20150 if ac_fn_cxx_try_compile "$LINENO"; then :
20151   glibcxx_cv_TMPNAM=yes
20152 else
20153   glibcxx_cv_TMPNAM=no
20154 fi
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 else
20157   if test x$gcc_no_link = xyes; then
20158   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20159 fi
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h.  */
20162 #include <stdio.h>
20163 int
20164 main ()
20165 {
20166 char *tmp = tmpnam(NULL);
20167   ;
20168   return 0;
20169 }
20170 _ACEOF
20171 if ac_fn_cxx_try_link "$LINENO"; then :
20172   glibcxx_cv_TMPNAM=yes
20173 else
20174   glibcxx_cv_TMPNAM=no
20175 fi
20176 rm -f core conftest.err conftest.$ac_objext \
20177     conftest$ac_exeext conftest.$ac_ext
20178 fi
20179
20180 fi
20181
20182   if test $glibcxx_cv_TMPNAM = yes; then
20183
20184 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20185
20186   fi
20187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20188 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20189   CXXFLAGS="$ac_save_CXXFLAGS"
20190   ac_ext=c
20191 ac_cpp='$CPP $CPPFLAGS'
20192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20195
20196
20197
20198
20199   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20200 if test "x$ac_cv_header_locale_h" = x""yes; then :
20201
20202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20203 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20204 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20205   $as_echo_n "(cached) " >&6
20206 else
20207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20208 /* end confdefs.h.  */
20209 #include <locale.h>
20210 int
20211 main ()
20212 {
20213 return LC_MESSAGES
20214   ;
20215   return 0;
20216 }
20217 _ACEOF
20218 if ac_fn_c_try_compile "$LINENO"; then :
20219   ac_cv_val_LC_MESSAGES=yes
20220 else
20221   ac_cv_val_LC_MESSAGES=no
20222 fi
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20224 fi
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20226 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20227     if test $ac_cv_val_LC_MESSAGES = yes; then
20228
20229 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20230
20231     fi
20232
20233 fi
20234
20235
20236
20237
20238 # For hardware_concurrency
20239 for ac_header in sys/sysinfo.h
20240 do :
20241   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20242 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20243   cat >>confdefs.h <<_ACEOF
20244 #define HAVE_SYS_SYSINFO_H 1
20245 _ACEOF
20246
20247 fi
20248
20249 done
20250
20251
20252
20253
20254   ac_ext=cpp
20255 ac_cpp='$CXXCPP $CPPFLAGS'
20256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20259
20260   ac_save_CXXFLAGS="$CXXFLAGS"
20261   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20262
20263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20264 $as_echo_n "checking for get_nprocs... " >&6; }
20265   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20266   $as_echo_n "(cached) " >&6
20267 else
20268
20269     if test x$gcc_no_link = xyes; then
20270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h.  */
20272 #include <sys/sysinfo.h>
20273 int
20274 main ()
20275 {
20276 int n = get_nprocs();
20277   ;
20278   return 0;
20279 }
20280 _ACEOF
20281 if ac_fn_cxx_try_compile "$LINENO"; then :
20282   glibcxx_cv_GET_NPROCS=yes
20283 else
20284   glibcxx_cv_GET_NPROCS=no
20285 fi
20286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20287 else
20288   if test x$gcc_no_link = xyes; then
20289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20290 fi
20291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20292 /* end confdefs.h.  */
20293 #include <sys/sysinfo.h>
20294 int
20295 main ()
20296 {
20297 int n = get_nprocs();
20298   ;
20299   return 0;
20300 }
20301 _ACEOF
20302 if ac_fn_cxx_try_link "$LINENO"; then :
20303   glibcxx_cv_GET_NPROCS=yes
20304 else
20305   glibcxx_cv_GET_NPROCS=no
20306 fi
20307 rm -f core conftest.err conftest.$ac_objext \
20308     conftest$ac_exeext conftest.$ac_ext
20309 fi
20310
20311 fi
20312
20313   if test $glibcxx_cv_GET_NPROCS = yes; then
20314
20315 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20316
20317   fi
20318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20319 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20320
20321   CXXFLAGS="$ac_save_CXXFLAGS"
20322   ac_ext=c
20323 ac_cpp='$CPP $CPPFLAGS'
20324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20327
20328
20329 for ac_header in unistd.h
20330 do :
20331   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20332 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20333   cat >>confdefs.h <<_ACEOF
20334 #define HAVE_UNISTD_H 1
20335 _ACEOF
20336
20337 fi
20338
20339 done
20340
20341
20342
20343
20344   ac_ext=cpp
20345 ac_cpp='$CXXCPP $CPPFLAGS'
20346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20349
20350   ac_save_CXXFLAGS="$CXXFLAGS"
20351   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20352
20353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20354 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20355   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20356   $as_echo_n "(cached) " >&6
20357 else
20358
20359     if test x$gcc_no_link = xyes; then
20360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20361 /* end confdefs.h.  */
20362 #include <unistd.h>
20363 int
20364 main ()
20365 {
20366 int n = sysconf(_SC_NPROCESSORS_ONLN);
20367   ;
20368   return 0;
20369 }
20370 _ACEOF
20371 if ac_fn_cxx_try_compile "$LINENO"; then :
20372   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20373 else
20374   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20375 fi
20376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20377 else
20378   if test x$gcc_no_link = xyes; then
20379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20380 fi
20381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h.  */
20383 #include <unistd.h>
20384 int
20385 main ()
20386 {
20387 int n = sysconf(_SC_NPROCESSORS_ONLN);
20388   ;
20389   return 0;
20390 }
20391 _ACEOF
20392 if ac_fn_cxx_try_link "$LINENO"; then :
20393   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20394 else
20395   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20396 fi
20397 rm -f core conftest.err conftest.$ac_objext \
20398     conftest$ac_exeext conftest.$ac_ext
20399 fi
20400
20401 fi
20402
20403   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20404
20405 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20406
20407   fi
20408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20409 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20410
20411   CXXFLAGS="$ac_save_CXXFLAGS"
20412   ac_ext=c
20413 ac_cpp='$CPP $CPPFLAGS'
20414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20417
20418
20419
20420
20421
20422   ac_ext=cpp
20423 ac_cpp='$CXXCPP $CPPFLAGS'
20424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20427
20428   ac_save_CXXFLAGS="$CXXFLAGS"
20429   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20430
20431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20432 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20433   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20434   $as_echo_n "(cached) " >&6
20435 else
20436
20437     if test x$gcc_no_link = xyes; then
20438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20439 /* end confdefs.h.  */
20440 #include <unistd.h>
20441 int
20442 main ()
20443 {
20444 int n = sysconf(_SC_NPROC_ONLN);
20445   ;
20446   return 0;
20447 }
20448 _ACEOF
20449 if ac_fn_cxx_try_compile "$LINENO"; then :
20450   glibcxx_cv_SC_NPROC_ONLN=yes
20451 else
20452   glibcxx_cv_SC_NPROC_ONLN=no
20453 fi
20454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20455 else
20456   if test x$gcc_no_link = xyes; then
20457   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20458 fi
20459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20460 /* end confdefs.h.  */
20461 #include <unistd.h>
20462 int
20463 main ()
20464 {
20465 int n = sysconf(_SC_NPROC_ONLN);
20466   ;
20467   return 0;
20468 }
20469 _ACEOF
20470 if ac_fn_cxx_try_link "$LINENO"; then :
20471   glibcxx_cv_SC_NPROC_ONLN=yes
20472 else
20473   glibcxx_cv_SC_NPROC_ONLN=no
20474 fi
20475 rm -f core conftest.err conftest.$ac_objext \
20476     conftest$ac_exeext conftest.$ac_ext
20477 fi
20478
20479 fi
20480
20481   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20482
20483 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20484
20485   fi
20486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20487 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20488
20489   CXXFLAGS="$ac_save_CXXFLAGS"
20490   ac_ext=c
20491 ac_cpp='$CPP $CPPFLAGS'
20492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20495
20496
20497
20498
20499
20500   ac_ext=cpp
20501 ac_cpp='$CXXCPP $CPPFLAGS'
20502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20505
20506   ac_save_CXXFLAGS="$CXXFLAGS"
20507   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20508
20509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20510 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20511   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20512   $as_echo_n "(cached) " >&6
20513 else
20514
20515     if test x$gcc_no_link = xyes; then
20516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20517 /* end confdefs.h.  */
20518 #include <pthread.h>
20519 int
20520 main ()
20521 {
20522 int n = pthread_num_processors_np();
20523   ;
20524   return 0;
20525 }
20526 _ACEOF
20527 if ac_fn_cxx_try_compile "$LINENO"; then :
20528   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20529 else
20530   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20531 fi
20532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20533 else
20534   if test x$gcc_no_link = xyes; then
20535   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20536 fi
20537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20538 /* end confdefs.h.  */
20539 #include <pthread.h>
20540 int
20541 main ()
20542 {
20543 int n = pthread_num_processors_np();
20544   ;
20545   return 0;
20546 }
20547 _ACEOF
20548 if ac_fn_cxx_try_link "$LINENO"; then :
20549   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20550 else
20551   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20552 fi
20553 rm -f core conftest.err conftest.$ac_objext \
20554     conftest$ac_exeext conftest.$ac_ext
20555 fi
20556
20557 fi
20558
20559   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20560
20561 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20562
20563   fi
20564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20565 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20566
20567   CXXFLAGS="$ac_save_CXXFLAGS"
20568   ac_ext=c
20569 ac_cpp='$CPP $CPPFLAGS'
20570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20573
20574
20575
20576
20577
20578   ac_ext=cpp
20579 ac_cpp='$CXXCPP $CPPFLAGS'
20580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20583
20584   ac_save_CXXFLAGS="$CXXFLAGS"
20585   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20586
20587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20588 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20589   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20590   $as_echo_n "(cached) " >&6
20591 else
20592
20593     if test x$gcc_no_link = xyes; then
20594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h.  */
20596
20597        #include <stddef.h>
20598        #include <sys/sysctl.h>
20599
20600 int
20601 main ()
20602 {
20603
20604        int count;
20605        size_t size = sizeof(count);
20606        int mib[] = { CTL_HW, HW_NCPU };
20607        sysctl(mib, 2, &count, &size, NULL, 0);
20608
20609   ;
20610   return 0;
20611 }
20612 _ACEOF
20613 if ac_fn_cxx_try_compile "$LINENO"; then :
20614   glibcxx_cv_SYSCTL_HW_NCPU=yes
20615 else
20616   glibcxx_cv_SYSCTL_HW_NCPU=no
20617 fi
20618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619 else
20620   if test x$gcc_no_link = xyes; then
20621   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20622 fi
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h.  */
20625
20626        #include <stddef.h>
20627        #include <sys/sysctl.h>
20628
20629 int
20630 main ()
20631 {
20632
20633        int count;
20634        size_t size = sizeof(count);
20635        int mib[] = { CTL_HW, HW_NCPU };
20636        sysctl(mib, 2, &count, &size, NULL, 0);
20637
20638   ;
20639   return 0;
20640 }
20641 _ACEOF
20642 if ac_fn_cxx_try_link "$LINENO"; then :
20643   glibcxx_cv_SYSCTL_HW_NCPU=yes
20644 else
20645   glibcxx_cv_SYSCTL_HW_NCPU=no
20646 fi
20647 rm -f core conftest.err conftest.$ac_objext \
20648     conftest$ac_exeext conftest.$ac_ext
20649 fi
20650
20651 fi
20652
20653   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20654
20655 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20656
20657   fi
20658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20659 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20660
20661   CXXFLAGS="$ac_save_CXXFLAGS"
20662   ac_ext=c
20663 ac_cpp='$CPP $CPPFLAGS'
20664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20667
20668
20669
20670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20671 $as_echo "for suitable sys/sdt.h" >&6; }
20672   # Note that this test has to be run with the C language.
20673   # Otherwise, sdt.h will try to include some headers from
20674   # libstdc++ itself.
20675
20676   ac_ext=c
20677 ac_cpp='$CPP $CPPFLAGS'
20678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20681
20682   if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20683   $as_echo_n "(cached) " >&6
20684 else
20685
20686     # Because we have to run the test in C, we use grep rather
20687     # than the compiler to check for the bug.  The bug is that
20688     # were strings without trailing whitespace, causing g++
20689     # to look for operator"".  The pattern searches for the fixed
20690     # output.
20691     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20692 /* end confdefs.h.  */
20693
20694       #include <sys/sdt.h>
20695       int f() { STAP_PROBE(hi, bob); }
20696
20697 _ACEOF
20698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20699   $EGREP " \",\" " >/dev/null 2>&1; then :
20700   glibcxx_cv_sys_sdt_h=yes
20701 else
20702   glibcxx_cv_sys_sdt_h=no
20703 fi
20704 rm -f conftest*
20705
20706
20707 fi
20708
20709   ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20714
20715   if test $glibcxx_cv_sys_sdt_h = yes; then
20716
20717 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20718
20719   fi
20720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20721 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20722
20723
20724 # Check for available headers.
20725 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20726 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20727 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20728 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20729 wchar.h wctype.h
20730 do :
20731   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20732 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20733 eval as_val=\$$as_ac_Header
20734    if test "x$as_val" = x""yes; then :
20735   cat >>confdefs.h <<_ACEOF
20736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20737 _ACEOF
20738
20739 fi
20740
20741 done
20742
20743
20744 # Only do link tests if native. Else, hardcode.
20745 if $GLIBCXX_IS_NATIVE; then
20746
20747   # We can do more elaborate tests that assume a working linker.
20748   CANADIAN=no
20749
20750
20751
20752 # Check whether --with-gnu-ld was given.
20753 if test "${with_gnu_ld+set}" = set; then :
20754   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20755 else
20756   with_gnu_ld=no
20757 fi
20758
20759 ac_prog=ld
20760 if test "$GCC" = yes; then
20761   # Check if gcc -print-prog-name=ld gives a path.
20762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20763 $as_echo_n "checking for ld used by $CC... " >&6; }
20764   case $host in
20765   *-*-mingw*)
20766     # gcc leaves a trailing carriage return which upsets mingw
20767     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20768   *)
20769     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20770   esac
20771   case $ac_prog in
20772     # Accept absolute paths.
20773     [\\/]* | ?:[\\/]*)
20774       re_direlt='/[^/][^/]*/\.\./'
20775       # Canonicalize the pathname of ld
20776       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20777       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20778         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20779       done
20780       test -z "$LD" && LD="$ac_prog"
20781       ;;
20782   "")
20783     # If it fails, then pretend we aren't using GCC.
20784     ac_prog=ld
20785     ;;
20786   *)
20787     # If it is relative, then search for the first ld in PATH.
20788     with_gnu_ld=unknown
20789     ;;
20790   esac
20791 elif test "$with_gnu_ld" = yes; then
20792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20793 $as_echo_n "checking for GNU ld... " >&6; }
20794 else
20795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20796 $as_echo_n "checking for non-GNU ld... " >&6; }
20797 fi
20798 if test "${lt_cv_path_LD+set}" = set; then :
20799   $as_echo_n "(cached) " >&6
20800 else
20801   if test -z "$LD"; then
20802   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20803   for ac_dir in $PATH; do
20804     IFS="$lt_save_ifs"
20805     test -z "$ac_dir" && ac_dir=.
20806     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20807       lt_cv_path_LD="$ac_dir/$ac_prog"
20808       # Check to see if the program is GNU ld.  I'd rather use --version,
20809       # but apparently some variants of GNU ld only accept -v.
20810       # Break only if it was the GNU/non-GNU ld that we prefer.
20811       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20812       *GNU* | *'with BFD'*)
20813         test "$with_gnu_ld" != no && break
20814         ;;
20815       *)
20816         test "$with_gnu_ld" != yes && break
20817         ;;
20818       esac
20819     fi
20820   done
20821   IFS="$lt_save_ifs"
20822 else
20823   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20824 fi
20825 fi
20826
20827 LD="$lt_cv_path_LD"
20828 if test -n "$LD"; then
20829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20830 $as_echo "$LD" >&6; }
20831 else
20832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20833 $as_echo "no" >&6; }
20834 fi
20835 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20837 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20838 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20839   $as_echo_n "(cached) " >&6
20840 else
20841   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20842 case `$LD -v 2>&1 </dev/null` in
20843 *GNU* | *'with BFD'*)
20844   lt_cv_prog_gnu_ld=yes
20845   ;;
20846 *)
20847   lt_cv_prog_gnu_ld=no
20848   ;;
20849 esac
20850 fi
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20852 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20853 with_gnu_ld=$lt_cv_prog_gnu_ld
20854
20855
20856
20857
20858
20859
20860
20861   # If we're not using GNU ld, then there's no point in even trying these
20862   # tests.  Check for that first.  We should have already tested for gld
20863   # by now (in libtool), but require it now just to be safe...
20864   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20865   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20866
20867
20868
20869   # The name set by libtool depends on the version of libtool.  Shame on us
20870   # for depending on an impl detail, but c'est la vie.  Older versions used
20871   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20872   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20873   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20874   # set (hence we're using an older libtool), then set it.
20875   if test x${with_gnu_ld+set} != xset; then
20876     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20877       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20878       with_gnu_ld=no
20879     else
20880       with_gnu_ld=$ac_cv_prog_gnu_ld
20881     fi
20882   fi
20883
20884   # Start by getting the version number.  I think the libtool test already
20885   # does some of this, but throws away the result.
20886   glibcxx_ld_is_gold=no
20887   if test x"$with_gnu_ld" = x"yes"; then
20888     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20889 $as_echo_n "checking for ld version... " >&6; }
20890
20891     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20892       glibcxx_ld_is_gold=yes
20893     fi
20894     ldver=`$LD --version 2>/dev/null |
20895            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'`
20896
20897     glibcxx_gnu_ld_version=`echo $ldver | \
20898            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20899     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20900 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20901   fi
20902
20903   # Set --gc-sections.
20904   glibcxx_have_gc_sections=no
20905   if test "$glibcxx_ld_is_gold" = "yes"; then
20906     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20907       glibcxx_have_gc_sections=yes
20908     fi
20909   else
20910     glibcxx_gcsections_min_ld=21602
20911     if test x"$with_gnu_ld" = x"yes" &&
20912         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20913       glibcxx_have_gc_sections=yes
20914     fi
20915   fi
20916   if test "$glibcxx_have_gc_sections" = "yes"; then
20917     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20918     # NB: This flag only works reliably after 2.16.1. Configure tests
20919     # for this are difficult, so hard wire a value that should work.
20920
20921     ac_test_CFLAGS="${CFLAGS+set}"
20922     ac_save_CFLAGS="$CFLAGS"
20923     CFLAGS='-Wl,--gc-sections'
20924
20925     # Check for -Wl,--gc-sections
20926     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20927 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20928     if test x$gcc_no_link = xyes; then
20929   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20930 fi
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h.  */
20933  int one(void) { return 1; }
20934      int two(void) { return 2; }
20935
20936 int
20937 main ()
20938 {
20939  two();
20940   ;
20941   return 0;
20942 }
20943 _ACEOF
20944 if ac_fn_c_try_link "$LINENO"; then :
20945   ac_gcsections=yes
20946 else
20947   ac_gcsections=no
20948 fi
20949 rm -f core conftest.err conftest.$ac_objext \
20950     conftest$ac_exeext conftest.$ac_ext
20951     if test "$ac_gcsections" = "yes"; then
20952       rm -f conftest.c
20953       touch conftest.c
20954       if $CC -c conftest.c; then
20955         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20956            grep "Warning: gc-sections option ignored" > /dev/null; then
20957           ac_gcsections=no
20958         fi
20959       fi
20960       rm -f conftest.c conftest.o conftest
20961     fi
20962     if test "$ac_gcsections" = "yes"; then
20963       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20964     fi
20965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20966 $as_echo "$ac_gcsections" >&6; }
20967
20968     if test "$ac_test_CFLAGS" = set; then
20969       CFLAGS="$ac_save_CFLAGS"
20970     else
20971       # this is the suspicious part
20972       CFLAGS=''
20973     fi
20974   fi
20975
20976   # Set -z,relro.
20977   # Note this is only for shared objects.
20978   ac_ld_relro=no
20979   if test x"$with_gnu_ld" = x"yes"; then
20980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20981 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20982     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20983     if test -n "$cxx_z_relo"; then
20984       OPT_LDFLAGS="-Wl,-z,relro"
20985       ac_ld_relro=yes
20986     fi
20987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20988 $as_echo "$ac_ld_relro" >&6; }
20989   fi
20990
20991   # Set linker optimization flags.
20992   if test x"$with_gnu_ld" = x"yes"; then
20993     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20994   fi
20995
20996
20997
20998
20999
21000   ac_test_CXXFLAGS="${CXXFLAGS+set}"
21001   ac_save_CXXFLAGS="$CXXFLAGS"
21002   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21003
21004     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21005 $as_echo_n "checking for sin in -lm... " >&6; }
21006 if test "${ac_cv_lib_m_sin+set}" = set; then :
21007   $as_echo_n "(cached) " >&6
21008 else
21009   ac_check_lib_save_LIBS=$LIBS
21010 LIBS="-lm  $LIBS"
21011 if test x$gcc_no_link = xyes; then
21012   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21013 fi
21014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21015 /* end confdefs.h.  */
21016
21017 /* Override any GCC internal prototype to avoid an error.
21018    Use char because int might match the return type of a GCC
21019    builtin and then its argument prototype would still apply.  */
21020 #ifdef __cplusplus
21021 extern "C"
21022 #endif
21023 char sin ();
21024 int
21025 main ()
21026 {
21027 return sin ();
21028   ;
21029   return 0;
21030 }
21031 _ACEOF
21032 if ac_fn_c_try_link "$LINENO"; then :
21033   ac_cv_lib_m_sin=yes
21034 else
21035   ac_cv_lib_m_sin=no
21036 fi
21037 rm -f core conftest.err conftest.$ac_objext \
21038     conftest$ac_exeext conftest.$ac_ext
21039 LIBS=$ac_check_lib_save_LIBS
21040 fi
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21042 $as_echo "$ac_cv_lib_m_sin" >&6; }
21043 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21044   libm="-lm"
21045 fi
21046
21047   ac_save_LIBS="$LIBS"
21048   LIBS="$LIBS $libm"
21049
21050
21051
21052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21053 $as_echo_n "checking for isinf declaration... " >&6; }
21054   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21055     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21056   $as_echo_n "(cached) " >&6
21057 else
21058
21059
21060       ac_ext=cpp
21061 ac_cpp='$CXXCPP $CPPFLAGS'
21062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21065
21066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h.  */
21068 #include <math.h>
21069                       #ifdef HAVE_IEEEFP_H
21070                       #include <ieeefp.h>
21071                       #endif
21072
21073 int
21074 main ()
21075 {
21076  isinf(0);
21077   ;
21078   return 0;
21079 }
21080 _ACEOF
21081 if ac_fn_cxx_try_compile "$LINENO"; then :
21082   glibcxx_cv_func_isinf_use=yes
21083 else
21084   glibcxx_cv_func_isinf_use=no
21085 fi
21086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21087       ac_ext=c
21088 ac_cpp='$CPP $CPPFLAGS'
21089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21092
21093
21094 fi
21095
21096   fi
21097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21098 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21099
21100   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21101     for ac_func in isinf
21102 do :
21103   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21104 if test "x$ac_cv_func_isinf" = x""yes; then :
21105   cat >>confdefs.h <<_ACEOF
21106 #define HAVE_ISINF 1
21107 _ACEOF
21108
21109 fi
21110 done
21111
21112   else
21113
21114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21115 $as_echo_n "checking for _isinf declaration... " >&6; }
21116   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21117     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21118   $as_echo_n "(cached) " >&6
21119 else
21120
21121
21122       ac_ext=cpp
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21127
21128       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h.  */
21130 #include <math.h>
21131                       #ifdef HAVE_IEEEFP_H
21132                       #include <ieeefp.h>
21133                       #endif
21134
21135 int
21136 main ()
21137 {
21138  _isinf(0);
21139   ;
21140   return 0;
21141 }
21142 _ACEOF
21143 if ac_fn_cxx_try_compile "$LINENO"; then :
21144   glibcxx_cv_func__isinf_use=yes
21145 else
21146   glibcxx_cv_func__isinf_use=no
21147 fi
21148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21149       ac_ext=c
21150 ac_cpp='$CPP $CPPFLAGS'
21151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21154
21155
21156 fi
21157
21158   fi
21159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21160 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21161
21162     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21163       for ac_func in _isinf
21164 do :
21165   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21166 if test "x$ac_cv_func__isinf" = x""yes; then :
21167   cat >>confdefs.h <<_ACEOF
21168 #define HAVE__ISINF 1
21169 _ACEOF
21170
21171 fi
21172 done
21173
21174     fi
21175   fi
21176
21177
21178
21179
21180
21181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21182 $as_echo_n "checking for isnan declaration... " >&6; }
21183   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21184     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21185   $as_echo_n "(cached) " >&6
21186 else
21187
21188
21189       ac_ext=cpp
21190 ac_cpp='$CXXCPP $CPPFLAGS'
21191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21194
21195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h.  */
21197 #include <math.h>
21198                       #ifdef HAVE_IEEEFP_H
21199                       #include <ieeefp.h>
21200                       #endif
21201
21202 int
21203 main ()
21204 {
21205  isnan(0);
21206   ;
21207   return 0;
21208 }
21209 _ACEOF
21210 if ac_fn_cxx_try_compile "$LINENO"; then :
21211   glibcxx_cv_func_isnan_use=yes
21212 else
21213   glibcxx_cv_func_isnan_use=no
21214 fi
21215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21216       ac_ext=c
21217 ac_cpp='$CPP $CPPFLAGS'
21218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21221
21222
21223 fi
21224
21225   fi
21226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21227 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21228
21229   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21230     for ac_func in isnan
21231 do :
21232   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21233 if test "x$ac_cv_func_isnan" = x""yes; then :
21234   cat >>confdefs.h <<_ACEOF
21235 #define HAVE_ISNAN 1
21236 _ACEOF
21237
21238 fi
21239 done
21240
21241   else
21242
21243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21244 $as_echo_n "checking for _isnan declaration... " >&6; }
21245   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21246     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21247   $as_echo_n "(cached) " >&6
21248 else
21249
21250
21251       ac_ext=cpp
21252 ac_cpp='$CXXCPP $CPPFLAGS'
21253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21256
21257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21258 /* end confdefs.h.  */
21259 #include <math.h>
21260                       #ifdef HAVE_IEEEFP_H
21261                       #include <ieeefp.h>
21262                       #endif
21263
21264 int
21265 main ()
21266 {
21267  _isnan(0);
21268   ;
21269   return 0;
21270 }
21271 _ACEOF
21272 if ac_fn_cxx_try_compile "$LINENO"; then :
21273   glibcxx_cv_func__isnan_use=yes
21274 else
21275   glibcxx_cv_func__isnan_use=no
21276 fi
21277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21278       ac_ext=c
21279 ac_cpp='$CPP $CPPFLAGS'
21280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21283
21284
21285 fi
21286
21287   fi
21288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21289 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21290
21291     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21292       for ac_func in _isnan
21293 do :
21294   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21295 if test "x$ac_cv_func__isnan" = x""yes; then :
21296   cat >>confdefs.h <<_ACEOF
21297 #define HAVE__ISNAN 1
21298 _ACEOF
21299
21300 fi
21301 done
21302
21303     fi
21304   fi
21305
21306
21307
21308
21309
21310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21311 $as_echo_n "checking for finite declaration... " >&6; }
21312   if test x${glibcxx_cv_func_finite_use+set} != xset; then
21313     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21314   $as_echo_n "(cached) " >&6
21315 else
21316
21317
21318       ac_ext=cpp
21319 ac_cpp='$CXXCPP $CPPFLAGS'
21320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21323
21324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21325 /* end confdefs.h.  */
21326 #include <math.h>
21327                       #ifdef HAVE_IEEEFP_H
21328                       #include <ieeefp.h>
21329                       #endif
21330
21331 int
21332 main ()
21333 {
21334  finite(0);
21335   ;
21336   return 0;
21337 }
21338 _ACEOF
21339 if ac_fn_cxx_try_compile "$LINENO"; then :
21340   glibcxx_cv_func_finite_use=yes
21341 else
21342   glibcxx_cv_func_finite_use=no
21343 fi
21344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21345       ac_ext=c
21346 ac_cpp='$CPP $CPPFLAGS'
21347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21350
21351
21352 fi
21353
21354   fi
21355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21356 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21357
21358   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21359     for ac_func in finite
21360 do :
21361   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21362 if test "x$ac_cv_func_finite" = x""yes; then :
21363   cat >>confdefs.h <<_ACEOF
21364 #define HAVE_FINITE 1
21365 _ACEOF
21366
21367 fi
21368 done
21369
21370   else
21371
21372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21373 $as_echo_n "checking for _finite declaration... " >&6; }
21374   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21375     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21376   $as_echo_n "(cached) " >&6
21377 else
21378
21379
21380       ac_ext=cpp
21381 ac_cpp='$CXXCPP $CPPFLAGS'
21382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21385
21386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h.  */
21388 #include <math.h>
21389                       #ifdef HAVE_IEEEFP_H
21390                       #include <ieeefp.h>
21391                       #endif
21392
21393 int
21394 main ()
21395 {
21396  _finite(0);
21397   ;
21398   return 0;
21399 }
21400 _ACEOF
21401 if ac_fn_cxx_try_compile "$LINENO"; then :
21402   glibcxx_cv_func__finite_use=yes
21403 else
21404   glibcxx_cv_func__finite_use=no
21405 fi
21406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21407       ac_ext=c
21408 ac_cpp='$CPP $CPPFLAGS'
21409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21412
21413
21414 fi
21415
21416   fi
21417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21418 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21419
21420     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21421       for ac_func in _finite
21422 do :
21423   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21424 if test "x$ac_cv_func__finite" = x""yes; then :
21425   cat >>confdefs.h <<_ACEOF
21426 #define HAVE__FINITE 1
21427 _ACEOF
21428
21429 fi
21430 done
21431
21432     fi
21433   fi
21434
21435
21436
21437
21438
21439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21440 $as_echo_n "checking for sincos declaration... " >&6; }
21441   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21442     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21443   $as_echo_n "(cached) " >&6
21444 else
21445
21446
21447       ac_ext=cpp
21448 ac_cpp='$CXXCPP $CPPFLAGS'
21449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21452
21453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21454 /* end confdefs.h.  */
21455 #include <math.h>
21456 int
21457 main ()
21458 {
21459  sincos(0, 0, 0);
21460   ;
21461   return 0;
21462 }
21463 _ACEOF
21464 if ac_fn_cxx_try_compile "$LINENO"; then :
21465   glibcxx_cv_func_sincos_use=yes
21466 else
21467   glibcxx_cv_func_sincos_use=no
21468 fi
21469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21470       ac_ext=c
21471 ac_cpp='$CPP $CPPFLAGS'
21472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21475
21476
21477 fi
21478
21479   fi
21480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21481 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21482
21483   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21484     for ac_func in sincos
21485 do :
21486   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21487 if test "x$ac_cv_func_sincos" = x""yes; then :
21488   cat >>confdefs.h <<_ACEOF
21489 #define HAVE_SINCOS 1
21490 _ACEOF
21491
21492 fi
21493 done
21494
21495   else
21496
21497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21498 $as_echo_n "checking for _sincos declaration... " >&6; }
21499   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21500     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21501   $as_echo_n "(cached) " >&6
21502 else
21503
21504
21505       ac_ext=cpp
21506 ac_cpp='$CXXCPP $CPPFLAGS'
21507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21510
21511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h.  */
21513 #include <math.h>
21514 int
21515 main ()
21516 {
21517  _sincos(0, 0, 0);
21518   ;
21519   return 0;
21520 }
21521 _ACEOF
21522 if ac_fn_cxx_try_compile "$LINENO"; then :
21523   glibcxx_cv_func__sincos_use=yes
21524 else
21525   glibcxx_cv_func__sincos_use=no
21526 fi
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21528       ac_ext=c
21529 ac_cpp='$CPP $CPPFLAGS'
21530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21533
21534
21535 fi
21536
21537   fi
21538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21539 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21540
21541     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21542       for ac_func in _sincos
21543 do :
21544   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21545 if test "x$ac_cv_func__sincos" = x""yes; then :
21546   cat >>confdefs.h <<_ACEOF
21547 #define HAVE__SINCOS 1
21548 _ACEOF
21549
21550 fi
21551 done
21552
21553     fi
21554   fi
21555
21556
21557
21558
21559
21560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21561 $as_echo_n "checking for fpclass declaration... " >&6; }
21562   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21563     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21564   $as_echo_n "(cached) " >&6
21565 else
21566
21567
21568       ac_ext=cpp
21569 ac_cpp='$CXXCPP $CPPFLAGS'
21570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21573
21574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h.  */
21576 #include <math.h>
21577                       #ifdef HAVE_IEEEFP_H
21578                       #include <ieeefp.h>
21579                       #endif
21580
21581 int
21582 main ()
21583 {
21584  fpclass(0);
21585   ;
21586   return 0;
21587 }
21588 _ACEOF
21589 if ac_fn_cxx_try_compile "$LINENO"; then :
21590   glibcxx_cv_func_fpclass_use=yes
21591 else
21592   glibcxx_cv_func_fpclass_use=no
21593 fi
21594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21595       ac_ext=c
21596 ac_cpp='$CPP $CPPFLAGS'
21597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21600
21601
21602 fi
21603
21604   fi
21605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21606 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21607
21608   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21609     for ac_func in fpclass
21610 do :
21611   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21612 if test "x$ac_cv_func_fpclass" = x""yes; then :
21613   cat >>confdefs.h <<_ACEOF
21614 #define HAVE_FPCLASS 1
21615 _ACEOF
21616
21617 fi
21618 done
21619
21620   else
21621
21622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21623 $as_echo_n "checking for _fpclass declaration... " >&6; }
21624   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21625     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21626   $as_echo_n "(cached) " >&6
21627 else
21628
21629
21630       ac_ext=cpp
21631 ac_cpp='$CXXCPP $CPPFLAGS'
21632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21635
21636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h.  */
21638 #include <math.h>
21639                       #ifdef HAVE_IEEEFP_H
21640                       #include <ieeefp.h>
21641                       #endif
21642
21643 int
21644 main ()
21645 {
21646  _fpclass(0);
21647   ;
21648   return 0;
21649 }
21650 _ACEOF
21651 if ac_fn_cxx_try_compile "$LINENO"; then :
21652   glibcxx_cv_func__fpclass_use=yes
21653 else
21654   glibcxx_cv_func__fpclass_use=no
21655 fi
21656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657       ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662
21663
21664 fi
21665
21666   fi
21667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21668 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21669
21670     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21671       for ac_func in _fpclass
21672 do :
21673   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21674 if test "x$ac_cv_func__fpclass" = x""yes; then :
21675   cat >>confdefs.h <<_ACEOF
21676 #define HAVE__FPCLASS 1
21677 _ACEOF
21678
21679 fi
21680 done
21681
21682     fi
21683   fi
21684
21685
21686
21687
21688
21689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21690 $as_echo_n "checking for qfpclass declaration... " >&6; }
21691   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21692     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21693   $as_echo_n "(cached) " >&6
21694 else
21695
21696
21697       ac_ext=cpp
21698 ac_cpp='$CXXCPP $CPPFLAGS'
21699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21702
21703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21704 /* end confdefs.h.  */
21705 #include <math.h>
21706                       #ifdef HAVE_IEEEFP_H
21707                       #include <ieeefp.h>
21708                       #endif
21709
21710 int
21711 main ()
21712 {
21713  qfpclass(0);
21714   ;
21715   return 0;
21716 }
21717 _ACEOF
21718 if ac_fn_cxx_try_compile "$LINENO"; then :
21719   glibcxx_cv_func_qfpclass_use=yes
21720 else
21721   glibcxx_cv_func_qfpclass_use=no
21722 fi
21723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21724       ac_ext=c
21725 ac_cpp='$CPP $CPPFLAGS'
21726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21729
21730
21731 fi
21732
21733   fi
21734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21735 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21736
21737   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21738     for ac_func in qfpclass
21739 do :
21740   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21741 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21742   cat >>confdefs.h <<_ACEOF
21743 #define HAVE_QFPCLASS 1
21744 _ACEOF
21745
21746 fi
21747 done
21748
21749   else
21750
21751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21752 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21753   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21754     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21755   $as_echo_n "(cached) " >&6
21756 else
21757
21758
21759       ac_ext=cpp
21760 ac_cpp='$CXXCPP $CPPFLAGS'
21761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21764
21765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h.  */
21767 #include <math.h>
21768                       #ifdef HAVE_IEEEFP_H
21769                       #include <ieeefp.h>
21770                       #endif
21771
21772 int
21773 main ()
21774 {
21775  _qfpclass(0);
21776   ;
21777   return 0;
21778 }
21779 _ACEOF
21780 if ac_fn_cxx_try_compile "$LINENO"; then :
21781   glibcxx_cv_func__qfpclass_use=yes
21782 else
21783   glibcxx_cv_func__qfpclass_use=no
21784 fi
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786       ac_ext=c
21787 ac_cpp='$CPP $CPPFLAGS'
21788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21791
21792
21793 fi
21794
21795   fi
21796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21797 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21798
21799     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21800       for ac_func in _qfpclass
21801 do :
21802   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21803 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21804   cat >>confdefs.h <<_ACEOF
21805 #define HAVE__QFPCLASS 1
21806 _ACEOF
21807
21808 fi
21809 done
21810
21811     fi
21812   fi
21813
21814
21815
21816
21817
21818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21819 $as_echo_n "checking for hypot declaration... " >&6; }
21820   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21821     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21822   $as_echo_n "(cached) " >&6
21823 else
21824
21825
21826       ac_ext=cpp
21827 ac_cpp='$CXXCPP $CPPFLAGS'
21828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21831
21832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h.  */
21834 #include <math.h>
21835 int
21836 main ()
21837 {
21838  hypot(0, 0);
21839   ;
21840   return 0;
21841 }
21842 _ACEOF
21843 if ac_fn_cxx_try_compile "$LINENO"; then :
21844   glibcxx_cv_func_hypot_use=yes
21845 else
21846   glibcxx_cv_func_hypot_use=no
21847 fi
21848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21849       ac_ext=c
21850 ac_cpp='$CPP $CPPFLAGS'
21851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21854
21855
21856 fi
21857
21858   fi
21859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21860 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21861
21862   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21863     for ac_func in hypot
21864 do :
21865   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21866 if test "x$ac_cv_func_hypot" = x""yes; then :
21867   cat >>confdefs.h <<_ACEOF
21868 #define HAVE_HYPOT 1
21869 _ACEOF
21870
21871 fi
21872 done
21873
21874   else
21875
21876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21877 $as_echo_n "checking for _hypot declaration... " >&6; }
21878   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21879     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21880   $as_echo_n "(cached) " >&6
21881 else
21882
21883
21884       ac_ext=cpp
21885 ac_cpp='$CXXCPP $CPPFLAGS'
21886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21889
21890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h.  */
21892 #include <math.h>
21893 int
21894 main ()
21895 {
21896  _hypot(0, 0);
21897   ;
21898   return 0;
21899 }
21900 _ACEOF
21901 if ac_fn_cxx_try_compile "$LINENO"; then :
21902   glibcxx_cv_func__hypot_use=yes
21903 else
21904   glibcxx_cv_func__hypot_use=no
21905 fi
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907       ac_ext=c
21908 ac_cpp='$CPP $CPPFLAGS'
21909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21912
21913
21914 fi
21915
21916   fi
21917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21918 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21919
21920     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21921       for ac_func in _hypot
21922 do :
21923   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21924 if test "x$ac_cv_func__hypot" = x""yes; then :
21925   cat >>confdefs.h <<_ACEOF
21926 #define HAVE__HYPOT 1
21927 _ACEOF
21928
21929 fi
21930 done
21931
21932     fi
21933   fi
21934
21935
21936
21937
21938
21939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21940 $as_echo_n "checking for float trig functions... " >&6; }
21941   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21942   $as_echo_n "(cached) " >&6
21943 else
21944
21945
21946     ac_ext=cpp
21947 ac_cpp='$CXXCPP $CPPFLAGS'
21948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21951
21952     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21953 /* end confdefs.h.  */
21954 #include <math.h>
21955 int
21956 main ()
21957 {
21958 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21959   ;
21960   return 0;
21961 }
21962 _ACEOF
21963 if ac_fn_cxx_try_compile "$LINENO"; then :
21964   glibcxx_cv_func_float_trig_use=yes
21965 else
21966   glibcxx_cv_func_float_trig_use=no
21967 fi
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21969     ac_ext=c
21970 ac_cpp='$CPP $CPPFLAGS'
21971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21974
21975 fi
21976
21977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21978 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21979   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21980     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21981 do :
21982   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21984 eval as_val=\$$as_ac_var
21985    if test "x$as_val" = x""yes; then :
21986   cat >>confdefs.h <<_ACEOF
21987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21988 _ACEOF
21989
21990 fi
21991 done
21992
21993   else
21994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21995 $as_echo_n "checking for _float trig functions... " >&6; }
21996     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21997   $as_echo_n "(cached) " >&6
21998 else
21999
22000
22001       ac_ext=cpp
22002 ac_cpp='$CXXCPP $CPPFLAGS'
22003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22006
22007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h.  */
22009 #include <math.h>
22010 int
22011 main ()
22012 {
22013 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22014   ;
22015   return 0;
22016 }
22017 _ACEOF
22018 if ac_fn_cxx_try_compile "$LINENO"; then :
22019   glibcxx_cv_func__float_trig_use=yes
22020 else
22021   glibcxx_cv_func__float_trig_use=no
22022 fi
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024       ac_ext=c
22025 ac_cpp='$CPP $CPPFLAGS'
22026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22029
22030 fi
22031
22032     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22033 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22034     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22035       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22036 do :
22037   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22039 eval as_val=\$$as_ac_var
22040    if test "x$as_val" = x""yes; then :
22041   cat >>confdefs.h <<_ACEOF
22042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22043 _ACEOF
22044
22045 fi
22046 done
22047
22048     fi
22049   fi
22050
22051
22052
22053
22054
22055     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22056 $as_echo_n "checking for float round functions... " >&6; }
22057   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22058   $as_echo_n "(cached) " >&6
22059 else
22060
22061
22062     ac_ext=cpp
22063 ac_cpp='$CXXCPP $CPPFLAGS'
22064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22067
22068     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22069 /* end confdefs.h.  */
22070 #include <math.h>
22071 int
22072 main ()
22073 {
22074 ceilf (0); floorf (0);
22075   ;
22076   return 0;
22077 }
22078 _ACEOF
22079 if ac_fn_cxx_try_compile "$LINENO"; then :
22080   glibcxx_cv_func_float_round_use=yes
22081 else
22082   glibcxx_cv_func_float_round_use=no
22083 fi
22084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22085     ac_ext=c
22086 ac_cpp='$CPP $CPPFLAGS'
22087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22090
22091 fi
22092
22093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22094 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22095   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22096     for ac_func in ceilf floorf
22097 do :
22098   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22100 eval as_val=\$$as_ac_var
22101    if test "x$as_val" = x""yes; then :
22102   cat >>confdefs.h <<_ACEOF
22103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22104 _ACEOF
22105
22106 fi
22107 done
22108
22109   else
22110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22111 $as_echo_n "checking for _float round functions... " >&6; }
22112     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22113   $as_echo_n "(cached) " >&6
22114 else
22115
22116
22117       ac_ext=cpp
22118 ac_cpp='$CXXCPP $CPPFLAGS'
22119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22122
22123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22124 /* end confdefs.h.  */
22125 #include <math.h>
22126 int
22127 main ()
22128 {
22129 _ceilf (0); _floorf (0);
22130   ;
22131   return 0;
22132 }
22133 _ACEOF
22134 if ac_fn_cxx_try_compile "$LINENO"; then :
22135   glibcxx_cv_func__float_round_use=yes
22136 else
22137   glibcxx_cv_func__float_round_use=no
22138 fi
22139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22140       ac_ext=c
22141 ac_cpp='$CPP $CPPFLAGS'
22142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22145
22146 fi
22147
22148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22149 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22150     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22151       for ac_func in _ceilf _floorf
22152 do :
22153   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22155 eval as_val=\$$as_ac_var
22156    if test "x$as_val" = x""yes; then :
22157   cat >>confdefs.h <<_ACEOF
22158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22159 _ACEOF
22160
22161 fi
22162 done
22163
22164     fi
22165   fi
22166
22167
22168
22169
22170
22171
22172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22173 $as_echo_n "checking for expf declaration... " >&6; }
22174   if test x${glibcxx_cv_func_expf_use+set} != xset; then
22175     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22176   $as_echo_n "(cached) " >&6
22177 else
22178
22179
22180       ac_ext=cpp
22181 ac_cpp='$CXXCPP $CPPFLAGS'
22182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22185
22186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22187 /* end confdefs.h.  */
22188 #include <math.h>
22189                       #ifdef HAVE_IEEEFP_H
22190                       #include <ieeefp.h>
22191                       #endif
22192
22193 int
22194 main ()
22195 {
22196  expf(0);
22197   ;
22198   return 0;
22199 }
22200 _ACEOF
22201 if ac_fn_cxx_try_compile "$LINENO"; then :
22202   glibcxx_cv_func_expf_use=yes
22203 else
22204   glibcxx_cv_func_expf_use=no
22205 fi
22206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22207       ac_ext=c
22208 ac_cpp='$CPP $CPPFLAGS'
22209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22212
22213
22214 fi
22215
22216   fi
22217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22218 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22219
22220   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22221     for ac_func in expf
22222 do :
22223   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22224 if test "x$ac_cv_func_expf" = x""yes; then :
22225   cat >>confdefs.h <<_ACEOF
22226 #define HAVE_EXPF 1
22227 _ACEOF
22228
22229 fi
22230 done
22231
22232   else
22233
22234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22235 $as_echo_n "checking for _expf declaration... " >&6; }
22236   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22237     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22238   $as_echo_n "(cached) " >&6
22239 else
22240
22241
22242       ac_ext=cpp
22243 ac_cpp='$CXXCPP $CPPFLAGS'
22244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22247
22248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22249 /* end confdefs.h.  */
22250 #include <math.h>
22251                       #ifdef HAVE_IEEEFP_H
22252                       #include <ieeefp.h>
22253                       #endif
22254
22255 int
22256 main ()
22257 {
22258  _expf(0);
22259   ;
22260   return 0;
22261 }
22262 _ACEOF
22263 if ac_fn_cxx_try_compile "$LINENO"; then :
22264   glibcxx_cv_func__expf_use=yes
22265 else
22266   glibcxx_cv_func__expf_use=no
22267 fi
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22269       ac_ext=c
22270 ac_cpp='$CPP $CPPFLAGS'
22271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22274
22275
22276 fi
22277
22278   fi
22279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22280 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22281
22282     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22283       for ac_func in _expf
22284 do :
22285   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22286 if test "x$ac_cv_func__expf" = x""yes; then :
22287   cat >>confdefs.h <<_ACEOF
22288 #define HAVE__EXPF 1
22289 _ACEOF
22290
22291 fi
22292 done
22293
22294     fi
22295   fi
22296
22297
22298
22299
22300
22301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22302 $as_echo_n "checking for isnanf declaration... " >&6; }
22303   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22304     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22305   $as_echo_n "(cached) " >&6
22306 else
22307
22308
22309       ac_ext=cpp
22310 ac_cpp='$CXXCPP $CPPFLAGS'
22311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22314
22315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22316 /* end confdefs.h.  */
22317 #include <math.h>
22318                       #ifdef HAVE_IEEEFP_H
22319                       #include <ieeefp.h>
22320                       #endif
22321
22322 int
22323 main ()
22324 {
22325  isnanf(0);
22326   ;
22327   return 0;
22328 }
22329 _ACEOF
22330 if ac_fn_cxx_try_compile "$LINENO"; then :
22331   glibcxx_cv_func_isnanf_use=yes
22332 else
22333   glibcxx_cv_func_isnanf_use=no
22334 fi
22335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22336       ac_ext=c
22337 ac_cpp='$CPP $CPPFLAGS'
22338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22341
22342
22343 fi
22344
22345   fi
22346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22347 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22348
22349   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22350     for ac_func in isnanf
22351 do :
22352   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22353 if test "x$ac_cv_func_isnanf" = x""yes; then :
22354   cat >>confdefs.h <<_ACEOF
22355 #define HAVE_ISNANF 1
22356 _ACEOF
22357
22358 fi
22359 done
22360
22361   else
22362
22363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22364 $as_echo_n "checking for _isnanf declaration... " >&6; }
22365   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22366     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22367   $as_echo_n "(cached) " >&6
22368 else
22369
22370
22371       ac_ext=cpp
22372 ac_cpp='$CXXCPP $CPPFLAGS'
22373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22376
22377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22378 /* end confdefs.h.  */
22379 #include <math.h>
22380                       #ifdef HAVE_IEEEFP_H
22381                       #include <ieeefp.h>
22382                       #endif
22383
22384 int
22385 main ()
22386 {
22387  _isnanf(0);
22388   ;
22389   return 0;
22390 }
22391 _ACEOF
22392 if ac_fn_cxx_try_compile "$LINENO"; then :
22393   glibcxx_cv_func__isnanf_use=yes
22394 else
22395   glibcxx_cv_func__isnanf_use=no
22396 fi
22397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22398       ac_ext=c
22399 ac_cpp='$CPP $CPPFLAGS'
22400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22403
22404
22405 fi
22406
22407   fi
22408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22409 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22410
22411     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22412       for ac_func in _isnanf
22413 do :
22414   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22415 if test "x$ac_cv_func__isnanf" = x""yes; then :
22416   cat >>confdefs.h <<_ACEOF
22417 #define HAVE__ISNANF 1
22418 _ACEOF
22419
22420 fi
22421 done
22422
22423     fi
22424   fi
22425
22426
22427
22428
22429
22430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22431 $as_echo_n "checking for isinff declaration... " >&6; }
22432   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22433     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22434   $as_echo_n "(cached) " >&6
22435 else
22436
22437
22438       ac_ext=cpp
22439 ac_cpp='$CXXCPP $CPPFLAGS'
22440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22443
22444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22445 /* end confdefs.h.  */
22446 #include <math.h>
22447                       #ifdef HAVE_IEEEFP_H
22448                       #include <ieeefp.h>
22449                       #endif
22450
22451 int
22452 main ()
22453 {
22454  isinff(0);
22455   ;
22456   return 0;
22457 }
22458 _ACEOF
22459 if ac_fn_cxx_try_compile "$LINENO"; then :
22460   glibcxx_cv_func_isinff_use=yes
22461 else
22462   glibcxx_cv_func_isinff_use=no
22463 fi
22464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22465       ac_ext=c
22466 ac_cpp='$CPP $CPPFLAGS'
22467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22470
22471
22472 fi
22473
22474   fi
22475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22476 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22477
22478   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22479     for ac_func in isinff
22480 do :
22481   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22482 if test "x$ac_cv_func_isinff" = x""yes; then :
22483   cat >>confdefs.h <<_ACEOF
22484 #define HAVE_ISINFF 1
22485 _ACEOF
22486
22487 fi
22488 done
22489
22490   else
22491
22492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22493 $as_echo_n "checking for _isinff declaration... " >&6; }
22494   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22495     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22496   $as_echo_n "(cached) " >&6
22497 else
22498
22499
22500       ac_ext=cpp
22501 ac_cpp='$CXXCPP $CPPFLAGS'
22502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22505
22506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22507 /* end confdefs.h.  */
22508 #include <math.h>
22509                       #ifdef HAVE_IEEEFP_H
22510                       #include <ieeefp.h>
22511                       #endif
22512
22513 int
22514 main ()
22515 {
22516  _isinff(0);
22517   ;
22518   return 0;
22519 }
22520 _ACEOF
22521 if ac_fn_cxx_try_compile "$LINENO"; then :
22522   glibcxx_cv_func__isinff_use=yes
22523 else
22524   glibcxx_cv_func__isinff_use=no
22525 fi
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22527       ac_ext=c
22528 ac_cpp='$CPP $CPPFLAGS'
22529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22532
22533
22534 fi
22535
22536   fi
22537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22538 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22539
22540     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22541       for ac_func in _isinff
22542 do :
22543   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22544 if test "x$ac_cv_func__isinff" = x""yes; then :
22545   cat >>confdefs.h <<_ACEOF
22546 #define HAVE__ISINFF 1
22547 _ACEOF
22548
22549 fi
22550 done
22551
22552     fi
22553   fi
22554
22555
22556
22557
22558
22559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22560 $as_echo_n "checking for atan2f declaration... " >&6; }
22561   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22562     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22563   $as_echo_n "(cached) " >&6
22564 else
22565
22566
22567       ac_ext=cpp
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22572
22573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h.  */
22575 #include <math.h>
22576 int
22577 main ()
22578 {
22579  atan2f(0, 0);
22580   ;
22581   return 0;
22582 }
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585   glibcxx_cv_func_atan2f_use=yes
22586 else
22587   glibcxx_cv_func_atan2f_use=no
22588 fi
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590       ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595
22596
22597 fi
22598
22599   fi
22600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22601 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22602
22603   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22604     for ac_func in atan2f
22605 do :
22606   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22607 if test "x$ac_cv_func_atan2f" = x""yes; then :
22608   cat >>confdefs.h <<_ACEOF
22609 #define HAVE_ATAN2F 1
22610 _ACEOF
22611
22612 fi
22613 done
22614
22615   else
22616
22617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22618 $as_echo_n "checking for _atan2f declaration... " >&6; }
22619   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22620     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22621   $as_echo_n "(cached) " >&6
22622 else
22623
22624
22625       ac_ext=cpp
22626 ac_cpp='$CXXCPP $CPPFLAGS'
22627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22630
22631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22632 /* end confdefs.h.  */
22633 #include <math.h>
22634 int
22635 main ()
22636 {
22637  _atan2f(0, 0);
22638   ;
22639   return 0;
22640 }
22641 _ACEOF
22642 if ac_fn_cxx_try_compile "$LINENO"; then :
22643   glibcxx_cv_func__atan2f_use=yes
22644 else
22645   glibcxx_cv_func__atan2f_use=no
22646 fi
22647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22648       ac_ext=c
22649 ac_cpp='$CPP $CPPFLAGS'
22650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22653
22654
22655 fi
22656
22657   fi
22658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22659 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22660
22661     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22662       for ac_func in _atan2f
22663 do :
22664   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22665 if test "x$ac_cv_func__atan2f" = x""yes; then :
22666   cat >>confdefs.h <<_ACEOF
22667 #define HAVE__ATAN2F 1
22668 _ACEOF
22669
22670 fi
22671 done
22672
22673     fi
22674   fi
22675
22676
22677
22678
22679
22680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22681 $as_echo_n "checking for fabsf declaration... " >&6; }
22682   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22683     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22684   $as_echo_n "(cached) " >&6
22685 else
22686
22687
22688       ac_ext=cpp
22689 ac_cpp='$CXXCPP $CPPFLAGS'
22690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22693
22694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22695 /* end confdefs.h.  */
22696 #include <math.h>
22697                       #ifdef HAVE_IEEEFP_H
22698                       #include <ieeefp.h>
22699                       #endif
22700
22701 int
22702 main ()
22703 {
22704  fabsf(0);
22705   ;
22706   return 0;
22707 }
22708 _ACEOF
22709 if ac_fn_cxx_try_compile "$LINENO"; then :
22710   glibcxx_cv_func_fabsf_use=yes
22711 else
22712   glibcxx_cv_func_fabsf_use=no
22713 fi
22714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22715       ac_ext=c
22716 ac_cpp='$CPP $CPPFLAGS'
22717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22720
22721
22722 fi
22723
22724   fi
22725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22726 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22727
22728   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22729     for ac_func in fabsf
22730 do :
22731   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22732 if test "x$ac_cv_func_fabsf" = x""yes; then :
22733   cat >>confdefs.h <<_ACEOF
22734 #define HAVE_FABSF 1
22735 _ACEOF
22736
22737 fi
22738 done
22739
22740   else
22741
22742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22743 $as_echo_n "checking for _fabsf declaration... " >&6; }
22744   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22745     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22746   $as_echo_n "(cached) " >&6
22747 else
22748
22749
22750       ac_ext=cpp
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22755
22756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h.  */
22758 #include <math.h>
22759                       #ifdef HAVE_IEEEFP_H
22760                       #include <ieeefp.h>
22761                       #endif
22762
22763 int
22764 main ()
22765 {
22766  _fabsf(0);
22767   ;
22768   return 0;
22769 }
22770 _ACEOF
22771 if ac_fn_cxx_try_compile "$LINENO"; then :
22772   glibcxx_cv_func__fabsf_use=yes
22773 else
22774   glibcxx_cv_func__fabsf_use=no
22775 fi
22776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22777       ac_ext=c
22778 ac_cpp='$CPP $CPPFLAGS'
22779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22782
22783
22784 fi
22785
22786   fi
22787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22788 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22789
22790     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22791       for ac_func in _fabsf
22792 do :
22793   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22794 if test "x$ac_cv_func__fabsf" = x""yes; then :
22795   cat >>confdefs.h <<_ACEOF
22796 #define HAVE__FABSF 1
22797 _ACEOF
22798
22799 fi
22800 done
22801
22802     fi
22803   fi
22804
22805
22806
22807
22808
22809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22810 $as_echo_n "checking for fmodf declaration... " >&6; }
22811   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22812     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22813   $as_echo_n "(cached) " >&6
22814 else
22815
22816
22817       ac_ext=cpp
22818 ac_cpp='$CXXCPP $CPPFLAGS'
22819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22822
22823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h.  */
22825 #include <math.h>
22826 int
22827 main ()
22828 {
22829  fmodf(0, 0);
22830   ;
22831   return 0;
22832 }
22833 _ACEOF
22834 if ac_fn_cxx_try_compile "$LINENO"; then :
22835   glibcxx_cv_func_fmodf_use=yes
22836 else
22837   glibcxx_cv_func_fmodf_use=no
22838 fi
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840       ac_ext=c
22841 ac_cpp='$CPP $CPPFLAGS'
22842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22845
22846
22847 fi
22848
22849   fi
22850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22851 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22852
22853   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22854     for ac_func in fmodf
22855 do :
22856   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22857 if test "x$ac_cv_func_fmodf" = x""yes; then :
22858   cat >>confdefs.h <<_ACEOF
22859 #define HAVE_FMODF 1
22860 _ACEOF
22861
22862 fi
22863 done
22864
22865   else
22866
22867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22868 $as_echo_n "checking for _fmodf declaration... " >&6; }
22869   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22870     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22871   $as_echo_n "(cached) " >&6
22872 else
22873
22874
22875       ac_ext=cpp
22876 ac_cpp='$CXXCPP $CPPFLAGS'
22877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22880
22881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22882 /* end confdefs.h.  */
22883 #include <math.h>
22884 int
22885 main ()
22886 {
22887  _fmodf(0, 0);
22888   ;
22889   return 0;
22890 }
22891 _ACEOF
22892 if ac_fn_cxx_try_compile "$LINENO"; then :
22893   glibcxx_cv_func__fmodf_use=yes
22894 else
22895   glibcxx_cv_func__fmodf_use=no
22896 fi
22897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898       ac_ext=c
22899 ac_cpp='$CPP $CPPFLAGS'
22900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22903
22904
22905 fi
22906
22907   fi
22908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22909 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22910
22911     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22912       for ac_func in _fmodf
22913 do :
22914   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22915 if test "x$ac_cv_func__fmodf" = x""yes; then :
22916   cat >>confdefs.h <<_ACEOF
22917 #define HAVE__FMODF 1
22918 _ACEOF
22919
22920 fi
22921 done
22922
22923     fi
22924   fi
22925
22926
22927
22928
22929
22930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22931 $as_echo_n "checking for frexpf declaration... " >&6; }
22932   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22933     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22934   $as_echo_n "(cached) " >&6
22935 else
22936
22937
22938       ac_ext=cpp
22939 ac_cpp='$CXXCPP $CPPFLAGS'
22940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22943
22944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22945 /* end confdefs.h.  */
22946 #include <math.h>
22947 int
22948 main ()
22949 {
22950  frexpf(0, 0);
22951   ;
22952   return 0;
22953 }
22954 _ACEOF
22955 if ac_fn_cxx_try_compile "$LINENO"; then :
22956   glibcxx_cv_func_frexpf_use=yes
22957 else
22958   glibcxx_cv_func_frexpf_use=no
22959 fi
22960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961       ac_ext=c
22962 ac_cpp='$CPP $CPPFLAGS'
22963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22966
22967
22968 fi
22969
22970   fi
22971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22972 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22973
22974   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22975     for ac_func in frexpf
22976 do :
22977   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22978 if test "x$ac_cv_func_frexpf" = x""yes; then :
22979   cat >>confdefs.h <<_ACEOF
22980 #define HAVE_FREXPF 1
22981 _ACEOF
22982
22983 fi
22984 done
22985
22986   else
22987
22988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22989 $as_echo_n "checking for _frexpf declaration... " >&6; }
22990   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22991     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22992   $as_echo_n "(cached) " >&6
22993 else
22994
22995
22996       ac_ext=cpp
22997 ac_cpp='$CXXCPP $CPPFLAGS'
22998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23001
23002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23003 /* end confdefs.h.  */
23004 #include <math.h>
23005 int
23006 main ()
23007 {
23008  _frexpf(0, 0);
23009   ;
23010   return 0;
23011 }
23012 _ACEOF
23013 if ac_fn_cxx_try_compile "$LINENO"; then :
23014   glibcxx_cv_func__frexpf_use=yes
23015 else
23016   glibcxx_cv_func__frexpf_use=no
23017 fi
23018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23019       ac_ext=c
23020 ac_cpp='$CPP $CPPFLAGS'
23021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23024
23025
23026 fi
23027
23028   fi
23029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23030 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23031
23032     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23033       for ac_func in _frexpf
23034 do :
23035   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23036 if test "x$ac_cv_func__frexpf" = x""yes; then :
23037   cat >>confdefs.h <<_ACEOF
23038 #define HAVE__FREXPF 1
23039 _ACEOF
23040
23041 fi
23042 done
23043
23044     fi
23045   fi
23046
23047
23048
23049
23050
23051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23052 $as_echo_n "checking for hypotf declaration... " >&6; }
23053   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23054     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23055   $as_echo_n "(cached) " >&6
23056 else
23057
23058
23059       ac_ext=cpp
23060 ac_cpp='$CXXCPP $CPPFLAGS'
23061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23064
23065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23066 /* end confdefs.h.  */
23067 #include <math.h>
23068 int
23069 main ()
23070 {
23071  hypotf(0, 0);
23072   ;
23073   return 0;
23074 }
23075 _ACEOF
23076 if ac_fn_cxx_try_compile "$LINENO"; then :
23077   glibcxx_cv_func_hypotf_use=yes
23078 else
23079   glibcxx_cv_func_hypotf_use=no
23080 fi
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082       ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23087
23088
23089 fi
23090
23091   fi
23092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23093 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23094
23095   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23096     for ac_func in hypotf
23097 do :
23098   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23099 if test "x$ac_cv_func_hypotf" = x""yes; then :
23100   cat >>confdefs.h <<_ACEOF
23101 #define HAVE_HYPOTF 1
23102 _ACEOF
23103
23104 fi
23105 done
23106
23107   else
23108
23109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23110 $as_echo_n "checking for _hypotf declaration... " >&6; }
23111   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23112     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23113   $as_echo_n "(cached) " >&6
23114 else
23115
23116
23117       ac_ext=cpp
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23122
23123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h.  */
23125 #include <math.h>
23126 int
23127 main ()
23128 {
23129  _hypotf(0, 0);
23130   ;
23131   return 0;
23132 }
23133 _ACEOF
23134 if ac_fn_cxx_try_compile "$LINENO"; then :
23135   glibcxx_cv_func__hypotf_use=yes
23136 else
23137   glibcxx_cv_func__hypotf_use=no
23138 fi
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140       ac_ext=c
23141 ac_cpp='$CPP $CPPFLAGS'
23142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23145
23146
23147 fi
23148
23149   fi
23150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23151 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23152
23153     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23154       for ac_func in _hypotf
23155 do :
23156   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23157 if test "x$ac_cv_func__hypotf" = x""yes; then :
23158   cat >>confdefs.h <<_ACEOF
23159 #define HAVE__HYPOTF 1
23160 _ACEOF
23161
23162 fi
23163 done
23164
23165     fi
23166   fi
23167
23168
23169
23170
23171
23172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23173 $as_echo_n "checking for ldexpf declaration... " >&6; }
23174   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23175     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23176   $as_echo_n "(cached) " >&6
23177 else
23178
23179
23180       ac_ext=cpp
23181 ac_cpp='$CXXCPP $CPPFLAGS'
23182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23185
23186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23187 /* end confdefs.h.  */
23188 #include <math.h>
23189 int
23190 main ()
23191 {
23192  ldexpf(0, 0);
23193   ;
23194   return 0;
23195 }
23196 _ACEOF
23197 if ac_fn_cxx_try_compile "$LINENO"; then :
23198   glibcxx_cv_func_ldexpf_use=yes
23199 else
23200   glibcxx_cv_func_ldexpf_use=no
23201 fi
23202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23203       ac_ext=c
23204 ac_cpp='$CPP $CPPFLAGS'
23205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23208
23209
23210 fi
23211
23212   fi
23213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23214 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23215
23216   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23217     for ac_func in ldexpf
23218 do :
23219   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23220 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23221   cat >>confdefs.h <<_ACEOF
23222 #define HAVE_LDEXPF 1
23223 _ACEOF
23224
23225 fi
23226 done
23227
23228   else
23229
23230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23231 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23232   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23233     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23234   $as_echo_n "(cached) " >&6
23235 else
23236
23237
23238       ac_ext=cpp
23239 ac_cpp='$CXXCPP $CPPFLAGS'
23240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23243
23244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23245 /* end confdefs.h.  */
23246 #include <math.h>
23247 int
23248 main ()
23249 {
23250  _ldexpf(0, 0);
23251   ;
23252   return 0;
23253 }
23254 _ACEOF
23255 if ac_fn_cxx_try_compile "$LINENO"; then :
23256   glibcxx_cv_func__ldexpf_use=yes
23257 else
23258   glibcxx_cv_func__ldexpf_use=no
23259 fi
23260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23261       ac_ext=c
23262 ac_cpp='$CPP $CPPFLAGS'
23263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23266
23267
23268 fi
23269
23270   fi
23271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23272 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23273
23274     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23275       for ac_func in _ldexpf
23276 do :
23277   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23278 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23279   cat >>confdefs.h <<_ACEOF
23280 #define HAVE__LDEXPF 1
23281 _ACEOF
23282
23283 fi
23284 done
23285
23286     fi
23287   fi
23288
23289
23290
23291
23292
23293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23294 $as_echo_n "checking for logf declaration... " >&6; }
23295   if test x${glibcxx_cv_func_logf_use+set} != xset; then
23296     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23297   $as_echo_n "(cached) " >&6
23298 else
23299
23300
23301       ac_ext=cpp
23302 ac_cpp='$CXXCPP $CPPFLAGS'
23303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23306
23307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23308 /* end confdefs.h.  */
23309 #include <math.h>
23310                       #ifdef HAVE_IEEEFP_H
23311                       #include <ieeefp.h>
23312                       #endif
23313
23314 int
23315 main ()
23316 {
23317  logf(0);
23318   ;
23319   return 0;
23320 }
23321 _ACEOF
23322 if ac_fn_cxx_try_compile "$LINENO"; then :
23323   glibcxx_cv_func_logf_use=yes
23324 else
23325   glibcxx_cv_func_logf_use=no
23326 fi
23327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23328       ac_ext=c
23329 ac_cpp='$CPP $CPPFLAGS'
23330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23333
23334
23335 fi
23336
23337   fi
23338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23339 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23340
23341   if test x$glibcxx_cv_func_logf_use = x"yes"; then
23342     for ac_func in logf
23343 do :
23344   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23345 if test "x$ac_cv_func_logf" = x""yes; then :
23346   cat >>confdefs.h <<_ACEOF
23347 #define HAVE_LOGF 1
23348 _ACEOF
23349
23350 fi
23351 done
23352
23353   else
23354
23355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23356 $as_echo_n "checking for _logf declaration... " >&6; }
23357   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23358     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23359   $as_echo_n "(cached) " >&6
23360 else
23361
23362
23363       ac_ext=cpp
23364 ac_cpp='$CXXCPP $CPPFLAGS'
23365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23368
23369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23370 /* end confdefs.h.  */
23371 #include <math.h>
23372                       #ifdef HAVE_IEEEFP_H
23373                       #include <ieeefp.h>
23374                       #endif
23375
23376 int
23377 main ()
23378 {
23379  _logf(0);
23380   ;
23381   return 0;
23382 }
23383 _ACEOF
23384 if ac_fn_cxx_try_compile "$LINENO"; then :
23385   glibcxx_cv_func__logf_use=yes
23386 else
23387   glibcxx_cv_func__logf_use=no
23388 fi
23389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23390       ac_ext=c
23391 ac_cpp='$CPP $CPPFLAGS'
23392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23395
23396
23397 fi
23398
23399   fi
23400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23401 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23402
23403     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23404       for ac_func in _logf
23405 do :
23406   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23407 if test "x$ac_cv_func__logf" = x""yes; then :
23408   cat >>confdefs.h <<_ACEOF
23409 #define HAVE__LOGF 1
23410 _ACEOF
23411
23412 fi
23413 done
23414
23415     fi
23416   fi
23417
23418
23419
23420
23421
23422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23423 $as_echo_n "checking for log10f declaration... " >&6; }
23424   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23425     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23426   $as_echo_n "(cached) " >&6
23427 else
23428
23429
23430       ac_ext=cpp
23431 ac_cpp='$CXXCPP $CPPFLAGS'
23432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23435
23436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h.  */
23438 #include <math.h>
23439                       #ifdef HAVE_IEEEFP_H
23440                       #include <ieeefp.h>
23441                       #endif
23442
23443 int
23444 main ()
23445 {
23446  log10f(0);
23447   ;
23448   return 0;
23449 }
23450 _ACEOF
23451 if ac_fn_cxx_try_compile "$LINENO"; then :
23452   glibcxx_cv_func_log10f_use=yes
23453 else
23454   glibcxx_cv_func_log10f_use=no
23455 fi
23456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23457       ac_ext=c
23458 ac_cpp='$CPP $CPPFLAGS'
23459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23462
23463
23464 fi
23465
23466   fi
23467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23468 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23469
23470   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23471     for ac_func in log10f
23472 do :
23473   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23474 if test "x$ac_cv_func_log10f" = x""yes; then :
23475   cat >>confdefs.h <<_ACEOF
23476 #define HAVE_LOG10F 1
23477 _ACEOF
23478
23479 fi
23480 done
23481
23482   else
23483
23484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23485 $as_echo_n "checking for _log10f declaration... " >&6; }
23486   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23487     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23488   $as_echo_n "(cached) " >&6
23489 else
23490
23491
23492       ac_ext=cpp
23493 ac_cpp='$CXXCPP $CPPFLAGS'
23494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23497
23498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h.  */
23500 #include <math.h>
23501                       #ifdef HAVE_IEEEFP_H
23502                       #include <ieeefp.h>
23503                       #endif
23504
23505 int
23506 main ()
23507 {
23508  _log10f(0);
23509   ;
23510   return 0;
23511 }
23512 _ACEOF
23513 if ac_fn_cxx_try_compile "$LINENO"; then :
23514   glibcxx_cv_func__log10f_use=yes
23515 else
23516   glibcxx_cv_func__log10f_use=no
23517 fi
23518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23519       ac_ext=c
23520 ac_cpp='$CPP $CPPFLAGS'
23521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23524
23525
23526 fi
23527
23528   fi
23529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23530 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23531
23532     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23533       for ac_func in _log10f
23534 do :
23535   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23536 if test "x$ac_cv_func__log10f" = x""yes; then :
23537   cat >>confdefs.h <<_ACEOF
23538 #define HAVE__LOG10F 1
23539 _ACEOF
23540
23541 fi
23542 done
23543
23544     fi
23545   fi
23546
23547
23548
23549
23550
23551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23552 $as_echo_n "checking for modff declaration... " >&6; }
23553   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23554     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23555   $as_echo_n "(cached) " >&6
23556 else
23557
23558
23559       ac_ext=cpp
23560 ac_cpp='$CXXCPP $CPPFLAGS'
23561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23564
23565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23566 /* end confdefs.h.  */
23567 #include <math.h>
23568 int
23569 main ()
23570 {
23571  modff(0, 0);
23572   ;
23573   return 0;
23574 }
23575 _ACEOF
23576 if ac_fn_cxx_try_compile "$LINENO"; then :
23577   glibcxx_cv_func_modff_use=yes
23578 else
23579   glibcxx_cv_func_modff_use=no
23580 fi
23581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23582       ac_ext=c
23583 ac_cpp='$CPP $CPPFLAGS'
23584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23587
23588
23589 fi
23590
23591   fi
23592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23593 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23594
23595   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23596     for ac_func in modff
23597 do :
23598   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23599 if test "x$ac_cv_func_modff" = x""yes; then :
23600   cat >>confdefs.h <<_ACEOF
23601 #define HAVE_MODFF 1
23602 _ACEOF
23603
23604 fi
23605 done
23606
23607   else
23608
23609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23610 $as_echo_n "checking for _modff declaration... " >&6; }
23611   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23612     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23613   $as_echo_n "(cached) " >&6
23614 else
23615
23616
23617       ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23622
23623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h.  */
23625 #include <math.h>
23626 int
23627 main ()
23628 {
23629  _modff(0, 0);
23630   ;
23631   return 0;
23632 }
23633 _ACEOF
23634 if ac_fn_cxx_try_compile "$LINENO"; then :
23635   glibcxx_cv_func__modff_use=yes
23636 else
23637   glibcxx_cv_func__modff_use=no
23638 fi
23639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23640       ac_ext=c
23641 ac_cpp='$CPP $CPPFLAGS'
23642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23645
23646
23647 fi
23648
23649   fi
23650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23651 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23652
23653     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23654       for ac_func in _modff
23655 do :
23656   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23657 if test "x$ac_cv_func__modff" = x""yes; then :
23658   cat >>confdefs.h <<_ACEOF
23659 #define HAVE__MODFF 1
23660 _ACEOF
23661
23662 fi
23663 done
23664
23665     fi
23666   fi
23667
23668
23669
23670
23671
23672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23673 $as_echo_n "checking for modf declaration... " >&6; }
23674   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23675     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23676   $as_echo_n "(cached) " >&6
23677 else
23678
23679
23680       ac_ext=cpp
23681 ac_cpp='$CXXCPP $CPPFLAGS'
23682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23685
23686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23687 /* end confdefs.h.  */
23688 #include <math.h>
23689 int
23690 main ()
23691 {
23692  modf(0, 0);
23693   ;
23694   return 0;
23695 }
23696 _ACEOF
23697 if ac_fn_cxx_try_compile "$LINENO"; then :
23698   glibcxx_cv_func_modf_use=yes
23699 else
23700   glibcxx_cv_func_modf_use=no
23701 fi
23702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23703       ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23708
23709
23710 fi
23711
23712   fi
23713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23714 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23715
23716   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23717     for ac_func in modf
23718 do :
23719   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23720 if test "x$ac_cv_func_modf" = x""yes; then :
23721   cat >>confdefs.h <<_ACEOF
23722 #define HAVE_MODF 1
23723 _ACEOF
23724
23725 fi
23726 done
23727
23728   else
23729
23730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23731 $as_echo_n "checking for _modf declaration... " >&6; }
23732   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23733     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23734   $as_echo_n "(cached) " >&6
23735 else
23736
23737
23738       ac_ext=cpp
23739 ac_cpp='$CXXCPP $CPPFLAGS'
23740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23743
23744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23745 /* end confdefs.h.  */
23746 #include <math.h>
23747 int
23748 main ()
23749 {
23750  _modf(0, 0);
23751   ;
23752   return 0;
23753 }
23754 _ACEOF
23755 if ac_fn_cxx_try_compile "$LINENO"; then :
23756   glibcxx_cv_func__modf_use=yes
23757 else
23758   glibcxx_cv_func__modf_use=no
23759 fi
23760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23761       ac_ext=c
23762 ac_cpp='$CPP $CPPFLAGS'
23763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23766
23767
23768 fi
23769
23770   fi
23771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23772 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23773
23774     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23775       for ac_func in _modf
23776 do :
23777   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23778 if test "x$ac_cv_func__modf" = x""yes; then :
23779   cat >>confdefs.h <<_ACEOF
23780 #define HAVE__MODF 1
23781 _ACEOF
23782
23783 fi
23784 done
23785
23786     fi
23787   fi
23788
23789
23790
23791
23792
23793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23794 $as_echo_n "checking for powf declaration... " >&6; }
23795   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23796     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23797   $as_echo_n "(cached) " >&6
23798 else
23799
23800
23801       ac_ext=cpp
23802 ac_cpp='$CXXCPP $CPPFLAGS'
23803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23806
23807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23808 /* end confdefs.h.  */
23809 #include <math.h>
23810 int
23811 main ()
23812 {
23813  powf(0, 0);
23814   ;
23815   return 0;
23816 }
23817 _ACEOF
23818 if ac_fn_cxx_try_compile "$LINENO"; then :
23819   glibcxx_cv_func_powf_use=yes
23820 else
23821   glibcxx_cv_func_powf_use=no
23822 fi
23823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824       ac_ext=c
23825 ac_cpp='$CPP $CPPFLAGS'
23826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829
23830
23831 fi
23832
23833   fi
23834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23835 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23836
23837   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23838     for ac_func in powf
23839 do :
23840   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23841 if test "x$ac_cv_func_powf" = x""yes; then :
23842   cat >>confdefs.h <<_ACEOF
23843 #define HAVE_POWF 1
23844 _ACEOF
23845
23846 fi
23847 done
23848
23849   else
23850
23851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23852 $as_echo_n "checking for _powf declaration... " >&6; }
23853   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23854     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23855   $as_echo_n "(cached) " >&6
23856 else
23857
23858
23859       ac_ext=cpp
23860 ac_cpp='$CXXCPP $CPPFLAGS'
23861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23864
23865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23866 /* end confdefs.h.  */
23867 #include <math.h>
23868 int
23869 main ()
23870 {
23871  _powf(0, 0);
23872   ;
23873   return 0;
23874 }
23875 _ACEOF
23876 if ac_fn_cxx_try_compile "$LINENO"; then :
23877   glibcxx_cv_func__powf_use=yes
23878 else
23879   glibcxx_cv_func__powf_use=no
23880 fi
23881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23882       ac_ext=c
23883 ac_cpp='$CPP $CPPFLAGS'
23884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23887
23888
23889 fi
23890
23891   fi
23892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23893 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23894
23895     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23896       for ac_func in _powf
23897 do :
23898   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23899 if test "x$ac_cv_func__powf" = x""yes; then :
23900   cat >>confdefs.h <<_ACEOF
23901 #define HAVE__POWF 1
23902 _ACEOF
23903
23904 fi
23905 done
23906
23907     fi
23908   fi
23909
23910
23911
23912
23913
23914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23915 $as_echo_n "checking for sqrtf declaration... " >&6; }
23916   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23917     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23918   $as_echo_n "(cached) " >&6
23919 else
23920
23921
23922       ac_ext=cpp
23923 ac_cpp='$CXXCPP $CPPFLAGS'
23924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23927
23928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23929 /* end confdefs.h.  */
23930 #include <math.h>
23931                       #ifdef HAVE_IEEEFP_H
23932                       #include <ieeefp.h>
23933                       #endif
23934
23935 int
23936 main ()
23937 {
23938  sqrtf(0);
23939   ;
23940   return 0;
23941 }
23942 _ACEOF
23943 if ac_fn_cxx_try_compile "$LINENO"; then :
23944   glibcxx_cv_func_sqrtf_use=yes
23945 else
23946   glibcxx_cv_func_sqrtf_use=no
23947 fi
23948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23949       ac_ext=c
23950 ac_cpp='$CPP $CPPFLAGS'
23951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23954
23955
23956 fi
23957
23958   fi
23959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23960 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23961
23962   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23963     for ac_func in sqrtf
23964 do :
23965   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23966 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23967   cat >>confdefs.h <<_ACEOF
23968 #define HAVE_SQRTF 1
23969 _ACEOF
23970
23971 fi
23972 done
23973
23974   else
23975
23976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23977 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23978   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23979     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23980   $as_echo_n "(cached) " >&6
23981 else
23982
23983
23984       ac_ext=cpp
23985 ac_cpp='$CXXCPP $CPPFLAGS'
23986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23989
23990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23991 /* end confdefs.h.  */
23992 #include <math.h>
23993                       #ifdef HAVE_IEEEFP_H
23994                       #include <ieeefp.h>
23995                       #endif
23996
23997 int
23998 main ()
23999 {
24000  _sqrtf(0);
24001   ;
24002   return 0;
24003 }
24004 _ACEOF
24005 if ac_fn_cxx_try_compile "$LINENO"; then :
24006   glibcxx_cv_func__sqrtf_use=yes
24007 else
24008   glibcxx_cv_func__sqrtf_use=no
24009 fi
24010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24011       ac_ext=c
24012 ac_cpp='$CPP $CPPFLAGS'
24013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24016
24017
24018 fi
24019
24020   fi
24021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24022 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24023
24024     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24025       for ac_func in _sqrtf
24026 do :
24027   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24028 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24029   cat >>confdefs.h <<_ACEOF
24030 #define HAVE__SQRTF 1
24031 _ACEOF
24032
24033 fi
24034 done
24035
24036     fi
24037   fi
24038
24039
24040
24041
24042
24043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24044 $as_echo_n "checking for sincosf declaration... " >&6; }
24045   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24046     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24047   $as_echo_n "(cached) " >&6
24048 else
24049
24050
24051       ac_ext=cpp
24052 ac_cpp='$CXXCPP $CPPFLAGS'
24053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24056
24057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24058 /* end confdefs.h.  */
24059 #include <math.h>
24060 int
24061 main ()
24062 {
24063  sincosf(0, 0, 0);
24064   ;
24065   return 0;
24066 }
24067 _ACEOF
24068 if ac_fn_cxx_try_compile "$LINENO"; then :
24069   glibcxx_cv_func_sincosf_use=yes
24070 else
24071   glibcxx_cv_func_sincosf_use=no
24072 fi
24073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074       ac_ext=c
24075 ac_cpp='$CPP $CPPFLAGS'
24076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24079
24080
24081 fi
24082
24083   fi
24084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24085 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24086
24087   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24088     for ac_func in sincosf
24089 do :
24090   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24091 if test "x$ac_cv_func_sincosf" = x""yes; then :
24092   cat >>confdefs.h <<_ACEOF
24093 #define HAVE_SINCOSF 1
24094 _ACEOF
24095
24096 fi
24097 done
24098
24099   else
24100
24101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24102 $as_echo_n "checking for _sincosf declaration... " >&6; }
24103   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24104     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24105   $as_echo_n "(cached) " >&6
24106 else
24107
24108
24109       ac_ext=cpp
24110 ac_cpp='$CXXCPP $CPPFLAGS'
24111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24114
24115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24116 /* end confdefs.h.  */
24117 #include <math.h>
24118 int
24119 main ()
24120 {
24121  _sincosf(0, 0, 0);
24122   ;
24123   return 0;
24124 }
24125 _ACEOF
24126 if ac_fn_cxx_try_compile "$LINENO"; then :
24127   glibcxx_cv_func__sincosf_use=yes
24128 else
24129   glibcxx_cv_func__sincosf_use=no
24130 fi
24131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24132       ac_ext=c
24133 ac_cpp='$CPP $CPPFLAGS'
24134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24137
24138
24139 fi
24140
24141   fi
24142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24143 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24144
24145     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24146       for ac_func in _sincosf
24147 do :
24148   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24149 if test "x$ac_cv_func__sincosf" = x""yes; then :
24150   cat >>confdefs.h <<_ACEOF
24151 #define HAVE__SINCOSF 1
24152 _ACEOF
24153
24154 fi
24155 done
24156
24157     fi
24158   fi
24159
24160
24161
24162
24163
24164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24165 $as_echo_n "checking for finitef declaration... " >&6; }
24166   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24167     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24168   $as_echo_n "(cached) " >&6
24169 else
24170
24171
24172       ac_ext=cpp
24173 ac_cpp='$CXXCPP $CPPFLAGS'
24174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24177
24178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24179 /* end confdefs.h.  */
24180 #include <math.h>
24181                       #ifdef HAVE_IEEEFP_H
24182                       #include <ieeefp.h>
24183                       #endif
24184
24185 int
24186 main ()
24187 {
24188  finitef(0);
24189   ;
24190   return 0;
24191 }
24192 _ACEOF
24193 if ac_fn_cxx_try_compile "$LINENO"; then :
24194   glibcxx_cv_func_finitef_use=yes
24195 else
24196   glibcxx_cv_func_finitef_use=no
24197 fi
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199       ac_ext=c
24200 ac_cpp='$CPP $CPPFLAGS'
24201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24204
24205
24206 fi
24207
24208   fi
24209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24210 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24211
24212   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24213     for ac_func in finitef
24214 do :
24215   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24216 if test "x$ac_cv_func_finitef" = x""yes; then :
24217   cat >>confdefs.h <<_ACEOF
24218 #define HAVE_FINITEF 1
24219 _ACEOF
24220
24221 fi
24222 done
24223
24224   else
24225
24226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24227 $as_echo_n "checking for _finitef declaration... " >&6; }
24228   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24229     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24230   $as_echo_n "(cached) " >&6
24231 else
24232
24233
24234       ac_ext=cpp
24235 ac_cpp='$CXXCPP $CPPFLAGS'
24236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24239
24240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h.  */
24242 #include <math.h>
24243                       #ifdef HAVE_IEEEFP_H
24244                       #include <ieeefp.h>
24245                       #endif
24246
24247 int
24248 main ()
24249 {
24250  _finitef(0);
24251   ;
24252   return 0;
24253 }
24254 _ACEOF
24255 if ac_fn_cxx_try_compile "$LINENO"; then :
24256   glibcxx_cv_func__finitef_use=yes
24257 else
24258   glibcxx_cv_func__finitef_use=no
24259 fi
24260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24261       ac_ext=c
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24266
24267
24268 fi
24269
24270   fi
24271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24272 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24273
24274     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24275       for ac_func in _finitef
24276 do :
24277   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24278 if test "x$ac_cv_func__finitef" = x""yes; then :
24279   cat >>confdefs.h <<_ACEOF
24280 #define HAVE__FINITEF 1
24281 _ACEOF
24282
24283 fi
24284 done
24285
24286     fi
24287   fi
24288
24289
24290
24291
24292
24293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24294 $as_echo_n "checking for long double trig functions... " >&6; }
24295   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24296   $as_echo_n "(cached) " >&6
24297 else
24298
24299
24300     ac_ext=cpp
24301 ac_cpp='$CXXCPP $CPPFLAGS'
24302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24305
24306     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24307 /* end confdefs.h.  */
24308 #include <math.h>
24309 int
24310 main ()
24311 {
24312 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24313   ;
24314   return 0;
24315 }
24316 _ACEOF
24317 if ac_fn_cxx_try_compile "$LINENO"; then :
24318   glibcxx_cv_func_long_double_trig_use=yes
24319 else
24320   glibcxx_cv_func_long_double_trig_use=no
24321 fi
24322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24323     ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24328
24329 fi
24330
24331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24332 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24333   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24334     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24335 do :
24336   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24338 eval as_val=\$$as_ac_var
24339    if test "x$as_val" = x""yes; then :
24340   cat >>confdefs.h <<_ACEOF
24341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24342 _ACEOF
24343
24344 fi
24345 done
24346
24347   else
24348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24349 $as_echo_n "checking for _long double trig functions... " >&6; }
24350     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24351   $as_echo_n "(cached) " >&6
24352 else
24353
24354
24355       ac_ext=cpp
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24360
24361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24362 /* end confdefs.h.  */
24363 #include <math.h>
24364 int
24365 main ()
24366 {
24367 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24368   ;
24369   return 0;
24370 }
24371 _ACEOF
24372 if ac_fn_cxx_try_compile "$LINENO"; then :
24373   glibcxx_cv_func__long_double_trig_use=yes
24374 else
24375   glibcxx_cv_func__long_double_trig_use=no
24376 fi
24377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24378       ac_ext=c
24379 ac_cpp='$CPP $CPPFLAGS'
24380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24383
24384 fi
24385
24386     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24387 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24388     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24389       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24390 do :
24391   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24393 eval as_val=\$$as_ac_var
24394    if test "x$as_val" = x""yes; then :
24395   cat >>confdefs.h <<_ACEOF
24396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24397 _ACEOF
24398
24399 fi
24400 done
24401
24402     fi
24403   fi
24404
24405
24406
24407
24408
24409     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24410 $as_echo_n "checking for long double round functions... " >&6; }
24411   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24412   $as_echo_n "(cached) " >&6
24413 else
24414
24415
24416     ac_ext=cpp
24417 ac_cpp='$CXXCPP $CPPFLAGS'
24418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24421
24422     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24423 /* end confdefs.h.  */
24424 #include <math.h>
24425 int
24426 main ()
24427 {
24428 ceill (0); floorl (0);
24429   ;
24430   return 0;
24431 }
24432 _ACEOF
24433 if ac_fn_cxx_try_compile "$LINENO"; then :
24434   glibcxx_cv_func_long_double_round_use=yes
24435 else
24436   glibcxx_cv_func_long_double_round_use=no
24437 fi
24438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24439     ac_ext=c
24440 ac_cpp='$CPP $CPPFLAGS'
24441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24444
24445 fi
24446
24447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24448 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24449   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24450     for ac_func in ceill floorl
24451 do :
24452   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24454 eval as_val=\$$as_ac_var
24455    if test "x$as_val" = x""yes; then :
24456   cat >>confdefs.h <<_ACEOF
24457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24458 _ACEOF
24459
24460 fi
24461 done
24462
24463   else
24464     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24465 $as_echo_n "checking for _long double round functions... " >&6; }
24466     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24467   $as_echo_n "(cached) " >&6
24468 else
24469
24470
24471       ac_ext=cpp
24472 ac_cpp='$CXXCPP $CPPFLAGS'
24473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24476
24477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24478 /* end confdefs.h.  */
24479 #include <math.h>
24480 int
24481 main ()
24482 {
24483 _ceill (0); _floorl (0);
24484   ;
24485   return 0;
24486 }
24487 _ACEOF
24488 if ac_fn_cxx_try_compile "$LINENO"; then :
24489   glibcxx_cv_func__long_double_round_use=yes
24490 else
24491   glibcxx_cv_func__long_double_round_use=no
24492 fi
24493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494       ac_ext=c
24495 ac_cpp='$CPP $CPPFLAGS'
24496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24499
24500 fi
24501
24502     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24503 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24504     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24505       for ac_func in _ceill _floorl
24506 do :
24507   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24508 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24509 eval as_val=\$$as_ac_var
24510    if test "x$as_val" = x""yes; then :
24511   cat >>confdefs.h <<_ACEOF
24512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24513 _ACEOF
24514
24515 fi
24516 done
24517
24518     fi
24519   fi
24520
24521
24522
24523
24524
24525
24526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24527 $as_echo_n "checking for isnanl declaration... " >&6; }
24528   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24529     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24530   $as_echo_n "(cached) " >&6
24531 else
24532
24533
24534       ac_ext=cpp
24535 ac_cpp='$CXXCPP $CPPFLAGS'
24536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24539
24540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24541 /* end confdefs.h.  */
24542 #include <math.h>
24543                       #ifdef HAVE_IEEEFP_H
24544                       #include <ieeefp.h>
24545                       #endif
24546
24547 int
24548 main ()
24549 {
24550  isnanl(0);
24551   ;
24552   return 0;
24553 }
24554 _ACEOF
24555 if ac_fn_cxx_try_compile "$LINENO"; then :
24556   glibcxx_cv_func_isnanl_use=yes
24557 else
24558   glibcxx_cv_func_isnanl_use=no
24559 fi
24560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561       ac_ext=c
24562 ac_cpp='$CPP $CPPFLAGS'
24563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24566
24567
24568 fi
24569
24570   fi
24571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24572 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24573
24574   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24575     for ac_func in isnanl
24576 do :
24577   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24578 if test "x$ac_cv_func_isnanl" = x""yes; then :
24579   cat >>confdefs.h <<_ACEOF
24580 #define HAVE_ISNANL 1
24581 _ACEOF
24582
24583 fi
24584 done
24585
24586   else
24587
24588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24589 $as_echo_n "checking for _isnanl declaration... " >&6; }
24590   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24591     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24592   $as_echo_n "(cached) " >&6
24593 else
24594
24595
24596       ac_ext=cpp
24597 ac_cpp='$CXXCPP $CPPFLAGS'
24598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24601
24602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24603 /* end confdefs.h.  */
24604 #include <math.h>
24605                       #ifdef HAVE_IEEEFP_H
24606                       #include <ieeefp.h>
24607                       #endif
24608
24609 int
24610 main ()
24611 {
24612  _isnanl(0);
24613   ;
24614   return 0;
24615 }
24616 _ACEOF
24617 if ac_fn_cxx_try_compile "$LINENO"; then :
24618   glibcxx_cv_func__isnanl_use=yes
24619 else
24620   glibcxx_cv_func__isnanl_use=no
24621 fi
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24623       ac_ext=c
24624 ac_cpp='$CPP $CPPFLAGS'
24625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24628
24629
24630 fi
24631
24632   fi
24633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24634 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24635
24636     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24637       for ac_func in _isnanl
24638 do :
24639   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24640 if test "x$ac_cv_func__isnanl" = x""yes; then :
24641   cat >>confdefs.h <<_ACEOF
24642 #define HAVE__ISNANL 1
24643 _ACEOF
24644
24645 fi
24646 done
24647
24648     fi
24649   fi
24650
24651
24652
24653
24654
24655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24656 $as_echo_n "checking for isinfl declaration... " >&6; }
24657   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24658     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24659   $as_echo_n "(cached) " >&6
24660 else
24661
24662
24663       ac_ext=cpp
24664 ac_cpp='$CXXCPP $CPPFLAGS'
24665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24668
24669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24670 /* end confdefs.h.  */
24671 #include <math.h>
24672                       #ifdef HAVE_IEEEFP_H
24673                       #include <ieeefp.h>
24674                       #endif
24675
24676 int
24677 main ()
24678 {
24679  isinfl(0);
24680   ;
24681   return 0;
24682 }
24683 _ACEOF
24684 if ac_fn_cxx_try_compile "$LINENO"; then :
24685   glibcxx_cv_func_isinfl_use=yes
24686 else
24687   glibcxx_cv_func_isinfl_use=no
24688 fi
24689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24690       ac_ext=c
24691 ac_cpp='$CPP $CPPFLAGS'
24692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24695
24696
24697 fi
24698
24699   fi
24700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24701 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24702
24703   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24704     for ac_func in isinfl
24705 do :
24706   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24707 if test "x$ac_cv_func_isinfl" = x""yes; then :
24708   cat >>confdefs.h <<_ACEOF
24709 #define HAVE_ISINFL 1
24710 _ACEOF
24711
24712 fi
24713 done
24714
24715   else
24716
24717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24718 $as_echo_n "checking for _isinfl declaration... " >&6; }
24719   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24720     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24721   $as_echo_n "(cached) " >&6
24722 else
24723
24724
24725       ac_ext=cpp
24726 ac_cpp='$CXXCPP $CPPFLAGS'
24727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24730
24731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24732 /* end confdefs.h.  */
24733 #include <math.h>
24734                       #ifdef HAVE_IEEEFP_H
24735                       #include <ieeefp.h>
24736                       #endif
24737
24738 int
24739 main ()
24740 {
24741  _isinfl(0);
24742   ;
24743   return 0;
24744 }
24745 _ACEOF
24746 if ac_fn_cxx_try_compile "$LINENO"; then :
24747   glibcxx_cv_func__isinfl_use=yes
24748 else
24749   glibcxx_cv_func__isinfl_use=no
24750 fi
24751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24752       ac_ext=c
24753 ac_cpp='$CPP $CPPFLAGS'
24754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24757
24758
24759 fi
24760
24761   fi
24762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24763 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24764
24765     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24766       for ac_func in _isinfl
24767 do :
24768   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24769 if test "x$ac_cv_func__isinfl" = x""yes; then :
24770   cat >>confdefs.h <<_ACEOF
24771 #define HAVE__ISINFL 1
24772 _ACEOF
24773
24774 fi
24775 done
24776
24777     fi
24778   fi
24779
24780
24781
24782
24783
24784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24785 $as_echo_n "checking for atan2l declaration... " >&6; }
24786   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24787     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24788   $as_echo_n "(cached) " >&6
24789 else
24790
24791
24792       ac_ext=cpp
24793 ac_cpp='$CXXCPP $CPPFLAGS'
24794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24797
24798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24799 /* end confdefs.h.  */
24800 #include <math.h>
24801 int
24802 main ()
24803 {
24804  atan2l(0, 0);
24805   ;
24806   return 0;
24807 }
24808 _ACEOF
24809 if ac_fn_cxx_try_compile "$LINENO"; then :
24810   glibcxx_cv_func_atan2l_use=yes
24811 else
24812   glibcxx_cv_func_atan2l_use=no
24813 fi
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815       ac_ext=c
24816 ac_cpp='$CPP $CPPFLAGS'
24817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24820
24821
24822 fi
24823
24824   fi
24825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24826 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24827
24828   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24829     for ac_func in atan2l
24830 do :
24831   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24832 if test "x$ac_cv_func_atan2l" = x""yes; then :
24833   cat >>confdefs.h <<_ACEOF
24834 #define HAVE_ATAN2L 1
24835 _ACEOF
24836
24837 fi
24838 done
24839
24840   else
24841
24842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24843 $as_echo_n "checking for _atan2l declaration... " >&6; }
24844   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24845     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24846   $as_echo_n "(cached) " >&6
24847 else
24848
24849
24850       ac_ext=cpp
24851 ac_cpp='$CXXCPP $CPPFLAGS'
24852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24855
24856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24857 /* end confdefs.h.  */
24858 #include <math.h>
24859 int
24860 main ()
24861 {
24862  _atan2l(0, 0);
24863   ;
24864   return 0;
24865 }
24866 _ACEOF
24867 if ac_fn_cxx_try_compile "$LINENO"; then :
24868   glibcxx_cv_func__atan2l_use=yes
24869 else
24870   glibcxx_cv_func__atan2l_use=no
24871 fi
24872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24873       ac_ext=c
24874 ac_cpp='$CPP $CPPFLAGS'
24875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24878
24879
24880 fi
24881
24882   fi
24883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24884 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24885
24886     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24887       for ac_func in _atan2l
24888 do :
24889   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24890 if test "x$ac_cv_func__atan2l" = x""yes; then :
24891   cat >>confdefs.h <<_ACEOF
24892 #define HAVE__ATAN2L 1
24893 _ACEOF
24894
24895 fi
24896 done
24897
24898     fi
24899   fi
24900
24901
24902
24903
24904
24905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24906 $as_echo_n "checking for expl declaration... " >&6; }
24907   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24908     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24909   $as_echo_n "(cached) " >&6
24910 else
24911
24912
24913       ac_ext=cpp
24914 ac_cpp='$CXXCPP $CPPFLAGS'
24915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24918
24919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24920 /* end confdefs.h.  */
24921 #include <math.h>
24922                       #ifdef HAVE_IEEEFP_H
24923                       #include <ieeefp.h>
24924                       #endif
24925
24926 int
24927 main ()
24928 {
24929  expl(0);
24930   ;
24931   return 0;
24932 }
24933 _ACEOF
24934 if ac_fn_cxx_try_compile "$LINENO"; then :
24935   glibcxx_cv_func_expl_use=yes
24936 else
24937   glibcxx_cv_func_expl_use=no
24938 fi
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940       ac_ext=c
24941 ac_cpp='$CPP $CPPFLAGS'
24942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24945
24946
24947 fi
24948
24949   fi
24950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24951 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24952
24953   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24954     for ac_func in expl
24955 do :
24956   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24957 if test "x$ac_cv_func_expl" = x""yes; then :
24958   cat >>confdefs.h <<_ACEOF
24959 #define HAVE_EXPL 1
24960 _ACEOF
24961
24962 fi
24963 done
24964
24965   else
24966
24967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24968 $as_echo_n "checking for _expl declaration... " >&6; }
24969   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24970     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24971   $as_echo_n "(cached) " >&6
24972 else
24973
24974
24975       ac_ext=cpp
24976 ac_cpp='$CXXCPP $CPPFLAGS'
24977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24980
24981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24982 /* end confdefs.h.  */
24983 #include <math.h>
24984                       #ifdef HAVE_IEEEFP_H
24985                       #include <ieeefp.h>
24986                       #endif
24987
24988 int
24989 main ()
24990 {
24991  _expl(0);
24992   ;
24993   return 0;
24994 }
24995 _ACEOF
24996 if ac_fn_cxx_try_compile "$LINENO"; then :
24997   glibcxx_cv_func__expl_use=yes
24998 else
24999   glibcxx_cv_func__expl_use=no
25000 fi
25001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25002       ac_ext=c
25003 ac_cpp='$CPP $CPPFLAGS'
25004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25007
25008
25009 fi
25010
25011   fi
25012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25013 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25014
25015     if test x$glibcxx_cv_func__expl_use = x"yes"; then
25016       for ac_func in _expl
25017 do :
25018   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25019 if test "x$ac_cv_func__expl" = x""yes; then :
25020   cat >>confdefs.h <<_ACEOF
25021 #define HAVE__EXPL 1
25022 _ACEOF
25023
25024 fi
25025 done
25026
25027     fi
25028   fi
25029
25030
25031
25032
25033
25034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25035 $as_echo_n "checking for fabsl declaration... " >&6; }
25036   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25037     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25038   $as_echo_n "(cached) " >&6
25039 else
25040
25041
25042       ac_ext=cpp
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25047
25048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25049 /* end confdefs.h.  */
25050 #include <math.h>
25051                       #ifdef HAVE_IEEEFP_H
25052                       #include <ieeefp.h>
25053                       #endif
25054
25055 int
25056 main ()
25057 {
25058  fabsl(0);
25059   ;
25060   return 0;
25061 }
25062 _ACEOF
25063 if ac_fn_cxx_try_compile "$LINENO"; then :
25064   glibcxx_cv_func_fabsl_use=yes
25065 else
25066   glibcxx_cv_func_fabsl_use=no
25067 fi
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069       ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25074
25075
25076 fi
25077
25078   fi
25079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25080 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25081
25082   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25083     for ac_func in fabsl
25084 do :
25085   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25086 if test "x$ac_cv_func_fabsl" = x""yes; then :
25087   cat >>confdefs.h <<_ACEOF
25088 #define HAVE_FABSL 1
25089 _ACEOF
25090
25091 fi
25092 done
25093
25094   else
25095
25096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25097 $as_echo_n "checking for _fabsl declaration... " >&6; }
25098   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25099     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25100   $as_echo_n "(cached) " >&6
25101 else
25102
25103
25104       ac_ext=cpp
25105 ac_cpp='$CXXCPP $CPPFLAGS'
25106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25109
25110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h.  */
25112 #include <math.h>
25113                       #ifdef HAVE_IEEEFP_H
25114                       #include <ieeefp.h>
25115                       #endif
25116
25117 int
25118 main ()
25119 {
25120  _fabsl(0);
25121   ;
25122   return 0;
25123 }
25124 _ACEOF
25125 if ac_fn_cxx_try_compile "$LINENO"; then :
25126   glibcxx_cv_func__fabsl_use=yes
25127 else
25128   glibcxx_cv_func__fabsl_use=no
25129 fi
25130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25131       ac_ext=c
25132 ac_cpp='$CPP $CPPFLAGS'
25133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25136
25137
25138 fi
25139
25140   fi
25141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25142 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25143
25144     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25145       for ac_func in _fabsl
25146 do :
25147   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25148 if test "x$ac_cv_func__fabsl" = x""yes; then :
25149   cat >>confdefs.h <<_ACEOF
25150 #define HAVE__FABSL 1
25151 _ACEOF
25152
25153 fi
25154 done
25155
25156     fi
25157   fi
25158
25159
25160
25161
25162
25163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25164 $as_echo_n "checking for fmodl declaration... " >&6; }
25165   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25166     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25167   $as_echo_n "(cached) " >&6
25168 else
25169
25170
25171       ac_ext=cpp
25172 ac_cpp='$CXXCPP $CPPFLAGS'
25173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25176
25177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25178 /* end confdefs.h.  */
25179 #include <math.h>
25180 int
25181 main ()
25182 {
25183  fmodl(0, 0);
25184   ;
25185   return 0;
25186 }
25187 _ACEOF
25188 if ac_fn_cxx_try_compile "$LINENO"; then :
25189   glibcxx_cv_func_fmodl_use=yes
25190 else
25191   glibcxx_cv_func_fmodl_use=no
25192 fi
25193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25194       ac_ext=c
25195 ac_cpp='$CPP $CPPFLAGS'
25196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25199
25200
25201 fi
25202
25203   fi
25204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25205 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25206
25207   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25208     for ac_func in fmodl
25209 do :
25210   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25211 if test "x$ac_cv_func_fmodl" = x""yes; then :
25212   cat >>confdefs.h <<_ACEOF
25213 #define HAVE_FMODL 1
25214 _ACEOF
25215
25216 fi
25217 done
25218
25219   else
25220
25221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25222 $as_echo_n "checking for _fmodl declaration... " >&6; }
25223   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25224     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25225   $as_echo_n "(cached) " >&6
25226 else
25227
25228
25229       ac_ext=cpp
25230 ac_cpp='$CXXCPP $CPPFLAGS'
25231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25234
25235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25236 /* end confdefs.h.  */
25237 #include <math.h>
25238 int
25239 main ()
25240 {
25241  _fmodl(0, 0);
25242   ;
25243   return 0;
25244 }
25245 _ACEOF
25246 if ac_fn_cxx_try_compile "$LINENO"; then :
25247   glibcxx_cv_func__fmodl_use=yes
25248 else
25249   glibcxx_cv_func__fmodl_use=no
25250 fi
25251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25252       ac_ext=c
25253 ac_cpp='$CPP $CPPFLAGS'
25254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25257
25258
25259 fi
25260
25261   fi
25262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25263 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25264
25265     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25266       for ac_func in _fmodl
25267 do :
25268   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25269 if test "x$ac_cv_func__fmodl" = x""yes; then :
25270   cat >>confdefs.h <<_ACEOF
25271 #define HAVE__FMODL 1
25272 _ACEOF
25273
25274 fi
25275 done
25276
25277     fi
25278   fi
25279
25280
25281
25282
25283
25284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25285 $as_echo_n "checking for frexpl declaration... " >&6; }
25286   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25287     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25288   $as_echo_n "(cached) " >&6
25289 else
25290
25291
25292       ac_ext=cpp
25293 ac_cpp='$CXXCPP $CPPFLAGS'
25294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25297
25298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h.  */
25300 #include <math.h>
25301 int
25302 main ()
25303 {
25304  frexpl(0, 0);
25305   ;
25306   return 0;
25307 }
25308 _ACEOF
25309 if ac_fn_cxx_try_compile "$LINENO"; then :
25310   glibcxx_cv_func_frexpl_use=yes
25311 else
25312   glibcxx_cv_func_frexpl_use=no
25313 fi
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315       ac_ext=c
25316 ac_cpp='$CPP $CPPFLAGS'
25317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25320
25321
25322 fi
25323
25324   fi
25325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25326 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25327
25328   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25329     for ac_func in frexpl
25330 do :
25331   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25332 if test "x$ac_cv_func_frexpl" = x""yes; then :
25333   cat >>confdefs.h <<_ACEOF
25334 #define HAVE_FREXPL 1
25335 _ACEOF
25336
25337 fi
25338 done
25339
25340   else
25341
25342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25343 $as_echo_n "checking for _frexpl declaration... " >&6; }
25344   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25345     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25346   $as_echo_n "(cached) " >&6
25347 else
25348
25349
25350       ac_ext=cpp
25351 ac_cpp='$CXXCPP $CPPFLAGS'
25352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25355
25356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h.  */
25358 #include <math.h>
25359 int
25360 main ()
25361 {
25362  _frexpl(0, 0);
25363   ;
25364   return 0;
25365 }
25366 _ACEOF
25367 if ac_fn_cxx_try_compile "$LINENO"; then :
25368   glibcxx_cv_func__frexpl_use=yes
25369 else
25370   glibcxx_cv_func__frexpl_use=no
25371 fi
25372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25373       ac_ext=c
25374 ac_cpp='$CPP $CPPFLAGS'
25375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25378
25379
25380 fi
25381
25382   fi
25383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25384 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25385
25386     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25387       for ac_func in _frexpl
25388 do :
25389   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25390 if test "x$ac_cv_func__frexpl" = x""yes; then :
25391   cat >>confdefs.h <<_ACEOF
25392 #define HAVE__FREXPL 1
25393 _ACEOF
25394
25395 fi
25396 done
25397
25398     fi
25399   fi
25400
25401
25402
25403
25404
25405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25406 $as_echo_n "checking for hypotl declaration... " >&6; }
25407   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25408     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25409   $as_echo_n "(cached) " >&6
25410 else
25411
25412
25413       ac_ext=cpp
25414 ac_cpp='$CXXCPP $CPPFLAGS'
25415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25418
25419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25420 /* end confdefs.h.  */
25421 #include <math.h>
25422 int
25423 main ()
25424 {
25425  hypotl(0, 0);
25426   ;
25427   return 0;
25428 }
25429 _ACEOF
25430 if ac_fn_cxx_try_compile "$LINENO"; then :
25431   glibcxx_cv_func_hypotl_use=yes
25432 else
25433   glibcxx_cv_func_hypotl_use=no
25434 fi
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436       ac_ext=c
25437 ac_cpp='$CPP $CPPFLAGS'
25438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25441
25442
25443 fi
25444
25445   fi
25446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25447 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25448
25449   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25450     for ac_func in hypotl
25451 do :
25452   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25453 if test "x$ac_cv_func_hypotl" = x""yes; then :
25454   cat >>confdefs.h <<_ACEOF
25455 #define HAVE_HYPOTL 1
25456 _ACEOF
25457
25458 fi
25459 done
25460
25461   else
25462
25463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25464 $as_echo_n "checking for _hypotl declaration... " >&6; }
25465   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25466     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25467   $as_echo_n "(cached) " >&6
25468 else
25469
25470
25471       ac_ext=cpp
25472 ac_cpp='$CXXCPP $CPPFLAGS'
25473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25476
25477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25478 /* end confdefs.h.  */
25479 #include <math.h>
25480 int
25481 main ()
25482 {
25483  _hypotl(0, 0);
25484   ;
25485   return 0;
25486 }
25487 _ACEOF
25488 if ac_fn_cxx_try_compile "$LINENO"; then :
25489   glibcxx_cv_func__hypotl_use=yes
25490 else
25491   glibcxx_cv_func__hypotl_use=no
25492 fi
25493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25494       ac_ext=c
25495 ac_cpp='$CPP $CPPFLAGS'
25496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25499
25500
25501 fi
25502
25503   fi
25504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25505 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25506
25507     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25508       for ac_func in _hypotl
25509 do :
25510   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25511 if test "x$ac_cv_func__hypotl" = x""yes; then :
25512   cat >>confdefs.h <<_ACEOF
25513 #define HAVE__HYPOTL 1
25514 _ACEOF
25515
25516 fi
25517 done
25518
25519     fi
25520   fi
25521
25522
25523
25524
25525
25526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25527 $as_echo_n "checking for ldexpl declaration... " >&6; }
25528   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25529     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25530   $as_echo_n "(cached) " >&6
25531 else
25532
25533
25534       ac_ext=cpp
25535 ac_cpp='$CXXCPP $CPPFLAGS'
25536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25539
25540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25541 /* end confdefs.h.  */
25542 #include <math.h>
25543 int
25544 main ()
25545 {
25546  ldexpl(0, 0);
25547   ;
25548   return 0;
25549 }
25550 _ACEOF
25551 if ac_fn_cxx_try_compile "$LINENO"; then :
25552   glibcxx_cv_func_ldexpl_use=yes
25553 else
25554   glibcxx_cv_func_ldexpl_use=no
25555 fi
25556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25557       ac_ext=c
25558 ac_cpp='$CPP $CPPFLAGS'
25559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25562
25563
25564 fi
25565
25566   fi
25567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25568 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25569
25570   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25571     for ac_func in ldexpl
25572 do :
25573   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25574 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25575   cat >>confdefs.h <<_ACEOF
25576 #define HAVE_LDEXPL 1
25577 _ACEOF
25578
25579 fi
25580 done
25581
25582   else
25583
25584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25585 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25586   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25587     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25588   $as_echo_n "(cached) " >&6
25589 else
25590
25591
25592       ac_ext=cpp
25593 ac_cpp='$CXXCPP $CPPFLAGS'
25594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25597
25598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25599 /* end confdefs.h.  */
25600 #include <math.h>
25601 int
25602 main ()
25603 {
25604  _ldexpl(0, 0);
25605   ;
25606   return 0;
25607 }
25608 _ACEOF
25609 if ac_fn_cxx_try_compile "$LINENO"; then :
25610   glibcxx_cv_func__ldexpl_use=yes
25611 else
25612   glibcxx_cv_func__ldexpl_use=no
25613 fi
25614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25615       ac_ext=c
25616 ac_cpp='$CPP $CPPFLAGS'
25617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25620
25621
25622 fi
25623
25624   fi
25625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25626 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25627
25628     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25629       for ac_func in _ldexpl
25630 do :
25631   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25632 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25633   cat >>confdefs.h <<_ACEOF
25634 #define HAVE__LDEXPL 1
25635 _ACEOF
25636
25637 fi
25638 done
25639
25640     fi
25641   fi
25642
25643
25644
25645
25646
25647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25648 $as_echo_n "checking for logl declaration... " >&6; }
25649   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25650     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25651   $as_echo_n "(cached) " >&6
25652 else
25653
25654
25655       ac_ext=cpp
25656 ac_cpp='$CXXCPP $CPPFLAGS'
25657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25660
25661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25662 /* end confdefs.h.  */
25663 #include <math.h>
25664                       #ifdef HAVE_IEEEFP_H
25665                       #include <ieeefp.h>
25666                       #endif
25667
25668 int
25669 main ()
25670 {
25671  logl(0);
25672   ;
25673   return 0;
25674 }
25675 _ACEOF
25676 if ac_fn_cxx_try_compile "$LINENO"; then :
25677   glibcxx_cv_func_logl_use=yes
25678 else
25679   glibcxx_cv_func_logl_use=no
25680 fi
25681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25682       ac_ext=c
25683 ac_cpp='$CPP $CPPFLAGS'
25684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25687
25688
25689 fi
25690
25691   fi
25692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25693 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25694
25695   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25696     for ac_func in logl
25697 do :
25698   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25699 if test "x$ac_cv_func_logl" = x""yes; then :
25700   cat >>confdefs.h <<_ACEOF
25701 #define HAVE_LOGL 1
25702 _ACEOF
25703
25704 fi
25705 done
25706
25707   else
25708
25709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25710 $as_echo_n "checking for _logl declaration... " >&6; }
25711   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25712     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25713   $as_echo_n "(cached) " >&6
25714 else
25715
25716
25717       ac_ext=cpp
25718 ac_cpp='$CXXCPP $CPPFLAGS'
25719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25722
25723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25724 /* end confdefs.h.  */
25725 #include <math.h>
25726                       #ifdef HAVE_IEEEFP_H
25727                       #include <ieeefp.h>
25728                       #endif
25729
25730 int
25731 main ()
25732 {
25733  _logl(0);
25734   ;
25735   return 0;
25736 }
25737 _ACEOF
25738 if ac_fn_cxx_try_compile "$LINENO"; then :
25739   glibcxx_cv_func__logl_use=yes
25740 else
25741   glibcxx_cv_func__logl_use=no
25742 fi
25743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25744       ac_ext=c
25745 ac_cpp='$CPP $CPPFLAGS'
25746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25749
25750
25751 fi
25752
25753   fi
25754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25755 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25756
25757     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25758       for ac_func in _logl
25759 do :
25760   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25761 if test "x$ac_cv_func__logl" = x""yes; then :
25762   cat >>confdefs.h <<_ACEOF
25763 #define HAVE__LOGL 1
25764 _ACEOF
25765
25766 fi
25767 done
25768
25769     fi
25770   fi
25771
25772
25773
25774
25775
25776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25777 $as_echo_n "checking for log10l declaration... " >&6; }
25778   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25779     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25780   $as_echo_n "(cached) " >&6
25781 else
25782
25783
25784       ac_ext=cpp
25785 ac_cpp='$CXXCPP $CPPFLAGS'
25786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25789
25790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25791 /* end confdefs.h.  */
25792 #include <math.h>
25793                       #ifdef HAVE_IEEEFP_H
25794                       #include <ieeefp.h>
25795                       #endif
25796
25797 int
25798 main ()
25799 {
25800  log10l(0);
25801   ;
25802   return 0;
25803 }
25804 _ACEOF
25805 if ac_fn_cxx_try_compile "$LINENO"; then :
25806   glibcxx_cv_func_log10l_use=yes
25807 else
25808   glibcxx_cv_func_log10l_use=no
25809 fi
25810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25811       ac_ext=c
25812 ac_cpp='$CPP $CPPFLAGS'
25813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25816
25817
25818 fi
25819
25820   fi
25821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25822 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25823
25824   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25825     for ac_func in log10l
25826 do :
25827   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25828 if test "x$ac_cv_func_log10l" = x""yes; then :
25829   cat >>confdefs.h <<_ACEOF
25830 #define HAVE_LOG10L 1
25831 _ACEOF
25832
25833 fi
25834 done
25835
25836   else
25837
25838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25839 $as_echo_n "checking for _log10l declaration... " >&6; }
25840   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25841     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25842   $as_echo_n "(cached) " >&6
25843 else
25844
25845
25846       ac_ext=cpp
25847 ac_cpp='$CXXCPP $CPPFLAGS'
25848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25851
25852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25853 /* end confdefs.h.  */
25854 #include <math.h>
25855                       #ifdef HAVE_IEEEFP_H
25856                       #include <ieeefp.h>
25857                       #endif
25858
25859 int
25860 main ()
25861 {
25862  _log10l(0);
25863   ;
25864   return 0;
25865 }
25866 _ACEOF
25867 if ac_fn_cxx_try_compile "$LINENO"; then :
25868   glibcxx_cv_func__log10l_use=yes
25869 else
25870   glibcxx_cv_func__log10l_use=no
25871 fi
25872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25873       ac_ext=c
25874 ac_cpp='$CPP $CPPFLAGS'
25875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25878
25879
25880 fi
25881
25882   fi
25883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25884 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25885
25886     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25887       for ac_func in _log10l
25888 do :
25889   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25890 if test "x$ac_cv_func__log10l" = x""yes; then :
25891   cat >>confdefs.h <<_ACEOF
25892 #define HAVE__LOG10L 1
25893 _ACEOF
25894
25895 fi
25896 done
25897
25898     fi
25899   fi
25900
25901
25902
25903
25904
25905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25906 $as_echo_n "checking for modfl declaration... " >&6; }
25907   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25908     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25909   $as_echo_n "(cached) " >&6
25910 else
25911
25912
25913       ac_ext=cpp
25914 ac_cpp='$CXXCPP $CPPFLAGS'
25915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25918
25919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25920 /* end confdefs.h.  */
25921 #include <math.h>
25922 int
25923 main ()
25924 {
25925  modfl(0, 0);
25926   ;
25927   return 0;
25928 }
25929 _ACEOF
25930 if ac_fn_cxx_try_compile "$LINENO"; then :
25931   glibcxx_cv_func_modfl_use=yes
25932 else
25933   glibcxx_cv_func_modfl_use=no
25934 fi
25935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25936       ac_ext=c
25937 ac_cpp='$CPP $CPPFLAGS'
25938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25941
25942
25943 fi
25944
25945   fi
25946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25947 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25948
25949   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25950     for ac_func in modfl
25951 do :
25952   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25953 if test "x$ac_cv_func_modfl" = x""yes; then :
25954   cat >>confdefs.h <<_ACEOF
25955 #define HAVE_MODFL 1
25956 _ACEOF
25957
25958 fi
25959 done
25960
25961   else
25962
25963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25964 $as_echo_n "checking for _modfl declaration... " >&6; }
25965   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25966     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25967   $as_echo_n "(cached) " >&6
25968 else
25969
25970
25971       ac_ext=cpp
25972 ac_cpp='$CXXCPP $CPPFLAGS'
25973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25976
25977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25978 /* end confdefs.h.  */
25979 #include <math.h>
25980 int
25981 main ()
25982 {
25983  _modfl(0, 0);
25984   ;
25985   return 0;
25986 }
25987 _ACEOF
25988 if ac_fn_cxx_try_compile "$LINENO"; then :
25989   glibcxx_cv_func__modfl_use=yes
25990 else
25991   glibcxx_cv_func__modfl_use=no
25992 fi
25993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25994       ac_ext=c
25995 ac_cpp='$CPP $CPPFLAGS'
25996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25999
26000
26001 fi
26002
26003   fi
26004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26005 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26006
26007     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26008       for ac_func in _modfl
26009 do :
26010   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26011 if test "x$ac_cv_func__modfl" = x""yes; then :
26012   cat >>confdefs.h <<_ACEOF
26013 #define HAVE__MODFL 1
26014 _ACEOF
26015
26016 fi
26017 done
26018
26019     fi
26020   fi
26021
26022
26023
26024
26025
26026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26027 $as_echo_n "checking for powl declaration... " >&6; }
26028   if test x${glibcxx_cv_func_powl_use+set} != xset; then
26029     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26030   $as_echo_n "(cached) " >&6
26031 else
26032
26033
26034       ac_ext=cpp
26035 ac_cpp='$CXXCPP $CPPFLAGS'
26036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26039
26040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h.  */
26042 #include <math.h>
26043 int
26044 main ()
26045 {
26046  powl(0, 0);
26047   ;
26048   return 0;
26049 }
26050 _ACEOF
26051 if ac_fn_cxx_try_compile "$LINENO"; then :
26052   glibcxx_cv_func_powl_use=yes
26053 else
26054   glibcxx_cv_func_powl_use=no
26055 fi
26056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057       ac_ext=c
26058 ac_cpp='$CPP $CPPFLAGS'
26059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26062
26063
26064 fi
26065
26066   fi
26067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26068 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26069
26070   if test x$glibcxx_cv_func_powl_use = x"yes"; then
26071     for ac_func in powl
26072 do :
26073   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26074 if test "x$ac_cv_func_powl" = x""yes; then :
26075   cat >>confdefs.h <<_ACEOF
26076 #define HAVE_POWL 1
26077 _ACEOF
26078
26079 fi
26080 done
26081
26082   else
26083
26084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26085 $as_echo_n "checking for _powl declaration... " >&6; }
26086   if test x${glibcxx_cv_func__powl_use+set} != xset; then
26087     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26088   $as_echo_n "(cached) " >&6
26089 else
26090
26091
26092       ac_ext=cpp
26093 ac_cpp='$CXXCPP $CPPFLAGS'
26094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26097
26098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26099 /* end confdefs.h.  */
26100 #include <math.h>
26101 int
26102 main ()
26103 {
26104  _powl(0, 0);
26105   ;
26106   return 0;
26107 }
26108 _ACEOF
26109 if ac_fn_cxx_try_compile "$LINENO"; then :
26110   glibcxx_cv_func__powl_use=yes
26111 else
26112   glibcxx_cv_func__powl_use=no
26113 fi
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26115       ac_ext=c
26116 ac_cpp='$CPP $CPPFLAGS'
26117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26120
26121
26122 fi
26123
26124   fi
26125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26126 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26127
26128     if test x$glibcxx_cv_func__powl_use = x"yes"; then
26129       for ac_func in _powl
26130 do :
26131   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26132 if test "x$ac_cv_func__powl" = x""yes; then :
26133   cat >>confdefs.h <<_ACEOF
26134 #define HAVE__POWL 1
26135 _ACEOF
26136
26137 fi
26138 done
26139
26140     fi
26141   fi
26142
26143
26144
26145
26146
26147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26148 $as_echo_n "checking for sqrtl declaration... " >&6; }
26149   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26150     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26151   $as_echo_n "(cached) " >&6
26152 else
26153
26154
26155       ac_ext=cpp
26156 ac_cpp='$CXXCPP $CPPFLAGS'
26157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26160
26161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26162 /* end confdefs.h.  */
26163 #include <math.h>
26164                       #ifdef HAVE_IEEEFP_H
26165                       #include <ieeefp.h>
26166                       #endif
26167
26168 int
26169 main ()
26170 {
26171  sqrtl(0);
26172   ;
26173   return 0;
26174 }
26175 _ACEOF
26176 if ac_fn_cxx_try_compile "$LINENO"; then :
26177   glibcxx_cv_func_sqrtl_use=yes
26178 else
26179   glibcxx_cv_func_sqrtl_use=no
26180 fi
26181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26182       ac_ext=c
26183 ac_cpp='$CPP $CPPFLAGS'
26184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26187
26188
26189 fi
26190
26191   fi
26192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26193 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26194
26195   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26196     for ac_func in sqrtl
26197 do :
26198   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26199 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26200   cat >>confdefs.h <<_ACEOF
26201 #define HAVE_SQRTL 1
26202 _ACEOF
26203
26204 fi
26205 done
26206
26207   else
26208
26209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26210 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26211   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26212     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26213   $as_echo_n "(cached) " >&6
26214 else
26215
26216
26217       ac_ext=cpp
26218 ac_cpp='$CXXCPP $CPPFLAGS'
26219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26222
26223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26224 /* end confdefs.h.  */
26225 #include <math.h>
26226                       #ifdef HAVE_IEEEFP_H
26227                       #include <ieeefp.h>
26228                       #endif
26229
26230 int
26231 main ()
26232 {
26233  _sqrtl(0);
26234   ;
26235   return 0;
26236 }
26237 _ACEOF
26238 if ac_fn_cxx_try_compile "$LINENO"; then :
26239   glibcxx_cv_func__sqrtl_use=yes
26240 else
26241   glibcxx_cv_func__sqrtl_use=no
26242 fi
26243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244       ac_ext=c
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26249
26250
26251 fi
26252
26253   fi
26254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26255 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26256
26257     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26258       for ac_func in _sqrtl
26259 do :
26260   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26261 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26262   cat >>confdefs.h <<_ACEOF
26263 #define HAVE__SQRTL 1
26264 _ACEOF
26265
26266 fi
26267 done
26268
26269     fi
26270   fi
26271
26272
26273
26274
26275
26276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26277 $as_echo_n "checking for sincosl declaration... " >&6; }
26278   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26279     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26280   $as_echo_n "(cached) " >&6
26281 else
26282
26283
26284       ac_ext=cpp
26285 ac_cpp='$CXXCPP $CPPFLAGS'
26286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26289
26290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26291 /* end confdefs.h.  */
26292 #include <math.h>
26293 int
26294 main ()
26295 {
26296  sincosl(0, 0, 0);
26297   ;
26298   return 0;
26299 }
26300 _ACEOF
26301 if ac_fn_cxx_try_compile "$LINENO"; then :
26302   glibcxx_cv_func_sincosl_use=yes
26303 else
26304   glibcxx_cv_func_sincosl_use=no
26305 fi
26306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26307       ac_ext=c
26308 ac_cpp='$CPP $CPPFLAGS'
26309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26312
26313
26314 fi
26315
26316   fi
26317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26318 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26319
26320   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26321     for ac_func in sincosl
26322 do :
26323   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26324 if test "x$ac_cv_func_sincosl" = x""yes; then :
26325   cat >>confdefs.h <<_ACEOF
26326 #define HAVE_SINCOSL 1
26327 _ACEOF
26328
26329 fi
26330 done
26331
26332   else
26333
26334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26335 $as_echo_n "checking for _sincosl declaration... " >&6; }
26336   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26337     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26338   $as_echo_n "(cached) " >&6
26339 else
26340
26341
26342       ac_ext=cpp
26343 ac_cpp='$CXXCPP $CPPFLAGS'
26344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26347
26348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26349 /* end confdefs.h.  */
26350 #include <math.h>
26351 int
26352 main ()
26353 {
26354  _sincosl(0, 0, 0);
26355   ;
26356   return 0;
26357 }
26358 _ACEOF
26359 if ac_fn_cxx_try_compile "$LINENO"; then :
26360   glibcxx_cv_func__sincosl_use=yes
26361 else
26362   glibcxx_cv_func__sincosl_use=no
26363 fi
26364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26365       ac_ext=c
26366 ac_cpp='$CPP $CPPFLAGS'
26367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26370
26371
26372 fi
26373
26374   fi
26375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26376 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26377
26378     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26379       for ac_func in _sincosl
26380 do :
26381   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26382 if test "x$ac_cv_func__sincosl" = x""yes; then :
26383   cat >>confdefs.h <<_ACEOF
26384 #define HAVE__SINCOSL 1
26385 _ACEOF
26386
26387 fi
26388 done
26389
26390     fi
26391   fi
26392
26393
26394
26395
26396
26397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26398 $as_echo_n "checking for finitel declaration... " >&6; }
26399   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26400     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26401   $as_echo_n "(cached) " >&6
26402 else
26403
26404
26405       ac_ext=cpp
26406 ac_cpp='$CXXCPP $CPPFLAGS'
26407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26410
26411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26412 /* end confdefs.h.  */
26413 #include <math.h>
26414                       #ifdef HAVE_IEEEFP_H
26415                       #include <ieeefp.h>
26416                       #endif
26417
26418 int
26419 main ()
26420 {
26421  finitel(0);
26422   ;
26423   return 0;
26424 }
26425 _ACEOF
26426 if ac_fn_cxx_try_compile "$LINENO"; then :
26427   glibcxx_cv_func_finitel_use=yes
26428 else
26429   glibcxx_cv_func_finitel_use=no
26430 fi
26431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26432       ac_ext=c
26433 ac_cpp='$CPP $CPPFLAGS'
26434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26437
26438
26439 fi
26440
26441   fi
26442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26443 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26444
26445   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26446     for ac_func in finitel
26447 do :
26448   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26449 if test "x$ac_cv_func_finitel" = x""yes; then :
26450   cat >>confdefs.h <<_ACEOF
26451 #define HAVE_FINITEL 1
26452 _ACEOF
26453
26454 fi
26455 done
26456
26457   else
26458
26459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26460 $as_echo_n "checking for _finitel declaration... " >&6; }
26461   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26462     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26463   $as_echo_n "(cached) " >&6
26464 else
26465
26466
26467       ac_ext=cpp
26468 ac_cpp='$CXXCPP $CPPFLAGS'
26469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26472
26473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26474 /* end confdefs.h.  */
26475 #include <math.h>
26476                       #ifdef HAVE_IEEEFP_H
26477                       #include <ieeefp.h>
26478                       #endif
26479
26480 int
26481 main ()
26482 {
26483  _finitel(0);
26484   ;
26485   return 0;
26486 }
26487 _ACEOF
26488 if ac_fn_cxx_try_compile "$LINENO"; then :
26489   glibcxx_cv_func__finitel_use=yes
26490 else
26491   glibcxx_cv_func__finitel_use=no
26492 fi
26493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26494       ac_ext=c
26495 ac_cpp='$CPP $CPPFLAGS'
26496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26499
26500
26501 fi
26502
26503   fi
26504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26505 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26506
26507     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26508       for ac_func in _finitel
26509 do :
26510   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26511 if test "x$ac_cv_func__finitel" = x""yes; then :
26512   cat >>confdefs.h <<_ACEOF
26513 #define HAVE__FINITEL 1
26514 _ACEOF
26515
26516 fi
26517 done
26518
26519     fi
26520   fi
26521
26522
26523
26524
26525   LIBS="$ac_save_LIBS"
26526   CXXFLAGS="$ac_save_CXXFLAGS"
26527
26528
26529   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26530   ac_save_CXXFLAGS="$CXXFLAGS"
26531   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26532
26533
26534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26535 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26536   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26537     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26538   $as_echo_n "(cached) " >&6
26539 else
26540
26541
26542       ac_ext=cpp
26543 ac_cpp='$CXXCPP $CPPFLAGS'
26544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26547
26548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26549 /* end confdefs.h.  */
26550 #include <stdlib.h>
26551 int
26552 main ()
26553 {
26554  at_quick_exit(0);
26555   ;
26556   return 0;
26557 }
26558 _ACEOF
26559 if ac_fn_cxx_try_compile "$LINENO"; then :
26560   glibcxx_cv_func_at_quick_exit_use=yes
26561 else
26562   glibcxx_cv_func_at_quick_exit_use=no
26563 fi
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565       ac_ext=c
26566 ac_cpp='$CPP $CPPFLAGS'
26567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26570
26571
26572 fi
26573
26574   fi
26575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26576 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26577   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26578     for ac_func in at_quick_exit
26579 do :
26580   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26581 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26582   cat >>confdefs.h <<_ACEOF
26583 #define HAVE_AT_QUICK_EXIT 1
26584 _ACEOF
26585
26586 fi
26587 done
26588
26589   fi
26590
26591
26592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26593 $as_echo_n "checking for quick_exit declaration... " >&6; }
26594   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26595     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26596   $as_echo_n "(cached) " >&6
26597 else
26598
26599
26600       ac_ext=cpp
26601 ac_cpp='$CXXCPP $CPPFLAGS'
26602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26605
26606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26607 /* end confdefs.h.  */
26608 #include <stdlib.h>
26609 int
26610 main ()
26611 {
26612  quick_exit(0);
26613   ;
26614   return 0;
26615 }
26616 _ACEOF
26617 if ac_fn_cxx_try_compile "$LINENO"; then :
26618   glibcxx_cv_func_quick_exit_use=yes
26619 else
26620   glibcxx_cv_func_quick_exit_use=no
26621 fi
26622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26623       ac_ext=c
26624 ac_cpp='$CPP $CPPFLAGS'
26625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26628
26629
26630 fi
26631
26632   fi
26633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26634 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26635   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26636     for ac_func in quick_exit
26637 do :
26638   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26639 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26640   cat >>confdefs.h <<_ACEOF
26641 #define HAVE_QUICK_EXIT 1
26642 _ACEOF
26643
26644 fi
26645 done
26646
26647   fi
26648
26649
26650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26651 $as_echo_n "checking for strtold declaration... " >&6; }
26652   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26653     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26654   $as_echo_n "(cached) " >&6
26655 else
26656
26657
26658       ac_ext=cpp
26659 ac_cpp='$CXXCPP $CPPFLAGS'
26660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26663
26664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26665 /* end confdefs.h.  */
26666 #include <stdlib.h>
26667 int
26668 main ()
26669 {
26670  strtold(0, 0);
26671   ;
26672   return 0;
26673 }
26674 _ACEOF
26675 if ac_fn_cxx_try_compile "$LINENO"; then :
26676   glibcxx_cv_func_strtold_use=yes
26677 else
26678   glibcxx_cv_func_strtold_use=no
26679 fi
26680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26681       ac_ext=c
26682 ac_cpp='$CPP $CPPFLAGS'
26683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26686
26687
26688 fi
26689
26690   fi
26691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26692 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26693   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26694     for ac_func in strtold
26695 do :
26696   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26697 if test "x$ac_cv_func_strtold" = x""yes; then :
26698   cat >>confdefs.h <<_ACEOF
26699 #define HAVE_STRTOLD 1
26700 _ACEOF
26701
26702 fi
26703 done
26704
26705   fi
26706
26707
26708
26709
26710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26711 $as_echo_n "checking for strtof declaration... " >&6; }
26712   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26713     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26714   $as_echo_n "(cached) " >&6
26715 else
26716
26717
26718       ac_ext=cpp
26719 ac_cpp='$CXXCPP $CPPFLAGS'
26720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26723
26724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26725 /* end confdefs.h.  */
26726 #include <stdlib.h>
26727 int
26728 main ()
26729 {
26730  strtof(0, 0);
26731   ;
26732   return 0;
26733 }
26734 _ACEOF
26735 if ac_fn_cxx_try_compile "$LINENO"; then :
26736   glibcxx_cv_func_strtof_use=yes
26737 else
26738   glibcxx_cv_func_strtof_use=no
26739 fi
26740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26741       ac_ext=c
26742 ac_cpp='$CPP $CPPFLAGS'
26743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26746
26747
26748 fi
26749
26750   fi
26751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26752 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26753   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26754     for ac_func in strtof
26755 do :
26756   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26757 if test "x$ac_cv_func_strtof" = x""yes; then :
26758   cat >>confdefs.h <<_ACEOF
26759 #define HAVE_STRTOF 1
26760 _ACEOF
26761
26762 fi
26763 done
26764
26765   fi
26766
26767
26768
26769
26770   CXXFLAGS="$ac_save_CXXFLAGS"
26771
26772
26773   # For /dev/random and /dev/urandom for TR1.
26774
26775
26776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26777 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26778   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26779   $as_echo_n "(cached) " >&6
26780 else
26781
26782     if test -r /dev/random && test -r /dev/urandom; then
26783   ## For MSys environment the test above is detect as false-positive
26784   ## on mingw-targets.  So disable it explicit for them.
26785       case ${target_os} in
26786         *mingw*) glibcxx_cv_random_tr1=no ;;
26787         *) glibcxx_cv_random_tr1=yes ;;
26788       esac
26789     else
26790       glibcxx_cv_random_tr1=no;
26791     fi
26792
26793 fi
26794
26795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26796 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26797
26798   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26799
26800 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26801
26802   fi
26803
26804
26805
26806   # For TLS support.
26807
26808
26809    # Check whether --enable-tls was given.
26810 if test "${enable_tls+set}" = set; then :
26811   enableval=$enable_tls;
26812       case "$enableval" in
26813        yes|no) ;;
26814        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26815       esac
26816
26817 else
26818   enable_tls=yes
26819 fi
26820
26821
26822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26823 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26824 if test "${gcc_cv_have_tls+set}" = set; then :
26825   $as_echo_n "(cached) " >&6
26826 else
26827
26828     if test "$cross_compiling" = yes; then :
26829                 if test x$gcc_no_link = xyes; then
26830   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26831 fi
26832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26833 /* end confdefs.h.  */
26834 __thread int a; int b; int main() { return a = b; }
26835 _ACEOF
26836 if ac_fn_c_try_link "$LINENO"; then :
26837   chktls_save_LDFLAGS="$LDFLAGS"
26838                           case $host in
26839             *-*-linux*)
26840               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26841               ;;
26842           esac
26843           chktls_save_CFLAGS="$CFLAGS"
26844           CFLAGS="-fPIC $CFLAGS"
26845                   if test x$gcc_no_link = xyes; then
26846   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26847 fi
26848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h.  */
26850 int f() { return 0; }
26851 _ACEOF
26852 if ac_fn_c_try_link "$LINENO"; then :
26853   if test x$gcc_no_link = xyes; then
26854   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26855 fi
26856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26857 /* end confdefs.h.  */
26858 __thread int a; int b; int f() { return a = b; }
26859 _ACEOF
26860 if ac_fn_c_try_link "$LINENO"; then :
26861   gcc_cv_have_tls=yes
26862 else
26863   gcc_cv_have_tls=no
26864 fi
26865 rm -f core conftest.err conftest.$ac_objext \
26866     conftest$ac_exeext conftest.$ac_ext
26867 else
26868   gcc_cv_have_tls=yes
26869 fi
26870 rm -f core conftest.err conftest.$ac_objext \
26871     conftest$ac_exeext conftest.$ac_ext
26872           CFLAGS="$chktls_save_CFLAGS"
26873           LDFLAGS="$chktls_save_LDFLAGS"
26874 else
26875   gcc_cv_have_tls=no
26876 fi
26877 rm -f core conftest.err conftest.$ac_objext \
26878     conftest$ac_exeext conftest.$ac_ext
26879
26880
26881 else
26882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26883 /* end confdefs.h.  */
26884 __thread int a; int b; int main() { return a = b; }
26885 _ACEOF
26886 if ac_fn_c_try_run "$LINENO"; then :
26887                       chktls_save_LDFLAGS="$LDFLAGS"
26888       LDFLAGS="-static $LDFLAGS"
26889       if test x$gcc_no_link = xyes; then
26890   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26891 fi
26892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26893 /* end confdefs.h.  */
26894 int main() { return 0; }
26895 _ACEOF
26896 if ac_fn_c_try_link "$LINENO"; then :
26897   if test "$cross_compiling" = yes; then :
26898   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26900 as_fn_error "cannot run test program while cross compiling
26901 See \`config.log' for more details." "$LINENO" 5; }
26902 else
26903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26904 /* end confdefs.h.  */
26905 __thread int a; int b; int main() { return a = b; }
26906 _ACEOF
26907 if ac_fn_c_try_run "$LINENO"; then :
26908   gcc_cv_have_tls=yes
26909 else
26910   gcc_cv_have_tls=no
26911 fi
26912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26913   conftest.$ac_objext conftest.beam conftest.$ac_ext
26914 fi
26915
26916 else
26917   gcc_cv_have_tls=yes
26918 fi
26919 rm -f core conftest.err conftest.$ac_objext \
26920     conftest$ac_exeext conftest.$ac_ext
26921       LDFLAGS="$chktls_save_LDFLAGS"
26922       if test $gcc_cv_have_tls = yes; then
26923                                                 chktls_save_CFLAGS="$CFLAGS"
26924         thread_CFLAGS=failed
26925         for flag in '' '-pthread' '-lpthread'; do
26926           CFLAGS="$flag $chktls_save_CFLAGS"
26927           if test x$gcc_no_link = xyes; then
26928   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26929 fi
26930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26931 /* end confdefs.h.  */
26932 #include <pthread.h>
26933                 void *g(void *d) { return NULL; }
26934 int
26935 main ()
26936 {
26937 pthread_t t; pthread_create(&t,NULL,g,NULL);
26938   ;
26939   return 0;
26940 }
26941 _ACEOF
26942 if ac_fn_c_try_link "$LINENO"; then :
26943   thread_CFLAGS="$flag"
26944 fi
26945 rm -f core conftest.err conftest.$ac_objext \
26946     conftest$ac_exeext conftest.$ac_ext
26947           if test "X$thread_CFLAGS" != Xfailed; then
26948             break
26949           fi
26950         done
26951         CFLAGS="$chktls_save_CFLAGS"
26952         if test "X$thread_CFLAGS" != Xfailed; then
26953           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26954                                                   if test "$cross_compiling" = yes; then :
26955   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26957 as_fn_error "cannot run test program while cross compiling
26958 See \`config.log' for more details." "$LINENO" 5; }
26959 else
26960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26961 /* end confdefs.h.  */
26962 #include <pthread.h>
26963                 __thread int a;
26964                 static int *volatile a_in_other_thread;
26965                 static void *
26966                 thread_func (void *arg)
26967                 {
26968                   a_in_other_thread = &a;
26969                   return (void *)0;
26970                 }
26971 int
26972 main ()
26973 {
26974 pthread_t thread;
26975                 void *thread_retval;
26976                 int *volatile a_in_main_thread;
26977                 a_in_main_thread = &a;
26978                 if (pthread_create (&thread, (pthread_attr_t *)0,
26979                                     thread_func, (void *)0))
26980                   return 0;
26981                 if (pthread_join (thread, &thread_retval))
26982                   return 0;
26983                 return (a_in_other_thread == a_in_main_thread);
26984   ;
26985   return 0;
26986 }
26987 _ACEOF
26988 if ac_fn_c_try_run "$LINENO"; then :
26989   gcc_cv_have_tls=yes
26990 else
26991   gcc_cv_have_tls=no
26992 fi
26993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26994   conftest.$ac_objext conftest.beam conftest.$ac_ext
26995 fi
26996
26997           CFLAGS="$chktls_save_CFLAGS"
26998         fi
26999       fi
27000 else
27001   gcc_cv_have_tls=no
27002 fi
27003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27004   conftest.$ac_objext conftest.beam conftest.$ac_ext
27005 fi
27006
27007 fi
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27009 $as_echo "$gcc_cv_have_tls" >&6; }
27010   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27011
27012 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27013
27014   fi
27015
27016   for ac_func in __cxa_thread_atexit_impl
27017 do :
27018   ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27019 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27020   cat >>confdefs.h <<_ACEOF
27021 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27022 _ACEOF
27023
27024 fi
27025 done
27026
27027
27028   # For iconv support.
27029
27030       if test "X$prefix" = "XNONE"; then
27031     acl_final_prefix="$ac_default_prefix"
27032   else
27033     acl_final_prefix="$prefix"
27034   fi
27035   if test "X$exec_prefix" = "XNONE"; then
27036     acl_final_exec_prefix='${prefix}'
27037   else
27038     acl_final_exec_prefix="$exec_prefix"
27039   fi
27040   acl_save_prefix="$prefix"
27041   prefix="$acl_final_prefix"
27042   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27043   prefix="$acl_save_prefix"
27044
27045
27046 # Check whether --with-gnu-ld was given.
27047 if test "${with_gnu_ld+set}" = set; then :
27048   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27049 else
27050   with_gnu_ld=no
27051 fi
27052
27053 # Prepare PATH_SEPARATOR.
27054 # The user is always right.
27055 if test "${PATH_SEPARATOR+set}" != set; then
27056   echo "#! /bin/sh" >conf$$.sh
27057   echo  "exit 0"   >>conf$$.sh
27058   chmod +x conf$$.sh
27059   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27060     PATH_SEPARATOR=';'
27061   else
27062     PATH_SEPARATOR=:
27063   fi
27064   rm -f conf$$.sh
27065 fi
27066 ac_prog=ld
27067 if test "$GCC" = yes; then
27068   # Check if gcc -print-prog-name=ld gives a path.
27069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27070 $as_echo_n "checking for ld used by GCC... " >&6; }
27071   case $host in
27072   *-*-mingw*)
27073     # gcc leaves a trailing carriage return which upsets mingw
27074     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27075   *)
27076     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27077   esac
27078   case $ac_prog in
27079     # Accept absolute paths.
27080     [\\/]* | [A-Za-z]:[\\/]*)
27081       re_direlt='/[^/][^/]*/\.\./'
27082       # Canonicalize the path of ld
27083       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27084       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27085         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27086       done
27087       test -z "$LD" && LD="$ac_prog"
27088       ;;
27089   "")
27090     # If it fails, then pretend we aren't using GCC.
27091     ac_prog=ld
27092     ;;
27093   *)
27094     # If it is relative, then search for the first ld in PATH.
27095     with_gnu_ld=unknown
27096     ;;
27097   esac
27098 elif test "$with_gnu_ld" = yes; then
27099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27100 $as_echo_n "checking for GNU ld... " >&6; }
27101 else
27102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27103 $as_echo_n "checking for non-GNU ld... " >&6; }
27104 fi
27105 if test "${acl_cv_path_LD+set}" = set; then :
27106   $as_echo_n "(cached) " >&6
27107 else
27108   if test -z "$LD"; then
27109   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27110   for ac_dir in $PATH; do
27111     test -z "$ac_dir" && ac_dir=.
27112     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27113       acl_cv_path_LD="$ac_dir/$ac_prog"
27114       # Check to see if the program is GNU ld.  I'd rather use --version,
27115       # but apparently some GNU ld's only accept -v.
27116       # Break only if it was the GNU/non-GNU ld that we prefer.
27117       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27118         test "$with_gnu_ld" != no && break
27119       else
27120         test "$with_gnu_ld" != yes && break
27121       fi
27122     fi
27123   done
27124   IFS="$ac_save_ifs"
27125 else
27126   acl_cv_path_LD="$LD" # Let the user override the test with a path.
27127 fi
27128 fi
27129
27130 LD="$acl_cv_path_LD"
27131 if test -n "$LD"; then
27132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27133 $as_echo "$LD" >&6; }
27134 else
27135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27136 $as_echo "no" >&6; }
27137 fi
27138 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27140 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27141 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27142   $as_echo_n "(cached) " >&6
27143 else
27144   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27145 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27146   acl_cv_prog_gnu_ld=yes
27147 else
27148   acl_cv_prog_gnu_ld=no
27149 fi
27150 fi
27151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27152 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27153 with_gnu_ld=$acl_cv_prog_gnu_ld
27154
27155
27156
27157                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27158 $as_echo_n "checking for shared library run path origin... " >&6; }
27159 if test "${acl_cv_rpath+set}" = set; then :
27160   $as_echo_n "(cached) " >&6
27161 else
27162
27163     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27164     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27165     . ./conftest.sh
27166     rm -f ./conftest.sh
27167     acl_cv_rpath=done
27168
27169 fi
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27171 $as_echo "$acl_cv_rpath" >&6; }
27172   wl="$acl_cv_wl"
27173   libext="$acl_cv_libext"
27174   shlibext="$acl_cv_shlibext"
27175   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27176   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27177   hardcode_direct="$acl_cv_hardcode_direct"
27178   hardcode_minus_L="$acl_cv_hardcode_minus_L"
27179     # Check whether --enable-rpath was given.
27180 if test "${enable_rpath+set}" = set; then :
27181   enableval=$enable_rpath; :
27182 else
27183   enable_rpath=yes
27184 fi
27185
27186
27187
27188
27189
27190
27191
27192
27193     use_additional=yes
27194
27195   acl_save_prefix="$prefix"
27196   prefix="$acl_final_prefix"
27197   acl_save_exec_prefix="$exec_prefix"
27198   exec_prefix="$acl_final_exec_prefix"
27199
27200     eval additional_includedir=\"$includedir\"
27201     eval additional_libdir=\"$libdir\"
27202
27203   exec_prefix="$acl_save_exec_prefix"
27204   prefix="$acl_save_prefix"
27205
27206
27207 # Check whether --with-libiconv-prefix was given.
27208 if test "${with_libiconv_prefix+set}" = set; then :
27209   withval=$with_libiconv_prefix;
27210     if test "X$withval" = "Xno"; then
27211       use_additional=no
27212     else
27213       if test "X$withval" = "X"; then
27214
27215   acl_save_prefix="$prefix"
27216   prefix="$acl_final_prefix"
27217   acl_save_exec_prefix="$exec_prefix"
27218   exec_prefix="$acl_final_exec_prefix"
27219
27220           eval additional_includedir=\"$includedir\"
27221           eval additional_libdir=\"$libdir\"
27222
27223   exec_prefix="$acl_save_exec_prefix"
27224   prefix="$acl_save_prefix"
27225
27226       else
27227         additional_includedir="$withval/include"
27228         additional_libdir="$withval/lib"
27229       fi
27230     fi
27231
27232 fi
27233
27234       LIBICONV=
27235   LTLIBICONV=
27236   INCICONV=
27237   rpathdirs=
27238   ltrpathdirs=
27239   names_already_handled=
27240   names_next_round='iconv '
27241   while test -n "$names_next_round"; do
27242     names_this_round="$names_next_round"
27243     names_next_round=
27244     for name in $names_this_round; do
27245       already_handled=
27246       for n in $names_already_handled; do
27247         if test "$n" = "$name"; then
27248           already_handled=yes
27249           break
27250         fi
27251       done
27252       if test -z "$already_handled"; then
27253         names_already_handled="$names_already_handled $name"
27254                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27255         eval value=\"\$HAVE_LIB$uppername\"
27256         if test -n "$value"; then
27257           if test "$value" = yes; then
27258             eval value=\"\$LIB$uppername\"
27259             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27260             eval value=\"\$LTLIB$uppername\"
27261             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27262           else
27263                                     :
27264           fi
27265         else
27266                               found_dir=
27267           found_la=
27268           found_so=
27269           found_a=
27270           if test $use_additional = yes; then
27271             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27272               found_dir="$additional_libdir"
27273               found_so="$additional_libdir/lib$name.$shlibext"
27274               if test -f "$additional_libdir/lib$name.la"; then
27275                 found_la="$additional_libdir/lib$name.la"
27276               fi
27277             else
27278               if test -f "$additional_libdir/lib$name.$libext"; then
27279                 found_dir="$additional_libdir"
27280                 found_a="$additional_libdir/lib$name.$libext"
27281                 if test -f "$additional_libdir/lib$name.la"; then
27282                   found_la="$additional_libdir/lib$name.la"
27283                 fi
27284               fi
27285             fi
27286           fi
27287           if test "X$found_dir" = "X"; then
27288             for x in $LDFLAGS $LTLIBICONV; do
27289
27290   acl_save_prefix="$prefix"
27291   prefix="$acl_final_prefix"
27292   acl_save_exec_prefix="$exec_prefix"
27293   exec_prefix="$acl_final_exec_prefix"
27294   eval x=\"$x\"
27295   exec_prefix="$acl_save_exec_prefix"
27296   prefix="$acl_save_prefix"
27297
27298               case "$x" in
27299                 -L*)
27300                   dir=`echo "X$x" | sed -e 's/^X-L//'`
27301                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27302                     found_dir="$dir"
27303                     found_so="$dir/lib$name.$shlibext"
27304                     if test -f "$dir/lib$name.la"; then
27305                       found_la="$dir/lib$name.la"
27306                     fi
27307                   else
27308                     if test -f "$dir/lib$name.$libext"; then
27309                       found_dir="$dir"
27310                       found_a="$dir/lib$name.$libext"
27311                       if test -f "$dir/lib$name.la"; then
27312                         found_la="$dir/lib$name.la"
27313                       fi
27314                     fi
27315                   fi
27316                   ;;
27317               esac
27318               if test "X$found_dir" != "X"; then
27319                 break
27320               fi
27321             done
27322           fi
27323           if test "X$found_dir" != "X"; then
27324                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27325             if test "X$found_so" != "X"; then
27326                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27327                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27328               else
27329                                                                                 haveit=
27330                 for x in $ltrpathdirs; do
27331                   if test "X$x" = "X$found_dir"; then
27332                     haveit=yes
27333                     break
27334                   fi
27335                 done
27336                 if test -z "$haveit"; then
27337                   ltrpathdirs="$ltrpathdirs $found_dir"
27338                 fi
27339                                 if test "$hardcode_direct" = yes; then
27340                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27341                 else
27342                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27343                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27344                                                             haveit=
27345                     for x in $rpathdirs; do
27346                       if test "X$x" = "X$found_dir"; then
27347                         haveit=yes
27348                         break
27349                       fi
27350                     done
27351                     if test -z "$haveit"; then
27352                       rpathdirs="$rpathdirs $found_dir"
27353                     fi
27354                   else
27355                                                                                 haveit=
27356                     for x in $LDFLAGS $LIBICONV; do
27357
27358   acl_save_prefix="$prefix"
27359   prefix="$acl_final_prefix"
27360   acl_save_exec_prefix="$exec_prefix"
27361   exec_prefix="$acl_final_exec_prefix"
27362   eval x=\"$x\"
27363   exec_prefix="$acl_save_exec_prefix"
27364   prefix="$acl_save_prefix"
27365
27366                       if test "X$x" = "X-L$found_dir"; then
27367                         haveit=yes
27368                         break
27369                       fi
27370                     done
27371                     if test -z "$haveit"; then
27372                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27373                     fi
27374                     if test "$hardcode_minus_L" != no; then
27375                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27376                     else
27377                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27378                     fi
27379                   fi
27380                 fi
27381               fi
27382             else
27383               if test "X$found_a" != "X"; then
27384                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27385               else
27386                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27387               fi
27388             fi
27389                         additional_includedir=
27390             case "$found_dir" in
27391               */lib | */lib/)
27392                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27393                 additional_includedir="$basedir/include"
27394                 ;;
27395             esac
27396             if test "X$additional_includedir" != "X"; then
27397                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
27398                 haveit=
27399                 if test "X$additional_includedir" = "X/usr/local/include"; then
27400                   if test -n "$GCC"; then
27401                     case $host_os in
27402                       linux*) haveit=yes;;
27403                     esac
27404                   fi
27405                 fi
27406                 if test -z "$haveit"; then
27407                   for x in $CPPFLAGS $INCICONV; do
27408
27409   acl_save_prefix="$prefix"
27410   prefix="$acl_final_prefix"
27411   acl_save_exec_prefix="$exec_prefix"
27412   exec_prefix="$acl_final_exec_prefix"
27413   eval x=\"$x\"
27414   exec_prefix="$acl_save_exec_prefix"
27415   prefix="$acl_save_prefix"
27416
27417                     if test "X$x" = "X-I$additional_includedir"; then
27418                       haveit=yes
27419                       break
27420                     fi
27421                   done
27422                   if test -z "$haveit"; then
27423                     if test -d "$additional_includedir"; then
27424                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27425                     fi
27426                   fi
27427                 fi
27428               fi
27429             fi
27430                         if test -n "$found_la"; then
27431                                                         save_libdir="$libdir"
27432               case "$found_la" in
27433                 */* | *\\*) . "$found_la" ;;
27434                 *) . "./$found_la" ;;
27435               esac
27436               libdir="$save_libdir"
27437                             for dep in $dependency_libs; do
27438                 case "$dep" in
27439                   -L*)
27440                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27441                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
27442                       haveit=
27443                       if test "X$additional_libdir" = "X/usr/local/lib"; then
27444                         if test -n "$GCC"; then
27445                           case $host_os in
27446                             linux*) haveit=yes;;
27447                           esac
27448                         fi
27449                       fi
27450                       if test -z "$haveit"; then
27451                         haveit=
27452                         for x in $LDFLAGS $LIBICONV; do
27453
27454   acl_save_prefix="$prefix"
27455   prefix="$acl_final_prefix"
27456   acl_save_exec_prefix="$exec_prefix"
27457   exec_prefix="$acl_final_exec_prefix"
27458   eval x=\"$x\"
27459   exec_prefix="$acl_save_exec_prefix"
27460   prefix="$acl_save_prefix"
27461
27462                           if test "X$x" = "X-L$additional_libdir"; then
27463                             haveit=yes
27464                             break
27465                           fi
27466                         done
27467                         if test -z "$haveit"; then
27468                           if test -d "$additional_libdir"; then
27469                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27470                           fi
27471                         fi
27472                         haveit=
27473                         for x in $LDFLAGS $LTLIBICONV; do
27474
27475   acl_save_prefix="$prefix"
27476   prefix="$acl_final_prefix"
27477   acl_save_exec_prefix="$exec_prefix"
27478   exec_prefix="$acl_final_exec_prefix"
27479   eval x=\"$x\"
27480   exec_prefix="$acl_save_exec_prefix"
27481   prefix="$acl_save_prefix"
27482
27483                           if test "X$x" = "X-L$additional_libdir"; then
27484                             haveit=yes
27485                             break
27486                           fi
27487                         done
27488                         if test -z "$haveit"; then
27489                           if test -d "$additional_libdir"; then
27490                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27491                           fi
27492                         fi
27493                       fi
27494                     fi
27495                     ;;
27496                   -R*)
27497                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27498                     if test "$enable_rpath" != no; then
27499                                                                   haveit=
27500                       for x in $rpathdirs; do
27501                         if test "X$x" = "X$dir"; then
27502                           haveit=yes
27503                           break
27504                         fi
27505                       done
27506                       if test -z "$haveit"; then
27507                         rpathdirs="$rpathdirs $dir"
27508                       fi
27509                                                                   haveit=
27510                       for x in $ltrpathdirs; do
27511                         if test "X$x" = "X$dir"; then
27512                           haveit=yes
27513                           break
27514                         fi
27515                       done
27516                       if test -z "$haveit"; then
27517                         ltrpathdirs="$ltrpathdirs $dir"
27518                       fi
27519                     fi
27520                     ;;
27521                   -l*)
27522                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27523                     ;;
27524                   *.la)
27525                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27526                     ;;
27527                   *)
27528                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27529                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27530                     ;;
27531                 esac
27532               done
27533             fi
27534           else
27535                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27536             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27537           fi
27538         fi
27539       fi
27540     done
27541   done
27542   if test "X$rpathdirs" != "X"; then
27543     if test -n "$hardcode_libdir_separator"; then
27544                         alldirs=
27545       for found_dir in $rpathdirs; do
27546         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27547       done
27548             acl_save_libdir="$libdir"
27549       libdir="$alldirs"
27550       eval flag=\"$hardcode_libdir_flag_spec\"
27551       libdir="$acl_save_libdir"
27552       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27553     else
27554             for found_dir in $rpathdirs; do
27555         acl_save_libdir="$libdir"
27556         libdir="$found_dir"
27557         eval flag=\"$hardcode_libdir_flag_spec\"
27558         libdir="$acl_save_libdir"
27559         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27560       done
27561     fi
27562   fi
27563   if test "X$ltrpathdirs" != "X"; then
27564             for found_dir in $ltrpathdirs; do
27565       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27566     done
27567   fi
27568
27569
27570
27571
27572
27573
27574
27575           am_save_CPPFLAGS="$CPPFLAGS"
27576
27577   for element in $INCICONV; do
27578     haveit=
27579     for x in $CPPFLAGS; do
27580
27581   acl_save_prefix="$prefix"
27582   prefix="$acl_final_prefix"
27583   acl_save_exec_prefix="$exec_prefix"
27584   exec_prefix="$acl_final_exec_prefix"
27585   eval x=\"$x\"
27586   exec_prefix="$acl_save_exec_prefix"
27587   prefix="$acl_save_prefix"
27588
27589       if test "X$x" = "X$element"; then
27590         haveit=yes
27591         break
27592       fi
27593     done
27594     if test -z "$haveit"; then
27595       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27596     fi
27597   done
27598
27599
27600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27601 $as_echo_n "checking for iconv... " >&6; }
27602 if test "${am_cv_func_iconv+set}" = set; then :
27603   $as_echo_n "(cached) " >&6
27604 else
27605
27606     am_cv_func_iconv="no, consider installing GNU libiconv"
27607     am_cv_lib_iconv=no
27608     if test x$gcc_no_link = xyes; then
27609   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27610 fi
27611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27612 /* end confdefs.h.  */
27613 #include <stdlib.h>
27614 #include <iconv.h>
27615 int
27616 main ()
27617 {
27618 iconv_t cd = iconv_open("","");
27619        iconv(cd,NULL,NULL,NULL,NULL);
27620        iconv_close(cd);
27621   ;
27622   return 0;
27623 }
27624 _ACEOF
27625 if ac_fn_c_try_link "$LINENO"; then :
27626   am_cv_func_iconv=yes
27627 fi
27628 rm -f core conftest.err conftest.$ac_objext \
27629     conftest$ac_exeext conftest.$ac_ext
27630     if test "$am_cv_func_iconv" != yes; then
27631       am_save_LIBS="$LIBS"
27632       LIBS="$LIBS $LIBICONV"
27633       if test x$gcc_no_link = xyes; then
27634   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27635 fi
27636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27637 /* end confdefs.h.  */
27638 #include <stdlib.h>
27639 #include <iconv.h>
27640 int
27641 main ()
27642 {
27643 iconv_t cd = iconv_open("","");
27644          iconv(cd,NULL,NULL,NULL,NULL);
27645          iconv_close(cd);
27646   ;
27647   return 0;
27648 }
27649 _ACEOF
27650 if ac_fn_c_try_link "$LINENO"; then :
27651   am_cv_lib_iconv=yes
27652         am_cv_func_iconv=yes
27653 fi
27654 rm -f core conftest.err conftest.$ac_objext \
27655     conftest$ac_exeext conftest.$ac_ext
27656       LIBS="$am_save_LIBS"
27657     fi
27658
27659 fi
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27661 $as_echo "$am_cv_func_iconv" >&6; }
27662   if test "$am_cv_func_iconv" = yes; then
27663
27664 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27665
27666   fi
27667   if test "$am_cv_lib_iconv" = yes; then
27668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27669 $as_echo_n "checking how to link with libiconv... " >&6; }
27670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27671 $as_echo "$LIBICONV" >&6; }
27672   else
27673             CPPFLAGS="$am_save_CPPFLAGS"
27674     LIBICONV=
27675     LTLIBICONV=
27676   fi
27677
27678
27679
27680   if test "$am_cv_func_iconv" = yes; then
27681     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27682 $as_echo_n "checking for iconv declaration... " >&6; }
27683     if test "${am_cv_proto_iconv+set}" = set; then :
27684   $as_echo_n "(cached) " >&6
27685 else
27686
27687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27688 /* end confdefs.h.  */
27689
27690 #include <stdlib.h>
27691 #include <iconv.h>
27692 extern
27693 #ifdef __cplusplus
27694 "C"
27695 #endif
27696 #if defined(__STDC__) || defined(__cplusplus)
27697 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27698 #else
27699 size_t iconv();
27700 #endif
27701
27702 int
27703 main ()
27704 {
27705
27706   ;
27707   return 0;
27708 }
27709 _ACEOF
27710 if ac_fn_c_try_compile "$LINENO"; then :
27711   am_cv_proto_iconv_arg1=""
27712 else
27713   am_cv_proto_iconv_arg1="const"
27714 fi
27715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27716       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);"
27717 fi
27718
27719     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27720     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27721          }$am_cv_proto_iconv" >&5
27722 $as_echo "${ac_t:-
27723          }$am_cv_proto_iconv" >&6; }
27724
27725 cat >>confdefs.h <<_ACEOF
27726 #define ICONV_CONST $am_cv_proto_iconv_arg1
27727 _ACEOF
27728
27729   fi
27730
27731
27732 else
27733
27734   # This lets us hard-code the functionality we know we'll have in the cross
27735   # target environment.  "Let" is a sugar-coated word placed on an especially
27736   # dull and tedious hack, actually.
27737   #
27738   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27739   # that involve linking, can't be used:
27740   #    "cannot open sim-crt0.o"
27741   #    "cannot open crt0.o"
27742   # etc.  All this is because there currently exists no unified, consistent
27743   # way for top level CC information to be passed down to target directories:
27744   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27745   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27746   # crosses can be removed.
27747
27748   # If Canadian cross, then don't pick up tools from the build directory.
27749   # Used only in GLIBCXX_EXPORT_INCLUDES.
27750   if test -n "$with_cross_host" &&
27751      test x"$build_alias" != x"$with_cross_host" &&
27752      test x"$build" != x"$target";
27753   then
27754     CANADIAN=yes
27755   else
27756     CANADIAN=no
27757   fi
27758
27759   # Construct crosses by hand, eliminating bits that need ld...
27760   # GLIBCXX_CHECK_MATH_SUPPORT
27761
27762   # First, test for "known" system libraries.  We may be using newlib even
27763   # on a hosted environment.
27764   if test "x${with_newlib}" = "xyes"; then
27765     os_include_dir="os/newlib"
27766     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27767
27768
27769     # GLIBCXX_CHECK_STDLIB_SUPPORT
27770     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27771
27772
27773     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27774
27775     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27776
27777     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27778
27779     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27780
27781     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27782
27783     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27784
27785     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27786
27787     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27788
27789     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27790
27791     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27792
27793     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27794
27795     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27796
27797     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27798
27799     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27800
27801     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27802
27803     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27804
27805     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27806
27807     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27808
27809     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27810
27811     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27812
27813     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27814
27815     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27816
27817
27818     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27819
27820   else
27821
27822 # Base decisions on target environment.
27823 case "${host}" in
27824   arm*-*-symbianelf*)
27825     # This is a freestanding configuration; there is nothing to do here.
27826     ;;
27827
27828   mips*-sde-elf*)
27829     # These definitions are for the SDE C library rather than newlib.
27830     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27831
27832
27833   # All these tests are for C++; save the language and the compiler flags.
27834   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27835   # found in GLIBCXX_CONFIGURE.
27836
27837   ac_ext=cpp
27838 ac_cpp='$CXXCPP $CPPFLAGS'
27839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27842
27843   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27844   ac_save_CXXFLAGS="$CXXFLAGS"
27845
27846   # Check for maintainer-mode bits.
27847   if test x"$USE_MAINTAINER_MODE" = xno; then
27848     WERROR=''
27849   else
27850     WERROR='-Werror'
27851   fi
27852
27853   # Check for -ffunction-sections -fdata-sections
27854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27855 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27856   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27858 /* end confdefs.h.  */
27859 int foo; void bar() { };
27860 int
27861 main ()
27862 {
27863
27864   ;
27865   return 0;
27866 }
27867 _ACEOF
27868 if ac_fn_cxx_try_compile "$LINENO"; then :
27869   ac_fdsections=yes
27870 else
27871   ac_fdsections=no
27872 fi
27873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27874   if test "$ac_test_CXXFLAGS" = set; then
27875     CXXFLAGS="$ac_save_CXXFLAGS"
27876   else
27877     # this is the suspicious part
27878     CXXFLAGS=''
27879   fi
27880   if test x"$ac_fdsections" = x"yes"; then
27881     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27882   fi
27883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27884 $as_echo "$ac_fdsections" >&6; }
27885
27886   ac_ext=c
27887 ac_cpp='$CPP $CPPFLAGS'
27888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27891
27892
27893
27894
27895
27896   # If we're not using GNU ld, then there's no point in even trying these
27897   # tests.  Check for that first.  We should have already tested for gld
27898   # by now (in libtool), but require it now just to be safe...
27899   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27900   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27901
27902
27903
27904   # The name set by libtool depends on the version of libtool.  Shame on us
27905   # for depending on an impl detail, but c'est la vie.  Older versions used
27906   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27907   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27908   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27909   # set (hence we're using an older libtool), then set it.
27910   if test x${with_gnu_ld+set} != xset; then
27911     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27912       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27913       with_gnu_ld=no
27914     else
27915       with_gnu_ld=$ac_cv_prog_gnu_ld
27916     fi
27917   fi
27918
27919   # Start by getting the version number.  I think the libtool test already
27920   # does some of this, but throws away the result.
27921   glibcxx_ld_is_gold=no
27922   if test x"$with_gnu_ld" = x"yes"; then
27923     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27924 $as_echo_n "checking for ld version... " >&6; }
27925
27926     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27927       glibcxx_ld_is_gold=yes
27928     fi
27929     ldver=`$LD --version 2>/dev/null |
27930            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'`
27931
27932     glibcxx_gnu_ld_version=`echo $ldver | \
27933            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27935 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27936   fi
27937
27938   # Set --gc-sections.
27939   glibcxx_have_gc_sections=no
27940   if test "$glibcxx_ld_is_gold" = "yes"; then
27941     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27942       glibcxx_have_gc_sections=yes
27943     fi
27944   else
27945     glibcxx_gcsections_min_ld=21602
27946     if test x"$with_gnu_ld" = x"yes" &&
27947         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27948       glibcxx_have_gc_sections=yes
27949     fi
27950   fi
27951   if test "$glibcxx_have_gc_sections" = "yes"; then
27952     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27953     # NB: This flag only works reliably after 2.16.1. Configure tests
27954     # for this are difficult, so hard wire a value that should work.
27955
27956     ac_test_CFLAGS="${CFLAGS+set}"
27957     ac_save_CFLAGS="$CFLAGS"
27958     CFLAGS='-Wl,--gc-sections'
27959
27960     # Check for -Wl,--gc-sections
27961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27962 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27963     if test x$gcc_no_link = xyes; then
27964   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27965 fi
27966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27967 /* end confdefs.h.  */
27968  int one(void) { return 1; }
27969      int two(void) { return 2; }
27970
27971 int
27972 main ()
27973 {
27974  two();
27975   ;
27976   return 0;
27977 }
27978 _ACEOF
27979 if ac_fn_c_try_link "$LINENO"; then :
27980   ac_gcsections=yes
27981 else
27982   ac_gcsections=no
27983 fi
27984 rm -f core conftest.err conftest.$ac_objext \
27985     conftest$ac_exeext conftest.$ac_ext
27986     if test "$ac_gcsections" = "yes"; then
27987       rm -f conftest.c
27988       touch conftest.c
27989       if $CC -c conftest.c; then
27990         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27991            grep "Warning: gc-sections option ignored" > /dev/null; then
27992           ac_gcsections=no
27993         fi
27994       fi
27995       rm -f conftest.c conftest.o conftest
27996     fi
27997     if test "$ac_gcsections" = "yes"; then
27998       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27999     fi
28000     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28001 $as_echo "$ac_gcsections" >&6; }
28002
28003     if test "$ac_test_CFLAGS" = set; then
28004       CFLAGS="$ac_save_CFLAGS"
28005     else
28006       # this is the suspicious part
28007       CFLAGS=''
28008     fi
28009   fi
28010
28011   # Set -z,relro.
28012   # Note this is only for shared objects.
28013   ac_ld_relro=no
28014   if test x"$with_gnu_ld" = x"yes"; then
28015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28016 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28017     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28018     if test -n "$cxx_z_relo"; then
28019       OPT_LDFLAGS="-Wl,-z,relro"
28020       ac_ld_relro=yes
28021     fi
28022     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28023 $as_echo "$ac_ld_relro" >&6; }
28024   fi
28025
28026   # Set linker optimization flags.
28027   if test x"$with_gnu_ld" = x"yes"; then
28028     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28029   fi
28030
28031
28032
28033
28034
28035   ac_test_CXXFLAGS="${CXXFLAGS+set}"
28036   ac_save_CXXFLAGS="$CXXFLAGS"
28037   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28038
28039     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28040 $as_echo_n "checking for sin in -lm... " >&6; }
28041 if test "${ac_cv_lib_m_sin+set}" = set; then :
28042   $as_echo_n "(cached) " >&6
28043 else
28044   ac_check_lib_save_LIBS=$LIBS
28045 LIBS="-lm  $LIBS"
28046 if test x$gcc_no_link = xyes; then
28047   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28048 fi
28049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28050 /* end confdefs.h.  */
28051
28052 /* Override any GCC internal prototype to avoid an error.
28053    Use char because int might match the return type of a GCC
28054    builtin and then its argument prototype would still apply.  */
28055 #ifdef __cplusplus
28056 extern "C"
28057 #endif
28058 char sin ();
28059 int
28060 main ()
28061 {
28062 return sin ();
28063   ;
28064   return 0;
28065 }
28066 _ACEOF
28067 if ac_fn_c_try_link "$LINENO"; then :
28068   ac_cv_lib_m_sin=yes
28069 else
28070   ac_cv_lib_m_sin=no
28071 fi
28072 rm -f core conftest.err conftest.$ac_objext \
28073     conftest$ac_exeext conftest.$ac_ext
28074 LIBS=$ac_check_lib_save_LIBS
28075 fi
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28077 $as_echo "$ac_cv_lib_m_sin" >&6; }
28078 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28079   libm="-lm"
28080 fi
28081
28082   ac_save_LIBS="$LIBS"
28083   LIBS="$LIBS $libm"
28084
28085
28086
28087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28088 $as_echo_n "checking for isinf declaration... " >&6; }
28089   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28090     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28091   $as_echo_n "(cached) " >&6
28092 else
28093
28094
28095       ac_ext=cpp
28096 ac_cpp='$CXXCPP $CPPFLAGS'
28097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28100
28101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28102 /* end confdefs.h.  */
28103 #include <math.h>
28104                       #ifdef HAVE_IEEEFP_H
28105                       #include <ieeefp.h>
28106                       #endif
28107
28108 int
28109 main ()
28110 {
28111  isinf(0);
28112   ;
28113   return 0;
28114 }
28115 _ACEOF
28116 if ac_fn_cxx_try_compile "$LINENO"; then :
28117   glibcxx_cv_func_isinf_use=yes
28118 else
28119   glibcxx_cv_func_isinf_use=no
28120 fi
28121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28122       ac_ext=c
28123 ac_cpp='$CPP $CPPFLAGS'
28124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28127
28128
28129 fi
28130
28131   fi
28132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28133 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28134
28135   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28136     for ac_func in isinf
28137 do :
28138   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28139 if test "x$ac_cv_func_isinf" = x""yes; then :
28140   cat >>confdefs.h <<_ACEOF
28141 #define HAVE_ISINF 1
28142 _ACEOF
28143
28144 fi
28145 done
28146
28147   else
28148
28149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28150 $as_echo_n "checking for _isinf declaration... " >&6; }
28151   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28152     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28153   $as_echo_n "(cached) " >&6
28154 else
28155
28156
28157       ac_ext=cpp
28158 ac_cpp='$CXXCPP $CPPFLAGS'
28159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28162
28163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28164 /* end confdefs.h.  */
28165 #include <math.h>
28166                       #ifdef HAVE_IEEEFP_H
28167                       #include <ieeefp.h>
28168                       #endif
28169
28170 int
28171 main ()
28172 {
28173  _isinf(0);
28174   ;
28175   return 0;
28176 }
28177 _ACEOF
28178 if ac_fn_cxx_try_compile "$LINENO"; then :
28179   glibcxx_cv_func__isinf_use=yes
28180 else
28181   glibcxx_cv_func__isinf_use=no
28182 fi
28183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28184       ac_ext=c
28185 ac_cpp='$CPP $CPPFLAGS'
28186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28189
28190
28191 fi
28192
28193   fi
28194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28195 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28196
28197     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28198       for ac_func in _isinf
28199 do :
28200   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28201 if test "x$ac_cv_func__isinf" = x""yes; then :
28202   cat >>confdefs.h <<_ACEOF
28203 #define HAVE__ISINF 1
28204 _ACEOF
28205
28206 fi
28207 done
28208
28209     fi
28210   fi
28211
28212
28213
28214
28215
28216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28217 $as_echo_n "checking for isnan declaration... " >&6; }
28218   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28219     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28220   $as_echo_n "(cached) " >&6
28221 else
28222
28223
28224       ac_ext=cpp
28225 ac_cpp='$CXXCPP $CPPFLAGS'
28226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28229
28230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28231 /* end confdefs.h.  */
28232 #include <math.h>
28233                       #ifdef HAVE_IEEEFP_H
28234                       #include <ieeefp.h>
28235                       #endif
28236
28237 int
28238 main ()
28239 {
28240  isnan(0);
28241   ;
28242   return 0;
28243 }
28244 _ACEOF
28245 if ac_fn_cxx_try_compile "$LINENO"; then :
28246   glibcxx_cv_func_isnan_use=yes
28247 else
28248   glibcxx_cv_func_isnan_use=no
28249 fi
28250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28251       ac_ext=c
28252 ac_cpp='$CPP $CPPFLAGS'
28253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28256
28257
28258 fi
28259
28260   fi
28261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28262 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28263
28264   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28265     for ac_func in isnan
28266 do :
28267   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28268 if test "x$ac_cv_func_isnan" = x""yes; then :
28269   cat >>confdefs.h <<_ACEOF
28270 #define HAVE_ISNAN 1
28271 _ACEOF
28272
28273 fi
28274 done
28275
28276   else
28277
28278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28279 $as_echo_n "checking for _isnan declaration... " >&6; }
28280   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28281     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28282   $as_echo_n "(cached) " >&6
28283 else
28284
28285
28286       ac_ext=cpp
28287 ac_cpp='$CXXCPP $CPPFLAGS'
28288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28291
28292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28293 /* end confdefs.h.  */
28294 #include <math.h>
28295                       #ifdef HAVE_IEEEFP_H
28296                       #include <ieeefp.h>
28297                       #endif
28298
28299 int
28300 main ()
28301 {
28302  _isnan(0);
28303   ;
28304   return 0;
28305 }
28306 _ACEOF
28307 if ac_fn_cxx_try_compile "$LINENO"; then :
28308   glibcxx_cv_func__isnan_use=yes
28309 else
28310   glibcxx_cv_func__isnan_use=no
28311 fi
28312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28313       ac_ext=c
28314 ac_cpp='$CPP $CPPFLAGS'
28315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28318
28319
28320 fi
28321
28322   fi
28323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28324 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28325
28326     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28327       for ac_func in _isnan
28328 do :
28329   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28330 if test "x$ac_cv_func__isnan" = x""yes; then :
28331   cat >>confdefs.h <<_ACEOF
28332 #define HAVE__ISNAN 1
28333 _ACEOF
28334
28335 fi
28336 done
28337
28338     fi
28339   fi
28340
28341
28342
28343
28344
28345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28346 $as_echo_n "checking for finite declaration... " >&6; }
28347   if test x${glibcxx_cv_func_finite_use+set} != xset; then
28348     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28349   $as_echo_n "(cached) " >&6
28350 else
28351
28352
28353       ac_ext=cpp
28354 ac_cpp='$CXXCPP $CPPFLAGS'
28355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28358
28359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28360 /* end confdefs.h.  */
28361 #include <math.h>
28362                       #ifdef HAVE_IEEEFP_H
28363                       #include <ieeefp.h>
28364                       #endif
28365
28366 int
28367 main ()
28368 {
28369  finite(0);
28370   ;
28371   return 0;
28372 }
28373 _ACEOF
28374 if ac_fn_cxx_try_compile "$LINENO"; then :
28375   glibcxx_cv_func_finite_use=yes
28376 else
28377   glibcxx_cv_func_finite_use=no
28378 fi
28379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380       ac_ext=c
28381 ac_cpp='$CPP $CPPFLAGS'
28382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28385
28386
28387 fi
28388
28389   fi
28390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28391 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28392
28393   if test x$glibcxx_cv_func_finite_use = x"yes"; then
28394     for ac_func in finite
28395 do :
28396   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28397 if test "x$ac_cv_func_finite" = x""yes; then :
28398   cat >>confdefs.h <<_ACEOF
28399 #define HAVE_FINITE 1
28400 _ACEOF
28401
28402 fi
28403 done
28404
28405   else
28406
28407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28408 $as_echo_n "checking for _finite declaration... " >&6; }
28409   if test x${glibcxx_cv_func__finite_use+set} != xset; then
28410     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28411   $as_echo_n "(cached) " >&6
28412 else
28413
28414
28415       ac_ext=cpp
28416 ac_cpp='$CXXCPP $CPPFLAGS'
28417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28420
28421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28422 /* end confdefs.h.  */
28423 #include <math.h>
28424                       #ifdef HAVE_IEEEFP_H
28425                       #include <ieeefp.h>
28426                       #endif
28427
28428 int
28429 main ()
28430 {
28431  _finite(0);
28432   ;
28433   return 0;
28434 }
28435 _ACEOF
28436 if ac_fn_cxx_try_compile "$LINENO"; then :
28437   glibcxx_cv_func__finite_use=yes
28438 else
28439   glibcxx_cv_func__finite_use=no
28440 fi
28441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28442       ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28447
28448
28449 fi
28450
28451   fi
28452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28453 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28454
28455     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28456       for ac_func in _finite
28457 do :
28458   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28459 if test "x$ac_cv_func__finite" = x""yes; then :
28460   cat >>confdefs.h <<_ACEOF
28461 #define HAVE__FINITE 1
28462 _ACEOF
28463
28464 fi
28465 done
28466
28467     fi
28468   fi
28469
28470
28471
28472
28473
28474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28475 $as_echo_n "checking for sincos declaration... " >&6; }
28476   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28477     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28478   $as_echo_n "(cached) " >&6
28479 else
28480
28481
28482       ac_ext=cpp
28483 ac_cpp='$CXXCPP $CPPFLAGS'
28484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28487
28488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28489 /* end confdefs.h.  */
28490 #include <math.h>
28491 int
28492 main ()
28493 {
28494  sincos(0, 0, 0);
28495   ;
28496   return 0;
28497 }
28498 _ACEOF
28499 if ac_fn_cxx_try_compile "$LINENO"; then :
28500   glibcxx_cv_func_sincos_use=yes
28501 else
28502   glibcxx_cv_func_sincos_use=no
28503 fi
28504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28505       ac_ext=c
28506 ac_cpp='$CPP $CPPFLAGS'
28507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28510
28511
28512 fi
28513
28514   fi
28515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28516 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28517
28518   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28519     for ac_func in sincos
28520 do :
28521   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28522 if test "x$ac_cv_func_sincos" = x""yes; then :
28523   cat >>confdefs.h <<_ACEOF
28524 #define HAVE_SINCOS 1
28525 _ACEOF
28526
28527 fi
28528 done
28529
28530   else
28531
28532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28533 $as_echo_n "checking for _sincos declaration... " >&6; }
28534   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28535     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28536   $as_echo_n "(cached) " >&6
28537 else
28538
28539
28540       ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545
28546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h.  */
28548 #include <math.h>
28549 int
28550 main ()
28551 {
28552  _sincos(0, 0, 0);
28553   ;
28554   return 0;
28555 }
28556 _ACEOF
28557 if ac_fn_cxx_try_compile "$LINENO"; then :
28558   glibcxx_cv_func__sincos_use=yes
28559 else
28560   glibcxx_cv_func__sincos_use=no
28561 fi
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563       ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28568
28569
28570 fi
28571
28572   fi
28573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28574 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28575
28576     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28577       for ac_func in _sincos
28578 do :
28579   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28580 if test "x$ac_cv_func__sincos" = x""yes; then :
28581   cat >>confdefs.h <<_ACEOF
28582 #define HAVE__SINCOS 1
28583 _ACEOF
28584
28585 fi
28586 done
28587
28588     fi
28589   fi
28590
28591
28592
28593
28594
28595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28596 $as_echo_n "checking for fpclass declaration... " >&6; }
28597   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28598     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28599   $as_echo_n "(cached) " >&6
28600 else
28601
28602
28603       ac_ext=cpp
28604 ac_cpp='$CXXCPP $CPPFLAGS'
28605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28608
28609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28610 /* end confdefs.h.  */
28611 #include <math.h>
28612                       #ifdef HAVE_IEEEFP_H
28613                       #include <ieeefp.h>
28614                       #endif
28615
28616 int
28617 main ()
28618 {
28619  fpclass(0);
28620   ;
28621   return 0;
28622 }
28623 _ACEOF
28624 if ac_fn_cxx_try_compile "$LINENO"; then :
28625   glibcxx_cv_func_fpclass_use=yes
28626 else
28627   glibcxx_cv_func_fpclass_use=no
28628 fi
28629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28630       ac_ext=c
28631 ac_cpp='$CPP $CPPFLAGS'
28632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28635
28636
28637 fi
28638
28639   fi
28640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28641 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28642
28643   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28644     for ac_func in fpclass
28645 do :
28646   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28647 if test "x$ac_cv_func_fpclass" = x""yes; then :
28648   cat >>confdefs.h <<_ACEOF
28649 #define HAVE_FPCLASS 1
28650 _ACEOF
28651
28652 fi
28653 done
28654
28655   else
28656
28657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28658 $as_echo_n "checking for _fpclass declaration... " >&6; }
28659   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28660     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28661   $as_echo_n "(cached) " >&6
28662 else
28663
28664
28665       ac_ext=cpp
28666 ac_cpp='$CXXCPP $CPPFLAGS'
28667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28670
28671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28672 /* end confdefs.h.  */
28673 #include <math.h>
28674                       #ifdef HAVE_IEEEFP_H
28675                       #include <ieeefp.h>
28676                       #endif
28677
28678 int
28679 main ()
28680 {
28681  _fpclass(0);
28682   ;
28683   return 0;
28684 }
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687   glibcxx_cv_func__fpclass_use=yes
28688 else
28689   glibcxx_cv_func__fpclass_use=no
28690 fi
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692       ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28697
28698
28699 fi
28700
28701   fi
28702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28703 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28704
28705     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28706       for ac_func in _fpclass
28707 do :
28708   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28709 if test "x$ac_cv_func__fpclass" = x""yes; then :
28710   cat >>confdefs.h <<_ACEOF
28711 #define HAVE__FPCLASS 1
28712 _ACEOF
28713
28714 fi
28715 done
28716
28717     fi
28718   fi
28719
28720
28721
28722
28723
28724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28725 $as_echo_n "checking for qfpclass declaration... " >&6; }
28726   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28727     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28728   $as_echo_n "(cached) " >&6
28729 else
28730
28731
28732       ac_ext=cpp
28733 ac_cpp='$CXXCPP $CPPFLAGS'
28734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28737
28738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28739 /* end confdefs.h.  */
28740 #include <math.h>
28741                       #ifdef HAVE_IEEEFP_H
28742                       #include <ieeefp.h>
28743                       #endif
28744
28745 int
28746 main ()
28747 {
28748  qfpclass(0);
28749   ;
28750   return 0;
28751 }
28752 _ACEOF
28753 if ac_fn_cxx_try_compile "$LINENO"; then :
28754   glibcxx_cv_func_qfpclass_use=yes
28755 else
28756   glibcxx_cv_func_qfpclass_use=no
28757 fi
28758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28759       ac_ext=c
28760 ac_cpp='$CPP $CPPFLAGS'
28761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28764
28765
28766 fi
28767
28768   fi
28769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28770 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28771
28772   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28773     for ac_func in qfpclass
28774 do :
28775   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28776 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28777   cat >>confdefs.h <<_ACEOF
28778 #define HAVE_QFPCLASS 1
28779 _ACEOF
28780
28781 fi
28782 done
28783
28784   else
28785
28786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28787 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28788   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28789     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28790   $as_echo_n "(cached) " >&6
28791 else
28792
28793
28794       ac_ext=cpp
28795 ac_cpp='$CXXCPP $CPPFLAGS'
28796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28799
28800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28801 /* end confdefs.h.  */
28802 #include <math.h>
28803                       #ifdef HAVE_IEEEFP_H
28804                       #include <ieeefp.h>
28805                       #endif
28806
28807 int
28808 main ()
28809 {
28810  _qfpclass(0);
28811   ;
28812   return 0;
28813 }
28814 _ACEOF
28815 if ac_fn_cxx_try_compile "$LINENO"; then :
28816   glibcxx_cv_func__qfpclass_use=yes
28817 else
28818   glibcxx_cv_func__qfpclass_use=no
28819 fi
28820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28821       ac_ext=c
28822 ac_cpp='$CPP $CPPFLAGS'
28823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28826
28827
28828 fi
28829
28830   fi
28831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28832 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28833
28834     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28835       for ac_func in _qfpclass
28836 do :
28837   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28838 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28839   cat >>confdefs.h <<_ACEOF
28840 #define HAVE__QFPCLASS 1
28841 _ACEOF
28842
28843 fi
28844 done
28845
28846     fi
28847   fi
28848
28849
28850
28851
28852
28853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28854 $as_echo_n "checking for hypot declaration... " >&6; }
28855   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28856     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28857   $as_echo_n "(cached) " >&6
28858 else
28859
28860
28861       ac_ext=cpp
28862 ac_cpp='$CXXCPP $CPPFLAGS'
28863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28866
28867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28868 /* end confdefs.h.  */
28869 #include <math.h>
28870 int
28871 main ()
28872 {
28873  hypot(0, 0);
28874   ;
28875   return 0;
28876 }
28877 _ACEOF
28878 if ac_fn_cxx_try_compile "$LINENO"; then :
28879   glibcxx_cv_func_hypot_use=yes
28880 else
28881   glibcxx_cv_func_hypot_use=no
28882 fi
28883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28884       ac_ext=c
28885 ac_cpp='$CPP $CPPFLAGS'
28886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28889
28890
28891 fi
28892
28893   fi
28894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28895 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28896
28897   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28898     for ac_func in hypot
28899 do :
28900   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28901 if test "x$ac_cv_func_hypot" = x""yes; then :
28902   cat >>confdefs.h <<_ACEOF
28903 #define HAVE_HYPOT 1
28904 _ACEOF
28905
28906 fi
28907 done
28908
28909   else
28910
28911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28912 $as_echo_n "checking for _hypot declaration... " >&6; }
28913   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28914     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28915   $as_echo_n "(cached) " >&6
28916 else
28917
28918
28919       ac_ext=cpp
28920 ac_cpp='$CXXCPP $CPPFLAGS'
28921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28924
28925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28926 /* end confdefs.h.  */
28927 #include <math.h>
28928 int
28929 main ()
28930 {
28931  _hypot(0, 0);
28932   ;
28933   return 0;
28934 }
28935 _ACEOF
28936 if ac_fn_cxx_try_compile "$LINENO"; then :
28937   glibcxx_cv_func__hypot_use=yes
28938 else
28939   glibcxx_cv_func__hypot_use=no
28940 fi
28941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28942       ac_ext=c
28943 ac_cpp='$CPP $CPPFLAGS'
28944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28947
28948
28949 fi
28950
28951   fi
28952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28953 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28954
28955     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28956       for ac_func in _hypot
28957 do :
28958   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28959 if test "x$ac_cv_func__hypot" = x""yes; then :
28960   cat >>confdefs.h <<_ACEOF
28961 #define HAVE__HYPOT 1
28962 _ACEOF
28963
28964 fi
28965 done
28966
28967     fi
28968   fi
28969
28970
28971
28972
28973
28974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28975 $as_echo_n "checking for float trig functions... " >&6; }
28976   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28977   $as_echo_n "(cached) " >&6
28978 else
28979
28980
28981     ac_ext=cpp
28982 ac_cpp='$CXXCPP $CPPFLAGS'
28983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28986
28987     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28988 /* end confdefs.h.  */
28989 #include <math.h>
28990 int
28991 main ()
28992 {
28993 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28994   ;
28995   return 0;
28996 }
28997 _ACEOF
28998 if ac_fn_cxx_try_compile "$LINENO"; then :
28999   glibcxx_cv_func_float_trig_use=yes
29000 else
29001   glibcxx_cv_func_float_trig_use=no
29002 fi
29003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29004     ac_ext=c
29005 ac_cpp='$CPP $CPPFLAGS'
29006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29009
29010 fi
29011
29012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29013 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29014   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29015     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29016 do :
29017   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29019 eval as_val=\$$as_ac_var
29020    if test "x$as_val" = x""yes; then :
29021   cat >>confdefs.h <<_ACEOF
29022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29023 _ACEOF
29024
29025 fi
29026 done
29027
29028   else
29029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29030 $as_echo_n "checking for _float trig functions... " >&6; }
29031     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29032   $as_echo_n "(cached) " >&6
29033 else
29034
29035
29036       ac_ext=cpp
29037 ac_cpp='$CXXCPP $CPPFLAGS'
29038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29041
29042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29043 /* end confdefs.h.  */
29044 #include <math.h>
29045 int
29046 main ()
29047 {
29048 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29049   ;
29050   return 0;
29051 }
29052 _ACEOF
29053 if ac_fn_cxx_try_compile "$LINENO"; then :
29054   glibcxx_cv_func__float_trig_use=yes
29055 else
29056   glibcxx_cv_func__float_trig_use=no
29057 fi
29058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29059       ac_ext=c
29060 ac_cpp='$CPP $CPPFLAGS'
29061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29064
29065 fi
29066
29067     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29068 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29069     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29070       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29071 do :
29072   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29074 eval as_val=\$$as_ac_var
29075    if test "x$as_val" = x""yes; then :
29076   cat >>confdefs.h <<_ACEOF
29077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29078 _ACEOF
29079
29080 fi
29081 done
29082
29083     fi
29084   fi
29085
29086
29087
29088
29089
29090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29091 $as_echo_n "checking for float round functions... " >&6; }
29092   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29093   $as_echo_n "(cached) " >&6
29094 else
29095
29096
29097     ac_ext=cpp
29098 ac_cpp='$CXXCPP $CPPFLAGS'
29099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29102
29103     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29104 /* end confdefs.h.  */
29105 #include <math.h>
29106 int
29107 main ()
29108 {
29109 ceilf (0); floorf (0);
29110   ;
29111   return 0;
29112 }
29113 _ACEOF
29114 if ac_fn_cxx_try_compile "$LINENO"; then :
29115   glibcxx_cv_func_float_round_use=yes
29116 else
29117   glibcxx_cv_func_float_round_use=no
29118 fi
29119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29120     ac_ext=c
29121 ac_cpp='$CPP $CPPFLAGS'
29122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29125
29126 fi
29127
29128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29129 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29130   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29131     for ac_func in ceilf floorf
29132 do :
29133   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29135 eval as_val=\$$as_ac_var
29136    if test "x$as_val" = x""yes; then :
29137   cat >>confdefs.h <<_ACEOF
29138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29139 _ACEOF
29140
29141 fi
29142 done
29143
29144   else
29145     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29146 $as_echo_n "checking for _float round functions... " >&6; }
29147     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29148   $as_echo_n "(cached) " >&6
29149 else
29150
29151
29152       ac_ext=cpp
29153 ac_cpp='$CXXCPP $CPPFLAGS'
29154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29157
29158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29159 /* end confdefs.h.  */
29160 #include <math.h>
29161 int
29162 main ()
29163 {
29164 _ceilf (0); _floorf (0);
29165   ;
29166   return 0;
29167 }
29168 _ACEOF
29169 if ac_fn_cxx_try_compile "$LINENO"; then :
29170   glibcxx_cv_func__float_round_use=yes
29171 else
29172   glibcxx_cv_func__float_round_use=no
29173 fi
29174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29175       ac_ext=c
29176 ac_cpp='$CPP $CPPFLAGS'
29177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29180
29181 fi
29182
29183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29184 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29185     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29186       for ac_func in _ceilf _floorf
29187 do :
29188   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29190 eval as_val=\$$as_ac_var
29191    if test "x$as_val" = x""yes; then :
29192   cat >>confdefs.h <<_ACEOF
29193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29194 _ACEOF
29195
29196 fi
29197 done
29198
29199     fi
29200   fi
29201
29202
29203
29204
29205
29206
29207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29208 $as_echo_n "checking for expf declaration... " >&6; }
29209   if test x${glibcxx_cv_func_expf_use+set} != xset; then
29210     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29211   $as_echo_n "(cached) " >&6
29212 else
29213
29214
29215       ac_ext=cpp
29216 ac_cpp='$CXXCPP $CPPFLAGS'
29217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29220
29221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29222 /* end confdefs.h.  */
29223 #include <math.h>
29224                       #ifdef HAVE_IEEEFP_H
29225                       #include <ieeefp.h>
29226                       #endif
29227
29228 int
29229 main ()
29230 {
29231  expf(0);
29232   ;
29233   return 0;
29234 }
29235 _ACEOF
29236 if ac_fn_cxx_try_compile "$LINENO"; then :
29237   glibcxx_cv_func_expf_use=yes
29238 else
29239   glibcxx_cv_func_expf_use=no
29240 fi
29241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29242       ac_ext=c
29243 ac_cpp='$CPP $CPPFLAGS'
29244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29247
29248
29249 fi
29250
29251   fi
29252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29253 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29254
29255   if test x$glibcxx_cv_func_expf_use = x"yes"; then
29256     for ac_func in expf
29257 do :
29258   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29259 if test "x$ac_cv_func_expf" = x""yes; then :
29260   cat >>confdefs.h <<_ACEOF
29261 #define HAVE_EXPF 1
29262 _ACEOF
29263
29264 fi
29265 done
29266
29267   else
29268
29269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29270 $as_echo_n "checking for _expf declaration... " >&6; }
29271   if test x${glibcxx_cv_func__expf_use+set} != xset; then
29272     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29273   $as_echo_n "(cached) " >&6
29274 else
29275
29276
29277       ac_ext=cpp
29278 ac_cpp='$CXXCPP $CPPFLAGS'
29279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29282
29283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29284 /* end confdefs.h.  */
29285 #include <math.h>
29286                       #ifdef HAVE_IEEEFP_H
29287                       #include <ieeefp.h>
29288                       #endif
29289
29290 int
29291 main ()
29292 {
29293  _expf(0);
29294   ;
29295   return 0;
29296 }
29297 _ACEOF
29298 if ac_fn_cxx_try_compile "$LINENO"; then :
29299   glibcxx_cv_func__expf_use=yes
29300 else
29301   glibcxx_cv_func__expf_use=no
29302 fi
29303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29304       ac_ext=c
29305 ac_cpp='$CPP $CPPFLAGS'
29306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29309
29310
29311 fi
29312
29313   fi
29314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29315 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29316
29317     if test x$glibcxx_cv_func__expf_use = x"yes"; then
29318       for ac_func in _expf
29319 do :
29320   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29321 if test "x$ac_cv_func__expf" = x""yes; then :
29322   cat >>confdefs.h <<_ACEOF
29323 #define HAVE__EXPF 1
29324 _ACEOF
29325
29326 fi
29327 done
29328
29329     fi
29330   fi
29331
29332
29333
29334
29335
29336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29337 $as_echo_n "checking for isnanf declaration... " >&6; }
29338   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29339     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29340   $as_echo_n "(cached) " >&6
29341 else
29342
29343
29344       ac_ext=cpp
29345 ac_cpp='$CXXCPP $CPPFLAGS'
29346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29349
29350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29351 /* end confdefs.h.  */
29352 #include <math.h>
29353                       #ifdef HAVE_IEEEFP_H
29354                       #include <ieeefp.h>
29355                       #endif
29356
29357 int
29358 main ()
29359 {
29360  isnanf(0);
29361   ;
29362   return 0;
29363 }
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366   glibcxx_cv_func_isnanf_use=yes
29367 else
29368   glibcxx_cv_func_isnanf_use=no
29369 fi
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371       ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29376
29377
29378 fi
29379
29380   fi
29381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29382 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29383
29384   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29385     for ac_func in isnanf
29386 do :
29387   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29388 if test "x$ac_cv_func_isnanf" = x""yes; then :
29389   cat >>confdefs.h <<_ACEOF
29390 #define HAVE_ISNANF 1
29391 _ACEOF
29392
29393 fi
29394 done
29395
29396   else
29397
29398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29399 $as_echo_n "checking for _isnanf declaration... " >&6; }
29400   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29401     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29402   $as_echo_n "(cached) " >&6
29403 else
29404
29405
29406       ac_ext=cpp
29407 ac_cpp='$CXXCPP $CPPFLAGS'
29408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29411
29412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29413 /* end confdefs.h.  */
29414 #include <math.h>
29415                       #ifdef HAVE_IEEEFP_H
29416                       #include <ieeefp.h>
29417                       #endif
29418
29419 int
29420 main ()
29421 {
29422  _isnanf(0);
29423   ;
29424   return 0;
29425 }
29426 _ACEOF
29427 if ac_fn_cxx_try_compile "$LINENO"; then :
29428   glibcxx_cv_func__isnanf_use=yes
29429 else
29430   glibcxx_cv_func__isnanf_use=no
29431 fi
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433       ac_ext=c
29434 ac_cpp='$CPP $CPPFLAGS'
29435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29438
29439
29440 fi
29441
29442   fi
29443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29444 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29445
29446     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29447       for ac_func in _isnanf
29448 do :
29449   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29450 if test "x$ac_cv_func__isnanf" = x""yes; then :
29451   cat >>confdefs.h <<_ACEOF
29452 #define HAVE__ISNANF 1
29453 _ACEOF
29454
29455 fi
29456 done
29457
29458     fi
29459   fi
29460
29461
29462
29463
29464
29465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29466 $as_echo_n "checking for isinff declaration... " >&6; }
29467   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29468     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29469   $as_echo_n "(cached) " >&6
29470 else
29471
29472
29473       ac_ext=cpp
29474 ac_cpp='$CXXCPP $CPPFLAGS'
29475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29478
29479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29480 /* end confdefs.h.  */
29481 #include <math.h>
29482                       #ifdef HAVE_IEEEFP_H
29483                       #include <ieeefp.h>
29484                       #endif
29485
29486 int
29487 main ()
29488 {
29489  isinff(0);
29490   ;
29491   return 0;
29492 }
29493 _ACEOF
29494 if ac_fn_cxx_try_compile "$LINENO"; then :
29495   glibcxx_cv_func_isinff_use=yes
29496 else
29497   glibcxx_cv_func_isinff_use=no
29498 fi
29499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29500       ac_ext=c
29501 ac_cpp='$CPP $CPPFLAGS'
29502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29505
29506
29507 fi
29508
29509   fi
29510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29511 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29512
29513   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29514     for ac_func in isinff
29515 do :
29516   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29517 if test "x$ac_cv_func_isinff" = x""yes; then :
29518   cat >>confdefs.h <<_ACEOF
29519 #define HAVE_ISINFF 1
29520 _ACEOF
29521
29522 fi
29523 done
29524
29525   else
29526
29527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29528 $as_echo_n "checking for _isinff declaration... " >&6; }
29529   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29530     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29531   $as_echo_n "(cached) " >&6
29532 else
29533
29534
29535       ac_ext=cpp
29536 ac_cpp='$CXXCPP $CPPFLAGS'
29537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29540
29541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29542 /* end confdefs.h.  */
29543 #include <math.h>
29544                       #ifdef HAVE_IEEEFP_H
29545                       #include <ieeefp.h>
29546                       #endif
29547
29548 int
29549 main ()
29550 {
29551  _isinff(0);
29552   ;
29553   return 0;
29554 }
29555 _ACEOF
29556 if ac_fn_cxx_try_compile "$LINENO"; then :
29557   glibcxx_cv_func__isinff_use=yes
29558 else
29559   glibcxx_cv_func__isinff_use=no
29560 fi
29561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29562       ac_ext=c
29563 ac_cpp='$CPP $CPPFLAGS'
29564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29567
29568
29569 fi
29570
29571   fi
29572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29573 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29574
29575     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29576       for ac_func in _isinff
29577 do :
29578   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29579 if test "x$ac_cv_func__isinff" = x""yes; then :
29580   cat >>confdefs.h <<_ACEOF
29581 #define HAVE__ISINFF 1
29582 _ACEOF
29583
29584 fi
29585 done
29586
29587     fi
29588   fi
29589
29590
29591
29592
29593
29594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29595 $as_echo_n "checking for atan2f declaration... " >&6; }
29596   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29597     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29598   $as_echo_n "(cached) " >&6
29599 else
29600
29601
29602       ac_ext=cpp
29603 ac_cpp='$CXXCPP $CPPFLAGS'
29604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29607
29608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h.  */
29610 #include <math.h>
29611 int
29612 main ()
29613 {
29614  atan2f(0, 0);
29615   ;
29616   return 0;
29617 }
29618 _ACEOF
29619 if ac_fn_cxx_try_compile "$LINENO"; then :
29620   glibcxx_cv_func_atan2f_use=yes
29621 else
29622   glibcxx_cv_func_atan2f_use=no
29623 fi
29624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29625       ac_ext=c
29626 ac_cpp='$CPP $CPPFLAGS'
29627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29630
29631
29632 fi
29633
29634   fi
29635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29636 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29637
29638   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29639     for ac_func in atan2f
29640 do :
29641   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29642 if test "x$ac_cv_func_atan2f" = x""yes; then :
29643   cat >>confdefs.h <<_ACEOF
29644 #define HAVE_ATAN2F 1
29645 _ACEOF
29646
29647 fi
29648 done
29649
29650   else
29651
29652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29653 $as_echo_n "checking for _atan2f declaration... " >&6; }
29654   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29655     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29656   $as_echo_n "(cached) " >&6
29657 else
29658
29659
29660       ac_ext=cpp
29661 ac_cpp='$CXXCPP $CPPFLAGS'
29662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29665
29666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29667 /* end confdefs.h.  */
29668 #include <math.h>
29669 int
29670 main ()
29671 {
29672  _atan2f(0, 0);
29673   ;
29674   return 0;
29675 }
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678   glibcxx_cv_func__atan2f_use=yes
29679 else
29680   glibcxx_cv_func__atan2f_use=no
29681 fi
29682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29683       ac_ext=c
29684 ac_cpp='$CPP $CPPFLAGS'
29685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29688
29689
29690 fi
29691
29692   fi
29693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29694 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29695
29696     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29697       for ac_func in _atan2f
29698 do :
29699   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29700 if test "x$ac_cv_func__atan2f" = x""yes; then :
29701   cat >>confdefs.h <<_ACEOF
29702 #define HAVE__ATAN2F 1
29703 _ACEOF
29704
29705 fi
29706 done
29707
29708     fi
29709   fi
29710
29711
29712
29713
29714
29715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29716 $as_echo_n "checking for fabsf declaration... " >&6; }
29717   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29718     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29719   $as_echo_n "(cached) " >&6
29720 else
29721
29722
29723       ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29728
29729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h.  */
29731 #include <math.h>
29732                       #ifdef HAVE_IEEEFP_H
29733                       #include <ieeefp.h>
29734                       #endif
29735
29736 int
29737 main ()
29738 {
29739  fabsf(0);
29740   ;
29741   return 0;
29742 }
29743 _ACEOF
29744 if ac_fn_cxx_try_compile "$LINENO"; then :
29745   glibcxx_cv_func_fabsf_use=yes
29746 else
29747   glibcxx_cv_func_fabsf_use=no
29748 fi
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750       ac_ext=c
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29755
29756
29757 fi
29758
29759   fi
29760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29761 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29762
29763   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29764     for ac_func in fabsf
29765 do :
29766   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29767 if test "x$ac_cv_func_fabsf" = x""yes; then :
29768   cat >>confdefs.h <<_ACEOF
29769 #define HAVE_FABSF 1
29770 _ACEOF
29771
29772 fi
29773 done
29774
29775   else
29776
29777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29778 $as_echo_n "checking for _fabsf declaration... " >&6; }
29779   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29780     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29781   $as_echo_n "(cached) " >&6
29782 else
29783
29784
29785       ac_ext=cpp
29786 ac_cpp='$CXXCPP $CPPFLAGS'
29787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29790
29791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29792 /* end confdefs.h.  */
29793 #include <math.h>
29794                       #ifdef HAVE_IEEEFP_H
29795                       #include <ieeefp.h>
29796                       #endif
29797
29798 int
29799 main ()
29800 {
29801  _fabsf(0);
29802   ;
29803   return 0;
29804 }
29805 _ACEOF
29806 if ac_fn_cxx_try_compile "$LINENO"; then :
29807   glibcxx_cv_func__fabsf_use=yes
29808 else
29809   glibcxx_cv_func__fabsf_use=no
29810 fi
29811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29812       ac_ext=c
29813 ac_cpp='$CPP $CPPFLAGS'
29814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29817
29818
29819 fi
29820
29821   fi
29822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29823 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29824
29825     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29826       for ac_func in _fabsf
29827 do :
29828   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29829 if test "x$ac_cv_func__fabsf" = x""yes; then :
29830   cat >>confdefs.h <<_ACEOF
29831 #define HAVE__FABSF 1
29832 _ACEOF
29833
29834 fi
29835 done
29836
29837     fi
29838   fi
29839
29840
29841
29842
29843
29844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29845 $as_echo_n "checking for fmodf declaration... " >&6; }
29846   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29847     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29848   $as_echo_n "(cached) " >&6
29849 else
29850
29851
29852       ac_ext=cpp
29853 ac_cpp='$CXXCPP $CPPFLAGS'
29854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29857
29858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859 /* end confdefs.h.  */
29860 #include <math.h>
29861 int
29862 main ()
29863 {
29864  fmodf(0, 0);
29865   ;
29866   return 0;
29867 }
29868 _ACEOF
29869 if ac_fn_cxx_try_compile "$LINENO"; then :
29870   glibcxx_cv_func_fmodf_use=yes
29871 else
29872   glibcxx_cv_func_fmodf_use=no
29873 fi
29874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29875       ac_ext=c
29876 ac_cpp='$CPP $CPPFLAGS'
29877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29880
29881
29882 fi
29883
29884   fi
29885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29886 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29887
29888   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29889     for ac_func in fmodf
29890 do :
29891   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29892 if test "x$ac_cv_func_fmodf" = x""yes; then :
29893   cat >>confdefs.h <<_ACEOF
29894 #define HAVE_FMODF 1
29895 _ACEOF
29896
29897 fi
29898 done
29899
29900   else
29901
29902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29903 $as_echo_n "checking for _fmodf declaration... " >&6; }
29904   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29905     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29906   $as_echo_n "(cached) " >&6
29907 else
29908
29909
29910       ac_ext=cpp
29911 ac_cpp='$CXXCPP $CPPFLAGS'
29912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29915
29916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29917 /* end confdefs.h.  */
29918 #include <math.h>
29919 int
29920 main ()
29921 {
29922  _fmodf(0, 0);
29923   ;
29924   return 0;
29925 }
29926 _ACEOF
29927 if ac_fn_cxx_try_compile "$LINENO"; then :
29928   glibcxx_cv_func__fmodf_use=yes
29929 else
29930   glibcxx_cv_func__fmodf_use=no
29931 fi
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29933       ac_ext=c
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29938
29939
29940 fi
29941
29942   fi
29943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29944 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29945
29946     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29947       for ac_func in _fmodf
29948 do :
29949   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29950 if test "x$ac_cv_func__fmodf" = x""yes; then :
29951   cat >>confdefs.h <<_ACEOF
29952 #define HAVE__FMODF 1
29953 _ACEOF
29954
29955 fi
29956 done
29957
29958     fi
29959   fi
29960
29961
29962
29963
29964
29965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29966 $as_echo_n "checking for frexpf declaration... " >&6; }
29967   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29968     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29969   $as_echo_n "(cached) " >&6
29970 else
29971
29972
29973       ac_ext=cpp
29974 ac_cpp='$CXXCPP $CPPFLAGS'
29975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29978
29979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29980 /* end confdefs.h.  */
29981 #include <math.h>
29982 int
29983 main ()
29984 {
29985  frexpf(0, 0);
29986   ;
29987   return 0;
29988 }
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991   glibcxx_cv_func_frexpf_use=yes
29992 else
29993   glibcxx_cv_func_frexpf_use=no
29994 fi
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996       ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30001
30002
30003 fi
30004
30005   fi
30006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30007 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30008
30009   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30010     for ac_func in frexpf
30011 do :
30012   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30013 if test "x$ac_cv_func_frexpf" = x""yes; then :
30014   cat >>confdefs.h <<_ACEOF
30015 #define HAVE_FREXPF 1
30016 _ACEOF
30017
30018 fi
30019 done
30020
30021   else
30022
30023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30024 $as_echo_n "checking for _frexpf declaration... " >&6; }
30025   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30026     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30027   $as_echo_n "(cached) " >&6
30028 else
30029
30030
30031       ac_ext=cpp
30032 ac_cpp='$CXXCPP $CPPFLAGS'
30033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30036
30037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30038 /* end confdefs.h.  */
30039 #include <math.h>
30040 int
30041 main ()
30042 {
30043  _frexpf(0, 0);
30044   ;
30045   return 0;
30046 }
30047 _ACEOF
30048 if ac_fn_cxx_try_compile "$LINENO"; then :
30049   glibcxx_cv_func__frexpf_use=yes
30050 else
30051   glibcxx_cv_func__frexpf_use=no
30052 fi
30053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054       ac_ext=c
30055 ac_cpp='$CPP $CPPFLAGS'
30056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30059
30060
30061 fi
30062
30063   fi
30064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30065 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30066
30067     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30068       for ac_func in _frexpf
30069 do :
30070   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30071 if test "x$ac_cv_func__frexpf" = x""yes; then :
30072   cat >>confdefs.h <<_ACEOF
30073 #define HAVE__FREXPF 1
30074 _ACEOF
30075
30076 fi
30077 done
30078
30079     fi
30080   fi
30081
30082
30083
30084
30085
30086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30087 $as_echo_n "checking for hypotf declaration... " >&6; }
30088   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30089     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30090   $as_echo_n "(cached) " >&6
30091 else
30092
30093
30094       ac_ext=cpp
30095 ac_cpp='$CXXCPP $CPPFLAGS'
30096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30099
30100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101 /* end confdefs.h.  */
30102 #include <math.h>
30103 int
30104 main ()
30105 {
30106  hypotf(0, 0);
30107   ;
30108   return 0;
30109 }
30110 _ACEOF
30111 if ac_fn_cxx_try_compile "$LINENO"; then :
30112   glibcxx_cv_func_hypotf_use=yes
30113 else
30114   glibcxx_cv_func_hypotf_use=no
30115 fi
30116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30117       ac_ext=c
30118 ac_cpp='$CPP $CPPFLAGS'
30119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30122
30123
30124 fi
30125
30126   fi
30127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30128 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30129
30130   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30131     for ac_func in hypotf
30132 do :
30133   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30134 if test "x$ac_cv_func_hypotf" = x""yes; then :
30135   cat >>confdefs.h <<_ACEOF
30136 #define HAVE_HYPOTF 1
30137 _ACEOF
30138
30139 fi
30140 done
30141
30142   else
30143
30144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30145 $as_echo_n "checking for _hypotf declaration... " >&6; }
30146   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30147     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30148   $as_echo_n "(cached) " >&6
30149 else
30150
30151
30152       ac_ext=cpp
30153 ac_cpp='$CXXCPP $CPPFLAGS'
30154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30157
30158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h.  */
30160 #include <math.h>
30161 int
30162 main ()
30163 {
30164  _hypotf(0, 0);
30165   ;
30166   return 0;
30167 }
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170   glibcxx_cv_func__hypotf_use=yes
30171 else
30172   glibcxx_cv_func__hypotf_use=no
30173 fi
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175       ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30180
30181
30182 fi
30183
30184   fi
30185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30186 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30187
30188     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30189       for ac_func in _hypotf
30190 do :
30191   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30192 if test "x$ac_cv_func__hypotf" = x""yes; then :
30193   cat >>confdefs.h <<_ACEOF
30194 #define HAVE__HYPOTF 1
30195 _ACEOF
30196
30197 fi
30198 done
30199
30200     fi
30201   fi
30202
30203
30204
30205
30206
30207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30208 $as_echo_n "checking for ldexpf declaration... " >&6; }
30209   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30210     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30211   $as_echo_n "(cached) " >&6
30212 else
30213
30214
30215       ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30220
30221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h.  */
30223 #include <math.h>
30224 int
30225 main ()
30226 {
30227  ldexpf(0, 0);
30228   ;
30229   return 0;
30230 }
30231 _ACEOF
30232 if ac_fn_cxx_try_compile "$LINENO"; then :
30233   glibcxx_cv_func_ldexpf_use=yes
30234 else
30235   glibcxx_cv_func_ldexpf_use=no
30236 fi
30237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238       ac_ext=c
30239 ac_cpp='$CPP $CPPFLAGS'
30240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30243
30244
30245 fi
30246
30247   fi
30248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30249 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30250
30251   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30252     for ac_func in ldexpf
30253 do :
30254   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30255 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30256   cat >>confdefs.h <<_ACEOF
30257 #define HAVE_LDEXPF 1
30258 _ACEOF
30259
30260 fi
30261 done
30262
30263   else
30264
30265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30266 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30267   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30268     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30269   $as_echo_n "(cached) " >&6
30270 else
30271
30272
30273       ac_ext=cpp
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30278
30279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h.  */
30281 #include <math.h>
30282 int
30283 main ()
30284 {
30285  _ldexpf(0, 0);
30286   ;
30287   return 0;
30288 }
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291   glibcxx_cv_func__ldexpf_use=yes
30292 else
30293   glibcxx_cv_func__ldexpf_use=no
30294 fi
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296       ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30301
30302
30303 fi
30304
30305   fi
30306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30307 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30308
30309     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30310       for ac_func in _ldexpf
30311 do :
30312   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30313 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30314   cat >>confdefs.h <<_ACEOF
30315 #define HAVE__LDEXPF 1
30316 _ACEOF
30317
30318 fi
30319 done
30320
30321     fi
30322   fi
30323
30324
30325
30326
30327
30328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30329 $as_echo_n "checking for logf declaration... " >&6; }
30330   if test x${glibcxx_cv_func_logf_use+set} != xset; then
30331     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30332   $as_echo_n "(cached) " >&6
30333 else
30334
30335
30336       ac_ext=cpp
30337 ac_cpp='$CXXCPP $CPPFLAGS'
30338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30341
30342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343 /* end confdefs.h.  */
30344 #include <math.h>
30345                       #ifdef HAVE_IEEEFP_H
30346                       #include <ieeefp.h>
30347                       #endif
30348
30349 int
30350 main ()
30351 {
30352  logf(0);
30353   ;
30354   return 0;
30355 }
30356 _ACEOF
30357 if ac_fn_cxx_try_compile "$LINENO"; then :
30358   glibcxx_cv_func_logf_use=yes
30359 else
30360   glibcxx_cv_func_logf_use=no
30361 fi
30362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363       ac_ext=c
30364 ac_cpp='$CPP $CPPFLAGS'
30365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30368
30369
30370 fi
30371
30372   fi
30373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30374 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30375
30376   if test x$glibcxx_cv_func_logf_use = x"yes"; then
30377     for ac_func in logf
30378 do :
30379   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30380 if test "x$ac_cv_func_logf" = x""yes; then :
30381   cat >>confdefs.h <<_ACEOF
30382 #define HAVE_LOGF 1
30383 _ACEOF
30384
30385 fi
30386 done
30387
30388   else
30389
30390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30391 $as_echo_n "checking for _logf declaration... " >&6; }
30392   if test x${glibcxx_cv_func__logf_use+set} != xset; then
30393     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30394   $as_echo_n "(cached) " >&6
30395 else
30396
30397
30398       ac_ext=cpp
30399 ac_cpp='$CXXCPP $CPPFLAGS'
30400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30403
30404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30405 /* end confdefs.h.  */
30406 #include <math.h>
30407                       #ifdef HAVE_IEEEFP_H
30408                       #include <ieeefp.h>
30409                       #endif
30410
30411 int
30412 main ()
30413 {
30414  _logf(0);
30415   ;
30416   return 0;
30417 }
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420   glibcxx_cv_func__logf_use=yes
30421 else
30422   glibcxx_cv_func__logf_use=no
30423 fi
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425       ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30430
30431
30432 fi
30433
30434   fi
30435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30436 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30437
30438     if test x$glibcxx_cv_func__logf_use = x"yes"; then
30439       for ac_func in _logf
30440 do :
30441   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30442 if test "x$ac_cv_func__logf" = x""yes; then :
30443   cat >>confdefs.h <<_ACEOF
30444 #define HAVE__LOGF 1
30445 _ACEOF
30446
30447 fi
30448 done
30449
30450     fi
30451   fi
30452
30453
30454
30455
30456
30457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30458 $as_echo_n "checking for log10f declaration... " >&6; }
30459   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30460     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30461   $as_echo_n "(cached) " >&6
30462 else
30463
30464
30465       ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30470
30471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h.  */
30473 #include <math.h>
30474                       #ifdef HAVE_IEEEFP_H
30475                       #include <ieeefp.h>
30476                       #endif
30477
30478 int
30479 main ()
30480 {
30481  log10f(0);
30482   ;
30483   return 0;
30484 }
30485 _ACEOF
30486 if ac_fn_cxx_try_compile "$LINENO"; then :
30487   glibcxx_cv_func_log10f_use=yes
30488 else
30489   glibcxx_cv_func_log10f_use=no
30490 fi
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492       ac_ext=c
30493 ac_cpp='$CPP $CPPFLAGS'
30494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30497
30498
30499 fi
30500
30501   fi
30502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30503 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30504
30505   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30506     for ac_func in log10f
30507 do :
30508   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30509 if test "x$ac_cv_func_log10f" = x""yes; then :
30510   cat >>confdefs.h <<_ACEOF
30511 #define HAVE_LOG10F 1
30512 _ACEOF
30513
30514 fi
30515 done
30516
30517   else
30518
30519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30520 $as_echo_n "checking for _log10f declaration... " >&6; }
30521   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30522     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30523   $as_echo_n "(cached) " >&6
30524 else
30525
30526
30527       ac_ext=cpp
30528 ac_cpp='$CXXCPP $CPPFLAGS'
30529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30532
30533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30534 /* end confdefs.h.  */
30535 #include <math.h>
30536                       #ifdef HAVE_IEEEFP_H
30537                       #include <ieeefp.h>
30538                       #endif
30539
30540 int
30541 main ()
30542 {
30543  _log10f(0);
30544   ;
30545   return 0;
30546 }
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549   glibcxx_cv_func__log10f_use=yes
30550 else
30551   glibcxx_cv_func__log10f_use=no
30552 fi
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554       ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30559
30560
30561 fi
30562
30563   fi
30564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30565 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30566
30567     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30568       for ac_func in _log10f
30569 do :
30570   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30571 if test "x$ac_cv_func__log10f" = x""yes; then :
30572   cat >>confdefs.h <<_ACEOF
30573 #define HAVE__LOG10F 1
30574 _ACEOF
30575
30576 fi
30577 done
30578
30579     fi
30580   fi
30581
30582
30583
30584
30585
30586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30587 $as_echo_n "checking for modff declaration... " >&6; }
30588   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30589     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30590   $as_echo_n "(cached) " >&6
30591 else
30592
30593
30594       ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30599
30600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h.  */
30602 #include <math.h>
30603 int
30604 main ()
30605 {
30606  modff(0, 0);
30607   ;
30608   return 0;
30609 }
30610 _ACEOF
30611 if ac_fn_cxx_try_compile "$LINENO"; then :
30612   glibcxx_cv_func_modff_use=yes
30613 else
30614   glibcxx_cv_func_modff_use=no
30615 fi
30616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30617       ac_ext=c
30618 ac_cpp='$CPP $CPPFLAGS'
30619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30622
30623
30624 fi
30625
30626   fi
30627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30628 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30629
30630   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30631     for ac_func in modff
30632 do :
30633   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30634 if test "x$ac_cv_func_modff" = x""yes; then :
30635   cat >>confdefs.h <<_ACEOF
30636 #define HAVE_MODFF 1
30637 _ACEOF
30638
30639 fi
30640 done
30641
30642   else
30643
30644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30645 $as_echo_n "checking for _modff declaration... " >&6; }
30646   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30647     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30648   $as_echo_n "(cached) " >&6
30649 else
30650
30651
30652       ac_ext=cpp
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30657
30658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h.  */
30660 #include <math.h>
30661 int
30662 main ()
30663 {
30664  _modff(0, 0);
30665   ;
30666   return 0;
30667 }
30668 _ACEOF
30669 if ac_fn_cxx_try_compile "$LINENO"; then :
30670   glibcxx_cv_func__modff_use=yes
30671 else
30672   glibcxx_cv_func__modff_use=no
30673 fi
30674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30675       ac_ext=c
30676 ac_cpp='$CPP $CPPFLAGS'
30677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30680
30681
30682 fi
30683
30684   fi
30685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30686 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30687
30688     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30689       for ac_func in _modff
30690 do :
30691   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30692 if test "x$ac_cv_func__modff" = x""yes; then :
30693   cat >>confdefs.h <<_ACEOF
30694 #define HAVE__MODFF 1
30695 _ACEOF
30696
30697 fi
30698 done
30699
30700     fi
30701   fi
30702
30703
30704
30705
30706
30707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30708 $as_echo_n "checking for modf declaration... " >&6; }
30709   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30710     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30711   $as_echo_n "(cached) " >&6
30712 else
30713
30714
30715       ac_ext=cpp
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30720
30721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h.  */
30723 #include <math.h>
30724 int
30725 main ()
30726 {
30727  modf(0, 0);
30728   ;
30729   return 0;
30730 }
30731 _ACEOF
30732 if ac_fn_cxx_try_compile "$LINENO"; then :
30733   glibcxx_cv_func_modf_use=yes
30734 else
30735   glibcxx_cv_func_modf_use=no
30736 fi
30737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30738       ac_ext=c
30739 ac_cpp='$CPP $CPPFLAGS'
30740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30743
30744
30745 fi
30746
30747   fi
30748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30749 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30750
30751   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30752     for ac_func in modf
30753 do :
30754   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30755 if test "x$ac_cv_func_modf" = x""yes; then :
30756   cat >>confdefs.h <<_ACEOF
30757 #define HAVE_MODF 1
30758 _ACEOF
30759
30760 fi
30761 done
30762
30763   else
30764
30765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30766 $as_echo_n "checking for _modf declaration... " >&6; }
30767   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30768     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30769   $as_echo_n "(cached) " >&6
30770 else
30771
30772
30773       ac_ext=cpp
30774 ac_cpp='$CXXCPP $CPPFLAGS'
30775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30778
30779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30780 /* end confdefs.h.  */
30781 #include <math.h>
30782 int
30783 main ()
30784 {
30785  _modf(0, 0);
30786   ;
30787   return 0;
30788 }
30789 _ACEOF
30790 if ac_fn_cxx_try_compile "$LINENO"; then :
30791   glibcxx_cv_func__modf_use=yes
30792 else
30793   glibcxx_cv_func__modf_use=no
30794 fi
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796       ac_ext=c
30797 ac_cpp='$CPP $CPPFLAGS'
30798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30801
30802
30803 fi
30804
30805   fi
30806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30807 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30808
30809     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30810       for ac_func in _modf
30811 do :
30812   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30813 if test "x$ac_cv_func__modf" = x""yes; then :
30814   cat >>confdefs.h <<_ACEOF
30815 #define HAVE__MODF 1
30816 _ACEOF
30817
30818 fi
30819 done
30820
30821     fi
30822   fi
30823
30824
30825
30826
30827
30828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30829 $as_echo_n "checking for powf declaration... " >&6; }
30830   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30831     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30832   $as_echo_n "(cached) " >&6
30833 else
30834
30835
30836       ac_ext=cpp
30837 ac_cpp='$CXXCPP $CPPFLAGS'
30838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30841
30842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30843 /* end confdefs.h.  */
30844 #include <math.h>
30845 int
30846 main ()
30847 {
30848  powf(0, 0);
30849   ;
30850   return 0;
30851 }
30852 _ACEOF
30853 if ac_fn_cxx_try_compile "$LINENO"; then :
30854   glibcxx_cv_func_powf_use=yes
30855 else
30856   glibcxx_cv_func_powf_use=no
30857 fi
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30859       ac_ext=c
30860 ac_cpp='$CPP $CPPFLAGS'
30861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30864
30865
30866 fi
30867
30868   fi
30869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30870 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30871
30872   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30873     for ac_func in powf
30874 do :
30875   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30876 if test "x$ac_cv_func_powf" = x""yes; then :
30877   cat >>confdefs.h <<_ACEOF
30878 #define HAVE_POWF 1
30879 _ACEOF
30880
30881 fi
30882 done
30883
30884   else
30885
30886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30887 $as_echo_n "checking for _powf declaration... " >&6; }
30888   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30889     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30890   $as_echo_n "(cached) " >&6
30891 else
30892
30893
30894       ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899
30900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h.  */
30902 #include <math.h>
30903 int
30904 main ()
30905 {
30906  _powf(0, 0);
30907   ;
30908   return 0;
30909 }
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912   glibcxx_cv_func__powf_use=yes
30913 else
30914   glibcxx_cv_func__powf_use=no
30915 fi
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917       ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30922
30923
30924 fi
30925
30926   fi
30927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30928 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30929
30930     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30931       for ac_func in _powf
30932 do :
30933   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30934 if test "x$ac_cv_func__powf" = x""yes; then :
30935   cat >>confdefs.h <<_ACEOF
30936 #define HAVE__POWF 1
30937 _ACEOF
30938
30939 fi
30940 done
30941
30942     fi
30943   fi
30944
30945
30946
30947
30948
30949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30950 $as_echo_n "checking for sqrtf declaration... " >&6; }
30951   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30952     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30953   $as_echo_n "(cached) " >&6
30954 else
30955
30956
30957       ac_ext=cpp
30958 ac_cpp='$CXXCPP $CPPFLAGS'
30959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30962
30963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30964 /* end confdefs.h.  */
30965 #include <math.h>
30966                       #ifdef HAVE_IEEEFP_H
30967                       #include <ieeefp.h>
30968                       #endif
30969
30970 int
30971 main ()
30972 {
30973  sqrtf(0);
30974   ;
30975   return 0;
30976 }
30977 _ACEOF
30978 if ac_fn_cxx_try_compile "$LINENO"; then :
30979   glibcxx_cv_func_sqrtf_use=yes
30980 else
30981   glibcxx_cv_func_sqrtf_use=no
30982 fi
30983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30984       ac_ext=c
30985 ac_cpp='$CPP $CPPFLAGS'
30986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30989
30990
30991 fi
30992
30993   fi
30994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30995 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30996
30997   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30998     for ac_func in sqrtf
30999 do :
31000   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31001 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31002   cat >>confdefs.h <<_ACEOF
31003 #define HAVE_SQRTF 1
31004 _ACEOF
31005
31006 fi
31007 done
31008
31009   else
31010
31011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31012 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31013   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31014     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31015   $as_echo_n "(cached) " >&6
31016 else
31017
31018
31019       ac_ext=cpp
31020 ac_cpp='$CXXCPP $CPPFLAGS'
31021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31024
31025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31026 /* end confdefs.h.  */
31027 #include <math.h>
31028                       #ifdef HAVE_IEEEFP_H
31029                       #include <ieeefp.h>
31030                       #endif
31031
31032 int
31033 main ()
31034 {
31035  _sqrtf(0);
31036   ;
31037   return 0;
31038 }
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041   glibcxx_cv_func__sqrtf_use=yes
31042 else
31043   glibcxx_cv_func__sqrtf_use=no
31044 fi
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046       ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051
31052
31053 fi
31054
31055   fi
31056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31057 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31058
31059     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31060       for ac_func in _sqrtf
31061 do :
31062   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31063 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31064   cat >>confdefs.h <<_ACEOF
31065 #define HAVE__SQRTF 1
31066 _ACEOF
31067
31068 fi
31069 done
31070
31071     fi
31072   fi
31073
31074
31075
31076
31077
31078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31079 $as_echo_n "checking for sincosf declaration... " >&6; }
31080   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31081     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31082   $as_echo_n "(cached) " >&6
31083 else
31084
31085
31086       ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31091
31092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h.  */
31094 #include <math.h>
31095 int
31096 main ()
31097 {
31098  sincosf(0, 0, 0);
31099   ;
31100   return 0;
31101 }
31102 _ACEOF
31103 if ac_fn_cxx_try_compile "$LINENO"; then :
31104   glibcxx_cv_func_sincosf_use=yes
31105 else
31106   glibcxx_cv_func_sincosf_use=no
31107 fi
31108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31109       ac_ext=c
31110 ac_cpp='$CPP $CPPFLAGS'
31111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31114
31115
31116 fi
31117
31118   fi
31119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31120 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31121
31122   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31123     for ac_func in sincosf
31124 do :
31125   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31126 if test "x$ac_cv_func_sincosf" = x""yes; then :
31127   cat >>confdefs.h <<_ACEOF
31128 #define HAVE_SINCOSF 1
31129 _ACEOF
31130
31131 fi
31132 done
31133
31134   else
31135
31136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31137 $as_echo_n "checking for _sincosf declaration... " >&6; }
31138   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31139     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31140   $as_echo_n "(cached) " >&6
31141 else
31142
31143
31144       ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31149
31150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h.  */
31152 #include <math.h>
31153 int
31154 main ()
31155 {
31156  _sincosf(0, 0, 0);
31157   ;
31158   return 0;
31159 }
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162   glibcxx_cv_func__sincosf_use=yes
31163 else
31164   glibcxx_cv_func__sincosf_use=no
31165 fi
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167       ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31172
31173
31174 fi
31175
31176   fi
31177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31178 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31179
31180     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31181       for ac_func in _sincosf
31182 do :
31183   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31184 if test "x$ac_cv_func__sincosf" = x""yes; then :
31185   cat >>confdefs.h <<_ACEOF
31186 #define HAVE__SINCOSF 1
31187 _ACEOF
31188
31189 fi
31190 done
31191
31192     fi
31193   fi
31194
31195
31196
31197
31198
31199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31200 $as_echo_n "checking for finitef declaration... " >&6; }
31201   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31202     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31203   $as_echo_n "(cached) " >&6
31204 else
31205
31206
31207       ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31212
31213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h.  */
31215 #include <math.h>
31216                       #ifdef HAVE_IEEEFP_H
31217                       #include <ieeefp.h>
31218                       #endif
31219
31220 int
31221 main ()
31222 {
31223  finitef(0);
31224   ;
31225   return 0;
31226 }
31227 _ACEOF
31228 if ac_fn_cxx_try_compile "$LINENO"; then :
31229   glibcxx_cv_func_finitef_use=yes
31230 else
31231   glibcxx_cv_func_finitef_use=no
31232 fi
31233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31234       ac_ext=c
31235 ac_cpp='$CPP $CPPFLAGS'
31236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31239
31240
31241 fi
31242
31243   fi
31244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31245 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31246
31247   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31248     for ac_func in finitef
31249 do :
31250   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31251 if test "x$ac_cv_func_finitef" = x""yes; then :
31252   cat >>confdefs.h <<_ACEOF
31253 #define HAVE_FINITEF 1
31254 _ACEOF
31255
31256 fi
31257 done
31258
31259   else
31260
31261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31262 $as_echo_n "checking for _finitef declaration... " >&6; }
31263   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31264     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31265   $as_echo_n "(cached) " >&6
31266 else
31267
31268
31269       ac_ext=cpp
31270 ac_cpp='$CXXCPP $CPPFLAGS'
31271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274
31275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31276 /* end confdefs.h.  */
31277 #include <math.h>
31278                       #ifdef HAVE_IEEEFP_H
31279                       #include <ieeefp.h>
31280                       #endif
31281
31282 int
31283 main ()
31284 {
31285  _finitef(0);
31286   ;
31287   return 0;
31288 }
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291   glibcxx_cv_func__finitef_use=yes
31292 else
31293   glibcxx_cv_func__finitef_use=no
31294 fi
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296       ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31301
31302
31303 fi
31304
31305   fi
31306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31307 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31308
31309     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31310       for ac_func in _finitef
31311 do :
31312   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31313 if test "x$ac_cv_func__finitef" = x""yes; then :
31314   cat >>confdefs.h <<_ACEOF
31315 #define HAVE__FINITEF 1
31316 _ACEOF
31317
31318 fi
31319 done
31320
31321     fi
31322   fi
31323
31324
31325
31326
31327
31328     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31329 $as_echo_n "checking for long double trig functions... " >&6; }
31330   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31331   $as_echo_n "(cached) " >&6
31332 else
31333
31334
31335     ac_ext=cpp
31336 ac_cpp='$CXXCPP $CPPFLAGS'
31337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31340
31341     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31342 /* end confdefs.h.  */
31343 #include <math.h>
31344 int
31345 main ()
31346 {
31347 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31348   ;
31349   return 0;
31350 }
31351 _ACEOF
31352 if ac_fn_cxx_try_compile "$LINENO"; then :
31353   glibcxx_cv_func_long_double_trig_use=yes
31354 else
31355   glibcxx_cv_func_long_double_trig_use=no
31356 fi
31357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31358     ac_ext=c
31359 ac_cpp='$CPP $CPPFLAGS'
31360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31363
31364 fi
31365
31366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31367 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31368   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31369     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31370 do :
31371   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31373 eval as_val=\$$as_ac_var
31374    if test "x$as_val" = x""yes; then :
31375   cat >>confdefs.h <<_ACEOF
31376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31377 _ACEOF
31378
31379 fi
31380 done
31381
31382   else
31383     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31384 $as_echo_n "checking for _long double trig functions... " >&6; }
31385     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31386   $as_echo_n "(cached) " >&6
31387 else
31388
31389
31390       ac_ext=cpp
31391 ac_cpp='$CXXCPP $CPPFLAGS'
31392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31395
31396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h.  */
31398 #include <math.h>
31399 int
31400 main ()
31401 {
31402 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31403   ;
31404   return 0;
31405 }
31406 _ACEOF
31407 if ac_fn_cxx_try_compile "$LINENO"; then :
31408   glibcxx_cv_func__long_double_trig_use=yes
31409 else
31410   glibcxx_cv_func__long_double_trig_use=no
31411 fi
31412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31413       ac_ext=c
31414 ac_cpp='$CPP $CPPFLAGS'
31415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31418
31419 fi
31420
31421     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31422 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31423     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31424       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31425 do :
31426   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31428 eval as_val=\$$as_ac_var
31429    if test "x$as_val" = x""yes; then :
31430   cat >>confdefs.h <<_ACEOF
31431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31432 _ACEOF
31433
31434 fi
31435 done
31436
31437     fi
31438   fi
31439
31440
31441
31442
31443
31444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31445 $as_echo_n "checking for long double round functions... " >&6; }
31446   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31447   $as_echo_n "(cached) " >&6
31448 else
31449
31450
31451     ac_ext=cpp
31452 ac_cpp='$CXXCPP $CPPFLAGS'
31453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31456
31457     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31458 /* end confdefs.h.  */
31459 #include <math.h>
31460 int
31461 main ()
31462 {
31463 ceill (0); floorl (0);
31464   ;
31465   return 0;
31466 }
31467 _ACEOF
31468 if ac_fn_cxx_try_compile "$LINENO"; then :
31469   glibcxx_cv_func_long_double_round_use=yes
31470 else
31471   glibcxx_cv_func_long_double_round_use=no
31472 fi
31473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31474     ac_ext=c
31475 ac_cpp='$CPP $CPPFLAGS'
31476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31479
31480 fi
31481
31482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31483 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31484   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31485     for ac_func in ceill floorl
31486 do :
31487   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31489 eval as_val=\$$as_ac_var
31490    if test "x$as_val" = x""yes; then :
31491   cat >>confdefs.h <<_ACEOF
31492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31493 _ACEOF
31494
31495 fi
31496 done
31497
31498   else
31499     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31500 $as_echo_n "checking for _long double round functions... " >&6; }
31501     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31502   $as_echo_n "(cached) " >&6
31503 else
31504
31505
31506       ac_ext=cpp
31507 ac_cpp='$CXXCPP $CPPFLAGS'
31508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31511
31512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31513 /* end confdefs.h.  */
31514 #include <math.h>
31515 int
31516 main ()
31517 {
31518 _ceill (0); _floorl (0);
31519   ;
31520   return 0;
31521 }
31522 _ACEOF
31523 if ac_fn_cxx_try_compile "$LINENO"; then :
31524   glibcxx_cv_func__long_double_round_use=yes
31525 else
31526   glibcxx_cv_func__long_double_round_use=no
31527 fi
31528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31529       ac_ext=c
31530 ac_cpp='$CPP $CPPFLAGS'
31531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31534
31535 fi
31536
31537     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31538 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31539     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31540       for ac_func in _ceill _floorl
31541 do :
31542   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31544 eval as_val=\$$as_ac_var
31545    if test "x$as_val" = x""yes; then :
31546   cat >>confdefs.h <<_ACEOF
31547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31548 _ACEOF
31549
31550 fi
31551 done
31552
31553     fi
31554   fi
31555
31556
31557
31558
31559
31560
31561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31562 $as_echo_n "checking for isnanl declaration... " >&6; }
31563   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31564     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31565   $as_echo_n "(cached) " >&6
31566 else
31567
31568
31569       ac_ext=cpp
31570 ac_cpp='$CXXCPP $CPPFLAGS'
31571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31574
31575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31576 /* end confdefs.h.  */
31577 #include <math.h>
31578                       #ifdef HAVE_IEEEFP_H
31579                       #include <ieeefp.h>
31580                       #endif
31581
31582 int
31583 main ()
31584 {
31585  isnanl(0);
31586   ;
31587   return 0;
31588 }
31589 _ACEOF
31590 if ac_fn_cxx_try_compile "$LINENO"; then :
31591   glibcxx_cv_func_isnanl_use=yes
31592 else
31593   glibcxx_cv_func_isnanl_use=no
31594 fi
31595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31596       ac_ext=c
31597 ac_cpp='$CPP $CPPFLAGS'
31598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31601
31602
31603 fi
31604
31605   fi
31606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31607 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31608
31609   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31610     for ac_func in isnanl
31611 do :
31612   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31613 if test "x$ac_cv_func_isnanl" = x""yes; then :
31614   cat >>confdefs.h <<_ACEOF
31615 #define HAVE_ISNANL 1
31616 _ACEOF
31617
31618 fi
31619 done
31620
31621   else
31622
31623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31624 $as_echo_n "checking for _isnanl declaration... " >&6; }
31625   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31626     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31627   $as_echo_n "(cached) " >&6
31628 else
31629
31630
31631       ac_ext=cpp
31632 ac_cpp='$CXXCPP $CPPFLAGS'
31633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31636
31637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31638 /* end confdefs.h.  */
31639 #include <math.h>
31640                       #ifdef HAVE_IEEEFP_H
31641                       #include <ieeefp.h>
31642                       #endif
31643
31644 int
31645 main ()
31646 {
31647  _isnanl(0);
31648   ;
31649   return 0;
31650 }
31651 _ACEOF
31652 if ac_fn_cxx_try_compile "$LINENO"; then :
31653   glibcxx_cv_func__isnanl_use=yes
31654 else
31655   glibcxx_cv_func__isnanl_use=no
31656 fi
31657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31658       ac_ext=c
31659 ac_cpp='$CPP $CPPFLAGS'
31660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31663
31664
31665 fi
31666
31667   fi
31668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31669 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31670
31671     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31672       for ac_func in _isnanl
31673 do :
31674   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31675 if test "x$ac_cv_func__isnanl" = x""yes; then :
31676   cat >>confdefs.h <<_ACEOF
31677 #define HAVE__ISNANL 1
31678 _ACEOF
31679
31680 fi
31681 done
31682
31683     fi
31684   fi
31685
31686
31687
31688
31689
31690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31691 $as_echo_n "checking for isinfl declaration... " >&6; }
31692   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31693     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31694   $as_echo_n "(cached) " >&6
31695 else
31696
31697
31698       ac_ext=cpp
31699 ac_cpp='$CXXCPP $CPPFLAGS'
31700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31703
31704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31705 /* end confdefs.h.  */
31706 #include <math.h>
31707                       #ifdef HAVE_IEEEFP_H
31708                       #include <ieeefp.h>
31709                       #endif
31710
31711 int
31712 main ()
31713 {
31714  isinfl(0);
31715   ;
31716   return 0;
31717 }
31718 _ACEOF
31719 if ac_fn_cxx_try_compile "$LINENO"; then :
31720   glibcxx_cv_func_isinfl_use=yes
31721 else
31722   glibcxx_cv_func_isinfl_use=no
31723 fi
31724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31725       ac_ext=c
31726 ac_cpp='$CPP $CPPFLAGS'
31727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31730
31731
31732 fi
31733
31734   fi
31735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31736 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31737
31738   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31739     for ac_func in isinfl
31740 do :
31741   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31742 if test "x$ac_cv_func_isinfl" = x""yes; then :
31743   cat >>confdefs.h <<_ACEOF
31744 #define HAVE_ISINFL 1
31745 _ACEOF
31746
31747 fi
31748 done
31749
31750   else
31751
31752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31753 $as_echo_n "checking for _isinfl declaration... " >&6; }
31754   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31755     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31756   $as_echo_n "(cached) " >&6
31757 else
31758
31759
31760       ac_ext=cpp
31761 ac_cpp='$CXXCPP $CPPFLAGS'
31762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31765
31766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31767 /* end confdefs.h.  */
31768 #include <math.h>
31769                       #ifdef HAVE_IEEEFP_H
31770                       #include <ieeefp.h>
31771                       #endif
31772
31773 int
31774 main ()
31775 {
31776  _isinfl(0);
31777   ;
31778   return 0;
31779 }
31780 _ACEOF
31781 if ac_fn_cxx_try_compile "$LINENO"; then :
31782   glibcxx_cv_func__isinfl_use=yes
31783 else
31784   glibcxx_cv_func__isinfl_use=no
31785 fi
31786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31787       ac_ext=c
31788 ac_cpp='$CPP $CPPFLAGS'
31789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31792
31793
31794 fi
31795
31796   fi
31797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31798 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31799
31800     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31801       for ac_func in _isinfl
31802 do :
31803   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31804 if test "x$ac_cv_func__isinfl" = x""yes; then :
31805   cat >>confdefs.h <<_ACEOF
31806 #define HAVE__ISINFL 1
31807 _ACEOF
31808
31809 fi
31810 done
31811
31812     fi
31813   fi
31814
31815
31816
31817
31818
31819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31820 $as_echo_n "checking for atan2l declaration... " >&6; }
31821   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31822     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31823   $as_echo_n "(cached) " >&6
31824 else
31825
31826
31827       ac_ext=cpp
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31832
31833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h.  */
31835 #include <math.h>
31836 int
31837 main ()
31838 {
31839  atan2l(0, 0);
31840   ;
31841   return 0;
31842 }
31843 _ACEOF
31844 if ac_fn_cxx_try_compile "$LINENO"; then :
31845   glibcxx_cv_func_atan2l_use=yes
31846 else
31847   glibcxx_cv_func_atan2l_use=no
31848 fi
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850       ac_ext=c
31851 ac_cpp='$CPP $CPPFLAGS'
31852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31855
31856
31857 fi
31858
31859   fi
31860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31861 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31862
31863   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31864     for ac_func in atan2l
31865 do :
31866   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31867 if test "x$ac_cv_func_atan2l" = x""yes; then :
31868   cat >>confdefs.h <<_ACEOF
31869 #define HAVE_ATAN2L 1
31870 _ACEOF
31871
31872 fi
31873 done
31874
31875   else
31876
31877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31878 $as_echo_n "checking for _atan2l declaration... " >&6; }
31879   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31880     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31881   $as_echo_n "(cached) " >&6
31882 else
31883
31884
31885       ac_ext=cpp
31886 ac_cpp='$CXXCPP $CPPFLAGS'
31887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31890
31891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h.  */
31893 #include <math.h>
31894 int
31895 main ()
31896 {
31897  _atan2l(0, 0);
31898   ;
31899   return 0;
31900 }
31901 _ACEOF
31902 if ac_fn_cxx_try_compile "$LINENO"; then :
31903   glibcxx_cv_func__atan2l_use=yes
31904 else
31905   glibcxx_cv_func__atan2l_use=no
31906 fi
31907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31908       ac_ext=c
31909 ac_cpp='$CPP $CPPFLAGS'
31910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31913
31914
31915 fi
31916
31917   fi
31918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31919 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31920
31921     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31922       for ac_func in _atan2l
31923 do :
31924   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31925 if test "x$ac_cv_func__atan2l" = x""yes; then :
31926   cat >>confdefs.h <<_ACEOF
31927 #define HAVE__ATAN2L 1
31928 _ACEOF
31929
31930 fi
31931 done
31932
31933     fi
31934   fi
31935
31936
31937
31938
31939
31940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31941 $as_echo_n "checking for expl declaration... " >&6; }
31942   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31943     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31944   $as_echo_n "(cached) " >&6
31945 else
31946
31947
31948       ac_ext=cpp
31949 ac_cpp='$CXXCPP $CPPFLAGS'
31950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31953
31954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31955 /* end confdefs.h.  */
31956 #include <math.h>
31957                       #ifdef HAVE_IEEEFP_H
31958                       #include <ieeefp.h>
31959                       #endif
31960
31961 int
31962 main ()
31963 {
31964  expl(0);
31965   ;
31966   return 0;
31967 }
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970   glibcxx_cv_func_expl_use=yes
31971 else
31972   glibcxx_cv_func_expl_use=no
31973 fi
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975       ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31980
31981
31982 fi
31983
31984   fi
31985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31986 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31987
31988   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31989     for ac_func in expl
31990 do :
31991   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31992 if test "x$ac_cv_func_expl" = x""yes; then :
31993   cat >>confdefs.h <<_ACEOF
31994 #define HAVE_EXPL 1
31995 _ACEOF
31996
31997 fi
31998 done
31999
32000   else
32001
32002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32003 $as_echo_n "checking for _expl declaration... " >&6; }
32004   if test x${glibcxx_cv_func__expl_use+set} != xset; then
32005     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32006   $as_echo_n "(cached) " >&6
32007 else
32008
32009
32010       ac_ext=cpp
32011 ac_cpp='$CXXCPP $CPPFLAGS'
32012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32015
32016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32017 /* end confdefs.h.  */
32018 #include <math.h>
32019                       #ifdef HAVE_IEEEFP_H
32020                       #include <ieeefp.h>
32021                       #endif
32022
32023 int
32024 main ()
32025 {
32026  _expl(0);
32027   ;
32028   return 0;
32029 }
32030 _ACEOF
32031 if ac_fn_cxx_try_compile "$LINENO"; then :
32032   glibcxx_cv_func__expl_use=yes
32033 else
32034   glibcxx_cv_func__expl_use=no
32035 fi
32036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32037       ac_ext=c
32038 ac_cpp='$CPP $CPPFLAGS'
32039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32042
32043
32044 fi
32045
32046   fi
32047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32048 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32049
32050     if test x$glibcxx_cv_func__expl_use = x"yes"; then
32051       for ac_func in _expl
32052 do :
32053   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32054 if test "x$ac_cv_func__expl" = x""yes; then :
32055   cat >>confdefs.h <<_ACEOF
32056 #define HAVE__EXPL 1
32057 _ACEOF
32058
32059 fi
32060 done
32061
32062     fi
32063   fi
32064
32065
32066
32067
32068
32069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32070 $as_echo_n "checking for fabsl declaration... " >&6; }
32071   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32072     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32073   $as_echo_n "(cached) " >&6
32074 else
32075
32076
32077       ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32082
32083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h.  */
32085 #include <math.h>
32086                       #ifdef HAVE_IEEEFP_H
32087                       #include <ieeefp.h>
32088                       #endif
32089
32090 int
32091 main ()
32092 {
32093  fabsl(0);
32094   ;
32095   return 0;
32096 }
32097 _ACEOF
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099   glibcxx_cv_func_fabsl_use=yes
32100 else
32101   glibcxx_cv_func_fabsl_use=no
32102 fi
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32104       ac_ext=c
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32109
32110
32111 fi
32112
32113   fi
32114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32115 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32116
32117   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32118     for ac_func in fabsl
32119 do :
32120   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32121 if test "x$ac_cv_func_fabsl" = x""yes; then :
32122   cat >>confdefs.h <<_ACEOF
32123 #define HAVE_FABSL 1
32124 _ACEOF
32125
32126 fi
32127 done
32128
32129   else
32130
32131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32132 $as_echo_n "checking for _fabsl declaration... " >&6; }
32133   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32134     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32135   $as_echo_n "(cached) " >&6
32136 else
32137
32138
32139       ac_ext=cpp
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32144
32145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32146 /* end confdefs.h.  */
32147 #include <math.h>
32148                       #ifdef HAVE_IEEEFP_H
32149                       #include <ieeefp.h>
32150                       #endif
32151
32152 int
32153 main ()
32154 {
32155  _fabsl(0);
32156   ;
32157   return 0;
32158 }
32159 _ACEOF
32160 if ac_fn_cxx_try_compile "$LINENO"; then :
32161   glibcxx_cv_func__fabsl_use=yes
32162 else
32163   glibcxx_cv_func__fabsl_use=no
32164 fi
32165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32166       ac_ext=c
32167 ac_cpp='$CPP $CPPFLAGS'
32168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32171
32172
32173 fi
32174
32175   fi
32176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32177 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32178
32179     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32180       for ac_func in _fabsl
32181 do :
32182   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32183 if test "x$ac_cv_func__fabsl" = x""yes; then :
32184   cat >>confdefs.h <<_ACEOF
32185 #define HAVE__FABSL 1
32186 _ACEOF
32187
32188 fi
32189 done
32190
32191     fi
32192   fi
32193
32194
32195
32196
32197
32198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32199 $as_echo_n "checking for fmodl declaration... " >&6; }
32200   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32201     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32202   $as_echo_n "(cached) " >&6
32203 else
32204
32205
32206       ac_ext=cpp
32207 ac_cpp='$CXXCPP $CPPFLAGS'
32208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32211
32212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32213 /* end confdefs.h.  */
32214 #include <math.h>
32215 int
32216 main ()
32217 {
32218  fmodl(0, 0);
32219   ;
32220   return 0;
32221 }
32222 _ACEOF
32223 if ac_fn_cxx_try_compile "$LINENO"; then :
32224   glibcxx_cv_func_fmodl_use=yes
32225 else
32226   glibcxx_cv_func_fmodl_use=no
32227 fi
32228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32229       ac_ext=c
32230 ac_cpp='$CPP $CPPFLAGS'
32231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32234
32235
32236 fi
32237
32238   fi
32239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32240 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32241
32242   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32243     for ac_func in fmodl
32244 do :
32245   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32246 if test "x$ac_cv_func_fmodl" = x""yes; then :
32247   cat >>confdefs.h <<_ACEOF
32248 #define HAVE_FMODL 1
32249 _ACEOF
32250
32251 fi
32252 done
32253
32254   else
32255
32256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32257 $as_echo_n "checking for _fmodl declaration... " >&6; }
32258   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32259     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32260   $as_echo_n "(cached) " >&6
32261 else
32262
32263
32264       ac_ext=cpp
32265 ac_cpp='$CXXCPP $CPPFLAGS'
32266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32269
32270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32271 /* end confdefs.h.  */
32272 #include <math.h>
32273 int
32274 main ()
32275 {
32276  _fmodl(0, 0);
32277   ;
32278   return 0;
32279 }
32280 _ACEOF
32281 if ac_fn_cxx_try_compile "$LINENO"; then :
32282   glibcxx_cv_func__fmodl_use=yes
32283 else
32284   glibcxx_cv_func__fmodl_use=no
32285 fi
32286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32287       ac_ext=c
32288 ac_cpp='$CPP $CPPFLAGS'
32289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32292
32293
32294 fi
32295
32296   fi
32297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32298 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32299
32300     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32301       for ac_func in _fmodl
32302 do :
32303   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32304 if test "x$ac_cv_func__fmodl" = x""yes; then :
32305   cat >>confdefs.h <<_ACEOF
32306 #define HAVE__FMODL 1
32307 _ACEOF
32308
32309 fi
32310 done
32311
32312     fi
32313   fi
32314
32315
32316
32317
32318
32319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32320 $as_echo_n "checking for frexpl declaration... " >&6; }
32321   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32322     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32323   $as_echo_n "(cached) " >&6
32324 else
32325
32326
32327       ac_ext=cpp
32328 ac_cpp='$CXXCPP $CPPFLAGS'
32329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32332
32333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32334 /* end confdefs.h.  */
32335 #include <math.h>
32336 int
32337 main ()
32338 {
32339  frexpl(0, 0);
32340   ;
32341   return 0;
32342 }
32343 _ACEOF
32344 if ac_fn_cxx_try_compile "$LINENO"; then :
32345   glibcxx_cv_func_frexpl_use=yes
32346 else
32347   glibcxx_cv_func_frexpl_use=no
32348 fi
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350       ac_ext=c
32351 ac_cpp='$CPP $CPPFLAGS'
32352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32355
32356
32357 fi
32358
32359   fi
32360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32361 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32362
32363   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32364     for ac_func in frexpl
32365 do :
32366   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32367 if test "x$ac_cv_func_frexpl" = x""yes; then :
32368   cat >>confdefs.h <<_ACEOF
32369 #define HAVE_FREXPL 1
32370 _ACEOF
32371
32372 fi
32373 done
32374
32375   else
32376
32377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32378 $as_echo_n "checking for _frexpl declaration... " >&6; }
32379   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32380     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32381   $as_echo_n "(cached) " >&6
32382 else
32383
32384
32385       ac_ext=cpp
32386 ac_cpp='$CXXCPP $CPPFLAGS'
32387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32390
32391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32392 /* end confdefs.h.  */
32393 #include <math.h>
32394 int
32395 main ()
32396 {
32397  _frexpl(0, 0);
32398   ;
32399   return 0;
32400 }
32401 _ACEOF
32402 if ac_fn_cxx_try_compile "$LINENO"; then :
32403   glibcxx_cv_func__frexpl_use=yes
32404 else
32405   glibcxx_cv_func__frexpl_use=no
32406 fi
32407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32408       ac_ext=c
32409 ac_cpp='$CPP $CPPFLAGS'
32410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32413
32414
32415 fi
32416
32417   fi
32418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32419 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32420
32421     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32422       for ac_func in _frexpl
32423 do :
32424   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32425 if test "x$ac_cv_func__frexpl" = x""yes; then :
32426   cat >>confdefs.h <<_ACEOF
32427 #define HAVE__FREXPL 1
32428 _ACEOF
32429
32430 fi
32431 done
32432
32433     fi
32434   fi
32435
32436
32437
32438
32439
32440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32441 $as_echo_n "checking for hypotl declaration... " >&6; }
32442   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32443     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32444   $as_echo_n "(cached) " >&6
32445 else
32446
32447
32448       ac_ext=cpp
32449 ac_cpp='$CXXCPP $CPPFLAGS'
32450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32453
32454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32455 /* end confdefs.h.  */
32456 #include <math.h>
32457 int
32458 main ()
32459 {
32460  hypotl(0, 0);
32461   ;
32462   return 0;
32463 }
32464 _ACEOF
32465 if ac_fn_cxx_try_compile "$LINENO"; then :
32466   glibcxx_cv_func_hypotl_use=yes
32467 else
32468   glibcxx_cv_func_hypotl_use=no
32469 fi
32470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32471       ac_ext=c
32472 ac_cpp='$CPP $CPPFLAGS'
32473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32476
32477
32478 fi
32479
32480   fi
32481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32482 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32483
32484   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32485     for ac_func in hypotl
32486 do :
32487   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32488 if test "x$ac_cv_func_hypotl" = x""yes; then :
32489   cat >>confdefs.h <<_ACEOF
32490 #define HAVE_HYPOTL 1
32491 _ACEOF
32492
32493 fi
32494 done
32495
32496   else
32497
32498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32499 $as_echo_n "checking for _hypotl declaration... " >&6; }
32500   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32501     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32502   $as_echo_n "(cached) " >&6
32503 else
32504
32505
32506       ac_ext=cpp
32507 ac_cpp='$CXXCPP $CPPFLAGS'
32508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32511
32512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32513 /* end confdefs.h.  */
32514 #include <math.h>
32515 int
32516 main ()
32517 {
32518  _hypotl(0, 0);
32519   ;
32520   return 0;
32521 }
32522 _ACEOF
32523 if ac_fn_cxx_try_compile "$LINENO"; then :
32524   glibcxx_cv_func__hypotl_use=yes
32525 else
32526   glibcxx_cv_func__hypotl_use=no
32527 fi
32528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32529       ac_ext=c
32530 ac_cpp='$CPP $CPPFLAGS'
32531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32534
32535
32536 fi
32537
32538   fi
32539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32540 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32541
32542     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32543       for ac_func in _hypotl
32544 do :
32545   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32546 if test "x$ac_cv_func__hypotl" = x""yes; then :
32547   cat >>confdefs.h <<_ACEOF
32548 #define HAVE__HYPOTL 1
32549 _ACEOF
32550
32551 fi
32552 done
32553
32554     fi
32555   fi
32556
32557
32558
32559
32560
32561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32562 $as_echo_n "checking for ldexpl declaration... " >&6; }
32563   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32564     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32565   $as_echo_n "(cached) " >&6
32566 else
32567
32568
32569       ac_ext=cpp
32570 ac_cpp='$CXXCPP $CPPFLAGS'
32571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32574
32575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32576 /* end confdefs.h.  */
32577 #include <math.h>
32578 int
32579 main ()
32580 {
32581  ldexpl(0, 0);
32582   ;
32583   return 0;
32584 }
32585 _ACEOF
32586 if ac_fn_cxx_try_compile "$LINENO"; then :
32587   glibcxx_cv_func_ldexpl_use=yes
32588 else
32589   glibcxx_cv_func_ldexpl_use=no
32590 fi
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592       ac_ext=c
32593 ac_cpp='$CPP $CPPFLAGS'
32594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32597
32598
32599 fi
32600
32601   fi
32602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32603 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32604
32605   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32606     for ac_func in ldexpl
32607 do :
32608   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32609 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32610   cat >>confdefs.h <<_ACEOF
32611 #define HAVE_LDEXPL 1
32612 _ACEOF
32613
32614 fi
32615 done
32616
32617   else
32618
32619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32620 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32621   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32622     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32623   $as_echo_n "(cached) " >&6
32624 else
32625
32626
32627       ac_ext=cpp
32628 ac_cpp='$CXXCPP $CPPFLAGS'
32629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32632
32633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32634 /* end confdefs.h.  */
32635 #include <math.h>
32636 int
32637 main ()
32638 {
32639  _ldexpl(0, 0);
32640   ;
32641   return 0;
32642 }
32643 _ACEOF
32644 if ac_fn_cxx_try_compile "$LINENO"; then :
32645   glibcxx_cv_func__ldexpl_use=yes
32646 else
32647   glibcxx_cv_func__ldexpl_use=no
32648 fi
32649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32650       ac_ext=c
32651 ac_cpp='$CPP $CPPFLAGS'
32652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32655
32656
32657 fi
32658
32659   fi
32660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32661 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32662
32663     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32664       for ac_func in _ldexpl
32665 do :
32666   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32667 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32668   cat >>confdefs.h <<_ACEOF
32669 #define HAVE__LDEXPL 1
32670 _ACEOF
32671
32672 fi
32673 done
32674
32675     fi
32676   fi
32677
32678
32679
32680
32681
32682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32683 $as_echo_n "checking for logl declaration... " >&6; }
32684   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32685     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32686   $as_echo_n "(cached) " >&6
32687 else
32688
32689
32690       ac_ext=cpp
32691 ac_cpp='$CXXCPP $CPPFLAGS'
32692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32695
32696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h.  */
32698 #include <math.h>
32699                       #ifdef HAVE_IEEEFP_H
32700                       #include <ieeefp.h>
32701                       #endif
32702
32703 int
32704 main ()
32705 {
32706  logl(0);
32707   ;
32708   return 0;
32709 }
32710 _ACEOF
32711 if ac_fn_cxx_try_compile "$LINENO"; then :
32712   glibcxx_cv_func_logl_use=yes
32713 else
32714   glibcxx_cv_func_logl_use=no
32715 fi
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717       ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32722
32723
32724 fi
32725
32726   fi
32727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32728 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32729
32730   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32731     for ac_func in logl
32732 do :
32733   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32734 if test "x$ac_cv_func_logl" = x""yes; then :
32735   cat >>confdefs.h <<_ACEOF
32736 #define HAVE_LOGL 1
32737 _ACEOF
32738
32739 fi
32740 done
32741
32742   else
32743
32744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32745 $as_echo_n "checking for _logl declaration... " >&6; }
32746   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32747     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32748   $as_echo_n "(cached) " >&6
32749 else
32750
32751
32752       ac_ext=cpp
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32757
32758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32759 /* end confdefs.h.  */
32760 #include <math.h>
32761                       #ifdef HAVE_IEEEFP_H
32762                       #include <ieeefp.h>
32763                       #endif
32764
32765 int
32766 main ()
32767 {
32768  _logl(0);
32769   ;
32770   return 0;
32771 }
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774   glibcxx_cv_func__logl_use=yes
32775 else
32776   glibcxx_cv_func__logl_use=no
32777 fi
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779       ac_ext=c
32780 ac_cpp='$CPP $CPPFLAGS'
32781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32784
32785
32786 fi
32787
32788   fi
32789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32790 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32791
32792     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32793       for ac_func in _logl
32794 do :
32795   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32796 if test "x$ac_cv_func__logl" = x""yes; then :
32797   cat >>confdefs.h <<_ACEOF
32798 #define HAVE__LOGL 1
32799 _ACEOF
32800
32801 fi
32802 done
32803
32804     fi
32805   fi
32806
32807
32808
32809
32810
32811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32812 $as_echo_n "checking for log10l declaration... " >&6; }
32813   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32814     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32815   $as_echo_n "(cached) " >&6
32816 else
32817
32818
32819       ac_ext=cpp
32820 ac_cpp='$CXXCPP $CPPFLAGS'
32821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32824
32825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32826 /* end confdefs.h.  */
32827 #include <math.h>
32828                       #ifdef HAVE_IEEEFP_H
32829                       #include <ieeefp.h>
32830                       #endif
32831
32832 int
32833 main ()
32834 {
32835  log10l(0);
32836   ;
32837   return 0;
32838 }
32839 _ACEOF
32840 if ac_fn_cxx_try_compile "$LINENO"; then :
32841   glibcxx_cv_func_log10l_use=yes
32842 else
32843   glibcxx_cv_func_log10l_use=no
32844 fi
32845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32846       ac_ext=c
32847 ac_cpp='$CPP $CPPFLAGS'
32848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32851
32852
32853 fi
32854
32855   fi
32856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32857 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32858
32859   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32860     for ac_func in log10l
32861 do :
32862   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32863 if test "x$ac_cv_func_log10l" = x""yes; then :
32864   cat >>confdefs.h <<_ACEOF
32865 #define HAVE_LOG10L 1
32866 _ACEOF
32867
32868 fi
32869 done
32870
32871   else
32872
32873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32874 $as_echo_n "checking for _log10l declaration... " >&6; }
32875   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32876     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32877   $as_echo_n "(cached) " >&6
32878 else
32879
32880
32881       ac_ext=cpp
32882 ac_cpp='$CXXCPP $CPPFLAGS'
32883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32886
32887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32888 /* end confdefs.h.  */
32889 #include <math.h>
32890                       #ifdef HAVE_IEEEFP_H
32891                       #include <ieeefp.h>
32892                       #endif
32893
32894 int
32895 main ()
32896 {
32897  _log10l(0);
32898   ;
32899   return 0;
32900 }
32901 _ACEOF
32902 if ac_fn_cxx_try_compile "$LINENO"; then :
32903   glibcxx_cv_func__log10l_use=yes
32904 else
32905   glibcxx_cv_func__log10l_use=no
32906 fi
32907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32908       ac_ext=c
32909 ac_cpp='$CPP $CPPFLAGS'
32910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32913
32914
32915 fi
32916
32917   fi
32918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32919 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32920
32921     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32922       for ac_func in _log10l
32923 do :
32924   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32925 if test "x$ac_cv_func__log10l" = x""yes; then :
32926   cat >>confdefs.h <<_ACEOF
32927 #define HAVE__LOG10L 1
32928 _ACEOF
32929
32930 fi
32931 done
32932
32933     fi
32934   fi
32935
32936
32937
32938
32939
32940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32941 $as_echo_n "checking for modfl declaration... " >&6; }
32942   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32943     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32944   $as_echo_n "(cached) " >&6
32945 else
32946
32947
32948       ac_ext=cpp
32949 ac_cpp='$CXXCPP $CPPFLAGS'
32950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32953
32954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32955 /* end confdefs.h.  */
32956 #include <math.h>
32957 int
32958 main ()
32959 {
32960  modfl(0, 0);
32961   ;
32962   return 0;
32963 }
32964 _ACEOF
32965 if ac_fn_cxx_try_compile "$LINENO"; then :
32966   glibcxx_cv_func_modfl_use=yes
32967 else
32968   glibcxx_cv_func_modfl_use=no
32969 fi
32970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32971       ac_ext=c
32972 ac_cpp='$CPP $CPPFLAGS'
32973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32976
32977
32978 fi
32979
32980   fi
32981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32982 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32983
32984   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32985     for ac_func in modfl
32986 do :
32987   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32988 if test "x$ac_cv_func_modfl" = x""yes; then :
32989   cat >>confdefs.h <<_ACEOF
32990 #define HAVE_MODFL 1
32991 _ACEOF
32992
32993 fi
32994 done
32995
32996   else
32997
32998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32999 $as_echo_n "checking for _modfl declaration... " >&6; }
33000   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33001     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33002   $as_echo_n "(cached) " >&6
33003 else
33004
33005
33006       ac_ext=cpp
33007 ac_cpp='$CXXCPP $CPPFLAGS'
33008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33011
33012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33013 /* end confdefs.h.  */
33014 #include <math.h>
33015 int
33016 main ()
33017 {
33018  _modfl(0, 0);
33019   ;
33020   return 0;
33021 }
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024   glibcxx_cv_func__modfl_use=yes
33025 else
33026   glibcxx_cv_func__modfl_use=no
33027 fi
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029       ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33034
33035
33036 fi
33037
33038   fi
33039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33040 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33041
33042     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33043       for ac_func in _modfl
33044 do :
33045   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33046 if test "x$ac_cv_func__modfl" = x""yes; then :
33047   cat >>confdefs.h <<_ACEOF
33048 #define HAVE__MODFL 1
33049 _ACEOF
33050
33051 fi
33052 done
33053
33054     fi
33055   fi
33056
33057
33058
33059
33060
33061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33062 $as_echo_n "checking for powl declaration... " >&6; }
33063   if test x${glibcxx_cv_func_powl_use+set} != xset; then
33064     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33065   $as_echo_n "(cached) " >&6
33066 else
33067
33068
33069       ac_ext=cpp
33070 ac_cpp='$CXXCPP $CPPFLAGS'
33071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074
33075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076 /* end confdefs.h.  */
33077 #include <math.h>
33078 int
33079 main ()
33080 {
33081  powl(0, 0);
33082   ;
33083   return 0;
33084 }
33085 _ACEOF
33086 if ac_fn_cxx_try_compile "$LINENO"; then :
33087   glibcxx_cv_func_powl_use=yes
33088 else
33089   glibcxx_cv_func_powl_use=no
33090 fi
33091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33092       ac_ext=c
33093 ac_cpp='$CPP $CPPFLAGS'
33094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33097
33098
33099 fi
33100
33101   fi
33102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33103 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33104
33105   if test x$glibcxx_cv_func_powl_use = x"yes"; then
33106     for ac_func in powl
33107 do :
33108   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33109 if test "x$ac_cv_func_powl" = x""yes; then :
33110   cat >>confdefs.h <<_ACEOF
33111 #define HAVE_POWL 1
33112 _ACEOF
33113
33114 fi
33115 done
33116
33117   else
33118
33119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33120 $as_echo_n "checking for _powl declaration... " >&6; }
33121   if test x${glibcxx_cv_func__powl_use+set} != xset; then
33122     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33123   $as_echo_n "(cached) " >&6
33124 else
33125
33126
33127       ac_ext=cpp
33128 ac_cpp='$CXXCPP $CPPFLAGS'
33129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33132
33133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33134 /* end confdefs.h.  */
33135 #include <math.h>
33136 int
33137 main ()
33138 {
33139  _powl(0, 0);
33140   ;
33141   return 0;
33142 }
33143 _ACEOF
33144 if ac_fn_cxx_try_compile "$LINENO"; then :
33145   glibcxx_cv_func__powl_use=yes
33146 else
33147   glibcxx_cv_func__powl_use=no
33148 fi
33149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33150       ac_ext=c
33151 ac_cpp='$CPP $CPPFLAGS'
33152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33155
33156
33157 fi
33158
33159   fi
33160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33161 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33162
33163     if test x$glibcxx_cv_func__powl_use = x"yes"; then
33164       for ac_func in _powl
33165 do :
33166   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33167 if test "x$ac_cv_func__powl" = x""yes; then :
33168   cat >>confdefs.h <<_ACEOF
33169 #define HAVE__POWL 1
33170 _ACEOF
33171
33172 fi
33173 done
33174
33175     fi
33176   fi
33177
33178
33179
33180
33181
33182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33183 $as_echo_n "checking for sqrtl declaration... " >&6; }
33184   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33185     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33186   $as_echo_n "(cached) " >&6
33187 else
33188
33189
33190       ac_ext=cpp
33191 ac_cpp='$CXXCPP $CPPFLAGS'
33192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33195
33196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33197 /* end confdefs.h.  */
33198 #include <math.h>
33199                       #ifdef HAVE_IEEEFP_H
33200                       #include <ieeefp.h>
33201                       #endif
33202
33203 int
33204 main ()
33205 {
33206  sqrtl(0);
33207   ;
33208   return 0;
33209 }
33210 _ACEOF
33211 if ac_fn_cxx_try_compile "$LINENO"; then :
33212   glibcxx_cv_func_sqrtl_use=yes
33213 else
33214   glibcxx_cv_func_sqrtl_use=no
33215 fi
33216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33217       ac_ext=c
33218 ac_cpp='$CPP $CPPFLAGS'
33219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33222
33223
33224 fi
33225
33226   fi
33227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33228 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33229
33230   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33231     for ac_func in sqrtl
33232 do :
33233   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33234 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33235   cat >>confdefs.h <<_ACEOF
33236 #define HAVE_SQRTL 1
33237 _ACEOF
33238
33239 fi
33240 done
33241
33242   else
33243
33244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33245 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33246   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33247     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33248   $as_echo_n "(cached) " >&6
33249 else
33250
33251
33252       ac_ext=cpp
33253 ac_cpp='$CXXCPP $CPPFLAGS'
33254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33257
33258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33259 /* end confdefs.h.  */
33260 #include <math.h>
33261                       #ifdef HAVE_IEEEFP_H
33262                       #include <ieeefp.h>
33263                       #endif
33264
33265 int
33266 main ()
33267 {
33268  _sqrtl(0);
33269   ;
33270   return 0;
33271 }
33272 _ACEOF
33273 if ac_fn_cxx_try_compile "$LINENO"; then :
33274   glibcxx_cv_func__sqrtl_use=yes
33275 else
33276   glibcxx_cv_func__sqrtl_use=no
33277 fi
33278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33279       ac_ext=c
33280 ac_cpp='$CPP $CPPFLAGS'
33281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33284
33285
33286 fi
33287
33288   fi
33289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33290 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33291
33292     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33293       for ac_func in _sqrtl
33294 do :
33295   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33296 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33297   cat >>confdefs.h <<_ACEOF
33298 #define HAVE__SQRTL 1
33299 _ACEOF
33300
33301 fi
33302 done
33303
33304     fi
33305   fi
33306
33307
33308
33309
33310
33311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33312 $as_echo_n "checking for sincosl declaration... " >&6; }
33313   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33314     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33315   $as_echo_n "(cached) " >&6
33316 else
33317
33318
33319       ac_ext=cpp
33320 ac_cpp='$CXXCPP $CPPFLAGS'
33321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33324
33325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33326 /* end confdefs.h.  */
33327 #include <math.h>
33328 int
33329 main ()
33330 {
33331  sincosl(0, 0, 0);
33332   ;
33333   return 0;
33334 }
33335 _ACEOF
33336 if ac_fn_cxx_try_compile "$LINENO"; then :
33337   glibcxx_cv_func_sincosl_use=yes
33338 else
33339   glibcxx_cv_func_sincosl_use=no
33340 fi
33341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33342       ac_ext=c
33343 ac_cpp='$CPP $CPPFLAGS'
33344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33347
33348
33349 fi
33350
33351   fi
33352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33353 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33354
33355   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33356     for ac_func in sincosl
33357 do :
33358   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33359 if test "x$ac_cv_func_sincosl" = x""yes; then :
33360   cat >>confdefs.h <<_ACEOF
33361 #define HAVE_SINCOSL 1
33362 _ACEOF
33363
33364 fi
33365 done
33366
33367   else
33368
33369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33370 $as_echo_n "checking for _sincosl declaration... " >&6; }
33371   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33372     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33373   $as_echo_n "(cached) " >&6
33374 else
33375
33376
33377       ac_ext=cpp
33378 ac_cpp='$CXXCPP $CPPFLAGS'
33379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33382
33383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33384 /* end confdefs.h.  */
33385 #include <math.h>
33386 int
33387 main ()
33388 {
33389  _sincosl(0, 0, 0);
33390   ;
33391   return 0;
33392 }
33393 _ACEOF
33394 if ac_fn_cxx_try_compile "$LINENO"; then :
33395   glibcxx_cv_func__sincosl_use=yes
33396 else
33397   glibcxx_cv_func__sincosl_use=no
33398 fi
33399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33400       ac_ext=c
33401 ac_cpp='$CPP $CPPFLAGS'
33402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33405
33406
33407 fi
33408
33409   fi
33410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33411 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33412
33413     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33414       for ac_func in _sincosl
33415 do :
33416   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33417 if test "x$ac_cv_func__sincosl" = x""yes; then :
33418   cat >>confdefs.h <<_ACEOF
33419 #define HAVE__SINCOSL 1
33420 _ACEOF
33421
33422 fi
33423 done
33424
33425     fi
33426   fi
33427
33428
33429
33430
33431
33432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33433 $as_echo_n "checking for finitel declaration... " >&6; }
33434   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33435     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33436   $as_echo_n "(cached) " >&6
33437 else
33438
33439
33440       ac_ext=cpp
33441 ac_cpp='$CXXCPP $CPPFLAGS'
33442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33445
33446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33447 /* end confdefs.h.  */
33448 #include <math.h>
33449                       #ifdef HAVE_IEEEFP_H
33450                       #include <ieeefp.h>
33451                       #endif
33452
33453 int
33454 main ()
33455 {
33456  finitel(0);
33457   ;
33458   return 0;
33459 }
33460 _ACEOF
33461 if ac_fn_cxx_try_compile "$LINENO"; then :
33462   glibcxx_cv_func_finitel_use=yes
33463 else
33464   glibcxx_cv_func_finitel_use=no
33465 fi
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33467       ac_ext=c
33468 ac_cpp='$CPP $CPPFLAGS'
33469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33472
33473
33474 fi
33475
33476   fi
33477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33478 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33479
33480   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33481     for ac_func in finitel
33482 do :
33483   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33484 if test "x$ac_cv_func_finitel" = x""yes; then :
33485   cat >>confdefs.h <<_ACEOF
33486 #define HAVE_FINITEL 1
33487 _ACEOF
33488
33489 fi
33490 done
33491
33492   else
33493
33494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33495 $as_echo_n "checking for _finitel declaration... " >&6; }
33496   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33497     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33498   $as_echo_n "(cached) " >&6
33499 else
33500
33501
33502       ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33507
33508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h.  */
33510 #include <math.h>
33511                       #ifdef HAVE_IEEEFP_H
33512                       #include <ieeefp.h>
33513                       #endif
33514
33515 int
33516 main ()
33517 {
33518  _finitel(0);
33519   ;
33520   return 0;
33521 }
33522 _ACEOF
33523 if ac_fn_cxx_try_compile "$LINENO"; then :
33524   glibcxx_cv_func__finitel_use=yes
33525 else
33526   glibcxx_cv_func__finitel_use=no
33527 fi
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33529       ac_ext=c
33530 ac_cpp='$CPP $CPPFLAGS'
33531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33534
33535
33536 fi
33537
33538   fi
33539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33540 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33541
33542     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33543       for ac_func in _finitel
33544 do :
33545   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33546 if test "x$ac_cv_func__finitel" = x""yes; then :
33547   cat >>confdefs.h <<_ACEOF
33548 #define HAVE__FINITEL 1
33549 _ACEOF
33550
33551 fi
33552 done
33553
33554     fi
33555   fi
33556
33557
33558
33559
33560   LIBS="$ac_save_LIBS"
33561   CXXFLAGS="$ac_save_CXXFLAGS"
33562
33563
33564   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33565   ac_save_CXXFLAGS="$CXXFLAGS"
33566   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33567
33568
33569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33570 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33571   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33572     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33573   $as_echo_n "(cached) " >&6
33574 else
33575
33576
33577       ac_ext=cpp
33578 ac_cpp='$CXXCPP $CPPFLAGS'
33579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33582
33583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33584 /* end confdefs.h.  */
33585 #include <stdlib.h>
33586 int
33587 main ()
33588 {
33589  at_quick_exit(0);
33590   ;
33591   return 0;
33592 }
33593 _ACEOF
33594 if ac_fn_cxx_try_compile "$LINENO"; then :
33595   glibcxx_cv_func_at_quick_exit_use=yes
33596 else
33597   glibcxx_cv_func_at_quick_exit_use=no
33598 fi
33599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33600       ac_ext=c
33601 ac_cpp='$CPP $CPPFLAGS'
33602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33605
33606
33607 fi
33608
33609   fi
33610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33611 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33612   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33613     for ac_func in at_quick_exit
33614 do :
33615   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33616 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33617   cat >>confdefs.h <<_ACEOF
33618 #define HAVE_AT_QUICK_EXIT 1
33619 _ACEOF
33620
33621 fi
33622 done
33623
33624   fi
33625
33626
33627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33628 $as_echo_n "checking for quick_exit declaration... " >&6; }
33629   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33630     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33631   $as_echo_n "(cached) " >&6
33632 else
33633
33634
33635       ac_ext=cpp
33636 ac_cpp='$CXXCPP $CPPFLAGS'
33637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33640
33641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33642 /* end confdefs.h.  */
33643 #include <stdlib.h>
33644 int
33645 main ()
33646 {
33647  quick_exit(0);
33648   ;
33649   return 0;
33650 }
33651 _ACEOF
33652 if ac_fn_cxx_try_compile "$LINENO"; then :
33653   glibcxx_cv_func_quick_exit_use=yes
33654 else
33655   glibcxx_cv_func_quick_exit_use=no
33656 fi
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658       ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33663
33664
33665 fi
33666
33667   fi
33668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33669 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33670   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33671     for ac_func in quick_exit
33672 do :
33673   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33674 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33675   cat >>confdefs.h <<_ACEOF
33676 #define HAVE_QUICK_EXIT 1
33677 _ACEOF
33678
33679 fi
33680 done
33681
33682   fi
33683
33684
33685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33686 $as_echo_n "checking for strtold declaration... " >&6; }
33687   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33688     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33689   $as_echo_n "(cached) " >&6
33690 else
33691
33692
33693       ac_ext=cpp
33694 ac_cpp='$CXXCPP $CPPFLAGS'
33695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33698
33699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33700 /* end confdefs.h.  */
33701 #include <stdlib.h>
33702 int
33703 main ()
33704 {
33705  strtold(0, 0);
33706   ;
33707   return 0;
33708 }
33709 _ACEOF
33710 if ac_fn_cxx_try_compile "$LINENO"; then :
33711   glibcxx_cv_func_strtold_use=yes
33712 else
33713   glibcxx_cv_func_strtold_use=no
33714 fi
33715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716       ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33721
33722
33723 fi
33724
33725   fi
33726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33727 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33728   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33729     for ac_func in strtold
33730 do :
33731   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33732 if test "x$ac_cv_func_strtold" = x""yes; then :
33733   cat >>confdefs.h <<_ACEOF
33734 #define HAVE_STRTOLD 1
33735 _ACEOF
33736
33737 fi
33738 done
33739
33740   fi
33741
33742
33743
33744
33745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33746 $as_echo_n "checking for strtof declaration... " >&6; }
33747   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33748     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33749   $as_echo_n "(cached) " >&6
33750 else
33751
33752
33753       ac_ext=cpp
33754 ac_cpp='$CXXCPP $CPPFLAGS'
33755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33758
33759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33760 /* end confdefs.h.  */
33761 #include <stdlib.h>
33762 int
33763 main ()
33764 {
33765  strtof(0, 0);
33766   ;
33767   return 0;
33768 }
33769 _ACEOF
33770 if ac_fn_cxx_try_compile "$LINENO"; then :
33771   glibcxx_cv_func_strtof_use=yes
33772 else
33773   glibcxx_cv_func_strtof_use=no
33774 fi
33775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33776       ac_ext=c
33777 ac_cpp='$CPP $CPPFLAGS'
33778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33781
33782
33783 fi
33784
33785   fi
33786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33787 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33788   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33789     for ac_func in strtof
33790 do :
33791   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33792 if test "x$ac_cv_func_strtof" = x""yes; then :
33793   cat >>confdefs.h <<_ACEOF
33794 #define HAVE_STRTOF 1
33795 _ACEOF
33796
33797 fi
33798 done
33799
33800   fi
33801
33802
33803
33804
33805   CXXFLAGS="$ac_save_CXXFLAGS"
33806
33807
33808     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33809
33810     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33811
33812     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33813
33814     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33815
33816
33817     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33818
33819     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33820
33821     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33822
33823     ;;
33824
33825   *-aix*)
33826
33827   # If we're not using GNU ld, then there's no point in even trying these
33828   # tests.  Check for that first.  We should have already tested for gld
33829   # by now (in libtool), but require it now just to be safe...
33830   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33831   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33832
33833
33834
33835   # The name set by libtool depends on the version of libtool.  Shame on us
33836   # for depending on an impl detail, but c'est la vie.  Older versions used
33837   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33838   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33839   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33840   # set (hence we're using an older libtool), then set it.
33841   if test x${with_gnu_ld+set} != xset; then
33842     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33843       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33844       with_gnu_ld=no
33845     else
33846       with_gnu_ld=$ac_cv_prog_gnu_ld
33847     fi
33848   fi
33849
33850   # Start by getting the version number.  I think the libtool test already
33851   # does some of this, but throws away the result.
33852   glibcxx_ld_is_gold=no
33853   if test x"$with_gnu_ld" = x"yes"; then
33854     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33855 $as_echo_n "checking for ld version... " >&6; }
33856
33857     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33858       glibcxx_ld_is_gold=yes
33859     fi
33860     ldver=`$LD --version 2>/dev/null |
33861            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'`
33862
33863     glibcxx_gnu_ld_version=`echo $ldver | \
33864            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33865     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33866 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33867   fi
33868
33869   # Set --gc-sections.
33870   glibcxx_have_gc_sections=no
33871   if test "$glibcxx_ld_is_gold" = "yes"; then
33872     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33873       glibcxx_have_gc_sections=yes
33874     fi
33875   else
33876     glibcxx_gcsections_min_ld=21602
33877     if test x"$with_gnu_ld" = x"yes" &&
33878         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33879       glibcxx_have_gc_sections=yes
33880     fi
33881   fi
33882   if test "$glibcxx_have_gc_sections" = "yes"; then
33883     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33884     # NB: This flag only works reliably after 2.16.1. Configure tests
33885     # for this are difficult, so hard wire a value that should work.
33886
33887     ac_test_CFLAGS="${CFLAGS+set}"
33888     ac_save_CFLAGS="$CFLAGS"
33889     CFLAGS='-Wl,--gc-sections'
33890
33891     # Check for -Wl,--gc-sections
33892     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33893 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33894     if test x$gcc_no_link = xyes; then
33895   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33896 fi
33897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33898 /* end confdefs.h.  */
33899  int one(void) { return 1; }
33900      int two(void) { return 2; }
33901
33902 int
33903 main ()
33904 {
33905  two();
33906   ;
33907   return 0;
33908 }
33909 _ACEOF
33910 if ac_fn_c_try_link "$LINENO"; then :
33911   ac_gcsections=yes
33912 else
33913   ac_gcsections=no
33914 fi
33915 rm -f core conftest.err conftest.$ac_objext \
33916     conftest$ac_exeext conftest.$ac_ext
33917     if test "$ac_gcsections" = "yes"; then
33918       rm -f conftest.c
33919       touch conftest.c
33920       if $CC -c conftest.c; then
33921         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33922            grep "Warning: gc-sections option ignored" > /dev/null; then
33923           ac_gcsections=no
33924         fi
33925       fi
33926       rm -f conftest.c conftest.o conftest
33927     fi
33928     if test "$ac_gcsections" = "yes"; then
33929       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33930     fi
33931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33932 $as_echo "$ac_gcsections" >&6; }
33933
33934     if test "$ac_test_CFLAGS" = set; then
33935       CFLAGS="$ac_save_CFLAGS"
33936     else
33937       # this is the suspicious part
33938       CFLAGS=''
33939     fi
33940   fi
33941
33942   # Set -z,relro.
33943   # Note this is only for shared objects.
33944   ac_ld_relro=no
33945   if test x"$with_gnu_ld" = x"yes"; then
33946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33947 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33948     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33949     if test -n "$cxx_z_relo"; then
33950       OPT_LDFLAGS="-Wl,-z,relro"
33951       ac_ld_relro=yes
33952     fi
33953     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33954 $as_echo "$ac_ld_relro" >&6; }
33955   fi
33956
33957   # Set linker optimization flags.
33958   if test x"$with_gnu_ld" = x"yes"; then
33959     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33960   fi
33961
33962
33963
33964
33965
33966   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33967   ac_save_CXXFLAGS="$CXXFLAGS"
33968   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33969
33970     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33971 $as_echo_n "checking for sin in -lm... " >&6; }
33972 if test "${ac_cv_lib_m_sin+set}" = set; then :
33973   $as_echo_n "(cached) " >&6
33974 else
33975   ac_check_lib_save_LIBS=$LIBS
33976 LIBS="-lm  $LIBS"
33977 if test x$gcc_no_link = xyes; then
33978   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33979 fi
33980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33981 /* end confdefs.h.  */
33982
33983 /* Override any GCC internal prototype to avoid an error.
33984    Use char because int might match the return type of a GCC
33985    builtin and then its argument prototype would still apply.  */
33986 #ifdef __cplusplus
33987 extern "C"
33988 #endif
33989 char sin ();
33990 int
33991 main ()
33992 {
33993 return sin ();
33994   ;
33995   return 0;
33996 }
33997 _ACEOF
33998 if ac_fn_c_try_link "$LINENO"; then :
33999   ac_cv_lib_m_sin=yes
34000 else
34001   ac_cv_lib_m_sin=no
34002 fi
34003 rm -f core conftest.err conftest.$ac_objext \
34004     conftest$ac_exeext conftest.$ac_ext
34005 LIBS=$ac_check_lib_save_LIBS
34006 fi
34007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34008 $as_echo "$ac_cv_lib_m_sin" >&6; }
34009 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34010   libm="-lm"
34011 fi
34012
34013   ac_save_LIBS="$LIBS"
34014   LIBS="$LIBS $libm"
34015
34016
34017
34018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34019 $as_echo_n "checking for isinf declaration... " >&6; }
34020   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34021     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34022   $as_echo_n "(cached) " >&6
34023 else
34024
34025
34026       ac_ext=cpp
34027 ac_cpp='$CXXCPP $CPPFLAGS'
34028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34031
34032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34033 /* end confdefs.h.  */
34034 #include <math.h>
34035                       #ifdef HAVE_IEEEFP_H
34036                       #include <ieeefp.h>
34037                       #endif
34038
34039 int
34040 main ()
34041 {
34042  isinf(0);
34043   ;
34044   return 0;
34045 }
34046 _ACEOF
34047 if ac_fn_cxx_try_compile "$LINENO"; then :
34048   glibcxx_cv_func_isinf_use=yes
34049 else
34050   glibcxx_cv_func_isinf_use=no
34051 fi
34052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34053       ac_ext=c
34054 ac_cpp='$CPP $CPPFLAGS'
34055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34058
34059
34060 fi
34061
34062   fi
34063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34064 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34065
34066   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34067     for ac_func in isinf
34068 do :
34069   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34070 if test "x$ac_cv_func_isinf" = x""yes; then :
34071   cat >>confdefs.h <<_ACEOF
34072 #define HAVE_ISINF 1
34073 _ACEOF
34074
34075 fi
34076 done
34077
34078   else
34079
34080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34081 $as_echo_n "checking for _isinf declaration... " >&6; }
34082   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34083     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34084   $as_echo_n "(cached) " >&6
34085 else
34086
34087
34088       ac_ext=cpp
34089 ac_cpp='$CXXCPP $CPPFLAGS'
34090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34093
34094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34095 /* end confdefs.h.  */
34096 #include <math.h>
34097                       #ifdef HAVE_IEEEFP_H
34098                       #include <ieeefp.h>
34099                       #endif
34100
34101 int
34102 main ()
34103 {
34104  _isinf(0);
34105   ;
34106   return 0;
34107 }
34108 _ACEOF
34109 if ac_fn_cxx_try_compile "$LINENO"; then :
34110   glibcxx_cv_func__isinf_use=yes
34111 else
34112   glibcxx_cv_func__isinf_use=no
34113 fi
34114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34115       ac_ext=c
34116 ac_cpp='$CPP $CPPFLAGS'
34117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34120
34121
34122 fi
34123
34124   fi
34125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34126 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34127
34128     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34129       for ac_func in _isinf
34130 do :
34131   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34132 if test "x$ac_cv_func__isinf" = x""yes; then :
34133   cat >>confdefs.h <<_ACEOF
34134 #define HAVE__ISINF 1
34135 _ACEOF
34136
34137 fi
34138 done
34139
34140     fi
34141   fi
34142
34143
34144
34145
34146
34147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34148 $as_echo_n "checking for isnan declaration... " >&6; }
34149   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34150     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34151   $as_echo_n "(cached) " >&6
34152 else
34153
34154
34155       ac_ext=cpp
34156 ac_cpp='$CXXCPP $CPPFLAGS'
34157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34160
34161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34162 /* end confdefs.h.  */
34163 #include <math.h>
34164                       #ifdef HAVE_IEEEFP_H
34165                       #include <ieeefp.h>
34166                       #endif
34167
34168 int
34169 main ()
34170 {
34171  isnan(0);
34172   ;
34173   return 0;
34174 }
34175 _ACEOF
34176 if ac_fn_cxx_try_compile "$LINENO"; then :
34177   glibcxx_cv_func_isnan_use=yes
34178 else
34179   glibcxx_cv_func_isnan_use=no
34180 fi
34181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34182       ac_ext=c
34183 ac_cpp='$CPP $CPPFLAGS'
34184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34187
34188
34189 fi
34190
34191   fi
34192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34193 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34194
34195   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34196     for ac_func in isnan
34197 do :
34198   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34199 if test "x$ac_cv_func_isnan" = x""yes; then :
34200   cat >>confdefs.h <<_ACEOF
34201 #define HAVE_ISNAN 1
34202 _ACEOF
34203
34204 fi
34205 done
34206
34207   else
34208
34209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34210 $as_echo_n "checking for _isnan declaration... " >&6; }
34211   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34212     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34213   $as_echo_n "(cached) " >&6
34214 else
34215
34216
34217       ac_ext=cpp
34218 ac_cpp='$CXXCPP $CPPFLAGS'
34219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34222
34223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34224 /* end confdefs.h.  */
34225 #include <math.h>
34226                       #ifdef HAVE_IEEEFP_H
34227                       #include <ieeefp.h>
34228                       #endif
34229
34230 int
34231 main ()
34232 {
34233  _isnan(0);
34234   ;
34235   return 0;
34236 }
34237 _ACEOF
34238 if ac_fn_cxx_try_compile "$LINENO"; then :
34239   glibcxx_cv_func__isnan_use=yes
34240 else
34241   glibcxx_cv_func__isnan_use=no
34242 fi
34243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244       ac_ext=c
34245 ac_cpp='$CPP $CPPFLAGS'
34246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34249
34250
34251 fi
34252
34253   fi
34254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34255 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34256
34257     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34258       for ac_func in _isnan
34259 do :
34260   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34261 if test "x$ac_cv_func__isnan" = x""yes; then :
34262   cat >>confdefs.h <<_ACEOF
34263 #define HAVE__ISNAN 1
34264 _ACEOF
34265
34266 fi
34267 done
34268
34269     fi
34270   fi
34271
34272
34273
34274
34275
34276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34277 $as_echo_n "checking for finite declaration... " >&6; }
34278   if test x${glibcxx_cv_func_finite_use+set} != xset; then
34279     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34280   $as_echo_n "(cached) " >&6
34281 else
34282
34283
34284       ac_ext=cpp
34285 ac_cpp='$CXXCPP $CPPFLAGS'
34286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34289
34290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34291 /* end confdefs.h.  */
34292 #include <math.h>
34293                       #ifdef HAVE_IEEEFP_H
34294                       #include <ieeefp.h>
34295                       #endif
34296
34297 int
34298 main ()
34299 {
34300  finite(0);
34301   ;
34302   return 0;
34303 }
34304 _ACEOF
34305 if ac_fn_cxx_try_compile "$LINENO"; then :
34306   glibcxx_cv_func_finite_use=yes
34307 else
34308   glibcxx_cv_func_finite_use=no
34309 fi
34310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311       ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34316
34317
34318 fi
34319
34320   fi
34321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34322 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34323
34324   if test x$glibcxx_cv_func_finite_use = x"yes"; then
34325     for ac_func in finite
34326 do :
34327   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34328 if test "x$ac_cv_func_finite" = x""yes; then :
34329   cat >>confdefs.h <<_ACEOF
34330 #define HAVE_FINITE 1
34331 _ACEOF
34332
34333 fi
34334 done
34335
34336   else
34337
34338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34339 $as_echo_n "checking for _finite declaration... " >&6; }
34340   if test x${glibcxx_cv_func__finite_use+set} != xset; then
34341     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34342   $as_echo_n "(cached) " >&6
34343 else
34344
34345
34346       ac_ext=cpp
34347 ac_cpp='$CXXCPP $CPPFLAGS'
34348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34351
34352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34353 /* end confdefs.h.  */
34354 #include <math.h>
34355                       #ifdef HAVE_IEEEFP_H
34356                       #include <ieeefp.h>
34357                       #endif
34358
34359 int
34360 main ()
34361 {
34362  _finite(0);
34363   ;
34364   return 0;
34365 }
34366 _ACEOF
34367 if ac_fn_cxx_try_compile "$LINENO"; then :
34368   glibcxx_cv_func__finite_use=yes
34369 else
34370   glibcxx_cv_func__finite_use=no
34371 fi
34372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34373       ac_ext=c
34374 ac_cpp='$CPP $CPPFLAGS'
34375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34378
34379
34380 fi
34381
34382   fi
34383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34384 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34385
34386     if test x$glibcxx_cv_func__finite_use = x"yes"; then
34387       for ac_func in _finite
34388 do :
34389   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34390 if test "x$ac_cv_func__finite" = x""yes; then :
34391   cat >>confdefs.h <<_ACEOF
34392 #define HAVE__FINITE 1
34393 _ACEOF
34394
34395 fi
34396 done
34397
34398     fi
34399   fi
34400
34401
34402
34403
34404
34405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34406 $as_echo_n "checking for sincos declaration... " >&6; }
34407   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34408     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34409   $as_echo_n "(cached) " >&6
34410 else
34411
34412
34413       ac_ext=cpp
34414 ac_cpp='$CXXCPP $CPPFLAGS'
34415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34418
34419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34420 /* end confdefs.h.  */
34421 #include <math.h>
34422 int
34423 main ()
34424 {
34425  sincos(0, 0, 0);
34426   ;
34427   return 0;
34428 }
34429 _ACEOF
34430 if ac_fn_cxx_try_compile "$LINENO"; then :
34431   glibcxx_cv_func_sincos_use=yes
34432 else
34433   glibcxx_cv_func_sincos_use=no
34434 fi
34435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34436       ac_ext=c
34437 ac_cpp='$CPP $CPPFLAGS'
34438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34441
34442
34443 fi
34444
34445   fi
34446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34447 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34448
34449   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34450     for ac_func in sincos
34451 do :
34452   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34453 if test "x$ac_cv_func_sincos" = x""yes; then :
34454   cat >>confdefs.h <<_ACEOF
34455 #define HAVE_SINCOS 1
34456 _ACEOF
34457
34458 fi
34459 done
34460
34461   else
34462
34463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34464 $as_echo_n "checking for _sincos declaration... " >&6; }
34465   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34466     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34467   $as_echo_n "(cached) " >&6
34468 else
34469
34470
34471       ac_ext=cpp
34472 ac_cpp='$CXXCPP $CPPFLAGS'
34473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34476
34477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34478 /* end confdefs.h.  */
34479 #include <math.h>
34480 int
34481 main ()
34482 {
34483  _sincos(0, 0, 0);
34484   ;
34485   return 0;
34486 }
34487 _ACEOF
34488 if ac_fn_cxx_try_compile "$LINENO"; then :
34489   glibcxx_cv_func__sincos_use=yes
34490 else
34491   glibcxx_cv_func__sincos_use=no
34492 fi
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494       ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34499
34500
34501 fi
34502
34503   fi
34504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34505 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34506
34507     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34508       for ac_func in _sincos
34509 do :
34510   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34511 if test "x$ac_cv_func__sincos" = x""yes; then :
34512   cat >>confdefs.h <<_ACEOF
34513 #define HAVE__SINCOS 1
34514 _ACEOF
34515
34516 fi
34517 done
34518
34519     fi
34520   fi
34521
34522
34523
34524
34525
34526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34527 $as_echo_n "checking for fpclass declaration... " >&6; }
34528   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34529     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34530   $as_echo_n "(cached) " >&6
34531 else
34532
34533
34534       ac_ext=cpp
34535 ac_cpp='$CXXCPP $CPPFLAGS'
34536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34539
34540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34541 /* end confdefs.h.  */
34542 #include <math.h>
34543                       #ifdef HAVE_IEEEFP_H
34544                       #include <ieeefp.h>
34545                       #endif
34546
34547 int
34548 main ()
34549 {
34550  fpclass(0);
34551   ;
34552   return 0;
34553 }
34554 _ACEOF
34555 if ac_fn_cxx_try_compile "$LINENO"; then :
34556   glibcxx_cv_func_fpclass_use=yes
34557 else
34558   glibcxx_cv_func_fpclass_use=no
34559 fi
34560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34561       ac_ext=c
34562 ac_cpp='$CPP $CPPFLAGS'
34563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34566
34567
34568 fi
34569
34570   fi
34571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34572 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34573
34574   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34575     for ac_func in fpclass
34576 do :
34577   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34578 if test "x$ac_cv_func_fpclass" = x""yes; then :
34579   cat >>confdefs.h <<_ACEOF
34580 #define HAVE_FPCLASS 1
34581 _ACEOF
34582
34583 fi
34584 done
34585
34586   else
34587
34588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34589 $as_echo_n "checking for _fpclass declaration... " >&6; }
34590   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34591     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34592   $as_echo_n "(cached) " >&6
34593 else
34594
34595
34596       ac_ext=cpp
34597 ac_cpp='$CXXCPP $CPPFLAGS'
34598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34601
34602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34603 /* end confdefs.h.  */
34604 #include <math.h>
34605                       #ifdef HAVE_IEEEFP_H
34606                       #include <ieeefp.h>
34607                       #endif
34608
34609 int
34610 main ()
34611 {
34612  _fpclass(0);
34613   ;
34614   return 0;
34615 }
34616 _ACEOF
34617 if ac_fn_cxx_try_compile "$LINENO"; then :
34618   glibcxx_cv_func__fpclass_use=yes
34619 else
34620   glibcxx_cv_func__fpclass_use=no
34621 fi
34622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34623       ac_ext=c
34624 ac_cpp='$CPP $CPPFLAGS'
34625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34628
34629
34630 fi
34631
34632   fi
34633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34634 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34635
34636     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34637       for ac_func in _fpclass
34638 do :
34639   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34640 if test "x$ac_cv_func__fpclass" = x""yes; then :
34641   cat >>confdefs.h <<_ACEOF
34642 #define HAVE__FPCLASS 1
34643 _ACEOF
34644
34645 fi
34646 done
34647
34648     fi
34649   fi
34650
34651
34652
34653
34654
34655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34656 $as_echo_n "checking for qfpclass declaration... " >&6; }
34657   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34658     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34659   $as_echo_n "(cached) " >&6
34660 else
34661
34662
34663       ac_ext=cpp
34664 ac_cpp='$CXXCPP $CPPFLAGS'
34665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34668
34669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34670 /* end confdefs.h.  */
34671 #include <math.h>
34672                       #ifdef HAVE_IEEEFP_H
34673                       #include <ieeefp.h>
34674                       #endif
34675
34676 int
34677 main ()
34678 {
34679  qfpclass(0);
34680   ;
34681   return 0;
34682 }
34683 _ACEOF
34684 if ac_fn_cxx_try_compile "$LINENO"; then :
34685   glibcxx_cv_func_qfpclass_use=yes
34686 else
34687   glibcxx_cv_func_qfpclass_use=no
34688 fi
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34690       ac_ext=c
34691 ac_cpp='$CPP $CPPFLAGS'
34692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34695
34696
34697 fi
34698
34699   fi
34700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34701 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34702
34703   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34704     for ac_func in qfpclass
34705 do :
34706   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34707 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34708   cat >>confdefs.h <<_ACEOF
34709 #define HAVE_QFPCLASS 1
34710 _ACEOF
34711
34712 fi
34713 done
34714
34715   else
34716
34717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34718 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34719   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34720     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34721   $as_echo_n "(cached) " >&6
34722 else
34723
34724
34725       ac_ext=cpp
34726 ac_cpp='$CXXCPP $CPPFLAGS'
34727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34730
34731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34732 /* end confdefs.h.  */
34733 #include <math.h>
34734                       #ifdef HAVE_IEEEFP_H
34735                       #include <ieeefp.h>
34736                       #endif
34737
34738 int
34739 main ()
34740 {
34741  _qfpclass(0);
34742   ;
34743   return 0;
34744 }
34745 _ACEOF
34746 if ac_fn_cxx_try_compile "$LINENO"; then :
34747   glibcxx_cv_func__qfpclass_use=yes
34748 else
34749   glibcxx_cv_func__qfpclass_use=no
34750 fi
34751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34752       ac_ext=c
34753 ac_cpp='$CPP $CPPFLAGS'
34754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34757
34758
34759 fi
34760
34761   fi
34762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34763 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34764
34765     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34766       for ac_func in _qfpclass
34767 do :
34768   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34769 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34770   cat >>confdefs.h <<_ACEOF
34771 #define HAVE__QFPCLASS 1
34772 _ACEOF
34773
34774 fi
34775 done
34776
34777     fi
34778   fi
34779
34780
34781
34782
34783
34784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34785 $as_echo_n "checking for hypot declaration... " >&6; }
34786   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34787     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34788   $as_echo_n "(cached) " >&6
34789 else
34790
34791
34792       ac_ext=cpp
34793 ac_cpp='$CXXCPP $CPPFLAGS'
34794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34797
34798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34799 /* end confdefs.h.  */
34800 #include <math.h>
34801 int
34802 main ()
34803 {
34804  hypot(0, 0);
34805   ;
34806   return 0;
34807 }
34808 _ACEOF
34809 if ac_fn_cxx_try_compile "$LINENO"; then :
34810   glibcxx_cv_func_hypot_use=yes
34811 else
34812   glibcxx_cv_func_hypot_use=no
34813 fi
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815       ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820
34821
34822 fi
34823
34824   fi
34825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34826 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34827
34828   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34829     for ac_func in hypot
34830 do :
34831   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34832 if test "x$ac_cv_func_hypot" = x""yes; then :
34833   cat >>confdefs.h <<_ACEOF
34834 #define HAVE_HYPOT 1
34835 _ACEOF
34836
34837 fi
34838 done
34839
34840   else
34841
34842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34843 $as_echo_n "checking for _hypot declaration... " >&6; }
34844   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34845     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34846   $as_echo_n "(cached) " >&6
34847 else
34848
34849
34850       ac_ext=cpp
34851 ac_cpp='$CXXCPP $CPPFLAGS'
34852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34855
34856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34857 /* end confdefs.h.  */
34858 #include <math.h>
34859 int
34860 main ()
34861 {
34862  _hypot(0, 0);
34863   ;
34864   return 0;
34865 }
34866 _ACEOF
34867 if ac_fn_cxx_try_compile "$LINENO"; then :
34868   glibcxx_cv_func__hypot_use=yes
34869 else
34870   glibcxx_cv_func__hypot_use=no
34871 fi
34872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34873       ac_ext=c
34874 ac_cpp='$CPP $CPPFLAGS'
34875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34878
34879
34880 fi
34881
34882   fi
34883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34884 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34885
34886     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34887       for ac_func in _hypot
34888 do :
34889   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34890 if test "x$ac_cv_func__hypot" = x""yes; then :
34891   cat >>confdefs.h <<_ACEOF
34892 #define HAVE__HYPOT 1
34893 _ACEOF
34894
34895 fi
34896 done
34897
34898     fi
34899   fi
34900
34901
34902
34903
34904
34905     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34906 $as_echo_n "checking for float trig functions... " >&6; }
34907   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34908   $as_echo_n "(cached) " >&6
34909 else
34910
34911
34912     ac_ext=cpp
34913 ac_cpp='$CXXCPP $CPPFLAGS'
34914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34917
34918     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34919 /* end confdefs.h.  */
34920 #include <math.h>
34921 int
34922 main ()
34923 {
34924 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34925   ;
34926   return 0;
34927 }
34928 _ACEOF
34929 if ac_fn_cxx_try_compile "$LINENO"; then :
34930   glibcxx_cv_func_float_trig_use=yes
34931 else
34932   glibcxx_cv_func_float_trig_use=no
34933 fi
34934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34935     ac_ext=c
34936 ac_cpp='$CPP $CPPFLAGS'
34937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34940
34941 fi
34942
34943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34944 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34945   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34946     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34947 do :
34948   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34950 eval as_val=\$$as_ac_var
34951    if test "x$as_val" = x""yes; then :
34952   cat >>confdefs.h <<_ACEOF
34953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34954 _ACEOF
34955
34956 fi
34957 done
34958
34959   else
34960     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34961 $as_echo_n "checking for _float trig functions... " >&6; }
34962     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34963   $as_echo_n "(cached) " >&6
34964 else
34965
34966
34967       ac_ext=cpp
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34972
34973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34974 /* end confdefs.h.  */
34975 #include <math.h>
34976 int
34977 main ()
34978 {
34979 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34980   ;
34981   return 0;
34982 }
34983 _ACEOF
34984 if ac_fn_cxx_try_compile "$LINENO"; then :
34985   glibcxx_cv_func__float_trig_use=yes
34986 else
34987   glibcxx_cv_func__float_trig_use=no
34988 fi
34989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34990       ac_ext=c
34991 ac_cpp='$CPP $CPPFLAGS'
34992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34995
34996 fi
34997
34998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34999 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35000     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35001       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35002 do :
35003   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35005 eval as_val=\$$as_ac_var
35006    if test "x$as_val" = x""yes; then :
35007   cat >>confdefs.h <<_ACEOF
35008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35009 _ACEOF
35010
35011 fi
35012 done
35013
35014     fi
35015   fi
35016
35017
35018
35019
35020
35021     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35022 $as_echo_n "checking for float round functions... " >&6; }
35023   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35024   $as_echo_n "(cached) " >&6
35025 else
35026
35027
35028     ac_ext=cpp
35029 ac_cpp='$CXXCPP $CPPFLAGS'
35030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35033
35034     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35035 /* end confdefs.h.  */
35036 #include <math.h>
35037 int
35038 main ()
35039 {
35040 ceilf (0); floorf (0);
35041   ;
35042   return 0;
35043 }
35044 _ACEOF
35045 if ac_fn_cxx_try_compile "$LINENO"; then :
35046   glibcxx_cv_func_float_round_use=yes
35047 else
35048   glibcxx_cv_func_float_round_use=no
35049 fi
35050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35051     ac_ext=c
35052 ac_cpp='$CPP $CPPFLAGS'
35053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35056
35057 fi
35058
35059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35060 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35061   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35062     for ac_func in ceilf floorf
35063 do :
35064   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35066 eval as_val=\$$as_ac_var
35067    if test "x$as_val" = x""yes; then :
35068   cat >>confdefs.h <<_ACEOF
35069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35070 _ACEOF
35071
35072 fi
35073 done
35074
35075   else
35076     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35077 $as_echo_n "checking for _float round functions... " >&6; }
35078     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35079   $as_echo_n "(cached) " >&6
35080 else
35081
35082
35083       ac_ext=cpp
35084 ac_cpp='$CXXCPP $CPPFLAGS'
35085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35088
35089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35090 /* end confdefs.h.  */
35091 #include <math.h>
35092 int
35093 main ()
35094 {
35095 _ceilf (0); _floorf (0);
35096   ;
35097   return 0;
35098 }
35099 _ACEOF
35100 if ac_fn_cxx_try_compile "$LINENO"; then :
35101   glibcxx_cv_func__float_round_use=yes
35102 else
35103   glibcxx_cv_func__float_round_use=no
35104 fi
35105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35106       ac_ext=c
35107 ac_cpp='$CPP $CPPFLAGS'
35108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35111
35112 fi
35113
35114     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35115 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35116     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35117       for ac_func in _ceilf _floorf
35118 do :
35119   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35121 eval as_val=\$$as_ac_var
35122    if test "x$as_val" = x""yes; then :
35123   cat >>confdefs.h <<_ACEOF
35124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35125 _ACEOF
35126
35127 fi
35128 done
35129
35130     fi
35131   fi
35132
35133
35134
35135
35136
35137
35138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35139 $as_echo_n "checking for expf declaration... " >&6; }
35140   if test x${glibcxx_cv_func_expf_use+set} != xset; then
35141     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35142   $as_echo_n "(cached) " >&6
35143 else
35144
35145
35146       ac_ext=cpp
35147 ac_cpp='$CXXCPP $CPPFLAGS'
35148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35151
35152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35153 /* end confdefs.h.  */
35154 #include <math.h>
35155                       #ifdef HAVE_IEEEFP_H
35156                       #include <ieeefp.h>
35157                       #endif
35158
35159 int
35160 main ()
35161 {
35162  expf(0);
35163   ;
35164   return 0;
35165 }
35166 _ACEOF
35167 if ac_fn_cxx_try_compile "$LINENO"; then :
35168   glibcxx_cv_func_expf_use=yes
35169 else
35170   glibcxx_cv_func_expf_use=no
35171 fi
35172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35173       ac_ext=c
35174 ac_cpp='$CPP $CPPFLAGS'
35175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35178
35179
35180 fi
35181
35182   fi
35183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35184 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35185
35186   if test x$glibcxx_cv_func_expf_use = x"yes"; then
35187     for ac_func in expf
35188 do :
35189   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35190 if test "x$ac_cv_func_expf" = x""yes; then :
35191   cat >>confdefs.h <<_ACEOF
35192 #define HAVE_EXPF 1
35193 _ACEOF
35194
35195 fi
35196 done
35197
35198   else
35199
35200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35201 $as_echo_n "checking for _expf declaration... " >&6; }
35202   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35203     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35204   $as_echo_n "(cached) " >&6
35205 else
35206
35207
35208       ac_ext=cpp
35209 ac_cpp='$CXXCPP $CPPFLAGS'
35210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35213
35214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35215 /* end confdefs.h.  */
35216 #include <math.h>
35217                       #ifdef HAVE_IEEEFP_H
35218                       #include <ieeefp.h>
35219                       #endif
35220
35221 int
35222 main ()
35223 {
35224  _expf(0);
35225   ;
35226   return 0;
35227 }
35228 _ACEOF
35229 if ac_fn_cxx_try_compile "$LINENO"; then :
35230   glibcxx_cv_func__expf_use=yes
35231 else
35232   glibcxx_cv_func__expf_use=no
35233 fi
35234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35235       ac_ext=c
35236 ac_cpp='$CPP $CPPFLAGS'
35237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35240
35241
35242 fi
35243
35244   fi
35245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35246 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35247
35248     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35249       for ac_func in _expf
35250 do :
35251   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35252 if test "x$ac_cv_func__expf" = x""yes; then :
35253   cat >>confdefs.h <<_ACEOF
35254 #define HAVE__EXPF 1
35255 _ACEOF
35256
35257 fi
35258 done
35259
35260     fi
35261   fi
35262
35263
35264
35265
35266
35267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35268 $as_echo_n "checking for isnanf declaration... " >&6; }
35269   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35270     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35271   $as_echo_n "(cached) " >&6
35272 else
35273
35274
35275       ac_ext=cpp
35276 ac_cpp='$CXXCPP $CPPFLAGS'
35277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35280
35281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35282 /* end confdefs.h.  */
35283 #include <math.h>
35284                       #ifdef HAVE_IEEEFP_H
35285                       #include <ieeefp.h>
35286                       #endif
35287
35288 int
35289 main ()
35290 {
35291  isnanf(0);
35292   ;
35293   return 0;
35294 }
35295 _ACEOF
35296 if ac_fn_cxx_try_compile "$LINENO"; then :
35297   glibcxx_cv_func_isnanf_use=yes
35298 else
35299   glibcxx_cv_func_isnanf_use=no
35300 fi
35301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35302       ac_ext=c
35303 ac_cpp='$CPP $CPPFLAGS'
35304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35307
35308
35309 fi
35310
35311   fi
35312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35313 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35314
35315   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35316     for ac_func in isnanf
35317 do :
35318   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35319 if test "x$ac_cv_func_isnanf" = x""yes; then :
35320   cat >>confdefs.h <<_ACEOF
35321 #define HAVE_ISNANF 1
35322 _ACEOF
35323
35324 fi
35325 done
35326
35327   else
35328
35329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35330 $as_echo_n "checking for _isnanf declaration... " >&6; }
35331   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35332     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35333   $as_echo_n "(cached) " >&6
35334 else
35335
35336
35337       ac_ext=cpp
35338 ac_cpp='$CXXCPP $CPPFLAGS'
35339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35342
35343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35344 /* end confdefs.h.  */
35345 #include <math.h>
35346                       #ifdef HAVE_IEEEFP_H
35347                       #include <ieeefp.h>
35348                       #endif
35349
35350 int
35351 main ()
35352 {
35353  _isnanf(0);
35354   ;
35355   return 0;
35356 }
35357 _ACEOF
35358 if ac_fn_cxx_try_compile "$LINENO"; then :
35359   glibcxx_cv_func__isnanf_use=yes
35360 else
35361   glibcxx_cv_func__isnanf_use=no
35362 fi
35363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35364       ac_ext=c
35365 ac_cpp='$CPP $CPPFLAGS'
35366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35369
35370
35371 fi
35372
35373   fi
35374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35375 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35376
35377     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35378       for ac_func in _isnanf
35379 do :
35380   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35381 if test "x$ac_cv_func__isnanf" = x""yes; then :
35382   cat >>confdefs.h <<_ACEOF
35383 #define HAVE__ISNANF 1
35384 _ACEOF
35385
35386 fi
35387 done
35388
35389     fi
35390   fi
35391
35392
35393
35394
35395
35396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35397 $as_echo_n "checking for isinff declaration... " >&6; }
35398   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35399     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35400   $as_echo_n "(cached) " >&6
35401 else
35402
35403
35404       ac_ext=cpp
35405 ac_cpp='$CXXCPP $CPPFLAGS'
35406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35409
35410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35411 /* end confdefs.h.  */
35412 #include <math.h>
35413                       #ifdef HAVE_IEEEFP_H
35414                       #include <ieeefp.h>
35415                       #endif
35416
35417 int
35418 main ()
35419 {
35420  isinff(0);
35421   ;
35422   return 0;
35423 }
35424 _ACEOF
35425 if ac_fn_cxx_try_compile "$LINENO"; then :
35426   glibcxx_cv_func_isinff_use=yes
35427 else
35428   glibcxx_cv_func_isinff_use=no
35429 fi
35430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35431       ac_ext=c
35432 ac_cpp='$CPP $CPPFLAGS'
35433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35436
35437
35438 fi
35439
35440   fi
35441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35442 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35443
35444   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35445     for ac_func in isinff
35446 do :
35447   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35448 if test "x$ac_cv_func_isinff" = x""yes; then :
35449   cat >>confdefs.h <<_ACEOF
35450 #define HAVE_ISINFF 1
35451 _ACEOF
35452
35453 fi
35454 done
35455
35456   else
35457
35458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35459 $as_echo_n "checking for _isinff declaration... " >&6; }
35460   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35461     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35462   $as_echo_n "(cached) " >&6
35463 else
35464
35465
35466       ac_ext=cpp
35467 ac_cpp='$CXXCPP $CPPFLAGS'
35468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35471
35472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35473 /* end confdefs.h.  */
35474 #include <math.h>
35475                       #ifdef HAVE_IEEEFP_H
35476                       #include <ieeefp.h>
35477                       #endif
35478
35479 int
35480 main ()
35481 {
35482  _isinff(0);
35483   ;
35484   return 0;
35485 }
35486 _ACEOF
35487 if ac_fn_cxx_try_compile "$LINENO"; then :
35488   glibcxx_cv_func__isinff_use=yes
35489 else
35490   glibcxx_cv_func__isinff_use=no
35491 fi
35492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35493       ac_ext=c
35494 ac_cpp='$CPP $CPPFLAGS'
35495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35498
35499
35500 fi
35501
35502   fi
35503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35504 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35505
35506     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35507       for ac_func in _isinff
35508 do :
35509   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35510 if test "x$ac_cv_func__isinff" = x""yes; then :
35511   cat >>confdefs.h <<_ACEOF
35512 #define HAVE__ISINFF 1
35513 _ACEOF
35514
35515 fi
35516 done
35517
35518     fi
35519   fi
35520
35521
35522
35523
35524
35525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35526 $as_echo_n "checking for atan2f declaration... " >&6; }
35527   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35528     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35529   $as_echo_n "(cached) " >&6
35530 else
35531
35532
35533       ac_ext=cpp
35534 ac_cpp='$CXXCPP $CPPFLAGS'
35535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35538
35539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35540 /* end confdefs.h.  */
35541 #include <math.h>
35542 int
35543 main ()
35544 {
35545  atan2f(0, 0);
35546   ;
35547   return 0;
35548 }
35549 _ACEOF
35550 if ac_fn_cxx_try_compile "$LINENO"; then :
35551   glibcxx_cv_func_atan2f_use=yes
35552 else
35553   glibcxx_cv_func_atan2f_use=no
35554 fi
35555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556       ac_ext=c
35557 ac_cpp='$CPP $CPPFLAGS'
35558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35561
35562
35563 fi
35564
35565   fi
35566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35567 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35568
35569   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35570     for ac_func in atan2f
35571 do :
35572   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35573 if test "x$ac_cv_func_atan2f" = x""yes; then :
35574   cat >>confdefs.h <<_ACEOF
35575 #define HAVE_ATAN2F 1
35576 _ACEOF
35577
35578 fi
35579 done
35580
35581   else
35582
35583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35584 $as_echo_n "checking for _atan2f declaration... " >&6; }
35585   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35586     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35587   $as_echo_n "(cached) " >&6
35588 else
35589
35590
35591       ac_ext=cpp
35592 ac_cpp='$CXXCPP $CPPFLAGS'
35593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35596
35597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35598 /* end confdefs.h.  */
35599 #include <math.h>
35600 int
35601 main ()
35602 {
35603  _atan2f(0, 0);
35604   ;
35605   return 0;
35606 }
35607 _ACEOF
35608 if ac_fn_cxx_try_compile "$LINENO"; then :
35609   glibcxx_cv_func__atan2f_use=yes
35610 else
35611   glibcxx_cv_func__atan2f_use=no
35612 fi
35613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35614       ac_ext=c
35615 ac_cpp='$CPP $CPPFLAGS'
35616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35619
35620
35621 fi
35622
35623   fi
35624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35625 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35626
35627     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35628       for ac_func in _atan2f
35629 do :
35630   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35631 if test "x$ac_cv_func__atan2f" = x""yes; then :
35632   cat >>confdefs.h <<_ACEOF
35633 #define HAVE__ATAN2F 1
35634 _ACEOF
35635
35636 fi
35637 done
35638
35639     fi
35640   fi
35641
35642
35643
35644
35645
35646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35647 $as_echo_n "checking for fabsf declaration... " >&6; }
35648   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35649     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35650   $as_echo_n "(cached) " >&6
35651 else
35652
35653
35654       ac_ext=cpp
35655 ac_cpp='$CXXCPP $CPPFLAGS'
35656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35659
35660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35661 /* end confdefs.h.  */
35662 #include <math.h>
35663                       #ifdef HAVE_IEEEFP_H
35664                       #include <ieeefp.h>
35665                       #endif
35666
35667 int
35668 main ()
35669 {
35670  fabsf(0);
35671   ;
35672   return 0;
35673 }
35674 _ACEOF
35675 if ac_fn_cxx_try_compile "$LINENO"; then :
35676   glibcxx_cv_func_fabsf_use=yes
35677 else
35678   glibcxx_cv_func_fabsf_use=no
35679 fi
35680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35681       ac_ext=c
35682 ac_cpp='$CPP $CPPFLAGS'
35683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35686
35687
35688 fi
35689
35690   fi
35691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35692 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35693
35694   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35695     for ac_func in fabsf
35696 do :
35697   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35698 if test "x$ac_cv_func_fabsf" = x""yes; then :
35699   cat >>confdefs.h <<_ACEOF
35700 #define HAVE_FABSF 1
35701 _ACEOF
35702
35703 fi
35704 done
35705
35706   else
35707
35708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35709 $as_echo_n "checking for _fabsf declaration... " >&6; }
35710   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35711     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35712   $as_echo_n "(cached) " >&6
35713 else
35714
35715
35716       ac_ext=cpp
35717 ac_cpp='$CXXCPP $CPPFLAGS'
35718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35721
35722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35723 /* end confdefs.h.  */
35724 #include <math.h>
35725                       #ifdef HAVE_IEEEFP_H
35726                       #include <ieeefp.h>
35727                       #endif
35728
35729 int
35730 main ()
35731 {
35732  _fabsf(0);
35733   ;
35734   return 0;
35735 }
35736 _ACEOF
35737 if ac_fn_cxx_try_compile "$LINENO"; then :
35738   glibcxx_cv_func__fabsf_use=yes
35739 else
35740   glibcxx_cv_func__fabsf_use=no
35741 fi
35742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35743       ac_ext=c
35744 ac_cpp='$CPP $CPPFLAGS'
35745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35748
35749
35750 fi
35751
35752   fi
35753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35754 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35755
35756     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35757       for ac_func in _fabsf
35758 do :
35759   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35760 if test "x$ac_cv_func__fabsf" = x""yes; then :
35761   cat >>confdefs.h <<_ACEOF
35762 #define HAVE__FABSF 1
35763 _ACEOF
35764
35765 fi
35766 done
35767
35768     fi
35769   fi
35770
35771
35772
35773
35774
35775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35776 $as_echo_n "checking for fmodf declaration... " >&6; }
35777   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35778     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35779   $as_echo_n "(cached) " >&6
35780 else
35781
35782
35783       ac_ext=cpp
35784 ac_cpp='$CXXCPP $CPPFLAGS'
35785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35788
35789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35790 /* end confdefs.h.  */
35791 #include <math.h>
35792 int
35793 main ()
35794 {
35795  fmodf(0, 0);
35796   ;
35797   return 0;
35798 }
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801   glibcxx_cv_func_fmodf_use=yes
35802 else
35803   glibcxx_cv_func_fmodf_use=no
35804 fi
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806       ac_ext=c
35807 ac_cpp='$CPP $CPPFLAGS'
35808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35811
35812
35813 fi
35814
35815   fi
35816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35817 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35818
35819   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35820     for ac_func in fmodf
35821 do :
35822   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35823 if test "x$ac_cv_func_fmodf" = x""yes; then :
35824   cat >>confdefs.h <<_ACEOF
35825 #define HAVE_FMODF 1
35826 _ACEOF
35827
35828 fi
35829 done
35830
35831   else
35832
35833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35834 $as_echo_n "checking for _fmodf declaration... " >&6; }
35835   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35836     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35837   $as_echo_n "(cached) " >&6
35838 else
35839
35840
35841       ac_ext=cpp
35842 ac_cpp='$CXXCPP $CPPFLAGS'
35843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35846
35847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35848 /* end confdefs.h.  */
35849 #include <math.h>
35850 int
35851 main ()
35852 {
35853  _fmodf(0, 0);
35854   ;
35855   return 0;
35856 }
35857 _ACEOF
35858 if ac_fn_cxx_try_compile "$LINENO"; then :
35859   glibcxx_cv_func__fmodf_use=yes
35860 else
35861   glibcxx_cv_func__fmodf_use=no
35862 fi
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864       ac_ext=c
35865 ac_cpp='$CPP $CPPFLAGS'
35866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35869
35870
35871 fi
35872
35873   fi
35874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35875 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35876
35877     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35878       for ac_func in _fmodf
35879 do :
35880   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35881 if test "x$ac_cv_func__fmodf" = x""yes; then :
35882   cat >>confdefs.h <<_ACEOF
35883 #define HAVE__FMODF 1
35884 _ACEOF
35885
35886 fi
35887 done
35888
35889     fi
35890   fi
35891
35892
35893
35894
35895
35896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35897 $as_echo_n "checking for frexpf declaration... " >&6; }
35898   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35899     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35900   $as_echo_n "(cached) " >&6
35901 else
35902
35903
35904       ac_ext=cpp
35905 ac_cpp='$CXXCPP $CPPFLAGS'
35906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35909
35910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35911 /* end confdefs.h.  */
35912 #include <math.h>
35913 int
35914 main ()
35915 {
35916  frexpf(0, 0);
35917   ;
35918   return 0;
35919 }
35920 _ACEOF
35921 if ac_fn_cxx_try_compile "$LINENO"; then :
35922   glibcxx_cv_func_frexpf_use=yes
35923 else
35924   glibcxx_cv_func_frexpf_use=no
35925 fi
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927       ac_ext=c
35928 ac_cpp='$CPP $CPPFLAGS'
35929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35932
35933
35934 fi
35935
35936   fi
35937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35938 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35939
35940   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35941     for ac_func in frexpf
35942 do :
35943   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35944 if test "x$ac_cv_func_frexpf" = x""yes; then :
35945   cat >>confdefs.h <<_ACEOF
35946 #define HAVE_FREXPF 1
35947 _ACEOF
35948
35949 fi
35950 done
35951
35952   else
35953
35954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35955 $as_echo_n "checking for _frexpf declaration... " >&6; }
35956   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35957     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35958   $as_echo_n "(cached) " >&6
35959 else
35960
35961
35962       ac_ext=cpp
35963 ac_cpp='$CXXCPP $CPPFLAGS'
35964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35967
35968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35969 /* end confdefs.h.  */
35970 #include <math.h>
35971 int
35972 main ()
35973 {
35974  _frexpf(0, 0);
35975   ;
35976   return 0;
35977 }
35978 _ACEOF
35979 if ac_fn_cxx_try_compile "$LINENO"; then :
35980   glibcxx_cv_func__frexpf_use=yes
35981 else
35982   glibcxx_cv_func__frexpf_use=no
35983 fi
35984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35985       ac_ext=c
35986 ac_cpp='$CPP $CPPFLAGS'
35987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35990
35991
35992 fi
35993
35994   fi
35995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35996 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35997
35998     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35999       for ac_func in _frexpf
36000 do :
36001   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36002 if test "x$ac_cv_func__frexpf" = x""yes; then :
36003   cat >>confdefs.h <<_ACEOF
36004 #define HAVE__FREXPF 1
36005 _ACEOF
36006
36007 fi
36008 done
36009
36010     fi
36011   fi
36012
36013
36014
36015
36016
36017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36018 $as_echo_n "checking for hypotf declaration... " >&6; }
36019   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36020     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36021   $as_echo_n "(cached) " >&6
36022 else
36023
36024
36025       ac_ext=cpp
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36030
36031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36032 /* end confdefs.h.  */
36033 #include <math.h>
36034 int
36035 main ()
36036 {
36037  hypotf(0, 0);
36038   ;
36039   return 0;
36040 }
36041 _ACEOF
36042 if ac_fn_cxx_try_compile "$LINENO"; then :
36043   glibcxx_cv_func_hypotf_use=yes
36044 else
36045   glibcxx_cv_func_hypotf_use=no
36046 fi
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048       ac_ext=c
36049 ac_cpp='$CPP $CPPFLAGS'
36050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36053
36054
36055 fi
36056
36057   fi
36058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36059 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36060
36061   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36062     for ac_func in hypotf
36063 do :
36064   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36065 if test "x$ac_cv_func_hypotf" = x""yes; then :
36066   cat >>confdefs.h <<_ACEOF
36067 #define HAVE_HYPOTF 1
36068 _ACEOF
36069
36070 fi
36071 done
36072
36073   else
36074
36075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36076 $as_echo_n "checking for _hypotf declaration... " >&6; }
36077   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36078     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36079   $as_echo_n "(cached) " >&6
36080 else
36081
36082
36083       ac_ext=cpp
36084 ac_cpp='$CXXCPP $CPPFLAGS'
36085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36088
36089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36090 /* end confdefs.h.  */
36091 #include <math.h>
36092 int
36093 main ()
36094 {
36095  _hypotf(0, 0);
36096   ;
36097   return 0;
36098 }
36099 _ACEOF
36100 if ac_fn_cxx_try_compile "$LINENO"; then :
36101   glibcxx_cv_func__hypotf_use=yes
36102 else
36103   glibcxx_cv_func__hypotf_use=no
36104 fi
36105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36106       ac_ext=c
36107 ac_cpp='$CPP $CPPFLAGS'
36108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36111
36112
36113 fi
36114
36115   fi
36116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36117 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36118
36119     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36120       for ac_func in _hypotf
36121 do :
36122   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36123 if test "x$ac_cv_func__hypotf" = x""yes; then :
36124   cat >>confdefs.h <<_ACEOF
36125 #define HAVE__HYPOTF 1
36126 _ACEOF
36127
36128 fi
36129 done
36130
36131     fi
36132   fi
36133
36134
36135
36136
36137
36138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36139 $as_echo_n "checking for ldexpf declaration... " >&6; }
36140   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36141     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36142   $as_echo_n "(cached) " >&6
36143 else
36144
36145
36146       ac_ext=cpp
36147 ac_cpp='$CXXCPP $CPPFLAGS'
36148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36151
36152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36153 /* end confdefs.h.  */
36154 #include <math.h>
36155 int
36156 main ()
36157 {
36158  ldexpf(0, 0);
36159   ;
36160   return 0;
36161 }
36162 _ACEOF
36163 if ac_fn_cxx_try_compile "$LINENO"; then :
36164   glibcxx_cv_func_ldexpf_use=yes
36165 else
36166   glibcxx_cv_func_ldexpf_use=no
36167 fi
36168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36169       ac_ext=c
36170 ac_cpp='$CPP $CPPFLAGS'
36171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36174
36175
36176 fi
36177
36178   fi
36179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36180 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36181
36182   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36183     for ac_func in ldexpf
36184 do :
36185   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36186 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36187   cat >>confdefs.h <<_ACEOF
36188 #define HAVE_LDEXPF 1
36189 _ACEOF
36190
36191 fi
36192 done
36193
36194   else
36195
36196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36197 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36198   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36199     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36200   $as_echo_n "(cached) " >&6
36201 else
36202
36203
36204       ac_ext=cpp
36205 ac_cpp='$CXXCPP $CPPFLAGS'
36206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36209
36210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36211 /* end confdefs.h.  */
36212 #include <math.h>
36213 int
36214 main ()
36215 {
36216  _ldexpf(0, 0);
36217   ;
36218   return 0;
36219 }
36220 _ACEOF
36221 if ac_fn_cxx_try_compile "$LINENO"; then :
36222   glibcxx_cv_func__ldexpf_use=yes
36223 else
36224   glibcxx_cv_func__ldexpf_use=no
36225 fi
36226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36227       ac_ext=c
36228 ac_cpp='$CPP $CPPFLAGS'
36229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36232
36233
36234 fi
36235
36236   fi
36237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36238 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36239
36240     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36241       for ac_func in _ldexpf
36242 do :
36243   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36244 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36245   cat >>confdefs.h <<_ACEOF
36246 #define HAVE__LDEXPF 1
36247 _ACEOF
36248
36249 fi
36250 done
36251
36252     fi
36253   fi
36254
36255
36256
36257
36258
36259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36260 $as_echo_n "checking for logf declaration... " >&6; }
36261   if test x${glibcxx_cv_func_logf_use+set} != xset; then
36262     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36263   $as_echo_n "(cached) " >&6
36264 else
36265
36266
36267       ac_ext=cpp
36268 ac_cpp='$CXXCPP $CPPFLAGS'
36269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36272
36273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36274 /* end confdefs.h.  */
36275 #include <math.h>
36276                       #ifdef HAVE_IEEEFP_H
36277                       #include <ieeefp.h>
36278                       #endif
36279
36280 int
36281 main ()
36282 {
36283  logf(0);
36284   ;
36285   return 0;
36286 }
36287 _ACEOF
36288 if ac_fn_cxx_try_compile "$LINENO"; then :
36289   glibcxx_cv_func_logf_use=yes
36290 else
36291   glibcxx_cv_func_logf_use=no
36292 fi
36293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36294       ac_ext=c
36295 ac_cpp='$CPP $CPPFLAGS'
36296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36299
36300
36301 fi
36302
36303   fi
36304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36305 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36306
36307   if test x$glibcxx_cv_func_logf_use = x"yes"; then
36308     for ac_func in logf
36309 do :
36310   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36311 if test "x$ac_cv_func_logf" = x""yes; then :
36312   cat >>confdefs.h <<_ACEOF
36313 #define HAVE_LOGF 1
36314 _ACEOF
36315
36316 fi
36317 done
36318
36319   else
36320
36321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36322 $as_echo_n "checking for _logf declaration... " >&6; }
36323   if test x${glibcxx_cv_func__logf_use+set} != xset; then
36324     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36325   $as_echo_n "(cached) " >&6
36326 else
36327
36328
36329       ac_ext=cpp
36330 ac_cpp='$CXXCPP $CPPFLAGS'
36331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36334
36335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36336 /* end confdefs.h.  */
36337 #include <math.h>
36338                       #ifdef HAVE_IEEEFP_H
36339                       #include <ieeefp.h>
36340                       #endif
36341
36342 int
36343 main ()
36344 {
36345  _logf(0);
36346   ;
36347   return 0;
36348 }
36349 _ACEOF
36350 if ac_fn_cxx_try_compile "$LINENO"; then :
36351   glibcxx_cv_func__logf_use=yes
36352 else
36353   glibcxx_cv_func__logf_use=no
36354 fi
36355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36356       ac_ext=c
36357 ac_cpp='$CPP $CPPFLAGS'
36358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36361
36362
36363 fi
36364
36365   fi
36366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36367 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36368
36369     if test x$glibcxx_cv_func__logf_use = x"yes"; then
36370       for ac_func in _logf
36371 do :
36372   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36373 if test "x$ac_cv_func__logf" = x""yes; then :
36374   cat >>confdefs.h <<_ACEOF
36375 #define HAVE__LOGF 1
36376 _ACEOF
36377
36378 fi
36379 done
36380
36381     fi
36382   fi
36383
36384
36385
36386
36387
36388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36389 $as_echo_n "checking for log10f declaration... " >&6; }
36390   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36391     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36392   $as_echo_n "(cached) " >&6
36393 else
36394
36395
36396       ac_ext=cpp
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36401
36402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36403 /* end confdefs.h.  */
36404 #include <math.h>
36405                       #ifdef HAVE_IEEEFP_H
36406                       #include <ieeefp.h>
36407                       #endif
36408
36409 int
36410 main ()
36411 {
36412  log10f(0);
36413   ;
36414   return 0;
36415 }
36416 _ACEOF
36417 if ac_fn_cxx_try_compile "$LINENO"; then :
36418   glibcxx_cv_func_log10f_use=yes
36419 else
36420   glibcxx_cv_func_log10f_use=no
36421 fi
36422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36423       ac_ext=c
36424 ac_cpp='$CPP $CPPFLAGS'
36425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36428
36429
36430 fi
36431
36432   fi
36433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36434 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36435
36436   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36437     for ac_func in log10f
36438 do :
36439   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36440 if test "x$ac_cv_func_log10f" = x""yes; then :
36441   cat >>confdefs.h <<_ACEOF
36442 #define HAVE_LOG10F 1
36443 _ACEOF
36444
36445 fi
36446 done
36447
36448   else
36449
36450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36451 $as_echo_n "checking for _log10f declaration... " >&6; }
36452   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36453     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36454   $as_echo_n "(cached) " >&6
36455 else
36456
36457
36458       ac_ext=cpp
36459 ac_cpp='$CXXCPP $CPPFLAGS'
36460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36463
36464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36465 /* end confdefs.h.  */
36466 #include <math.h>
36467                       #ifdef HAVE_IEEEFP_H
36468                       #include <ieeefp.h>
36469                       #endif
36470
36471 int
36472 main ()
36473 {
36474  _log10f(0);
36475   ;
36476   return 0;
36477 }
36478 _ACEOF
36479 if ac_fn_cxx_try_compile "$LINENO"; then :
36480   glibcxx_cv_func__log10f_use=yes
36481 else
36482   glibcxx_cv_func__log10f_use=no
36483 fi
36484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36485       ac_ext=c
36486 ac_cpp='$CPP $CPPFLAGS'
36487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36490
36491
36492 fi
36493
36494   fi
36495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36496 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36497
36498     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36499       for ac_func in _log10f
36500 do :
36501   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36502 if test "x$ac_cv_func__log10f" = x""yes; then :
36503   cat >>confdefs.h <<_ACEOF
36504 #define HAVE__LOG10F 1
36505 _ACEOF
36506
36507 fi
36508 done
36509
36510     fi
36511   fi
36512
36513
36514
36515
36516
36517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36518 $as_echo_n "checking for modff declaration... " >&6; }
36519   if test x${glibcxx_cv_func_modff_use+set} != xset; then
36520     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36521   $as_echo_n "(cached) " >&6
36522 else
36523
36524
36525       ac_ext=cpp
36526 ac_cpp='$CXXCPP $CPPFLAGS'
36527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36530
36531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36532 /* end confdefs.h.  */
36533 #include <math.h>
36534 int
36535 main ()
36536 {
36537  modff(0, 0);
36538   ;
36539   return 0;
36540 }
36541 _ACEOF
36542 if ac_fn_cxx_try_compile "$LINENO"; then :
36543   glibcxx_cv_func_modff_use=yes
36544 else
36545   glibcxx_cv_func_modff_use=no
36546 fi
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548       ac_ext=c
36549 ac_cpp='$CPP $CPPFLAGS'
36550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36553
36554
36555 fi
36556
36557   fi
36558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36559 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36560
36561   if test x$glibcxx_cv_func_modff_use = x"yes"; then
36562     for ac_func in modff
36563 do :
36564   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36565 if test "x$ac_cv_func_modff" = x""yes; then :
36566   cat >>confdefs.h <<_ACEOF
36567 #define HAVE_MODFF 1
36568 _ACEOF
36569
36570 fi
36571 done
36572
36573   else
36574
36575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36576 $as_echo_n "checking for _modff declaration... " >&6; }
36577   if test x${glibcxx_cv_func__modff_use+set} != xset; then
36578     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36579   $as_echo_n "(cached) " >&6
36580 else
36581
36582
36583       ac_ext=cpp
36584 ac_cpp='$CXXCPP $CPPFLAGS'
36585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36588
36589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36590 /* end confdefs.h.  */
36591 #include <math.h>
36592 int
36593 main ()
36594 {
36595  _modff(0, 0);
36596   ;
36597   return 0;
36598 }
36599 _ACEOF
36600 if ac_fn_cxx_try_compile "$LINENO"; then :
36601   glibcxx_cv_func__modff_use=yes
36602 else
36603   glibcxx_cv_func__modff_use=no
36604 fi
36605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36606       ac_ext=c
36607 ac_cpp='$CPP $CPPFLAGS'
36608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611
36612
36613 fi
36614
36615   fi
36616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36617 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36618
36619     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36620       for ac_func in _modff
36621 do :
36622   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36623 if test "x$ac_cv_func__modff" = x""yes; then :
36624   cat >>confdefs.h <<_ACEOF
36625 #define HAVE__MODFF 1
36626 _ACEOF
36627
36628 fi
36629 done
36630
36631     fi
36632   fi
36633
36634
36635
36636
36637
36638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36639 $as_echo_n "checking for modf declaration... " >&6; }
36640   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36641     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36642   $as_echo_n "(cached) " >&6
36643 else
36644
36645
36646       ac_ext=cpp
36647 ac_cpp='$CXXCPP $CPPFLAGS'
36648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36651
36652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36653 /* end confdefs.h.  */
36654 #include <math.h>
36655 int
36656 main ()
36657 {
36658  modf(0, 0);
36659   ;
36660   return 0;
36661 }
36662 _ACEOF
36663 if ac_fn_cxx_try_compile "$LINENO"; then :
36664   glibcxx_cv_func_modf_use=yes
36665 else
36666   glibcxx_cv_func_modf_use=no
36667 fi
36668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36669       ac_ext=c
36670 ac_cpp='$CPP $CPPFLAGS'
36671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36674
36675
36676 fi
36677
36678   fi
36679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36680 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36681
36682   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36683     for ac_func in modf
36684 do :
36685   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36686 if test "x$ac_cv_func_modf" = x""yes; then :
36687   cat >>confdefs.h <<_ACEOF
36688 #define HAVE_MODF 1
36689 _ACEOF
36690
36691 fi
36692 done
36693
36694   else
36695
36696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36697 $as_echo_n "checking for _modf declaration... " >&6; }
36698   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36699     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36700   $as_echo_n "(cached) " >&6
36701 else
36702
36703
36704       ac_ext=cpp
36705 ac_cpp='$CXXCPP $CPPFLAGS'
36706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36709
36710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36711 /* end confdefs.h.  */
36712 #include <math.h>
36713 int
36714 main ()
36715 {
36716  _modf(0, 0);
36717   ;
36718   return 0;
36719 }
36720 _ACEOF
36721 if ac_fn_cxx_try_compile "$LINENO"; then :
36722   glibcxx_cv_func__modf_use=yes
36723 else
36724   glibcxx_cv_func__modf_use=no
36725 fi
36726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36727       ac_ext=c
36728 ac_cpp='$CPP $CPPFLAGS'
36729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36732
36733
36734 fi
36735
36736   fi
36737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36738 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36739
36740     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36741       for ac_func in _modf
36742 do :
36743   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36744 if test "x$ac_cv_func__modf" = x""yes; then :
36745   cat >>confdefs.h <<_ACEOF
36746 #define HAVE__MODF 1
36747 _ACEOF
36748
36749 fi
36750 done
36751
36752     fi
36753   fi
36754
36755
36756
36757
36758
36759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36760 $as_echo_n "checking for powf declaration... " >&6; }
36761   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36762     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36763   $as_echo_n "(cached) " >&6
36764 else
36765
36766
36767       ac_ext=cpp
36768 ac_cpp='$CXXCPP $CPPFLAGS'
36769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36772
36773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36774 /* end confdefs.h.  */
36775 #include <math.h>
36776 int
36777 main ()
36778 {
36779  powf(0, 0);
36780   ;
36781   return 0;
36782 }
36783 _ACEOF
36784 if ac_fn_cxx_try_compile "$LINENO"; then :
36785   glibcxx_cv_func_powf_use=yes
36786 else
36787   glibcxx_cv_func_powf_use=no
36788 fi
36789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36790       ac_ext=c
36791 ac_cpp='$CPP $CPPFLAGS'
36792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36795
36796
36797 fi
36798
36799   fi
36800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36801 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36802
36803   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36804     for ac_func in powf
36805 do :
36806   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36807 if test "x$ac_cv_func_powf" = x""yes; then :
36808   cat >>confdefs.h <<_ACEOF
36809 #define HAVE_POWF 1
36810 _ACEOF
36811
36812 fi
36813 done
36814
36815   else
36816
36817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36818 $as_echo_n "checking for _powf declaration... " >&6; }
36819   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36820     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36821   $as_echo_n "(cached) " >&6
36822 else
36823
36824
36825       ac_ext=cpp
36826 ac_cpp='$CXXCPP $CPPFLAGS'
36827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36830
36831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36832 /* end confdefs.h.  */
36833 #include <math.h>
36834 int
36835 main ()
36836 {
36837  _powf(0, 0);
36838   ;
36839   return 0;
36840 }
36841 _ACEOF
36842 if ac_fn_cxx_try_compile "$LINENO"; then :
36843   glibcxx_cv_func__powf_use=yes
36844 else
36845   glibcxx_cv_func__powf_use=no
36846 fi
36847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36848       ac_ext=c
36849 ac_cpp='$CPP $CPPFLAGS'
36850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36853
36854
36855 fi
36856
36857   fi
36858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36859 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36860
36861     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36862       for ac_func in _powf
36863 do :
36864   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36865 if test "x$ac_cv_func__powf" = x""yes; then :
36866   cat >>confdefs.h <<_ACEOF
36867 #define HAVE__POWF 1
36868 _ACEOF
36869
36870 fi
36871 done
36872
36873     fi
36874   fi
36875
36876
36877
36878
36879
36880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36881 $as_echo_n "checking for sqrtf declaration... " >&6; }
36882   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36883     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36884   $as_echo_n "(cached) " >&6
36885 else
36886
36887
36888       ac_ext=cpp
36889 ac_cpp='$CXXCPP $CPPFLAGS'
36890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36893
36894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36895 /* end confdefs.h.  */
36896 #include <math.h>
36897                       #ifdef HAVE_IEEEFP_H
36898                       #include <ieeefp.h>
36899                       #endif
36900
36901 int
36902 main ()
36903 {
36904  sqrtf(0);
36905   ;
36906   return 0;
36907 }
36908 _ACEOF
36909 if ac_fn_cxx_try_compile "$LINENO"; then :
36910   glibcxx_cv_func_sqrtf_use=yes
36911 else
36912   glibcxx_cv_func_sqrtf_use=no
36913 fi
36914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915       ac_ext=c
36916 ac_cpp='$CPP $CPPFLAGS'
36917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36920
36921
36922 fi
36923
36924   fi
36925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36926 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36927
36928   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36929     for ac_func in sqrtf
36930 do :
36931   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36932 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36933   cat >>confdefs.h <<_ACEOF
36934 #define HAVE_SQRTF 1
36935 _ACEOF
36936
36937 fi
36938 done
36939
36940   else
36941
36942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36943 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36944   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36945     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36946   $as_echo_n "(cached) " >&6
36947 else
36948
36949
36950       ac_ext=cpp
36951 ac_cpp='$CXXCPP $CPPFLAGS'
36952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36955
36956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36957 /* end confdefs.h.  */
36958 #include <math.h>
36959                       #ifdef HAVE_IEEEFP_H
36960                       #include <ieeefp.h>
36961                       #endif
36962
36963 int
36964 main ()
36965 {
36966  _sqrtf(0);
36967   ;
36968   return 0;
36969 }
36970 _ACEOF
36971 if ac_fn_cxx_try_compile "$LINENO"; then :
36972   glibcxx_cv_func__sqrtf_use=yes
36973 else
36974   glibcxx_cv_func__sqrtf_use=no
36975 fi
36976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36977       ac_ext=c
36978 ac_cpp='$CPP $CPPFLAGS'
36979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36982
36983
36984 fi
36985
36986   fi
36987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36988 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36989
36990     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36991       for ac_func in _sqrtf
36992 do :
36993   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36994 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36995   cat >>confdefs.h <<_ACEOF
36996 #define HAVE__SQRTF 1
36997 _ACEOF
36998
36999 fi
37000 done
37001
37002     fi
37003   fi
37004
37005
37006
37007
37008
37009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37010 $as_echo_n "checking for sincosf declaration... " >&6; }
37011   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37012     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37013   $as_echo_n "(cached) " >&6
37014 else
37015
37016
37017       ac_ext=cpp
37018 ac_cpp='$CXXCPP $CPPFLAGS'
37019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37022
37023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37024 /* end confdefs.h.  */
37025 #include <math.h>
37026 int
37027 main ()
37028 {
37029  sincosf(0, 0, 0);
37030   ;
37031   return 0;
37032 }
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035   glibcxx_cv_func_sincosf_use=yes
37036 else
37037   glibcxx_cv_func_sincosf_use=no
37038 fi
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040       ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37045
37046
37047 fi
37048
37049   fi
37050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37051 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37052
37053   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37054     for ac_func in sincosf
37055 do :
37056   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37057 if test "x$ac_cv_func_sincosf" = x""yes; then :
37058   cat >>confdefs.h <<_ACEOF
37059 #define HAVE_SINCOSF 1
37060 _ACEOF
37061
37062 fi
37063 done
37064
37065   else
37066
37067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37068 $as_echo_n "checking for _sincosf declaration... " >&6; }
37069   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37070     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37071   $as_echo_n "(cached) " >&6
37072 else
37073
37074
37075       ac_ext=cpp
37076 ac_cpp='$CXXCPP $CPPFLAGS'
37077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37080
37081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37082 /* end confdefs.h.  */
37083 #include <math.h>
37084 int
37085 main ()
37086 {
37087  _sincosf(0, 0, 0);
37088   ;
37089   return 0;
37090 }
37091 _ACEOF
37092 if ac_fn_cxx_try_compile "$LINENO"; then :
37093   glibcxx_cv_func__sincosf_use=yes
37094 else
37095   glibcxx_cv_func__sincosf_use=no
37096 fi
37097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37098       ac_ext=c
37099 ac_cpp='$CPP $CPPFLAGS'
37100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37103
37104
37105 fi
37106
37107   fi
37108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37109 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37110
37111     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37112       for ac_func in _sincosf
37113 do :
37114   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37115 if test "x$ac_cv_func__sincosf" = x""yes; then :
37116   cat >>confdefs.h <<_ACEOF
37117 #define HAVE__SINCOSF 1
37118 _ACEOF
37119
37120 fi
37121 done
37122
37123     fi
37124   fi
37125
37126
37127
37128
37129
37130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37131 $as_echo_n "checking for finitef declaration... " >&6; }
37132   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37133     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37134   $as_echo_n "(cached) " >&6
37135 else
37136
37137
37138       ac_ext=cpp
37139 ac_cpp='$CXXCPP $CPPFLAGS'
37140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37143
37144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37145 /* end confdefs.h.  */
37146 #include <math.h>
37147                       #ifdef HAVE_IEEEFP_H
37148                       #include <ieeefp.h>
37149                       #endif
37150
37151 int
37152 main ()
37153 {
37154  finitef(0);
37155   ;
37156   return 0;
37157 }
37158 _ACEOF
37159 if ac_fn_cxx_try_compile "$LINENO"; then :
37160   glibcxx_cv_func_finitef_use=yes
37161 else
37162   glibcxx_cv_func_finitef_use=no
37163 fi
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165       ac_ext=c
37166 ac_cpp='$CPP $CPPFLAGS'
37167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37170
37171
37172 fi
37173
37174   fi
37175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37176 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37177
37178   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37179     for ac_func in finitef
37180 do :
37181   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37182 if test "x$ac_cv_func_finitef" = x""yes; then :
37183   cat >>confdefs.h <<_ACEOF
37184 #define HAVE_FINITEF 1
37185 _ACEOF
37186
37187 fi
37188 done
37189
37190   else
37191
37192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37193 $as_echo_n "checking for _finitef declaration... " >&6; }
37194   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37195     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37196   $as_echo_n "(cached) " >&6
37197 else
37198
37199
37200       ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37205
37206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h.  */
37208 #include <math.h>
37209                       #ifdef HAVE_IEEEFP_H
37210                       #include <ieeefp.h>
37211                       #endif
37212
37213 int
37214 main ()
37215 {
37216  _finitef(0);
37217   ;
37218   return 0;
37219 }
37220 _ACEOF
37221 if ac_fn_cxx_try_compile "$LINENO"; then :
37222   glibcxx_cv_func__finitef_use=yes
37223 else
37224   glibcxx_cv_func__finitef_use=no
37225 fi
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227       ac_ext=c
37228 ac_cpp='$CPP $CPPFLAGS'
37229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37232
37233
37234 fi
37235
37236   fi
37237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37238 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37239
37240     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37241       for ac_func in _finitef
37242 do :
37243   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37244 if test "x$ac_cv_func__finitef" = x""yes; then :
37245   cat >>confdefs.h <<_ACEOF
37246 #define HAVE__FINITEF 1
37247 _ACEOF
37248
37249 fi
37250 done
37251
37252     fi
37253   fi
37254
37255
37256
37257
37258
37259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37260 $as_echo_n "checking for long double trig functions... " >&6; }
37261   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37262   $as_echo_n "(cached) " >&6
37263 else
37264
37265
37266     ac_ext=cpp
37267 ac_cpp='$CXXCPP $CPPFLAGS'
37268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37271
37272     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37273 /* end confdefs.h.  */
37274 #include <math.h>
37275 int
37276 main ()
37277 {
37278 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37279   ;
37280   return 0;
37281 }
37282 _ACEOF
37283 if ac_fn_cxx_try_compile "$LINENO"; then :
37284   glibcxx_cv_func_long_double_trig_use=yes
37285 else
37286   glibcxx_cv_func_long_double_trig_use=no
37287 fi
37288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289     ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37294
37295 fi
37296
37297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37298 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37299   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37300     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37301 do :
37302   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37304 eval as_val=\$$as_ac_var
37305    if test "x$as_val" = x""yes; then :
37306   cat >>confdefs.h <<_ACEOF
37307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37308 _ACEOF
37309
37310 fi
37311 done
37312
37313   else
37314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37315 $as_echo_n "checking for _long double trig functions... " >&6; }
37316     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37317   $as_echo_n "(cached) " >&6
37318 else
37319
37320
37321       ac_ext=cpp
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37326
37327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328 /* end confdefs.h.  */
37329 #include <math.h>
37330 int
37331 main ()
37332 {
37333 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37334   ;
37335   return 0;
37336 }
37337 _ACEOF
37338 if ac_fn_cxx_try_compile "$LINENO"; then :
37339   glibcxx_cv_func__long_double_trig_use=yes
37340 else
37341   glibcxx_cv_func__long_double_trig_use=no
37342 fi
37343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37344       ac_ext=c
37345 ac_cpp='$CPP $CPPFLAGS'
37346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37349
37350 fi
37351
37352     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37353 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37354     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37355       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37356 do :
37357   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37359 eval as_val=\$$as_ac_var
37360    if test "x$as_val" = x""yes; then :
37361   cat >>confdefs.h <<_ACEOF
37362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37363 _ACEOF
37364
37365 fi
37366 done
37367
37368     fi
37369   fi
37370
37371
37372
37373
37374
37375     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37376 $as_echo_n "checking for long double round functions... " >&6; }
37377   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37378   $as_echo_n "(cached) " >&6
37379 else
37380
37381
37382     ac_ext=cpp
37383 ac_cpp='$CXXCPP $CPPFLAGS'
37384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37387
37388     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37389 /* end confdefs.h.  */
37390 #include <math.h>
37391 int
37392 main ()
37393 {
37394 ceill (0); floorl (0);
37395   ;
37396   return 0;
37397 }
37398 _ACEOF
37399 if ac_fn_cxx_try_compile "$LINENO"; then :
37400   glibcxx_cv_func_long_double_round_use=yes
37401 else
37402   glibcxx_cv_func_long_double_round_use=no
37403 fi
37404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37405     ac_ext=c
37406 ac_cpp='$CPP $CPPFLAGS'
37407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37410
37411 fi
37412
37413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37414 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37415   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37416     for ac_func in ceill floorl
37417 do :
37418   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37420 eval as_val=\$$as_ac_var
37421    if test "x$as_val" = x""yes; then :
37422   cat >>confdefs.h <<_ACEOF
37423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37424 _ACEOF
37425
37426 fi
37427 done
37428
37429   else
37430     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37431 $as_echo_n "checking for _long double round functions... " >&6; }
37432     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37433   $as_echo_n "(cached) " >&6
37434 else
37435
37436
37437       ac_ext=cpp
37438 ac_cpp='$CXXCPP $CPPFLAGS'
37439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37442
37443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37444 /* end confdefs.h.  */
37445 #include <math.h>
37446 int
37447 main ()
37448 {
37449 _ceill (0); _floorl (0);
37450   ;
37451   return 0;
37452 }
37453 _ACEOF
37454 if ac_fn_cxx_try_compile "$LINENO"; then :
37455   glibcxx_cv_func__long_double_round_use=yes
37456 else
37457   glibcxx_cv_func__long_double_round_use=no
37458 fi
37459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37460       ac_ext=c
37461 ac_cpp='$CPP $CPPFLAGS'
37462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37465
37466 fi
37467
37468     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37469 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37470     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37471       for ac_func in _ceill _floorl
37472 do :
37473   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37475 eval as_val=\$$as_ac_var
37476    if test "x$as_val" = x""yes; then :
37477   cat >>confdefs.h <<_ACEOF
37478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37479 _ACEOF
37480
37481 fi
37482 done
37483
37484     fi
37485   fi
37486
37487
37488
37489
37490
37491
37492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37493 $as_echo_n "checking for isnanl declaration... " >&6; }
37494   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37495     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37496   $as_echo_n "(cached) " >&6
37497 else
37498
37499
37500       ac_ext=cpp
37501 ac_cpp='$CXXCPP $CPPFLAGS'
37502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37505
37506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37507 /* end confdefs.h.  */
37508 #include <math.h>
37509                       #ifdef HAVE_IEEEFP_H
37510                       #include <ieeefp.h>
37511                       #endif
37512
37513 int
37514 main ()
37515 {
37516  isnanl(0);
37517   ;
37518   return 0;
37519 }
37520 _ACEOF
37521 if ac_fn_cxx_try_compile "$LINENO"; then :
37522   glibcxx_cv_func_isnanl_use=yes
37523 else
37524   glibcxx_cv_func_isnanl_use=no
37525 fi
37526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37527       ac_ext=c
37528 ac_cpp='$CPP $CPPFLAGS'
37529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37532
37533
37534 fi
37535
37536   fi
37537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37538 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37539
37540   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37541     for ac_func in isnanl
37542 do :
37543   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37544 if test "x$ac_cv_func_isnanl" = x""yes; then :
37545   cat >>confdefs.h <<_ACEOF
37546 #define HAVE_ISNANL 1
37547 _ACEOF
37548
37549 fi
37550 done
37551
37552   else
37553
37554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37555 $as_echo_n "checking for _isnanl declaration... " >&6; }
37556   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37557     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37558   $as_echo_n "(cached) " >&6
37559 else
37560
37561
37562       ac_ext=cpp
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37567
37568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37569 /* end confdefs.h.  */
37570 #include <math.h>
37571                       #ifdef HAVE_IEEEFP_H
37572                       #include <ieeefp.h>
37573                       #endif
37574
37575 int
37576 main ()
37577 {
37578  _isnanl(0);
37579   ;
37580   return 0;
37581 }
37582 _ACEOF
37583 if ac_fn_cxx_try_compile "$LINENO"; then :
37584   glibcxx_cv_func__isnanl_use=yes
37585 else
37586   glibcxx_cv_func__isnanl_use=no
37587 fi
37588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37589       ac_ext=c
37590 ac_cpp='$CPP $CPPFLAGS'
37591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37594
37595
37596 fi
37597
37598   fi
37599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37600 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37601
37602     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37603       for ac_func in _isnanl
37604 do :
37605   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37606 if test "x$ac_cv_func__isnanl" = x""yes; then :
37607   cat >>confdefs.h <<_ACEOF
37608 #define HAVE__ISNANL 1
37609 _ACEOF
37610
37611 fi
37612 done
37613
37614     fi
37615   fi
37616
37617
37618
37619
37620
37621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37622 $as_echo_n "checking for isinfl declaration... " >&6; }
37623   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37624     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37625   $as_echo_n "(cached) " >&6
37626 else
37627
37628
37629       ac_ext=cpp
37630 ac_cpp='$CXXCPP $CPPFLAGS'
37631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37634
37635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37636 /* end confdefs.h.  */
37637 #include <math.h>
37638                       #ifdef HAVE_IEEEFP_H
37639                       #include <ieeefp.h>
37640                       #endif
37641
37642 int
37643 main ()
37644 {
37645  isinfl(0);
37646   ;
37647   return 0;
37648 }
37649 _ACEOF
37650 if ac_fn_cxx_try_compile "$LINENO"; then :
37651   glibcxx_cv_func_isinfl_use=yes
37652 else
37653   glibcxx_cv_func_isinfl_use=no
37654 fi
37655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37656       ac_ext=c
37657 ac_cpp='$CPP $CPPFLAGS'
37658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37661
37662
37663 fi
37664
37665   fi
37666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37667 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37668
37669   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37670     for ac_func in isinfl
37671 do :
37672   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37673 if test "x$ac_cv_func_isinfl" = x""yes; then :
37674   cat >>confdefs.h <<_ACEOF
37675 #define HAVE_ISINFL 1
37676 _ACEOF
37677
37678 fi
37679 done
37680
37681   else
37682
37683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37684 $as_echo_n "checking for _isinfl declaration... " >&6; }
37685   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37686     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37687   $as_echo_n "(cached) " >&6
37688 else
37689
37690
37691       ac_ext=cpp
37692 ac_cpp='$CXXCPP $CPPFLAGS'
37693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37696
37697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37698 /* end confdefs.h.  */
37699 #include <math.h>
37700                       #ifdef HAVE_IEEEFP_H
37701                       #include <ieeefp.h>
37702                       #endif
37703
37704 int
37705 main ()
37706 {
37707  _isinfl(0);
37708   ;
37709   return 0;
37710 }
37711 _ACEOF
37712 if ac_fn_cxx_try_compile "$LINENO"; then :
37713   glibcxx_cv_func__isinfl_use=yes
37714 else
37715   glibcxx_cv_func__isinfl_use=no
37716 fi
37717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37718       ac_ext=c
37719 ac_cpp='$CPP $CPPFLAGS'
37720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37723
37724
37725 fi
37726
37727   fi
37728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37729 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37730
37731     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37732       for ac_func in _isinfl
37733 do :
37734   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37735 if test "x$ac_cv_func__isinfl" = x""yes; then :
37736   cat >>confdefs.h <<_ACEOF
37737 #define HAVE__ISINFL 1
37738 _ACEOF
37739
37740 fi
37741 done
37742
37743     fi
37744   fi
37745
37746
37747
37748
37749
37750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37751 $as_echo_n "checking for atan2l declaration... " >&6; }
37752   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37753     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37754   $as_echo_n "(cached) " >&6
37755 else
37756
37757
37758       ac_ext=cpp
37759 ac_cpp='$CXXCPP $CPPFLAGS'
37760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37763
37764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37765 /* end confdefs.h.  */
37766 #include <math.h>
37767 int
37768 main ()
37769 {
37770  atan2l(0, 0);
37771   ;
37772   return 0;
37773 }
37774 _ACEOF
37775 if ac_fn_cxx_try_compile "$LINENO"; then :
37776   glibcxx_cv_func_atan2l_use=yes
37777 else
37778   glibcxx_cv_func_atan2l_use=no
37779 fi
37780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37781       ac_ext=c
37782 ac_cpp='$CPP $CPPFLAGS'
37783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37786
37787
37788 fi
37789
37790   fi
37791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37792 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37793
37794   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37795     for ac_func in atan2l
37796 do :
37797   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37798 if test "x$ac_cv_func_atan2l" = x""yes; then :
37799   cat >>confdefs.h <<_ACEOF
37800 #define HAVE_ATAN2L 1
37801 _ACEOF
37802
37803 fi
37804 done
37805
37806   else
37807
37808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37809 $as_echo_n "checking for _atan2l declaration... " >&6; }
37810   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37811     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37812   $as_echo_n "(cached) " >&6
37813 else
37814
37815
37816       ac_ext=cpp
37817 ac_cpp='$CXXCPP $CPPFLAGS'
37818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37821
37822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37823 /* end confdefs.h.  */
37824 #include <math.h>
37825 int
37826 main ()
37827 {
37828  _atan2l(0, 0);
37829   ;
37830   return 0;
37831 }
37832 _ACEOF
37833 if ac_fn_cxx_try_compile "$LINENO"; then :
37834   glibcxx_cv_func__atan2l_use=yes
37835 else
37836   glibcxx_cv_func__atan2l_use=no
37837 fi
37838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37839       ac_ext=c
37840 ac_cpp='$CPP $CPPFLAGS'
37841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37844
37845
37846 fi
37847
37848   fi
37849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37850 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37851
37852     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37853       for ac_func in _atan2l
37854 do :
37855   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37856 if test "x$ac_cv_func__atan2l" = x""yes; then :
37857   cat >>confdefs.h <<_ACEOF
37858 #define HAVE__ATAN2L 1
37859 _ACEOF
37860
37861 fi
37862 done
37863
37864     fi
37865   fi
37866
37867
37868
37869
37870
37871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37872 $as_echo_n "checking for expl declaration... " >&6; }
37873   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37874     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37875   $as_echo_n "(cached) " >&6
37876 else
37877
37878
37879       ac_ext=cpp
37880 ac_cpp='$CXXCPP $CPPFLAGS'
37881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37884
37885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37886 /* end confdefs.h.  */
37887 #include <math.h>
37888                       #ifdef HAVE_IEEEFP_H
37889                       #include <ieeefp.h>
37890                       #endif
37891
37892 int
37893 main ()
37894 {
37895  expl(0);
37896   ;
37897   return 0;
37898 }
37899 _ACEOF
37900 if ac_fn_cxx_try_compile "$LINENO"; then :
37901   glibcxx_cv_func_expl_use=yes
37902 else
37903   glibcxx_cv_func_expl_use=no
37904 fi
37905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37906       ac_ext=c
37907 ac_cpp='$CPP $CPPFLAGS'
37908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37911
37912
37913 fi
37914
37915   fi
37916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37917 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37918
37919   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37920     for ac_func in expl
37921 do :
37922   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37923 if test "x$ac_cv_func_expl" = x""yes; then :
37924   cat >>confdefs.h <<_ACEOF
37925 #define HAVE_EXPL 1
37926 _ACEOF
37927
37928 fi
37929 done
37930
37931   else
37932
37933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37934 $as_echo_n "checking for _expl declaration... " >&6; }
37935   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37936     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37937   $as_echo_n "(cached) " >&6
37938 else
37939
37940
37941       ac_ext=cpp
37942 ac_cpp='$CXXCPP $CPPFLAGS'
37943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37946
37947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37948 /* end confdefs.h.  */
37949 #include <math.h>
37950                       #ifdef HAVE_IEEEFP_H
37951                       #include <ieeefp.h>
37952                       #endif
37953
37954 int
37955 main ()
37956 {
37957  _expl(0);
37958   ;
37959   return 0;
37960 }
37961 _ACEOF
37962 if ac_fn_cxx_try_compile "$LINENO"; then :
37963   glibcxx_cv_func__expl_use=yes
37964 else
37965   glibcxx_cv_func__expl_use=no
37966 fi
37967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37968       ac_ext=c
37969 ac_cpp='$CPP $CPPFLAGS'
37970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37973
37974
37975 fi
37976
37977   fi
37978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37979 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37980
37981     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37982       for ac_func in _expl
37983 do :
37984   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37985 if test "x$ac_cv_func__expl" = x""yes; then :
37986   cat >>confdefs.h <<_ACEOF
37987 #define HAVE__EXPL 1
37988 _ACEOF
37989
37990 fi
37991 done
37992
37993     fi
37994   fi
37995
37996
37997
37998
37999
38000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38001 $as_echo_n "checking for fabsl declaration... " >&6; }
38002   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38003     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38004   $as_echo_n "(cached) " >&6
38005 else
38006
38007
38008       ac_ext=cpp
38009 ac_cpp='$CXXCPP $CPPFLAGS'
38010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38013
38014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38015 /* end confdefs.h.  */
38016 #include <math.h>
38017                       #ifdef HAVE_IEEEFP_H
38018                       #include <ieeefp.h>
38019                       #endif
38020
38021 int
38022 main ()
38023 {
38024  fabsl(0);
38025   ;
38026   return 0;
38027 }
38028 _ACEOF
38029 if ac_fn_cxx_try_compile "$LINENO"; then :
38030   glibcxx_cv_func_fabsl_use=yes
38031 else
38032   glibcxx_cv_func_fabsl_use=no
38033 fi
38034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38035       ac_ext=c
38036 ac_cpp='$CPP $CPPFLAGS'
38037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38040
38041
38042 fi
38043
38044   fi
38045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38046 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38047
38048   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38049     for ac_func in fabsl
38050 do :
38051   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38052 if test "x$ac_cv_func_fabsl" = x""yes; then :
38053   cat >>confdefs.h <<_ACEOF
38054 #define HAVE_FABSL 1
38055 _ACEOF
38056
38057 fi
38058 done
38059
38060   else
38061
38062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38063 $as_echo_n "checking for _fabsl declaration... " >&6; }
38064   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38065     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38066   $as_echo_n "(cached) " >&6
38067 else
38068
38069
38070       ac_ext=cpp
38071 ac_cpp='$CXXCPP $CPPFLAGS'
38072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38075
38076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38077 /* end confdefs.h.  */
38078 #include <math.h>
38079                       #ifdef HAVE_IEEEFP_H
38080                       #include <ieeefp.h>
38081                       #endif
38082
38083 int
38084 main ()
38085 {
38086  _fabsl(0);
38087   ;
38088   return 0;
38089 }
38090 _ACEOF
38091 if ac_fn_cxx_try_compile "$LINENO"; then :
38092   glibcxx_cv_func__fabsl_use=yes
38093 else
38094   glibcxx_cv_func__fabsl_use=no
38095 fi
38096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38097       ac_ext=c
38098 ac_cpp='$CPP $CPPFLAGS'
38099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38102
38103
38104 fi
38105
38106   fi
38107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38108 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38109
38110     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38111       for ac_func in _fabsl
38112 do :
38113   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38114 if test "x$ac_cv_func__fabsl" = x""yes; then :
38115   cat >>confdefs.h <<_ACEOF
38116 #define HAVE__FABSL 1
38117 _ACEOF
38118
38119 fi
38120 done
38121
38122     fi
38123   fi
38124
38125
38126
38127
38128
38129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38130 $as_echo_n "checking for fmodl declaration... " >&6; }
38131   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38132     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38133   $as_echo_n "(cached) " >&6
38134 else
38135
38136
38137       ac_ext=cpp
38138 ac_cpp='$CXXCPP $CPPFLAGS'
38139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38142
38143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38144 /* end confdefs.h.  */
38145 #include <math.h>
38146 int
38147 main ()
38148 {
38149  fmodl(0, 0);
38150   ;
38151   return 0;
38152 }
38153 _ACEOF
38154 if ac_fn_cxx_try_compile "$LINENO"; then :
38155   glibcxx_cv_func_fmodl_use=yes
38156 else
38157   glibcxx_cv_func_fmodl_use=no
38158 fi
38159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38160       ac_ext=c
38161 ac_cpp='$CPP $CPPFLAGS'
38162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38165
38166
38167 fi
38168
38169   fi
38170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38171 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38172
38173   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38174     for ac_func in fmodl
38175 do :
38176   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38177 if test "x$ac_cv_func_fmodl" = x""yes; then :
38178   cat >>confdefs.h <<_ACEOF
38179 #define HAVE_FMODL 1
38180 _ACEOF
38181
38182 fi
38183 done
38184
38185   else
38186
38187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38188 $as_echo_n "checking for _fmodl declaration... " >&6; }
38189   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38190     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38191   $as_echo_n "(cached) " >&6
38192 else
38193
38194
38195       ac_ext=cpp
38196 ac_cpp='$CXXCPP $CPPFLAGS'
38197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38200
38201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38202 /* end confdefs.h.  */
38203 #include <math.h>
38204 int
38205 main ()
38206 {
38207  _fmodl(0, 0);
38208   ;
38209   return 0;
38210 }
38211 _ACEOF
38212 if ac_fn_cxx_try_compile "$LINENO"; then :
38213   glibcxx_cv_func__fmodl_use=yes
38214 else
38215   glibcxx_cv_func__fmodl_use=no
38216 fi
38217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38218       ac_ext=c
38219 ac_cpp='$CPP $CPPFLAGS'
38220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38223
38224
38225 fi
38226
38227   fi
38228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38229 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38230
38231     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38232       for ac_func in _fmodl
38233 do :
38234   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38235 if test "x$ac_cv_func__fmodl" = x""yes; then :
38236   cat >>confdefs.h <<_ACEOF
38237 #define HAVE__FMODL 1
38238 _ACEOF
38239
38240 fi
38241 done
38242
38243     fi
38244   fi
38245
38246
38247
38248
38249
38250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38251 $as_echo_n "checking for frexpl declaration... " >&6; }
38252   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38253     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38254   $as_echo_n "(cached) " >&6
38255 else
38256
38257
38258       ac_ext=cpp
38259 ac_cpp='$CXXCPP $CPPFLAGS'
38260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38263
38264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38265 /* end confdefs.h.  */
38266 #include <math.h>
38267 int
38268 main ()
38269 {
38270  frexpl(0, 0);
38271   ;
38272   return 0;
38273 }
38274 _ACEOF
38275 if ac_fn_cxx_try_compile "$LINENO"; then :
38276   glibcxx_cv_func_frexpl_use=yes
38277 else
38278   glibcxx_cv_func_frexpl_use=no
38279 fi
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281       ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38286
38287
38288 fi
38289
38290   fi
38291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38292 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38293
38294   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38295     for ac_func in frexpl
38296 do :
38297   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38298 if test "x$ac_cv_func_frexpl" = x""yes; then :
38299   cat >>confdefs.h <<_ACEOF
38300 #define HAVE_FREXPL 1
38301 _ACEOF
38302
38303 fi
38304 done
38305
38306   else
38307
38308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38309 $as_echo_n "checking for _frexpl declaration... " >&6; }
38310   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38311     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38312   $as_echo_n "(cached) " >&6
38313 else
38314
38315
38316       ac_ext=cpp
38317 ac_cpp='$CXXCPP $CPPFLAGS'
38318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38321
38322       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38323 /* end confdefs.h.  */
38324 #include <math.h>
38325 int
38326 main ()
38327 {
38328  _frexpl(0, 0);
38329   ;
38330   return 0;
38331 }
38332 _ACEOF
38333 if ac_fn_cxx_try_compile "$LINENO"; then :
38334   glibcxx_cv_func__frexpl_use=yes
38335 else
38336   glibcxx_cv_func__frexpl_use=no
38337 fi
38338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38339       ac_ext=c
38340 ac_cpp='$CPP $CPPFLAGS'
38341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38344
38345
38346 fi
38347
38348   fi
38349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38350 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38351
38352     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38353       for ac_func in _frexpl
38354 do :
38355   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38356 if test "x$ac_cv_func__frexpl" = x""yes; then :
38357   cat >>confdefs.h <<_ACEOF
38358 #define HAVE__FREXPL 1
38359 _ACEOF
38360
38361 fi
38362 done
38363
38364     fi
38365   fi
38366
38367
38368
38369
38370
38371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38372 $as_echo_n "checking for hypotl declaration... " >&6; }
38373   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38374     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38375   $as_echo_n "(cached) " >&6
38376 else
38377
38378
38379       ac_ext=cpp
38380 ac_cpp='$CXXCPP $CPPFLAGS'
38381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38384
38385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38386 /* end confdefs.h.  */
38387 #include <math.h>
38388 int
38389 main ()
38390 {
38391  hypotl(0, 0);
38392   ;
38393   return 0;
38394 }
38395 _ACEOF
38396 if ac_fn_cxx_try_compile "$LINENO"; then :
38397   glibcxx_cv_func_hypotl_use=yes
38398 else
38399   glibcxx_cv_func_hypotl_use=no
38400 fi
38401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38402       ac_ext=c
38403 ac_cpp='$CPP $CPPFLAGS'
38404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38407
38408
38409 fi
38410
38411   fi
38412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38413 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38414
38415   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38416     for ac_func in hypotl
38417 do :
38418   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38419 if test "x$ac_cv_func_hypotl" = x""yes; then :
38420   cat >>confdefs.h <<_ACEOF
38421 #define HAVE_HYPOTL 1
38422 _ACEOF
38423
38424 fi
38425 done
38426
38427   else
38428
38429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38430 $as_echo_n "checking for _hypotl declaration... " >&6; }
38431   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38432     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38433   $as_echo_n "(cached) " >&6
38434 else
38435
38436
38437       ac_ext=cpp
38438 ac_cpp='$CXXCPP $CPPFLAGS'
38439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38442
38443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38444 /* end confdefs.h.  */
38445 #include <math.h>
38446 int
38447 main ()
38448 {
38449  _hypotl(0, 0);
38450   ;
38451   return 0;
38452 }
38453 _ACEOF
38454 if ac_fn_cxx_try_compile "$LINENO"; then :
38455   glibcxx_cv_func__hypotl_use=yes
38456 else
38457   glibcxx_cv_func__hypotl_use=no
38458 fi
38459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38460       ac_ext=c
38461 ac_cpp='$CPP $CPPFLAGS'
38462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38465
38466
38467 fi
38468
38469   fi
38470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38471 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38472
38473     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38474       for ac_func in _hypotl
38475 do :
38476   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38477 if test "x$ac_cv_func__hypotl" = x""yes; then :
38478   cat >>confdefs.h <<_ACEOF
38479 #define HAVE__HYPOTL 1
38480 _ACEOF
38481
38482 fi
38483 done
38484
38485     fi
38486   fi
38487
38488
38489
38490
38491
38492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38493 $as_echo_n "checking for ldexpl declaration... " >&6; }
38494   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38495     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38496   $as_echo_n "(cached) " >&6
38497 else
38498
38499
38500       ac_ext=cpp
38501 ac_cpp='$CXXCPP $CPPFLAGS'
38502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38505
38506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38507 /* end confdefs.h.  */
38508 #include <math.h>
38509 int
38510 main ()
38511 {
38512  ldexpl(0, 0);
38513   ;
38514   return 0;
38515 }
38516 _ACEOF
38517 if ac_fn_cxx_try_compile "$LINENO"; then :
38518   glibcxx_cv_func_ldexpl_use=yes
38519 else
38520   glibcxx_cv_func_ldexpl_use=no
38521 fi
38522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38523       ac_ext=c
38524 ac_cpp='$CPP $CPPFLAGS'
38525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38528
38529
38530 fi
38531
38532   fi
38533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38534 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38535
38536   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38537     for ac_func in ldexpl
38538 do :
38539   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38540 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38541   cat >>confdefs.h <<_ACEOF
38542 #define HAVE_LDEXPL 1
38543 _ACEOF
38544
38545 fi
38546 done
38547
38548   else
38549
38550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38551 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38552   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38553     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38554   $as_echo_n "(cached) " >&6
38555 else
38556
38557
38558       ac_ext=cpp
38559 ac_cpp='$CXXCPP $CPPFLAGS'
38560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38563
38564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38565 /* end confdefs.h.  */
38566 #include <math.h>
38567 int
38568 main ()
38569 {
38570  _ldexpl(0, 0);
38571   ;
38572   return 0;
38573 }
38574 _ACEOF
38575 if ac_fn_cxx_try_compile "$LINENO"; then :
38576   glibcxx_cv_func__ldexpl_use=yes
38577 else
38578   glibcxx_cv_func__ldexpl_use=no
38579 fi
38580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38581       ac_ext=c
38582 ac_cpp='$CPP $CPPFLAGS'
38583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38586
38587
38588 fi
38589
38590   fi
38591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38592 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38593
38594     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38595       for ac_func in _ldexpl
38596 do :
38597   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38598 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38599   cat >>confdefs.h <<_ACEOF
38600 #define HAVE__LDEXPL 1
38601 _ACEOF
38602
38603 fi
38604 done
38605
38606     fi
38607   fi
38608
38609
38610
38611
38612
38613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38614 $as_echo_n "checking for logl declaration... " >&6; }
38615   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38616     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38617   $as_echo_n "(cached) " >&6
38618 else
38619
38620
38621       ac_ext=cpp
38622 ac_cpp='$CXXCPP $CPPFLAGS'
38623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38626
38627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38628 /* end confdefs.h.  */
38629 #include <math.h>
38630                       #ifdef HAVE_IEEEFP_H
38631                       #include <ieeefp.h>
38632                       #endif
38633
38634 int
38635 main ()
38636 {
38637  logl(0);
38638   ;
38639   return 0;
38640 }
38641 _ACEOF
38642 if ac_fn_cxx_try_compile "$LINENO"; then :
38643   glibcxx_cv_func_logl_use=yes
38644 else
38645   glibcxx_cv_func_logl_use=no
38646 fi
38647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38648       ac_ext=c
38649 ac_cpp='$CPP $CPPFLAGS'
38650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38653
38654
38655 fi
38656
38657   fi
38658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38659 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38660
38661   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38662     for ac_func in logl
38663 do :
38664   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38665 if test "x$ac_cv_func_logl" = x""yes; then :
38666   cat >>confdefs.h <<_ACEOF
38667 #define HAVE_LOGL 1
38668 _ACEOF
38669
38670 fi
38671 done
38672
38673   else
38674
38675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38676 $as_echo_n "checking for _logl declaration... " >&6; }
38677   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38678     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38679   $as_echo_n "(cached) " >&6
38680 else
38681
38682
38683       ac_ext=cpp
38684 ac_cpp='$CXXCPP $CPPFLAGS'
38685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38688
38689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38690 /* end confdefs.h.  */
38691 #include <math.h>
38692                       #ifdef HAVE_IEEEFP_H
38693                       #include <ieeefp.h>
38694                       #endif
38695
38696 int
38697 main ()
38698 {
38699  _logl(0);
38700   ;
38701   return 0;
38702 }
38703 _ACEOF
38704 if ac_fn_cxx_try_compile "$LINENO"; then :
38705   glibcxx_cv_func__logl_use=yes
38706 else
38707   glibcxx_cv_func__logl_use=no
38708 fi
38709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38710       ac_ext=c
38711 ac_cpp='$CPP $CPPFLAGS'
38712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38715
38716
38717 fi
38718
38719   fi
38720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38721 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38722
38723     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38724       for ac_func in _logl
38725 do :
38726   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38727 if test "x$ac_cv_func__logl" = x""yes; then :
38728   cat >>confdefs.h <<_ACEOF
38729 #define HAVE__LOGL 1
38730 _ACEOF
38731
38732 fi
38733 done
38734
38735     fi
38736   fi
38737
38738
38739
38740
38741
38742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38743 $as_echo_n "checking for log10l declaration... " >&6; }
38744   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38745     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38746   $as_echo_n "(cached) " >&6
38747 else
38748
38749
38750       ac_ext=cpp
38751 ac_cpp='$CXXCPP $CPPFLAGS'
38752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38755
38756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38757 /* end confdefs.h.  */
38758 #include <math.h>
38759                       #ifdef HAVE_IEEEFP_H
38760                       #include <ieeefp.h>
38761                       #endif
38762
38763 int
38764 main ()
38765 {
38766  log10l(0);
38767   ;
38768   return 0;
38769 }
38770 _ACEOF
38771 if ac_fn_cxx_try_compile "$LINENO"; then :
38772   glibcxx_cv_func_log10l_use=yes
38773 else
38774   glibcxx_cv_func_log10l_use=no
38775 fi
38776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38777       ac_ext=c
38778 ac_cpp='$CPP $CPPFLAGS'
38779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38782
38783
38784 fi
38785
38786   fi
38787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38788 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38789
38790   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38791     for ac_func in log10l
38792 do :
38793   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38794 if test "x$ac_cv_func_log10l" = x""yes; then :
38795   cat >>confdefs.h <<_ACEOF
38796 #define HAVE_LOG10L 1
38797 _ACEOF
38798
38799 fi
38800 done
38801
38802   else
38803
38804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38805 $as_echo_n "checking for _log10l declaration... " >&6; }
38806   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38807     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38808   $as_echo_n "(cached) " >&6
38809 else
38810
38811
38812       ac_ext=cpp
38813 ac_cpp='$CXXCPP $CPPFLAGS'
38814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38817
38818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38819 /* end confdefs.h.  */
38820 #include <math.h>
38821                       #ifdef HAVE_IEEEFP_H
38822                       #include <ieeefp.h>
38823                       #endif
38824
38825 int
38826 main ()
38827 {
38828  _log10l(0);
38829   ;
38830   return 0;
38831 }
38832 _ACEOF
38833 if ac_fn_cxx_try_compile "$LINENO"; then :
38834   glibcxx_cv_func__log10l_use=yes
38835 else
38836   glibcxx_cv_func__log10l_use=no
38837 fi
38838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38839       ac_ext=c
38840 ac_cpp='$CPP $CPPFLAGS'
38841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38844
38845
38846 fi
38847
38848   fi
38849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38850 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38851
38852     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38853       for ac_func in _log10l
38854 do :
38855   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38856 if test "x$ac_cv_func__log10l" = x""yes; then :
38857   cat >>confdefs.h <<_ACEOF
38858 #define HAVE__LOG10L 1
38859 _ACEOF
38860
38861 fi
38862 done
38863
38864     fi
38865   fi
38866
38867
38868
38869
38870
38871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38872 $as_echo_n "checking for modfl declaration... " >&6; }
38873   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38874     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38875   $as_echo_n "(cached) " >&6
38876 else
38877
38878
38879       ac_ext=cpp
38880 ac_cpp='$CXXCPP $CPPFLAGS'
38881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38884
38885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38886 /* end confdefs.h.  */
38887 #include <math.h>
38888 int
38889 main ()
38890 {
38891  modfl(0, 0);
38892   ;
38893   return 0;
38894 }
38895 _ACEOF
38896 if ac_fn_cxx_try_compile "$LINENO"; then :
38897   glibcxx_cv_func_modfl_use=yes
38898 else
38899   glibcxx_cv_func_modfl_use=no
38900 fi
38901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38902       ac_ext=c
38903 ac_cpp='$CPP $CPPFLAGS'
38904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38907
38908
38909 fi
38910
38911   fi
38912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38913 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38914
38915   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38916     for ac_func in modfl
38917 do :
38918   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38919 if test "x$ac_cv_func_modfl" = x""yes; then :
38920   cat >>confdefs.h <<_ACEOF
38921 #define HAVE_MODFL 1
38922 _ACEOF
38923
38924 fi
38925 done
38926
38927   else
38928
38929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38930 $as_echo_n "checking for _modfl declaration... " >&6; }
38931   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38932     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38933   $as_echo_n "(cached) " >&6
38934 else
38935
38936
38937       ac_ext=cpp
38938 ac_cpp='$CXXCPP $CPPFLAGS'
38939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38942
38943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38944 /* end confdefs.h.  */
38945 #include <math.h>
38946 int
38947 main ()
38948 {
38949  _modfl(0, 0);
38950   ;
38951   return 0;
38952 }
38953 _ACEOF
38954 if ac_fn_cxx_try_compile "$LINENO"; then :
38955   glibcxx_cv_func__modfl_use=yes
38956 else
38957   glibcxx_cv_func__modfl_use=no
38958 fi
38959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38960       ac_ext=c
38961 ac_cpp='$CPP $CPPFLAGS'
38962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38965
38966
38967 fi
38968
38969   fi
38970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38971 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38972
38973     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38974       for ac_func in _modfl
38975 do :
38976   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38977 if test "x$ac_cv_func__modfl" = x""yes; then :
38978   cat >>confdefs.h <<_ACEOF
38979 #define HAVE__MODFL 1
38980 _ACEOF
38981
38982 fi
38983 done
38984
38985     fi
38986   fi
38987
38988
38989
38990
38991
38992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38993 $as_echo_n "checking for powl declaration... " >&6; }
38994   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38995     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38996   $as_echo_n "(cached) " >&6
38997 else
38998
38999
39000       ac_ext=cpp
39001 ac_cpp='$CXXCPP $CPPFLAGS'
39002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39005
39006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39007 /* end confdefs.h.  */
39008 #include <math.h>
39009 int
39010 main ()
39011 {
39012  powl(0, 0);
39013   ;
39014   return 0;
39015 }
39016 _ACEOF
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018   glibcxx_cv_func_powl_use=yes
39019 else
39020   glibcxx_cv_func_powl_use=no
39021 fi
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39023       ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39028
39029
39030 fi
39031
39032   fi
39033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39034 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39035
39036   if test x$glibcxx_cv_func_powl_use = x"yes"; then
39037     for ac_func in powl
39038 do :
39039   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39040 if test "x$ac_cv_func_powl" = x""yes; then :
39041   cat >>confdefs.h <<_ACEOF
39042 #define HAVE_POWL 1
39043 _ACEOF
39044
39045 fi
39046 done
39047
39048   else
39049
39050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39051 $as_echo_n "checking for _powl declaration... " >&6; }
39052   if test x${glibcxx_cv_func__powl_use+set} != xset; then
39053     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39054   $as_echo_n "(cached) " >&6
39055 else
39056
39057
39058       ac_ext=cpp
39059 ac_cpp='$CXXCPP $CPPFLAGS'
39060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39063
39064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39065 /* end confdefs.h.  */
39066 #include <math.h>
39067 int
39068 main ()
39069 {
39070  _powl(0, 0);
39071   ;
39072   return 0;
39073 }
39074 _ACEOF
39075 if ac_fn_cxx_try_compile "$LINENO"; then :
39076   glibcxx_cv_func__powl_use=yes
39077 else
39078   glibcxx_cv_func__powl_use=no
39079 fi
39080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39081       ac_ext=c
39082 ac_cpp='$CPP $CPPFLAGS'
39083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39086
39087
39088 fi
39089
39090   fi
39091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39092 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39093
39094     if test x$glibcxx_cv_func__powl_use = x"yes"; then
39095       for ac_func in _powl
39096 do :
39097   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39098 if test "x$ac_cv_func__powl" = x""yes; then :
39099   cat >>confdefs.h <<_ACEOF
39100 #define HAVE__POWL 1
39101 _ACEOF
39102
39103 fi
39104 done
39105
39106     fi
39107   fi
39108
39109
39110
39111
39112
39113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39114 $as_echo_n "checking for sqrtl declaration... " >&6; }
39115   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39116     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39117   $as_echo_n "(cached) " >&6
39118 else
39119
39120
39121       ac_ext=cpp
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39126
39127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h.  */
39129 #include <math.h>
39130                       #ifdef HAVE_IEEEFP_H
39131                       #include <ieeefp.h>
39132                       #endif
39133
39134 int
39135 main ()
39136 {
39137  sqrtl(0);
39138   ;
39139   return 0;
39140 }
39141 _ACEOF
39142 if ac_fn_cxx_try_compile "$LINENO"; then :
39143   glibcxx_cv_func_sqrtl_use=yes
39144 else
39145   glibcxx_cv_func_sqrtl_use=no
39146 fi
39147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39148       ac_ext=c
39149 ac_cpp='$CPP $CPPFLAGS'
39150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39153
39154
39155 fi
39156
39157   fi
39158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39159 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39160
39161   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39162     for ac_func in sqrtl
39163 do :
39164   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39165 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39166   cat >>confdefs.h <<_ACEOF
39167 #define HAVE_SQRTL 1
39168 _ACEOF
39169
39170 fi
39171 done
39172
39173   else
39174
39175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39176 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39177   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39178     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39179   $as_echo_n "(cached) " >&6
39180 else
39181
39182
39183       ac_ext=cpp
39184 ac_cpp='$CXXCPP $CPPFLAGS'
39185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39188
39189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39190 /* end confdefs.h.  */
39191 #include <math.h>
39192                       #ifdef HAVE_IEEEFP_H
39193                       #include <ieeefp.h>
39194                       #endif
39195
39196 int
39197 main ()
39198 {
39199  _sqrtl(0);
39200   ;
39201   return 0;
39202 }
39203 _ACEOF
39204 if ac_fn_cxx_try_compile "$LINENO"; then :
39205   glibcxx_cv_func__sqrtl_use=yes
39206 else
39207   glibcxx_cv_func__sqrtl_use=no
39208 fi
39209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39210       ac_ext=c
39211 ac_cpp='$CPP $CPPFLAGS'
39212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39215
39216
39217 fi
39218
39219   fi
39220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39221 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39222
39223     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39224       for ac_func in _sqrtl
39225 do :
39226   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39227 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39228   cat >>confdefs.h <<_ACEOF
39229 #define HAVE__SQRTL 1
39230 _ACEOF
39231
39232 fi
39233 done
39234
39235     fi
39236   fi
39237
39238
39239
39240
39241
39242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39243 $as_echo_n "checking for sincosl declaration... " >&6; }
39244   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39245     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39246   $as_echo_n "(cached) " >&6
39247 else
39248
39249
39250       ac_ext=cpp
39251 ac_cpp='$CXXCPP $CPPFLAGS'
39252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39255
39256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39257 /* end confdefs.h.  */
39258 #include <math.h>
39259 int
39260 main ()
39261 {
39262  sincosl(0, 0, 0);
39263   ;
39264   return 0;
39265 }
39266 _ACEOF
39267 if ac_fn_cxx_try_compile "$LINENO"; then :
39268   glibcxx_cv_func_sincosl_use=yes
39269 else
39270   glibcxx_cv_func_sincosl_use=no
39271 fi
39272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39273       ac_ext=c
39274 ac_cpp='$CPP $CPPFLAGS'
39275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39278
39279
39280 fi
39281
39282   fi
39283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39284 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39285
39286   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39287     for ac_func in sincosl
39288 do :
39289   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39290 if test "x$ac_cv_func_sincosl" = x""yes; then :
39291   cat >>confdefs.h <<_ACEOF
39292 #define HAVE_SINCOSL 1
39293 _ACEOF
39294
39295 fi
39296 done
39297
39298   else
39299
39300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39301 $as_echo_n "checking for _sincosl declaration... " >&6; }
39302   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39303     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39304   $as_echo_n "(cached) " >&6
39305 else
39306
39307
39308       ac_ext=cpp
39309 ac_cpp='$CXXCPP $CPPFLAGS'
39310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39313
39314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39315 /* end confdefs.h.  */
39316 #include <math.h>
39317 int
39318 main ()
39319 {
39320  _sincosl(0, 0, 0);
39321   ;
39322   return 0;
39323 }
39324 _ACEOF
39325 if ac_fn_cxx_try_compile "$LINENO"; then :
39326   glibcxx_cv_func__sincosl_use=yes
39327 else
39328   glibcxx_cv_func__sincosl_use=no
39329 fi
39330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39331       ac_ext=c
39332 ac_cpp='$CPP $CPPFLAGS'
39333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39336
39337
39338 fi
39339
39340   fi
39341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39342 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39343
39344     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39345       for ac_func in _sincosl
39346 do :
39347   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39348 if test "x$ac_cv_func__sincosl" = x""yes; then :
39349   cat >>confdefs.h <<_ACEOF
39350 #define HAVE__SINCOSL 1
39351 _ACEOF
39352
39353 fi
39354 done
39355
39356     fi
39357   fi
39358
39359
39360
39361
39362
39363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39364 $as_echo_n "checking for finitel declaration... " >&6; }
39365   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39366     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39367   $as_echo_n "(cached) " >&6
39368 else
39369
39370
39371       ac_ext=cpp
39372 ac_cpp='$CXXCPP $CPPFLAGS'
39373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39376
39377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39378 /* end confdefs.h.  */
39379 #include <math.h>
39380                       #ifdef HAVE_IEEEFP_H
39381                       #include <ieeefp.h>
39382                       #endif
39383
39384 int
39385 main ()
39386 {
39387  finitel(0);
39388   ;
39389   return 0;
39390 }
39391 _ACEOF
39392 if ac_fn_cxx_try_compile "$LINENO"; then :
39393   glibcxx_cv_func_finitel_use=yes
39394 else
39395   glibcxx_cv_func_finitel_use=no
39396 fi
39397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39398       ac_ext=c
39399 ac_cpp='$CPP $CPPFLAGS'
39400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39403
39404
39405 fi
39406
39407   fi
39408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39409 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39410
39411   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39412     for ac_func in finitel
39413 do :
39414   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39415 if test "x$ac_cv_func_finitel" = x""yes; then :
39416   cat >>confdefs.h <<_ACEOF
39417 #define HAVE_FINITEL 1
39418 _ACEOF
39419
39420 fi
39421 done
39422
39423   else
39424
39425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39426 $as_echo_n "checking for _finitel declaration... " >&6; }
39427   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39428     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39429   $as_echo_n "(cached) " >&6
39430 else
39431
39432
39433       ac_ext=cpp
39434 ac_cpp='$CXXCPP $CPPFLAGS'
39435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39438
39439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39440 /* end confdefs.h.  */
39441 #include <math.h>
39442                       #ifdef HAVE_IEEEFP_H
39443                       #include <ieeefp.h>
39444                       #endif
39445
39446 int
39447 main ()
39448 {
39449  _finitel(0);
39450   ;
39451   return 0;
39452 }
39453 _ACEOF
39454 if ac_fn_cxx_try_compile "$LINENO"; then :
39455   glibcxx_cv_func__finitel_use=yes
39456 else
39457   glibcxx_cv_func__finitel_use=no
39458 fi
39459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39460       ac_ext=c
39461 ac_cpp='$CPP $CPPFLAGS'
39462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39465
39466
39467 fi
39468
39469   fi
39470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39471 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39472
39473     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39474       for ac_func in _finitel
39475 do :
39476   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39477 if test "x$ac_cv_func__finitel" = x""yes; then :
39478   cat >>confdefs.h <<_ACEOF
39479 #define HAVE__FINITEL 1
39480 _ACEOF
39481
39482 fi
39483 done
39484
39485     fi
39486   fi
39487
39488
39489
39490
39491   LIBS="$ac_save_LIBS"
39492   CXXFLAGS="$ac_save_CXXFLAGS"
39493
39494
39495   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39496   ac_save_CXXFLAGS="$CXXFLAGS"
39497   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39498
39499
39500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39501 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39502   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39503     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39504   $as_echo_n "(cached) " >&6
39505 else
39506
39507
39508       ac_ext=cpp
39509 ac_cpp='$CXXCPP $CPPFLAGS'
39510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39513
39514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39515 /* end confdefs.h.  */
39516 #include <stdlib.h>
39517 int
39518 main ()
39519 {
39520  at_quick_exit(0);
39521   ;
39522   return 0;
39523 }
39524 _ACEOF
39525 if ac_fn_cxx_try_compile "$LINENO"; then :
39526   glibcxx_cv_func_at_quick_exit_use=yes
39527 else
39528   glibcxx_cv_func_at_quick_exit_use=no
39529 fi
39530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39531       ac_ext=c
39532 ac_cpp='$CPP $CPPFLAGS'
39533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39536
39537
39538 fi
39539
39540   fi
39541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39542 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39543   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39544     for ac_func in at_quick_exit
39545 do :
39546   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39547 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39548   cat >>confdefs.h <<_ACEOF
39549 #define HAVE_AT_QUICK_EXIT 1
39550 _ACEOF
39551
39552 fi
39553 done
39554
39555   fi
39556
39557
39558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39559 $as_echo_n "checking for quick_exit declaration... " >&6; }
39560   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39561     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39562   $as_echo_n "(cached) " >&6
39563 else
39564
39565
39566       ac_ext=cpp
39567 ac_cpp='$CXXCPP $CPPFLAGS'
39568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39571
39572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39573 /* end confdefs.h.  */
39574 #include <stdlib.h>
39575 int
39576 main ()
39577 {
39578  quick_exit(0);
39579   ;
39580   return 0;
39581 }
39582 _ACEOF
39583 if ac_fn_cxx_try_compile "$LINENO"; then :
39584   glibcxx_cv_func_quick_exit_use=yes
39585 else
39586   glibcxx_cv_func_quick_exit_use=no
39587 fi
39588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39589       ac_ext=c
39590 ac_cpp='$CPP $CPPFLAGS'
39591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39594
39595
39596 fi
39597
39598   fi
39599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39600 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39601   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39602     for ac_func in quick_exit
39603 do :
39604   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39605 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39606   cat >>confdefs.h <<_ACEOF
39607 #define HAVE_QUICK_EXIT 1
39608 _ACEOF
39609
39610 fi
39611 done
39612
39613   fi
39614
39615
39616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39617 $as_echo_n "checking for strtold declaration... " >&6; }
39618   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39619     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39620   $as_echo_n "(cached) " >&6
39621 else
39622
39623
39624       ac_ext=cpp
39625 ac_cpp='$CXXCPP $CPPFLAGS'
39626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39629
39630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39631 /* end confdefs.h.  */
39632 #include <stdlib.h>
39633 int
39634 main ()
39635 {
39636  strtold(0, 0);
39637   ;
39638   return 0;
39639 }
39640 _ACEOF
39641 if ac_fn_cxx_try_compile "$LINENO"; then :
39642   glibcxx_cv_func_strtold_use=yes
39643 else
39644   glibcxx_cv_func_strtold_use=no
39645 fi
39646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39647       ac_ext=c
39648 ac_cpp='$CPP $CPPFLAGS'
39649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39652
39653
39654 fi
39655
39656   fi
39657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39658 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39659   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39660     for ac_func in strtold
39661 do :
39662   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39663 if test "x$ac_cv_func_strtold" = x""yes; then :
39664   cat >>confdefs.h <<_ACEOF
39665 #define HAVE_STRTOLD 1
39666 _ACEOF
39667
39668 fi
39669 done
39670
39671   fi
39672
39673
39674
39675
39676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39677 $as_echo_n "checking for strtof declaration... " >&6; }
39678   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39679     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39680   $as_echo_n "(cached) " >&6
39681 else
39682
39683
39684       ac_ext=cpp
39685 ac_cpp='$CXXCPP $CPPFLAGS'
39686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39689
39690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39691 /* end confdefs.h.  */
39692 #include <stdlib.h>
39693 int
39694 main ()
39695 {
39696  strtof(0, 0);
39697   ;
39698   return 0;
39699 }
39700 _ACEOF
39701 if ac_fn_cxx_try_compile "$LINENO"; then :
39702   glibcxx_cv_func_strtof_use=yes
39703 else
39704   glibcxx_cv_func_strtof_use=no
39705 fi
39706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39707       ac_ext=c
39708 ac_cpp='$CPP $CPPFLAGS'
39709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39712
39713
39714 fi
39715
39716   fi
39717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39718 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39719   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39720     for ac_func in strtof
39721 do :
39722   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39723 if test "x$ac_cv_func_strtof" = x""yes; then :
39724   cat >>confdefs.h <<_ACEOF
39725 #define HAVE_STRTOF 1
39726 _ACEOF
39727
39728 fi
39729 done
39730
39731   fi
39732
39733
39734
39735
39736   CXXFLAGS="$ac_save_CXXFLAGS"
39737
39738     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39739
39740     # We don't yet support AIX's TLS ABI.
39741     #GCC_CHECK_TLS
39742
39743
39744
39745
39746
39747           am_save_CPPFLAGS="$CPPFLAGS"
39748
39749   for element in $INCICONV; do
39750     haveit=
39751     for x in $CPPFLAGS; do
39752
39753   acl_save_prefix="$prefix"
39754   prefix="$acl_final_prefix"
39755   acl_save_exec_prefix="$exec_prefix"
39756   exec_prefix="$acl_final_exec_prefix"
39757   eval x=\"$x\"
39758   exec_prefix="$acl_save_exec_prefix"
39759   prefix="$acl_save_prefix"
39760
39761       if test "X$x" = "X$element"; then
39762         haveit=yes
39763         break
39764       fi
39765     done
39766     if test -z "$haveit"; then
39767       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39768     fi
39769   done
39770
39771
39772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39773 $as_echo_n "checking for iconv... " >&6; }
39774 if test "${am_cv_func_iconv+set}" = set; then :
39775   $as_echo_n "(cached) " >&6
39776 else
39777
39778     am_cv_func_iconv="no, consider installing GNU libiconv"
39779     am_cv_lib_iconv=no
39780     if test x$gcc_no_link = xyes; then
39781   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39782 fi
39783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39784 /* end confdefs.h.  */
39785 #include <stdlib.h>
39786 #include <iconv.h>
39787 int
39788 main ()
39789 {
39790 iconv_t cd = iconv_open("","");
39791        iconv(cd,NULL,NULL,NULL,NULL);
39792        iconv_close(cd);
39793   ;
39794   return 0;
39795 }
39796 _ACEOF
39797 if ac_fn_c_try_link "$LINENO"; then :
39798   am_cv_func_iconv=yes
39799 fi
39800 rm -f core conftest.err conftest.$ac_objext \
39801     conftest$ac_exeext conftest.$ac_ext
39802     if test "$am_cv_func_iconv" != yes; then
39803       am_save_LIBS="$LIBS"
39804       LIBS="$LIBS $LIBICONV"
39805       if test x$gcc_no_link = xyes; then
39806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39807 fi
39808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39809 /* end confdefs.h.  */
39810 #include <stdlib.h>
39811 #include <iconv.h>
39812 int
39813 main ()
39814 {
39815 iconv_t cd = iconv_open("","");
39816          iconv(cd,NULL,NULL,NULL,NULL);
39817          iconv_close(cd);
39818   ;
39819   return 0;
39820 }
39821 _ACEOF
39822 if ac_fn_c_try_link "$LINENO"; then :
39823   am_cv_lib_iconv=yes
39824         am_cv_func_iconv=yes
39825 fi
39826 rm -f core conftest.err conftest.$ac_objext \
39827     conftest$ac_exeext conftest.$ac_ext
39828       LIBS="$am_save_LIBS"
39829     fi
39830
39831 fi
39832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39833 $as_echo "$am_cv_func_iconv" >&6; }
39834   if test "$am_cv_func_iconv" = yes; then
39835
39836 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39837
39838   fi
39839   if test "$am_cv_lib_iconv" = yes; then
39840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39841 $as_echo_n "checking how to link with libiconv... " >&6; }
39842     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39843 $as_echo "$LIBICONV" >&6; }
39844   else
39845             CPPFLAGS="$am_save_CPPFLAGS"
39846     LIBICONV=
39847     LTLIBICONV=
39848   fi
39849
39850
39851
39852   if test "$am_cv_func_iconv" = yes; then
39853     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39854 $as_echo_n "checking for iconv declaration... " >&6; }
39855     if test "${am_cv_proto_iconv+set}" = set; then :
39856   $as_echo_n "(cached) " >&6
39857 else
39858
39859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39860 /* end confdefs.h.  */
39861
39862 #include <stdlib.h>
39863 #include <iconv.h>
39864 extern
39865 #ifdef __cplusplus
39866 "C"
39867 #endif
39868 #if defined(__STDC__) || defined(__cplusplus)
39869 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39870 #else
39871 size_t iconv();
39872 #endif
39873
39874 int
39875 main ()
39876 {
39877
39878   ;
39879   return 0;
39880 }
39881 _ACEOF
39882 if ac_fn_c_try_compile "$LINENO"; then :
39883   am_cv_proto_iconv_arg1=""
39884 else
39885   am_cv_proto_iconv_arg1="const"
39886 fi
39887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39888       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);"
39889 fi
39890
39891     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39893          }$am_cv_proto_iconv" >&5
39894 $as_echo "${ac_t:-
39895          }$am_cv_proto_iconv" >&6; }
39896
39897 cat >>confdefs.h <<_ACEOF
39898 #define ICONV_CONST $am_cv_proto_iconv_arg1
39899 _ACEOF
39900
39901   fi
39902
39903     ;;
39904
39905   *-darwin*)
39906     # Darwin versions vary, but the linker should work in a cross environment,
39907     # so we just check for all the features here.
39908     # Check for available headers.
39909
39910     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39911
39912   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39913   ac_save_CXXFLAGS="$CXXFLAGS"
39914   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39915
39916     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39917 $as_echo_n "checking for sin in -lm... " >&6; }
39918 if test "${ac_cv_lib_m_sin+set}" = set; then :
39919   $as_echo_n "(cached) " >&6
39920 else
39921   ac_check_lib_save_LIBS=$LIBS
39922 LIBS="-lm  $LIBS"
39923 if test x$gcc_no_link = xyes; then
39924   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39925 fi
39926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39927 /* end confdefs.h.  */
39928
39929 /* Override any GCC internal prototype to avoid an error.
39930    Use char because int might match the return type of a GCC
39931    builtin and then its argument prototype would still apply.  */
39932 #ifdef __cplusplus
39933 extern "C"
39934 #endif
39935 char sin ();
39936 int
39937 main ()
39938 {
39939 return sin ();
39940   ;
39941   return 0;
39942 }
39943 _ACEOF
39944 if ac_fn_c_try_link "$LINENO"; then :
39945   ac_cv_lib_m_sin=yes
39946 else
39947   ac_cv_lib_m_sin=no
39948 fi
39949 rm -f core conftest.err conftest.$ac_objext \
39950     conftest$ac_exeext conftest.$ac_ext
39951 LIBS=$ac_check_lib_save_LIBS
39952 fi
39953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39954 $as_echo "$ac_cv_lib_m_sin" >&6; }
39955 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39956   libm="-lm"
39957 fi
39958
39959   ac_save_LIBS="$LIBS"
39960   LIBS="$LIBS $libm"
39961
39962
39963
39964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39965 $as_echo_n "checking for isinf declaration... " >&6; }
39966   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39967     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39968   $as_echo_n "(cached) " >&6
39969 else
39970
39971
39972       ac_ext=cpp
39973 ac_cpp='$CXXCPP $CPPFLAGS'
39974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39977
39978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39979 /* end confdefs.h.  */
39980 #include <math.h>
39981                       #ifdef HAVE_IEEEFP_H
39982                       #include <ieeefp.h>
39983                       #endif
39984
39985 int
39986 main ()
39987 {
39988  isinf(0);
39989   ;
39990   return 0;
39991 }
39992 _ACEOF
39993 if ac_fn_cxx_try_compile "$LINENO"; then :
39994   glibcxx_cv_func_isinf_use=yes
39995 else
39996   glibcxx_cv_func_isinf_use=no
39997 fi
39998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39999       ac_ext=c
40000 ac_cpp='$CPP $CPPFLAGS'
40001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40004
40005
40006 fi
40007
40008   fi
40009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40010 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40011
40012   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40013     for ac_func in isinf
40014 do :
40015   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40016 if test "x$ac_cv_func_isinf" = x""yes; then :
40017   cat >>confdefs.h <<_ACEOF
40018 #define HAVE_ISINF 1
40019 _ACEOF
40020
40021 fi
40022 done
40023
40024   else
40025
40026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40027 $as_echo_n "checking for _isinf declaration... " >&6; }
40028   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40029     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40030   $as_echo_n "(cached) " >&6
40031 else
40032
40033
40034       ac_ext=cpp
40035 ac_cpp='$CXXCPP $CPPFLAGS'
40036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40039
40040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40041 /* end confdefs.h.  */
40042 #include <math.h>
40043                       #ifdef HAVE_IEEEFP_H
40044                       #include <ieeefp.h>
40045                       #endif
40046
40047 int
40048 main ()
40049 {
40050  _isinf(0);
40051   ;
40052   return 0;
40053 }
40054 _ACEOF
40055 if ac_fn_cxx_try_compile "$LINENO"; then :
40056   glibcxx_cv_func__isinf_use=yes
40057 else
40058   glibcxx_cv_func__isinf_use=no
40059 fi
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061       ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066
40067
40068 fi
40069
40070   fi
40071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40072 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40073
40074     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40075       for ac_func in _isinf
40076 do :
40077   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40078 if test "x$ac_cv_func__isinf" = x""yes; then :
40079   cat >>confdefs.h <<_ACEOF
40080 #define HAVE__ISINF 1
40081 _ACEOF
40082
40083 fi
40084 done
40085
40086     fi
40087   fi
40088
40089
40090
40091
40092
40093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40094 $as_echo_n "checking for isnan declaration... " >&6; }
40095   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40096     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40097   $as_echo_n "(cached) " >&6
40098 else
40099
40100
40101       ac_ext=cpp
40102 ac_cpp='$CXXCPP $CPPFLAGS'
40103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40106
40107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40108 /* end confdefs.h.  */
40109 #include <math.h>
40110                       #ifdef HAVE_IEEEFP_H
40111                       #include <ieeefp.h>
40112                       #endif
40113
40114 int
40115 main ()
40116 {
40117  isnan(0);
40118   ;
40119   return 0;
40120 }
40121 _ACEOF
40122 if ac_fn_cxx_try_compile "$LINENO"; then :
40123   glibcxx_cv_func_isnan_use=yes
40124 else
40125   glibcxx_cv_func_isnan_use=no
40126 fi
40127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40128       ac_ext=c
40129 ac_cpp='$CPP $CPPFLAGS'
40130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40133
40134
40135 fi
40136
40137   fi
40138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40139 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40140
40141   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40142     for ac_func in isnan
40143 do :
40144   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40145 if test "x$ac_cv_func_isnan" = x""yes; then :
40146   cat >>confdefs.h <<_ACEOF
40147 #define HAVE_ISNAN 1
40148 _ACEOF
40149
40150 fi
40151 done
40152
40153   else
40154
40155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40156 $as_echo_n "checking for _isnan declaration... " >&6; }
40157   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40158     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40159   $as_echo_n "(cached) " >&6
40160 else
40161
40162
40163       ac_ext=cpp
40164 ac_cpp='$CXXCPP $CPPFLAGS'
40165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40168
40169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40170 /* end confdefs.h.  */
40171 #include <math.h>
40172                       #ifdef HAVE_IEEEFP_H
40173                       #include <ieeefp.h>
40174                       #endif
40175
40176 int
40177 main ()
40178 {
40179  _isnan(0);
40180   ;
40181   return 0;
40182 }
40183 _ACEOF
40184 if ac_fn_cxx_try_compile "$LINENO"; then :
40185   glibcxx_cv_func__isnan_use=yes
40186 else
40187   glibcxx_cv_func__isnan_use=no
40188 fi
40189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40190       ac_ext=c
40191 ac_cpp='$CPP $CPPFLAGS'
40192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40195
40196
40197 fi
40198
40199   fi
40200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40201 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40202
40203     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40204       for ac_func in _isnan
40205 do :
40206   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40207 if test "x$ac_cv_func__isnan" = x""yes; then :
40208   cat >>confdefs.h <<_ACEOF
40209 #define HAVE__ISNAN 1
40210 _ACEOF
40211
40212 fi
40213 done
40214
40215     fi
40216   fi
40217
40218
40219
40220
40221
40222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40223 $as_echo_n "checking for finite declaration... " >&6; }
40224   if test x${glibcxx_cv_func_finite_use+set} != xset; then
40225     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40226   $as_echo_n "(cached) " >&6
40227 else
40228
40229
40230       ac_ext=cpp
40231 ac_cpp='$CXXCPP $CPPFLAGS'
40232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40235
40236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40237 /* end confdefs.h.  */
40238 #include <math.h>
40239                       #ifdef HAVE_IEEEFP_H
40240                       #include <ieeefp.h>
40241                       #endif
40242
40243 int
40244 main ()
40245 {
40246  finite(0);
40247   ;
40248   return 0;
40249 }
40250 _ACEOF
40251 if ac_fn_cxx_try_compile "$LINENO"; then :
40252   glibcxx_cv_func_finite_use=yes
40253 else
40254   glibcxx_cv_func_finite_use=no
40255 fi
40256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40257       ac_ext=c
40258 ac_cpp='$CPP $CPPFLAGS'
40259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40262
40263
40264 fi
40265
40266   fi
40267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40268 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40269
40270   if test x$glibcxx_cv_func_finite_use = x"yes"; then
40271     for ac_func in finite
40272 do :
40273   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40274 if test "x$ac_cv_func_finite" = x""yes; then :
40275   cat >>confdefs.h <<_ACEOF
40276 #define HAVE_FINITE 1
40277 _ACEOF
40278
40279 fi
40280 done
40281
40282   else
40283
40284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40285 $as_echo_n "checking for _finite declaration... " >&6; }
40286   if test x${glibcxx_cv_func__finite_use+set} != xset; then
40287     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40288   $as_echo_n "(cached) " >&6
40289 else
40290
40291
40292       ac_ext=cpp
40293 ac_cpp='$CXXCPP $CPPFLAGS'
40294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40297
40298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40299 /* end confdefs.h.  */
40300 #include <math.h>
40301                       #ifdef HAVE_IEEEFP_H
40302                       #include <ieeefp.h>
40303                       #endif
40304
40305 int
40306 main ()
40307 {
40308  _finite(0);
40309   ;
40310   return 0;
40311 }
40312 _ACEOF
40313 if ac_fn_cxx_try_compile "$LINENO"; then :
40314   glibcxx_cv_func__finite_use=yes
40315 else
40316   glibcxx_cv_func__finite_use=no
40317 fi
40318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40319       ac_ext=c
40320 ac_cpp='$CPP $CPPFLAGS'
40321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40324
40325
40326 fi
40327
40328   fi
40329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40330 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40331
40332     if test x$glibcxx_cv_func__finite_use = x"yes"; then
40333       for ac_func in _finite
40334 do :
40335   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40336 if test "x$ac_cv_func__finite" = x""yes; then :
40337   cat >>confdefs.h <<_ACEOF
40338 #define HAVE__FINITE 1
40339 _ACEOF
40340
40341 fi
40342 done
40343
40344     fi
40345   fi
40346
40347
40348
40349
40350
40351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40352 $as_echo_n "checking for sincos declaration... " >&6; }
40353   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40354     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40355   $as_echo_n "(cached) " >&6
40356 else
40357
40358
40359       ac_ext=cpp
40360 ac_cpp='$CXXCPP $CPPFLAGS'
40361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40364
40365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40366 /* end confdefs.h.  */
40367 #include <math.h>
40368 int
40369 main ()
40370 {
40371  sincos(0, 0, 0);
40372   ;
40373   return 0;
40374 }
40375 _ACEOF
40376 if ac_fn_cxx_try_compile "$LINENO"; then :
40377   glibcxx_cv_func_sincos_use=yes
40378 else
40379   glibcxx_cv_func_sincos_use=no
40380 fi
40381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40382       ac_ext=c
40383 ac_cpp='$CPP $CPPFLAGS'
40384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40387
40388
40389 fi
40390
40391   fi
40392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40393 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40394
40395   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40396     for ac_func in sincos
40397 do :
40398   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40399 if test "x$ac_cv_func_sincos" = x""yes; then :
40400   cat >>confdefs.h <<_ACEOF
40401 #define HAVE_SINCOS 1
40402 _ACEOF
40403
40404 fi
40405 done
40406
40407   else
40408
40409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40410 $as_echo_n "checking for _sincos declaration... " >&6; }
40411   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40412     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40413   $as_echo_n "(cached) " >&6
40414 else
40415
40416
40417       ac_ext=cpp
40418 ac_cpp='$CXXCPP $CPPFLAGS'
40419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40422
40423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40424 /* end confdefs.h.  */
40425 #include <math.h>
40426 int
40427 main ()
40428 {
40429  _sincos(0, 0, 0);
40430   ;
40431   return 0;
40432 }
40433 _ACEOF
40434 if ac_fn_cxx_try_compile "$LINENO"; then :
40435   glibcxx_cv_func__sincos_use=yes
40436 else
40437   glibcxx_cv_func__sincos_use=no
40438 fi
40439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40440       ac_ext=c
40441 ac_cpp='$CPP $CPPFLAGS'
40442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40445
40446
40447 fi
40448
40449   fi
40450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40451 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40452
40453     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40454       for ac_func in _sincos
40455 do :
40456   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40457 if test "x$ac_cv_func__sincos" = x""yes; then :
40458   cat >>confdefs.h <<_ACEOF
40459 #define HAVE__SINCOS 1
40460 _ACEOF
40461
40462 fi
40463 done
40464
40465     fi
40466   fi
40467
40468
40469
40470
40471
40472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40473 $as_echo_n "checking for fpclass declaration... " >&6; }
40474   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40475     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40476   $as_echo_n "(cached) " >&6
40477 else
40478
40479
40480       ac_ext=cpp
40481 ac_cpp='$CXXCPP $CPPFLAGS'
40482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40485
40486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40487 /* end confdefs.h.  */
40488 #include <math.h>
40489                       #ifdef HAVE_IEEEFP_H
40490                       #include <ieeefp.h>
40491                       #endif
40492
40493 int
40494 main ()
40495 {
40496  fpclass(0);
40497   ;
40498   return 0;
40499 }
40500 _ACEOF
40501 if ac_fn_cxx_try_compile "$LINENO"; then :
40502   glibcxx_cv_func_fpclass_use=yes
40503 else
40504   glibcxx_cv_func_fpclass_use=no
40505 fi
40506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40507       ac_ext=c
40508 ac_cpp='$CPP $CPPFLAGS'
40509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40512
40513
40514 fi
40515
40516   fi
40517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40518 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40519
40520   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40521     for ac_func in fpclass
40522 do :
40523   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40524 if test "x$ac_cv_func_fpclass" = x""yes; then :
40525   cat >>confdefs.h <<_ACEOF
40526 #define HAVE_FPCLASS 1
40527 _ACEOF
40528
40529 fi
40530 done
40531
40532   else
40533
40534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40535 $as_echo_n "checking for _fpclass declaration... " >&6; }
40536   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40537     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40538   $as_echo_n "(cached) " >&6
40539 else
40540
40541
40542       ac_ext=cpp
40543 ac_cpp='$CXXCPP $CPPFLAGS'
40544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40547
40548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40549 /* end confdefs.h.  */
40550 #include <math.h>
40551                       #ifdef HAVE_IEEEFP_H
40552                       #include <ieeefp.h>
40553                       #endif
40554
40555 int
40556 main ()
40557 {
40558  _fpclass(0);
40559   ;
40560   return 0;
40561 }
40562 _ACEOF
40563 if ac_fn_cxx_try_compile "$LINENO"; then :
40564   glibcxx_cv_func__fpclass_use=yes
40565 else
40566   glibcxx_cv_func__fpclass_use=no
40567 fi
40568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40569       ac_ext=c
40570 ac_cpp='$CPP $CPPFLAGS'
40571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40574
40575
40576 fi
40577
40578   fi
40579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40580 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40581
40582     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40583       for ac_func in _fpclass
40584 do :
40585   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40586 if test "x$ac_cv_func__fpclass" = x""yes; then :
40587   cat >>confdefs.h <<_ACEOF
40588 #define HAVE__FPCLASS 1
40589 _ACEOF
40590
40591 fi
40592 done
40593
40594     fi
40595   fi
40596
40597
40598
40599
40600
40601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40602 $as_echo_n "checking for qfpclass declaration... " >&6; }
40603   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40604     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40605   $as_echo_n "(cached) " >&6
40606 else
40607
40608
40609       ac_ext=cpp
40610 ac_cpp='$CXXCPP $CPPFLAGS'
40611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40614
40615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40616 /* end confdefs.h.  */
40617 #include <math.h>
40618                       #ifdef HAVE_IEEEFP_H
40619                       #include <ieeefp.h>
40620                       #endif
40621
40622 int
40623 main ()
40624 {
40625  qfpclass(0);
40626   ;
40627   return 0;
40628 }
40629 _ACEOF
40630 if ac_fn_cxx_try_compile "$LINENO"; then :
40631   glibcxx_cv_func_qfpclass_use=yes
40632 else
40633   glibcxx_cv_func_qfpclass_use=no
40634 fi
40635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40636       ac_ext=c
40637 ac_cpp='$CPP $CPPFLAGS'
40638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40641
40642
40643 fi
40644
40645   fi
40646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40647 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40648
40649   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40650     for ac_func in qfpclass
40651 do :
40652   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40653 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40654   cat >>confdefs.h <<_ACEOF
40655 #define HAVE_QFPCLASS 1
40656 _ACEOF
40657
40658 fi
40659 done
40660
40661   else
40662
40663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40664 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40665   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40666     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40667   $as_echo_n "(cached) " >&6
40668 else
40669
40670
40671       ac_ext=cpp
40672 ac_cpp='$CXXCPP $CPPFLAGS'
40673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40676
40677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40678 /* end confdefs.h.  */
40679 #include <math.h>
40680                       #ifdef HAVE_IEEEFP_H
40681                       #include <ieeefp.h>
40682                       #endif
40683
40684 int
40685 main ()
40686 {
40687  _qfpclass(0);
40688   ;
40689   return 0;
40690 }
40691 _ACEOF
40692 if ac_fn_cxx_try_compile "$LINENO"; then :
40693   glibcxx_cv_func__qfpclass_use=yes
40694 else
40695   glibcxx_cv_func__qfpclass_use=no
40696 fi
40697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40698       ac_ext=c
40699 ac_cpp='$CPP $CPPFLAGS'
40700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40703
40704
40705 fi
40706
40707   fi
40708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40709 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40710
40711     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40712       for ac_func in _qfpclass
40713 do :
40714   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40715 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40716   cat >>confdefs.h <<_ACEOF
40717 #define HAVE__QFPCLASS 1
40718 _ACEOF
40719
40720 fi
40721 done
40722
40723     fi
40724   fi
40725
40726
40727
40728
40729
40730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40731 $as_echo_n "checking for hypot declaration... " >&6; }
40732   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40733     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40734   $as_echo_n "(cached) " >&6
40735 else
40736
40737
40738       ac_ext=cpp
40739 ac_cpp='$CXXCPP $CPPFLAGS'
40740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40743
40744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40745 /* end confdefs.h.  */
40746 #include <math.h>
40747 int
40748 main ()
40749 {
40750  hypot(0, 0);
40751   ;
40752   return 0;
40753 }
40754 _ACEOF
40755 if ac_fn_cxx_try_compile "$LINENO"; then :
40756   glibcxx_cv_func_hypot_use=yes
40757 else
40758   glibcxx_cv_func_hypot_use=no
40759 fi
40760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40761       ac_ext=c
40762 ac_cpp='$CPP $CPPFLAGS'
40763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40766
40767
40768 fi
40769
40770   fi
40771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40772 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40773
40774   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40775     for ac_func in hypot
40776 do :
40777   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40778 if test "x$ac_cv_func_hypot" = x""yes; then :
40779   cat >>confdefs.h <<_ACEOF
40780 #define HAVE_HYPOT 1
40781 _ACEOF
40782
40783 fi
40784 done
40785
40786   else
40787
40788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40789 $as_echo_n "checking for _hypot declaration... " >&6; }
40790   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40791     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40792   $as_echo_n "(cached) " >&6
40793 else
40794
40795
40796       ac_ext=cpp
40797 ac_cpp='$CXXCPP $CPPFLAGS'
40798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40801
40802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40803 /* end confdefs.h.  */
40804 #include <math.h>
40805 int
40806 main ()
40807 {
40808  _hypot(0, 0);
40809   ;
40810   return 0;
40811 }
40812 _ACEOF
40813 if ac_fn_cxx_try_compile "$LINENO"; then :
40814   glibcxx_cv_func__hypot_use=yes
40815 else
40816   glibcxx_cv_func__hypot_use=no
40817 fi
40818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40819       ac_ext=c
40820 ac_cpp='$CPP $CPPFLAGS'
40821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40824
40825
40826 fi
40827
40828   fi
40829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40830 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40831
40832     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40833       for ac_func in _hypot
40834 do :
40835   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40836 if test "x$ac_cv_func__hypot" = x""yes; then :
40837   cat >>confdefs.h <<_ACEOF
40838 #define HAVE__HYPOT 1
40839 _ACEOF
40840
40841 fi
40842 done
40843
40844     fi
40845   fi
40846
40847
40848
40849
40850
40851     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40852 $as_echo_n "checking for float trig functions... " >&6; }
40853   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40854   $as_echo_n "(cached) " >&6
40855 else
40856
40857
40858     ac_ext=cpp
40859 ac_cpp='$CXXCPP $CPPFLAGS'
40860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40863
40864     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40865 /* end confdefs.h.  */
40866 #include <math.h>
40867 int
40868 main ()
40869 {
40870 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40871   ;
40872   return 0;
40873 }
40874 _ACEOF
40875 if ac_fn_cxx_try_compile "$LINENO"; then :
40876   glibcxx_cv_func_float_trig_use=yes
40877 else
40878   glibcxx_cv_func_float_trig_use=no
40879 fi
40880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40881     ac_ext=c
40882 ac_cpp='$CPP $CPPFLAGS'
40883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40886
40887 fi
40888
40889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40890 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40891   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40892     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40893 do :
40894   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40896 eval as_val=\$$as_ac_var
40897    if test "x$as_val" = x""yes; then :
40898   cat >>confdefs.h <<_ACEOF
40899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40900 _ACEOF
40901
40902 fi
40903 done
40904
40905   else
40906     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40907 $as_echo_n "checking for _float trig functions... " >&6; }
40908     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40909   $as_echo_n "(cached) " >&6
40910 else
40911
40912
40913       ac_ext=cpp
40914 ac_cpp='$CXXCPP $CPPFLAGS'
40915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40918
40919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40920 /* end confdefs.h.  */
40921 #include <math.h>
40922 int
40923 main ()
40924 {
40925 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40926   ;
40927   return 0;
40928 }
40929 _ACEOF
40930 if ac_fn_cxx_try_compile "$LINENO"; then :
40931   glibcxx_cv_func__float_trig_use=yes
40932 else
40933   glibcxx_cv_func__float_trig_use=no
40934 fi
40935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40936       ac_ext=c
40937 ac_cpp='$CPP $CPPFLAGS'
40938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40941
40942 fi
40943
40944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40945 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40946     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40947       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40948 do :
40949   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40951 eval as_val=\$$as_ac_var
40952    if test "x$as_val" = x""yes; then :
40953   cat >>confdefs.h <<_ACEOF
40954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40955 _ACEOF
40956
40957 fi
40958 done
40959
40960     fi
40961   fi
40962
40963
40964
40965
40966
40967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40968 $as_echo_n "checking for float round functions... " >&6; }
40969   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40970   $as_echo_n "(cached) " >&6
40971 else
40972
40973
40974     ac_ext=cpp
40975 ac_cpp='$CXXCPP $CPPFLAGS'
40976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40979
40980     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40981 /* end confdefs.h.  */
40982 #include <math.h>
40983 int
40984 main ()
40985 {
40986 ceilf (0); floorf (0);
40987   ;
40988   return 0;
40989 }
40990 _ACEOF
40991 if ac_fn_cxx_try_compile "$LINENO"; then :
40992   glibcxx_cv_func_float_round_use=yes
40993 else
40994   glibcxx_cv_func_float_round_use=no
40995 fi
40996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40997     ac_ext=c
40998 ac_cpp='$CPP $CPPFLAGS'
40999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41002
41003 fi
41004
41005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41006 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41007   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41008     for ac_func in ceilf floorf
41009 do :
41010   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41012 eval as_val=\$$as_ac_var
41013    if test "x$as_val" = x""yes; then :
41014   cat >>confdefs.h <<_ACEOF
41015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41016 _ACEOF
41017
41018 fi
41019 done
41020
41021   else
41022     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41023 $as_echo_n "checking for _float round functions... " >&6; }
41024     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41025   $as_echo_n "(cached) " >&6
41026 else
41027
41028
41029       ac_ext=cpp
41030 ac_cpp='$CXXCPP $CPPFLAGS'
41031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41034
41035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41036 /* end confdefs.h.  */
41037 #include <math.h>
41038 int
41039 main ()
41040 {
41041 _ceilf (0); _floorf (0);
41042   ;
41043   return 0;
41044 }
41045 _ACEOF
41046 if ac_fn_cxx_try_compile "$LINENO"; then :
41047   glibcxx_cv_func__float_round_use=yes
41048 else
41049   glibcxx_cv_func__float_round_use=no
41050 fi
41051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41052       ac_ext=c
41053 ac_cpp='$CPP $CPPFLAGS'
41054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41057
41058 fi
41059
41060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41061 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41062     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41063       for ac_func in _ceilf _floorf
41064 do :
41065   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41067 eval as_val=\$$as_ac_var
41068    if test "x$as_val" = x""yes; then :
41069   cat >>confdefs.h <<_ACEOF
41070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41071 _ACEOF
41072
41073 fi
41074 done
41075
41076     fi
41077   fi
41078
41079
41080
41081
41082
41083
41084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41085 $as_echo_n "checking for expf declaration... " >&6; }
41086   if test x${glibcxx_cv_func_expf_use+set} != xset; then
41087     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41088   $as_echo_n "(cached) " >&6
41089 else
41090
41091
41092       ac_ext=cpp
41093 ac_cpp='$CXXCPP $CPPFLAGS'
41094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41097
41098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41099 /* end confdefs.h.  */
41100 #include <math.h>
41101                       #ifdef HAVE_IEEEFP_H
41102                       #include <ieeefp.h>
41103                       #endif
41104
41105 int
41106 main ()
41107 {
41108  expf(0);
41109   ;
41110   return 0;
41111 }
41112 _ACEOF
41113 if ac_fn_cxx_try_compile "$LINENO"; then :
41114   glibcxx_cv_func_expf_use=yes
41115 else
41116   glibcxx_cv_func_expf_use=no
41117 fi
41118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41119       ac_ext=c
41120 ac_cpp='$CPP $CPPFLAGS'
41121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41124
41125
41126 fi
41127
41128   fi
41129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41130 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41131
41132   if test x$glibcxx_cv_func_expf_use = x"yes"; then
41133     for ac_func in expf
41134 do :
41135   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41136 if test "x$ac_cv_func_expf" = x""yes; then :
41137   cat >>confdefs.h <<_ACEOF
41138 #define HAVE_EXPF 1
41139 _ACEOF
41140
41141 fi
41142 done
41143
41144   else
41145
41146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41147 $as_echo_n "checking for _expf declaration... " >&6; }
41148   if test x${glibcxx_cv_func__expf_use+set} != xset; then
41149     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41150   $as_echo_n "(cached) " >&6
41151 else
41152
41153
41154       ac_ext=cpp
41155 ac_cpp='$CXXCPP $CPPFLAGS'
41156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41159
41160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41161 /* end confdefs.h.  */
41162 #include <math.h>
41163                       #ifdef HAVE_IEEEFP_H
41164                       #include <ieeefp.h>
41165                       #endif
41166
41167 int
41168 main ()
41169 {
41170  _expf(0);
41171   ;
41172   return 0;
41173 }
41174 _ACEOF
41175 if ac_fn_cxx_try_compile "$LINENO"; then :
41176   glibcxx_cv_func__expf_use=yes
41177 else
41178   glibcxx_cv_func__expf_use=no
41179 fi
41180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41181       ac_ext=c
41182 ac_cpp='$CPP $CPPFLAGS'
41183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41186
41187
41188 fi
41189
41190   fi
41191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41192 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41193
41194     if test x$glibcxx_cv_func__expf_use = x"yes"; then
41195       for ac_func in _expf
41196 do :
41197   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41198 if test "x$ac_cv_func__expf" = x""yes; then :
41199   cat >>confdefs.h <<_ACEOF
41200 #define HAVE__EXPF 1
41201 _ACEOF
41202
41203 fi
41204 done
41205
41206     fi
41207   fi
41208
41209
41210
41211
41212
41213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41214 $as_echo_n "checking for isnanf declaration... " >&6; }
41215   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41216     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41217   $as_echo_n "(cached) " >&6
41218 else
41219
41220
41221       ac_ext=cpp
41222 ac_cpp='$CXXCPP $CPPFLAGS'
41223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41226
41227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41228 /* end confdefs.h.  */
41229 #include <math.h>
41230                       #ifdef HAVE_IEEEFP_H
41231                       #include <ieeefp.h>
41232                       #endif
41233
41234 int
41235 main ()
41236 {
41237  isnanf(0);
41238   ;
41239   return 0;
41240 }
41241 _ACEOF
41242 if ac_fn_cxx_try_compile "$LINENO"; then :
41243   glibcxx_cv_func_isnanf_use=yes
41244 else
41245   glibcxx_cv_func_isnanf_use=no
41246 fi
41247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41248       ac_ext=c
41249 ac_cpp='$CPP $CPPFLAGS'
41250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41253
41254
41255 fi
41256
41257   fi
41258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41259 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41260
41261   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41262     for ac_func in isnanf
41263 do :
41264   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41265 if test "x$ac_cv_func_isnanf" = x""yes; then :
41266   cat >>confdefs.h <<_ACEOF
41267 #define HAVE_ISNANF 1
41268 _ACEOF
41269
41270 fi
41271 done
41272
41273   else
41274
41275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41276 $as_echo_n "checking for _isnanf declaration... " >&6; }
41277   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41278     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41279   $as_echo_n "(cached) " >&6
41280 else
41281
41282
41283       ac_ext=cpp
41284 ac_cpp='$CXXCPP $CPPFLAGS'
41285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41288
41289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41290 /* end confdefs.h.  */
41291 #include <math.h>
41292                       #ifdef HAVE_IEEEFP_H
41293                       #include <ieeefp.h>
41294                       #endif
41295
41296 int
41297 main ()
41298 {
41299  _isnanf(0);
41300   ;
41301   return 0;
41302 }
41303 _ACEOF
41304 if ac_fn_cxx_try_compile "$LINENO"; then :
41305   glibcxx_cv_func__isnanf_use=yes
41306 else
41307   glibcxx_cv_func__isnanf_use=no
41308 fi
41309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41310       ac_ext=c
41311 ac_cpp='$CPP $CPPFLAGS'
41312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41315
41316
41317 fi
41318
41319   fi
41320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41321 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41322
41323     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41324       for ac_func in _isnanf
41325 do :
41326   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41327 if test "x$ac_cv_func__isnanf" = x""yes; then :
41328   cat >>confdefs.h <<_ACEOF
41329 #define HAVE__ISNANF 1
41330 _ACEOF
41331
41332 fi
41333 done
41334
41335     fi
41336   fi
41337
41338
41339
41340
41341
41342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41343 $as_echo_n "checking for isinff declaration... " >&6; }
41344   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41345     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41346   $as_echo_n "(cached) " >&6
41347 else
41348
41349
41350       ac_ext=cpp
41351 ac_cpp='$CXXCPP $CPPFLAGS'
41352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41355
41356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41357 /* end confdefs.h.  */
41358 #include <math.h>
41359                       #ifdef HAVE_IEEEFP_H
41360                       #include <ieeefp.h>
41361                       #endif
41362
41363 int
41364 main ()
41365 {
41366  isinff(0);
41367   ;
41368   return 0;
41369 }
41370 _ACEOF
41371 if ac_fn_cxx_try_compile "$LINENO"; then :
41372   glibcxx_cv_func_isinff_use=yes
41373 else
41374   glibcxx_cv_func_isinff_use=no
41375 fi
41376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41377       ac_ext=c
41378 ac_cpp='$CPP $CPPFLAGS'
41379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41382
41383
41384 fi
41385
41386   fi
41387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41388 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41389
41390   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41391     for ac_func in isinff
41392 do :
41393   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41394 if test "x$ac_cv_func_isinff" = x""yes; then :
41395   cat >>confdefs.h <<_ACEOF
41396 #define HAVE_ISINFF 1
41397 _ACEOF
41398
41399 fi
41400 done
41401
41402   else
41403
41404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41405 $as_echo_n "checking for _isinff declaration... " >&6; }
41406   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41407     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41408   $as_echo_n "(cached) " >&6
41409 else
41410
41411
41412       ac_ext=cpp
41413 ac_cpp='$CXXCPP $CPPFLAGS'
41414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41417
41418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41419 /* end confdefs.h.  */
41420 #include <math.h>
41421                       #ifdef HAVE_IEEEFP_H
41422                       #include <ieeefp.h>
41423                       #endif
41424
41425 int
41426 main ()
41427 {
41428  _isinff(0);
41429   ;
41430   return 0;
41431 }
41432 _ACEOF
41433 if ac_fn_cxx_try_compile "$LINENO"; then :
41434   glibcxx_cv_func__isinff_use=yes
41435 else
41436   glibcxx_cv_func__isinff_use=no
41437 fi
41438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41439       ac_ext=c
41440 ac_cpp='$CPP $CPPFLAGS'
41441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41444
41445
41446 fi
41447
41448   fi
41449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41450 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41451
41452     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41453       for ac_func in _isinff
41454 do :
41455   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41456 if test "x$ac_cv_func__isinff" = x""yes; then :
41457   cat >>confdefs.h <<_ACEOF
41458 #define HAVE__ISINFF 1
41459 _ACEOF
41460
41461 fi
41462 done
41463
41464     fi
41465   fi
41466
41467
41468
41469
41470
41471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41472 $as_echo_n "checking for atan2f declaration... " >&6; }
41473   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41474     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41475   $as_echo_n "(cached) " >&6
41476 else
41477
41478
41479       ac_ext=cpp
41480 ac_cpp='$CXXCPP $CPPFLAGS'
41481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41484
41485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41486 /* end confdefs.h.  */
41487 #include <math.h>
41488 int
41489 main ()
41490 {
41491  atan2f(0, 0);
41492   ;
41493   return 0;
41494 }
41495 _ACEOF
41496 if ac_fn_cxx_try_compile "$LINENO"; then :
41497   glibcxx_cv_func_atan2f_use=yes
41498 else
41499   glibcxx_cv_func_atan2f_use=no
41500 fi
41501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41502       ac_ext=c
41503 ac_cpp='$CPP $CPPFLAGS'
41504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41507
41508
41509 fi
41510
41511   fi
41512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41513 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41514
41515   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41516     for ac_func in atan2f
41517 do :
41518   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41519 if test "x$ac_cv_func_atan2f" = x""yes; then :
41520   cat >>confdefs.h <<_ACEOF
41521 #define HAVE_ATAN2F 1
41522 _ACEOF
41523
41524 fi
41525 done
41526
41527   else
41528
41529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41530 $as_echo_n "checking for _atan2f declaration... " >&6; }
41531   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41532     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41533   $as_echo_n "(cached) " >&6
41534 else
41535
41536
41537       ac_ext=cpp
41538 ac_cpp='$CXXCPP $CPPFLAGS'
41539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41542
41543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41544 /* end confdefs.h.  */
41545 #include <math.h>
41546 int
41547 main ()
41548 {
41549  _atan2f(0, 0);
41550   ;
41551   return 0;
41552 }
41553 _ACEOF
41554 if ac_fn_cxx_try_compile "$LINENO"; then :
41555   glibcxx_cv_func__atan2f_use=yes
41556 else
41557   glibcxx_cv_func__atan2f_use=no
41558 fi
41559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41560       ac_ext=c
41561 ac_cpp='$CPP $CPPFLAGS'
41562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41565
41566
41567 fi
41568
41569   fi
41570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41571 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41572
41573     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41574       for ac_func in _atan2f
41575 do :
41576   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41577 if test "x$ac_cv_func__atan2f" = x""yes; then :
41578   cat >>confdefs.h <<_ACEOF
41579 #define HAVE__ATAN2F 1
41580 _ACEOF
41581
41582 fi
41583 done
41584
41585     fi
41586   fi
41587
41588
41589
41590
41591
41592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41593 $as_echo_n "checking for fabsf declaration... " >&6; }
41594   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41595     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41596   $as_echo_n "(cached) " >&6
41597 else
41598
41599
41600       ac_ext=cpp
41601 ac_cpp='$CXXCPP $CPPFLAGS'
41602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41605
41606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41607 /* end confdefs.h.  */
41608 #include <math.h>
41609                       #ifdef HAVE_IEEEFP_H
41610                       #include <ieeefp.h>
41611                       #endif
41612
41613 int
41614 main ()
41615 {
41616  fabsf(0);
41617   ;
41618   return 0;
41619 }
41620 _ACEOF
41621 if ac_fn_cxx_try_compile "$LINENO"; then :
41622   glibcxx_cv_func_fabsf_use=yes
41623 else
41624   glibcxx_cv_func_fabsf_use=no
41625 fi
41626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41627       ac_ext=c
41628 ac_cpp='$CPP $CPPFLAGS'
41629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41632
41633
41634 fi
41635
41636   fi
41637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41638 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41639
41640   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41641     for ac_func in fabsf
41642 do :
41643   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41644 if test "x$ac_cv_func_fabsf" = x""yes; then :
41645   cat >>confdefs.h <<_ACEOF
41646 #define HAVE_FABSF 1
41647 _ACEOF
41648
41649 fi
41650 done
41651
41652   else
41653
41654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41655 $as_echo_n "checking for _fabsf declaration... " >&6; }
41656   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41657     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41658   $as_echo_n "(cached) " >&6
41659 else
41660
41661
41662       ac_ext=cpp
41663 ac_cpp='$CXXCPP $CPPFLAGS'
41664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41667
41668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41669 /* end confdefs.h.  */
41670 #include <math.h>
41671                       #ifdef HAVE_IEEEFP_H
41672                       #include <ieeefp.h>
41673                       #endif
41674
41675 int
41676 main ()
41677 {
41678  _fabsf(0);
41679   ;
41680   return 0;
41681 }
41682 _ACEOF
41683 if ac_fn_cxx_try_compile "$LINENO"; then :
41684   glibcxx_cv_func__fabsf_use=yes
41685 else
41686   glibcxx_cv_func__fabsf_use=no
41687 fi
41688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41689       ac_ext=c
41690 ac_cpp='$CPP $CPPFLAGS'
41691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41694
41695
41696 fi
41697
41698   fi
41699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41700 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41701
41702     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41703       for ac_func in _fabsf
41704 do :
41705   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41706 if test "x$ac_cv_func__fabsf" = x""yes; then :
41707   cat >>confdefs.h <<_ACEOF
41708 #define HAVE__FABSF 1
41709 _ACEOF
41710
41711 fi
41712 done
41713
41714     fi
41715   fi
41716
41717
41718
41719
41720
41721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41722 $as_echo_n "checking for fmodf declaration... " >&6; }
41723   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41724     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41725   $as_echo_n "(cached) " >&6
41726 else
41727
41728
41729       ac_ext=cpp
41730 ac_cpp='$CXXCPP $CPPFLAGS'
41731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41734
41735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41736 /* end confdefs.h.  */
41737 #include <math.h>
41738 int
41739 main ()
41740 {
41741  fmodf(0, 0);
41742   ;
41743   return 0;
41744 }
41745 _ACEOF
41746 if ac_fn_cxx_try_compile "$LINENO"; then :
41747   glibcxx_cv_func_fmodf_use=yes
41748 else
41749   glibcxx_cv_func_fmodf_use=no
41750 fi
41751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41752       ac_ext=c
41753 ac_cpp='$CPP $CPPFLAGS'
41754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41757
41758
41759 fi
41760
41761   fi
41762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41763 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41764
41765   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41766     for ac_func in fmodf
41767 do :
41768   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41769 if test "x$ac_cv_func_fmodf" = x""yes; then :
41770   cat >>confdefs.h <<_ACEOF
41771 #define HAVE_FMODF 1
41772 _ACEOF
41773
41774 fi
41775 done
41776
41777   else
41778
41779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41780 $as_echo_n "checking for _fmodf declaration... " >&6; }
41781   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41782     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41783   $as_echo_n "(cached) " >&6
41784 else
41785
41786
41787       ac_ext=cpp
41788 ac_cpp='$CXXCPP $CPPFLAGS'
41789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41792
41793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41794 /* end confdefs.h.  */
41795 #include <math.h>
41796 int
41797 main ()
41798 {
41799  _fmodf(0, 0);
41800   ;
41801   return 0;
41802 }
41803 _ACEOF
41804 if ac_fn_cxx_try_compile "$LINENO"; then :
41805   glibcxx_cv_func__fmodf_use=yes
41806 else
41807   glibcxx_cv_func__fmodf_use=no
41808 fi
41809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41810       ac_ext=c
41811 ac_cpp='$CPP $CPPFLAGS'
41812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41815
41816
41817 fi
41818
41819   fi
41820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41821 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41822
41823     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41824       for ac_func in _fmodf
41825 do :
41826   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41827 if test "x$ac_cv_func__fmodf" = x""yes; then :
41828   cat >>confdefs.h <<_ACEOF
41829 #define HAVE__FMODF 1
41830 _ACEOF
41831
41832 fi
41833 done
41834
41835     fi
41836   fi
41837
41838
41839
41840
41841
41842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41843 $as_echo_n "checking for frexpf declaration... " >&6; }
41844   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41845     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41846   $as_echo_n "(cached) " >&6
41847 else
41848
41849
41850       ac_ext=cpp
41851 ac_cpp='$CXXCPP $CPPFLAGS'
41852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41855
41856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41857 /* end confdefs.h.  */
41858 #include <math.h>
41859 int
41860 main ()
41861 {
41862  frexpf(0, 0);
41863   ;
41864   return 0;
41865 }
41866 _ACEOF
41867 if ac_fn_cxx_try_compile "$LINENO"; then :
41868   glibcxx_cv_func_frexpf_use=yes
41869 else
41870   glibcxx_cv_func_frexpf_use=no
41871 fi
41872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41873       ac_ext=c
41874 ac_cpp='$CPP $CPPFLAGS'
41875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41878
41879
41880 fi
41881
41882   fi
41883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41884 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41885
41886   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41887     for ac_func in frexpf
41888 do :
41889   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41890 if test "x$ac_cv_func_frexpf" = x""yes; then :
41891   cat >>confdefs.h <<_ACEOF
41892 #define HAVE_FREXPF 1
41893 _ACEOF
41894
41895 fi
41896 done
41897
41898   else
41899
41900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41901 $as_echo_n "checking for _frexpf declaration... " >&6; }
41902   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41903     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41904   $as_echo_n "(cached) " >&6
41905 else
41906
41907
41908       ac_ext=cpp
41909 ac_cpp='$CXXCPP $CPPFLAGS'
41910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41913
41914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41915 /* end confdefs.h.  */
41916 #include <math.h>
41917 int
41918 main ()
41919 {
41920  _frexpf(0, 0);
41921   ;
41922   return 0;
41923 }
41924 _ACEOF
41925 if ac_fn_cxx_try_compile "$LINENO"; then :
41926   glibcxx_cv_func__frexpf_use=yes
41927 else
41928   glibcxx_cv_func__frexpf_use=no
41929 fi
41930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41931       ac_ext=c
41932 ac_cpp='$CPP $CPPFLAGS'
41933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41936
41937
41938 fi
41939
41940   fi
41941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41942 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41943
41944     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41945       for ac_func in _frexpf
41946 do :
41947   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41948 if test "x$ac_cv_func__frexpf" = x""yes; then :
41949   cat >>confdefs.h <<_ACEOF
41950 #define HAVE__FREXPF 1
41951 _ACEOF
41952
41953 fi
41954 done
41955
41956     fi
41957   fi
41958
41959
41960
41961
41962
41963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41964 $as_echo_n "checking for hypotf declaration... " >&6; }
41965   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41966     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41967   $as_echo_n "(cached) " >&6
41968 else
41969
41970
41971       ac_ext=cpp
41972 ac_cpp='$CXXCPP $CPPFLAGS'
41973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41976
41977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41978 /* end confdefs.h.  */
41979 #include <math.h>
41980 int
41981 main ()
41982 {
41983  hypotf(0, 0);
41984   ;
41985   return 0;
41986 }
41987 _ACEOF
41988 if ac_fn_cxx_try_compile "$LINENO"; then :
41989   glibcxx_cv_func_hypotf_use=yes
41990 else
41991   glibcxx_cv_func_hypotf_use=no
41992 fi
41993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41994       ac_ext=c
41995 ac_cpp='$CPP $CPPFLAGS'
41996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41999
42000
42001 fi
42002
42003   fi
42004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42005 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42006
42007   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42008     for ac_func in hypotf
42009 do :
42010   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42011 if test "x$ac_cv_func_hypotf" = x""yes; then :
42012   cat >>confdefs.h <<_ACEOF
42013 #define HAVE_HYPOTF 1
42014 _ACEOF
42015
42016 fi
42017 done
42018
42019   else
42020
42021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42022 $as_echo_n "checking for _hypotf declaration... " >&6; }
42023   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42024     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42025   $as_echo_n "(cached) " >&6
42026 else
42027
42028
42029       ac_ext=cpp
42030 ac_cpp='$CXXCPP $CPPFLAGS'
42031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42034
42035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42036 /* end confdefs.h.  */
42037 #include <math.h>
42038 int
42039 main ()
42040 {
42041  _hypotf(0, 0);
42042   ;
42043   return 0;
42044 }
42045 _ACEOF
42046 if ac_fn_cxx_try_compile "$LINENO"; then :
42047   glibcxx_cv_func__hypotf_use=yes
42048 else
42049   glibcxx_cv_func__hypotf_use=no
42050 fi
42051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42052       ac_ext=c
42053 ac_cpp='$CPP $CPPFLAGS'
42054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42057
42058
42059 fi
42060
42061   fi
42062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42063 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42064
42065     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42066       for ac_func in _hypotf
42067 do :
42068   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42069 if test "x$ac_cv_func__hypotf" = x""yes; then :
42070   cat >>confdefs.h <<_ACEOF
42071 #define HAVE__HYPOTF 1
42072 _ACEOF
42073
42074 fi
42075 done
42076
42077     fi
42078   fi
42079
42080
42081
42082
42083
42084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42085 $as_echo_n "checking for ldexpf declaration... " >&6; }
42086   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42087     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42088   $as_echo_n "(cached) " >&6
42089 else
42090
42091
42092       ac_ext=cpp
42093 ac_cpp='$CXXCPP $CPPFLAGS'
42094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42097
42098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42099 /* end confdefs.h.  */
42100 #include <math.h>
42101 int
42102 main ()
42103 {
42104  ldexpf(0, 0);
42105   ;
42106   return 0;
42107 }
42108 _ACEOF
42109 if ac_fn_cxx_try_compile "$LINENO"; then :
42110   glibcxx_cv_func_ldexpf_use=yes
42111 else
42112   glibcxx_cv_func_ldexpf_use=no
42113 fi
42114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42115       ac_ext=c
42116 ac_cpp='$CPP $CPPFLAGS'
42117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42120
42121
42122 fi
42123
42124   fi
42125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42126 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42127
42128   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42129     for ac_func in ldexpf
42130 do :
42131   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42132 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42133   cat >>confdefs.h <<_ACEOF
42134 #define HAVE_LDEXPF 1
42135 _ACEOF
42136
42137 fi
42138 done
42139
42140   else
42141
42142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42143 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42144   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42145     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42146   $as_echo_n "(cached) " >&6
42147 else
42148
42149
42150       ac_ext=cpp
42151 ac_cpp='$CXXCPP $CPPFLAGS'
42152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42155
42156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42157 /* end confdefs.h.  */
42158 #include <math.h>
42159 int
42160 main ()
42161 {
42162  _ldexpf(0, 0);
42163   ;
42164   return 0;
42165 }
42166 _ACEOF
42167 if ac_fn_cxx_try_compile "$LINENO"; then :
42168   glibcxx_cv_func__ldexpf_use=yes
42169 else
42170   glibcxx_cv_func__ldexpf_use=no
42171 fi
42172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42173       ac_ext=c
42174 ac_cpp='$CPP $CPPFLAGS'
42175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42178
42179
42180 fi
42181
42182   fi
42183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42184 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42185
42186     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42187       for ac_func in _ldexpf
42188 do :
42189   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42190 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42191   cat >>confdefs.h <<_ACEOF
42192 #define HAVE__LDEXPF 1
42193 _ACEOF
42194
42195 fi
42196 done
42197
42198     fi
42199   fi
42200
42201
42202
42203
42204
42205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42206 $as_echo_n "checking for logf declaration... " >&6; }
42207   if test x${glibcxx_cv_func_logf_use+set} != xset; then
42208     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42209   $as_echo_n "(cached) " >&6
42210 else
42211
42212
42213       ac_ext=cpp
42214 ac_cpp='$CXXCPP $CPPFLAGS'
42215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42218
42219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42220 /* end confdefs.h.  */
42221 #include <math.h>
42222                       #ifdef HAVE_IEEEFP_H
42223                       #include <ieeefp.h>
42224                       #endif
42225
42226 int
42227 main ()
42228 {
42229  logf(0);
42230   ;
42231   return 0;
42232 }
42233 _ACEOF
42234 if ac_fn_cxx_try_compile "$LINENO"; then :
42235   glibcxx_cv_func_logf_use=yes
42236 else
42237   glibcxx_cv_func_logf_use=no
42238 fi
42239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42240       ac_ext=c
42241 ac_cpp='$CPP $CPPFLAGS'
42242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42245
42246
42247 fi
42248
42249   fi
42250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42251 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42252
42253   if test x$glibcxx_cv_func_logf_use = x"yes"; then
42254     for ac_func in logf
42255 do :
42256   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42257 if test "x$ac_cv_func_logf" = x""yes; then :
42258   cat >>confdefs.h <<_ACEOF
42259 #define HAVE_LOGF 1
42260 _ACEOF
42261
42262 fi
42263 done
42264
42265   else
42266
42267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42268 $as_echo_n "checking for _logf declaration... " >&6; }
42269   if test x${glibcxx_cv_func__logf_use+set} != xset; then
42270     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42271   $as_echo_n "(cached) " >&6
42272 else
42273
42274
42275       ac_ext=cpp
42276 ac_cpp='$CXXCPP $CPPFLAGS'
42277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42280
42281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42282 /* end confdefs.h.  */
42283 #include <math.h>
42284                       #ifdef HAVE_IEEEFP_H
42285                       #include <ieeefp.h>
42286                       #endif
42287
42288 int
42289 main ()
42290 {
42291  _logf(0);
42292   ;
42293   return 0;
42294 }
42295 _ACEOF
42296 if ac_fn_cxx_try_compile "$LINENO"; then :
42297   glibcxx_cv_func__logf_use=yes
42298 else
42299   glibcxx_cv_func__logf_use=no
42300 fi
42301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42302       ac_ext=c
42303 ac_cpp='$CPP $CPPFLAGS'
42304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42307
42308
42309 fi
42310
42311   fi
42312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42313 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42314
42315     if test x$glibcxx_cv_func__logf_use = x"yes"; then
42316       for ac_func in _logf
42317 do :
42318   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42319 if test "x$ac_cv_func__logf" = x""yes; then :
42320   cat >>confdefs.h <<_ACEOF
42321 #define HAVE__LOGF 1
42322 _ACEOF
42323
42324 fi
42325 done
42326
42327     fi
42328   fi
42329
42330
42331
42332
42333
42334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42335 $as_echo_n "checking for log10f declaration... " >&6; }
42336   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42337     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42338   $as_echo_n "(cached) " >&6
42339 else
42340
42341
42342       ac_ext=cpp
42343 ac_cpp='$CXXCPP $CPPFLAGS'
42344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42347
42348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42349 /* end confdefs.h.  */
42350 #include <math.h>
42351                       #ifdef HAVE_IEEEFP_H
42352                       #include <ieeefp.h>
42353                       #endif
42354
42355 int
42356 main ()
42357 {
42358  log10f(0);
42359   ;
42360   return 0;
42361 }
42362 _ACEOF
42363 if ac_fn_cxx_try_compile "$LINENO"; then :
42364   glibcxx_cv_func_log10f_use=yes
42365 else
42366   glibcxx_cv_func_log10f_use=no
42367 fi
42368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42369       ac_ext=c
42370 ac_cpp='$CPP $CPPFLAGS'
42371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42374
42375
42376 fi
42377
42378   fi
42379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42380 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42381
42382   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42383     for ac_func in log10f
42384 do :
42385   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42386 if test "x$ac_cv_func_log10f" = x""yes; then :
42387   cat >>confdefs.h <<_ACEOF
42388 #define HAVE_LOG10F 1
42389 _ACEOF
42390
42391 fi
42392 done
42393
42394   else
42395
42396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42397 $as_echo_n "checking for _log10f declaration... " >&6; }
42398   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42399     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42400   $as_echo_n "(cached) " >&6
42401 else
42402
42403
42404       ac_ext=cpp
42405 ac_cpp='$CXXCPP $CPPFLAGS'
42406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42409
42410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42411 /* end confdefs.h.  */
42412 #include <math.h>
42413                       #ifdef HAVE_IEEEFP_H
42414                       #include <ieeefp.h>
42415                       #endif
42416
42417 int
42418 main ()
42419 {
42420  _log10f(0);
42421   ;
42422   return 0;
42423 }
42424 _ACEOF
42425 if ac_fn_cxx_try_compile "$LINENO"; then :
42426   glibcxx_cv_func__log10f_use=yes
42427 else
42428   glibcxx_cv_func__log10f_use=no
42429 fi
42430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42431       ac_ext=c
42432 ac_cpp='$CPP $CPPFLAGS'
42433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42436
42437
42438 fi
42439
42440   fi
42441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42442 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42443
42444     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42445       for ac_func in _log10f
42446 do :
42447   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42448 if test "x$ac_cv_func__log10f" = x""yes; then :
42449   cat >>confdefs.h <<_ACEOF
42450 #define HAVE__LOG10F 1
42451 _ACEOF
42452
42453 fi
42454 done
42455
42456     fi
42457   fi
42458
42459
42460
42461
42462
42463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42464 $as_echo_n "checking for modff declaration... " >&6; }
42465   if test x${glibcxx_cv_func_modff_use+set} != xset; then
42466     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42467   $as_echo_n "(cached) " >&6
42468 else
42469
42470
42471       ac_ext=cpp
42472 ac_cpp='$CXXCPP $CPPFLAGS'
42473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42476
42477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42478 /* end confdefs.h.  */
42479 #include <math.h>
42480 int
42481 main ()
42482 {
42483  modff(0, 0);
42484   ;
42485   return 0;
42486 }
42487 _ACEOF
42488 if ac_fn_cxx_try_compile "$LINENO"; then :
42489   glibcxx_cv_func_modff_use=yes
42490 else
42491   glibcxx_cv_func_modff_use=no
42492 fi
42493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42494       ac_ext=c
42495 ac_cpp='$CPP $CPPFLAGS'
42496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42499
42500
42501 fi
42502
42503   fi
42504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42505 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42506
42507   if test x$glibcxx_cv_func_modff_use = x"yes"; then
42508     for ac_func in modff
42509 do :
42510   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42511 if test "x$ac_cv_func_modff" = x""yes; then :
42512   cat >>confdefs.h <<_ACEOF
42513 #define HAVE_MODFF 1
42514 _ACEOF
42515
42516 fi
42517 done
42518
42519   else
42520
42521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42522 $as_echo_n "checking for _modff declaration... " >&6; }
42523   if test x${glibcxx_cv_func__modff_use+set} != xset; then
42524     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42525   $as_echo_n "(cached) " >&6
42526 else
42527
42528
42529       ac_ext=cpp
42530 ac_cpp='$CXXCPP $CPPFLAGS'
42531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42534
42535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42536 /* end confdefs.h.  */
42537 #include <math.h>
42538 int
42539 main ()
42540 {
42541  _modff(0, 0);
42542   ;
42543   return 0;
42544 }
42545 _ACEOF
42546 if ac_fn_cxx_try_compile "$LINENO"; then :
42547   glibcxx_cv_func__modff_use=yes
42548 else
42549   glibcxx_cv_func__modff_use=no
42550 fi
42551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42552       ac_ext=c
42553 ac_cpp='$CPP $CPPFLAGS'
42554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42557
42558
42559 fi
42560
42561   fi
42562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42563 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42564
42565     if test x$glibcxx_cv_func__modff_use = x"yes"; then
42566       for ac_func in _modff
42567 do :
42568   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42569 if test "x$ac_cv_func__modff" = x""yes; then :
42570   cat >>confdefs.h <<_ACEOF
42571 #define HAVE__MODFF 1
42572 _ACEOF
42573
42574 fi
42575 done
42576
42577     fi
42578   fi
42579
42580
42581
42582
42583
42584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42585 $as_echo_n "checking for modf declaration... " >&6; }
42586   if test x${glibcxx_cv_func_modf_use+set} != xset; then
42587     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42588   $as_echo_n "(cached) " >&6
42589 else
42590
42591
42592       ac_ext=cpp
42593 ac_cpp='$CXXCPP $CPPFLAGS'
42594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42597
42598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42599 /* end confdefs.h.  */
42600 #include <math.h>
42601 int
42602 main ()
42603 {
42604  modf(0, 0);
42605   ;
42606   return 0;
42607 }
42608 _ACEOF
42609 if ac_fn_cxx_try_compile "$LINENO"; then :
42610   glibcxx_cv_func_modf_use=yes
42611 else
42612   glibcxx_cv_func_modf_use=no
42613 fi
42614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42615       ac_ext=c
42616 ac_cpp='$CPP $CPPFLAGS'
42617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42620
42621
42622 fi
42623
42624   fi
42625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42626 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42627
42628   if test x$glibcxx_cv_func_modf_use = x"yes"; then
42629     for ac_func in modf
42630 do :
42631   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42632 if test "x$ac_cv_func_modf" = x""yes; then :
42633   cat >>confdefs.h <<_ACEOF
42634 #define HAVE_MODF 1
42635 _ACEOF
42636
42637 fi
42638 done
42639
42640   else
42641
42642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42643 $as_echo_n "checking for _modf declaration... " >&6; }
42644   if test x${glibcxx_cv_func__modf_use+set} != xset; then
42645     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42646   $as_echo_n "(cached) " >&6
42647 else
42648
42649
42650       ac_ext=cpp
42651 ac_cpp='$CXXCPP $CPPFLAGS'
42652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42655
42656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42657 /* end confdefs.h.  */
42658 #include <math.h>
42659 int
42660 main ()
42661 {
42662  _modf(0, 0);
42663   ;
42664   return 0;
42665 }
42666 _ACEOF
42667 if ac_fn_cxx_try_compile "$LINENO"; then :
42668   glibcxx_cv_func__modf_use=yes
42669 else
42670   glibcxx_cv_func__modf_use=no
42671 fi
42672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42673       ac_ext=c
42674 ac_cpp='$CPP $CPPFLAGS'
42675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42678
42679
42680 fi
42681
42682   fi
42683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42684 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42685
42686     if test x$glibcxx_cv_func__modf_use = x"yes"; then
42687       for ac_func in _modf
42688 do :
42689   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42690 if test "x$ac_cv_func__modf" = x""yes; then :
42691   cat >>confdefs.h <<_ACEOF
42692 #define HAVE__MODF 1
42693 _ACEOF
42694
42695 fi
42696 done
42697
42698     fi
42699   fi
42700
42701
42702
42703
42704
42705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42706 $as_echo_n "checking for powf declaration... " >&6; }
42707   if test x${glibcxx_cv_func_powf_use+set} != xset; then
42708     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42709   $as_echo_n "(cached) " >&6
42710 else
42711
42712
42713       ac_ext=cpp
42714 ac_cpp='$CXXCPP $CPPFLAGS'
42715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42718
42719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42720 /* end confdefs.h.  */
42721 #include <math.h>
42722 int
42723 main ()
42724 {
42725  powf(0, 0);
42726   ;
42727   return 0;
42728 }
42729 _ACEOF
42730 if ac_fn_cxx_try_compile "$LINENO"; then :
42731   glibcxx_cv_func_powf_use=yes
42732 else
42733   glibcxx_cv_func_powf_use=no
42734 fi
42735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42736       ac_ext=c
42737 ac_cpp='$CPP $CPPFLAGS'
42738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42741
42742
42743 fi
42744
42745   fi
42746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42747 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42748
42749   if test x$glibcxx_cv_func_powf_use = x"yes"; then
42750     for ac_func in powf
42751 do :
42752   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42753 if test "x$ac_cv_func_powf" = x""yes; then :
42754   cat >>confdefs.h <<_ACEOF
42755 #define HAVE_POWF 1
42756 _ACEOF
42757
42758 fi
42759 done
42760
42761   else
42762
42763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42764 $as_echo_n "checking for _powf declaration... " >&6; }
42765   if test x${glibcxx_cv_func__powf_use+set} != xset; then
42766     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42767   $as_echo_n "(cached) " >&6
42768 else
42769
42770
42771       ac_ext=cpp
42772 ac_cpp='$CXXCPP $CPPFLAGS'
42773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42776
42777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42778 /* end confdefs.h.  */
42779 #include <math.h>
42780 int
42781 main ()
42782 {
42783  _powf(0, 0);
42784   ;
42785   return 0;
42786 }
42787 _ACEOF
42788 if ac_fn_cxx_try_compile "$LINENO"; then :
42789   glibcxx_cv_func__powf_use=yes
42790 else
42791   glibcxx_cv_func__powf_use=no
42792 fi
42793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42794       ac_ext=c
42795 ac_cpp='$CPP $CPPFLAGS'
42796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42799
42800
42801 fi
42802
42803   fi
42804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42805 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42806
42807     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42808       for ac_func in _powf
42809 do :
42810   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42811 if test "x$ac_cv_func__powf" = x""yes; then :
42812   cat >>confdefs.h <<_ACEOF
42813 #define HAVE__POWF 1
42814 _ACEOF
42815
42816 fi
42817 done
42818
42819     fi
42820   fi
42821
42822
42823
42824
42825
42826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42827 $as_echo_n "checking for sqrtf declaration... " >&6; }
42828   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42829     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42830   $as_echo_n "(cached) " >&6
42831 else
42832
42833
42834       ac_ext=cpp
42835 ac_cpp='$CXXCPP $CPPFLAGS'
42836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42839
42840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42841 /* end confdefs.h.  */
42842 #include <math.h>
42843                       #ifdef HAVE_IEEEFP_H
42844                       #include <ieeefp.h>
42845                       #endif
42846
42847 int
42848 main ()
42849 {
42850  sqrtf(0);
42851   ;
42852   return 0;
42853 }
42854 _ACEOF
42855 if ac_fn_cxx_try_compile "$LINENO"; then :
42856   glibcxx_cv_func_sqrtf_use=yes
42857 else
42858   glibcxx_cv_func_sqrtf_use=no
42859 fi
42860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42861       ac_ext=c
42862 ac_cpp='$CPP $CPPFLAGS'
42863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42866
42867
42868 fi
42869
42870   fi
42871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42872 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42873
42874   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42875     for ac_func in sqrtf
42876 do :
42877   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42878 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42879   cat >>confdefs.h <<_ACEOF
42880 #define HAVE_SQRTF 1
42881 _ACEOF
42882
42883 fi
42884 done
42885
42886   else
42887
42888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42889 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42890   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42891     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42892   $as_echo_n "(cached) " >&6
42893 else
42894
42895
42896       ac_ext=cpp
42897 ac_cpp='$CXXCPP $CPPFLAGS'
42898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42901
42902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42903 /* end confdefs.h.  */
42904 #include <math.h>
42905                       #ifdef HAVE_IEEEFP_H
42906                       #include <ieeefp.h>
42907                       #endif
42908
42909 int
42910 main ()
42911 {
42912  _sqrtf(0);
42913   ;
42914   return 0;
42915 }
42916 _ACEOF
42917 if ac_fn_cxx_try_compile "$LINENO"; then :
42918   glibcxx_cv_func__sqrtf_use=yes
42919 else
42920   glibcxx_cv_func__sqrtf_use=no
42921 fi
42922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42923       ac_ext=c
42924 ac_cpp='$CPP $CPPFLAGS'
42925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42928
42929
42930 fi
42931
42932   fi
42933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42934 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42935
42936     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42937       for ac_func in _sqrtf
42938 do :
42939   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42940 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42941   cat >>confdefs.h <<_ACEOF
42942 #define HAVE__SQRTF 1
42943 _ACEOF
42944
42945 fi
42946 done
42947
42948     fi
42949   fi
42950
42951
42952
42953
42954
42955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42956 $as_echo_n "checking for sincosf declaration... " >&6; }
42957   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42958     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42959   $as_echo_n "(cached) " >&6
42960 else
42961
42962
42963       ac_ext=cpp
42964 ac_cpp='$CXXCPP $CPPFLAGS'
42965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42968
42969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42970 /* end confdefs.h.  */
42971 #include <math.h>
42972 int
42973 main ()
42974 {
42975  sincosf(0, 0, 0);
42976   ;
42977   return 0;
42978 }
42979 _ACEOF
42980 if ac_fn_cxx_try_compile "$LINENO"; then :
42981   glibcxx_cv_func_sincosf_use=yes
42982 else
42983   glibcxx_cv_func_sincosf_use=no
42984 fi
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986       ac_ext=c
42987 ac_cpp='$CPP $CPPFLAGS'
42988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42991
42992
42993 fi
42994
42995   fi
42996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42997 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42998
42999   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43000     for ac_func in sincosf
43001 do :
43002   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43003 if test "x$ac_cv_func_sincosf" = x""yes; then :
43004   cat >>confdefs.h <<_ACEOF
43005 #define HAVE_SINCOSF 1
43006 _ACEOF
43007
43008 fi
43009 done
43010
43011   else
43012
43013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43014 $as_echo_n "checking for _sincosf declaration... " >&6; }
43015   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43016     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43017   $as_echo_n "(cached) " >&6
43018 else
43019
43020
43021       ac_ext=cpp
43022 ac_cpp='$CXXCPP $CPPFLAGS'
43023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43026
43027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43028 /* end confdefs.h.  */
43029 #include <math.h>
43030 int
43031 main ()
43032 {
43033  _sincosf(0, 0, 0);
43034   ;
43035   return 0;
43036 }
43037 _ACEOF
43038 if ac_fn_cxx_try_compile "$LINENO"; then :
43039   glibcxx_cv_func__sincosf_use=yes
43040 else
43041   glibcxx_cv_func__sincosf_use=no
43042 fi
43043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43044       ac_ext=c
43045 ac_cpp='$CPP $CPPFLAGS'
43046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43049
43050
43051 fi
43052
43053   fi
43054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43055 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43056
43057     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43058       for ac_func in _sincosf
43059 do :
43060   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43061 if test "x$ac_cv_func__sincosf" = x""yes; then :
43062   cat >>confdefs.h <<_ACEOF
43063 #define HAVE__SINCOSF 1
43064 _ACEOF
43065
43066 fi
43067 done
43068
43069     fi
43070   fi
43071
43072
43073
43074
43075
43076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43077 $as_echo_n "checking for finitef declaration... " >&6; }
43078   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43079     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43080   $as_echo_n "(cached) " >&6
43081 else
43082
43083
43084       ac_ext=cpp
43085 ac_cpp='$CXXCPP $CPPFLAGS'
43086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43089
43090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43091 /* end confdefs.h.  */
43092 #include <math.h>
43093                       #ifdef HAVE_IEEEFP_H
43094                       #include <ieeefp.h>
43095                       #endif
43096
43097 int
43098 main ()
43099 {
43100  finitef(0);
43101   ;
43102   return 0;
43103 }
43104 _ACEOF
43105 if ac_fn_cxx_try_compile "$LINENO"; then :
43106   glibcxx_cv_func_finitef_use=yes
43107 else
43108   glibcxx_cv_func_finitef_use=no
43109 fi
43110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43111       ac_ext=c
43112 ac_cpp='$CPP $CPPFLAGS'
43113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43116
43117
43118 fi
43119
43120   fi
43121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43122 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43123
43124   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43125     for ac_func in finitef
43126 do :
43127   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43128 if test "x$ac_cv_func_finitef" = x""yes; then :
43129   cat >>confdefs.h <<_ACEOF
43130 #define HAVE_FINITEF 1
43131 _ACEOF
43132
43133 fi
43134 done
43135
43136   else
43137
43138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43139 $as_echo_n "checking for _finitef declaration... " >&6; }
43140   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43141     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43142   $as_echo_n "(cached) " >&6
43143 else
43144
43145
43146       ac_ext=cpp
43147 ac_cpp='$CXXCPP $CPPFLAGS'
43148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43151
43152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43153 /* end confdefs.h.  */
43154 #include <math.h>
43155                       #ifdef HAVE_IEEEFP_H
43156                       #include <ieeefp.h>
43157                       #endif
43158
43159 int
43160 main ()
43161 {
43162  _finitef(0);
43163   ;
43164   return 0;
43165 }
43166 _ACEOF
43167 if ac_fn_cxx_try_compile "$LINENO"; then :
43168   glibcxx_cv_func__finitef_use=yes
43169 else
43170   glibcxx_cv_func__finitef_use=no
43171 fi
43172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43173       ac_ext=c
43174 ac_cpp='$CPP $CPPFLAGS'
43175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43178
43179
43180 fi
43181
43182   fi
43183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43184 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43185
43186     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43187       for ac_func in _finitef
43188 do :
43189   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43190 if test "x$ac_cv_func__finitef" = x""yes; then :
43191   cat >>confdefs.h <<_ACEOF
43192 #define HAVE__FINITEF 1
43193 _ACEOF
43194
43195 fi
43196 done
43197
43198     fi
43199   fi
43200
43201
43202
43203
43204
43205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43206 $as_echo_n "checking for long double trig functions... " >&6; }
43207   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43208   $as_echo_n "(cached) " >&6
43209 else
43210
43211
43212     ac_ext=cpp
43213 ac_cpp='$CXXCPP $CPPFLAGS'
43214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43217
43218     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43219 /* end confdefs.h.  */
43220 #include <math.h>
43221 int
43222 main ()
43223 {
43224 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43225   ;
43226   return 0;
43227 }
43228 _ACEOF
43229 if ac_fn_cxx_try_compile "$LINENO"; then :
43230   glibcxx_cv_func_long_double_trig_use=yes
43231 else
43232   glibcxx_cv_func_long_double_trig_use=no
43233 fi
43234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43235     ac_ext=c
43236 ac_cpp='$CPP $CPPFLAGS'
43237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43240
43241 fi
43242
43243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43244 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43245   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43246     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43247 do :
43248   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43250 eval as_val=\$$as_ac_var
43251    if test "x$as_val" = x""yes; then :
43252   cat >>confdefs.h <<_ACEOF
43253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43254 _ACEOF
43255
43256 fi
43257 done
43258
43259   else
43260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43261 $as_echo_n "checking for _long double trig functions... " >&6; }
43262     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43263   $as_echo_n "(cached) " >&6
43264 else
43265
43266
43267       ac_ext=cpp
43268 ac_cpp='$CXXCPP $CPPFLAGS'
43269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43272
43273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43274 /* end confdefs.h.  */
43275 #include <math.h>
43276 int
43277 main ()
43278 {
43279 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43280   ;
43281   return 0;
43282 }
43283 _ACEOF
43284 if ac_fn_cxx_try_compile "$LINENO"; then :
43285   glibcxx_cv_func__long_double_trig_use=yes
43286 else
43287   glibcxx_cv_func__long_double_trig_use=no
43288 fi
43289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43290       ac_ext=c
43291 ac_cpp='$CPP $CPPFLAGS'
43292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43295
43296 fi
43297
43298     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43299 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43300     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43301       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43302 do :
43303   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43305 eval as_val=\$$as_ac_var
43306    if test "x$as_val" = x""yes; then :
43307   cat >>confdefs.h <<_ACEOF
43308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43309 _ACEOF
43310
43311 fi
43312 done
43313
43314     fi
43315   fi
43316
43317
43318
43319
43320
43321     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43322 $as_echo_n "checking for long double round functions... " >&6; }
43323   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43324   $as_echo_n "(cached) " >&6
43325 else
43326
43327
43328     ac_ext=cpp
43329 ac_cpp='$CXXCPP $CPPFLAGS'
43330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43333
43334     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43335 /* end confdefs.h.  */
43336 #include <math.h>
43337 int
43338 main ()
43339 {
43340 ceill (0); floorl (0);
43341   ;
43342   return 0;
43343 }
43344 _ACEOF
43345 if ac_fn_cxx_try_compile "$LINENO"; then :
43346   glibcxx_cv_func_long_double_round_use=yes
43347 else
43348   glibcxx_cv_func_long_double_round_use=no
43349 fi
43350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43351     ac_ext=c
43352 ac_cpp='$CPP $CPPFLAGS'
43353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43356
43357 fi
43358
43359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43360 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43361   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43362     for ac_func in ceill floorl
43363 do :
43364   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43366 eval as_val=\$$as_ac_var
43367    if test "x$as_val" = x""yes; then :
43368   cat >>confdefs.h <<_ACEOF
43369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43370 _ACEOF
43371
43372 fi
43373 done
43374
43375   else
43376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43377 $as_echo_n "checking for _long double round functions... " >&6; }
43378     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43379   $as_echo_n "(cached) " >&6
43380 else
43381
43382
43383       ac_ext=cpp
43384 ac_cpp='$CXXCPP $CPPFLAGS'
43385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388
43389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43390 /* end confdefs.h.  */
43391 #include <math.h>
43392 int
43393 main ()
43394 {
43395 _ceill (0); _floorl (0);
43396   ;
43397   return 0;
43398 }
43399 _ACEOF
43400 if ac_fn_cxx_try_compile "$LINENO"; then :
43401   glibcxx_cv_func__long_double_round_use=yes
43402 else
43403   glibcxx_cv_func__long_double_round_use=no
43404 fi
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406       ac_ext=c
43407 ac_cpp='$CPP $CPPFLAGS'
43408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43411
43412 fi
43413
43414     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43415 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43416     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43417       for ac_func in _ceill _floorl
43418 do :
43419   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43421 eval as_val=\$$as_ac_var
43422    if test "x$as_val" = x""yes; then :
43423   cat >>confdefs.h <<_ACEOF
43424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43425 _ACEOF
43426
43427 fi
43428 done
43429
43430     fi
43431   fi
43432
43433
43434
43435
43436
43437
43438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43439 $as_echo_n "checking for isnanl declaration... " >&6; }
43440   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43441     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43442   $as_echo_n "(cached) " >&6
43443 else
43444
43445
43446       ac_ext=cpp
43447 ac_cpp='$CXXCPP $CPPFLAGS'
43448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43451
43452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43453 /* end confdefs.h.  */
43454 #include <math.h>
43455                       #ifdef HAVE_IEEEFP_H
43456                       #include <ieeefp.h>
43457                       #endif
43458
43459 int
43460 main ()
43461 {
43462  isnanl(0);
43463   ;
43464   return 0;
43465 }
43466 _ACEOF
43467 if ac_fn_cxx_try_compile "$LINENO"; then :
43468   glibcxx_cv_func_isnanl_use=yes
43469 else
43470   glibcxx_cv_func_isnanl_use=no
43471 fi
43472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43473       ac_ext=c
43474 ac_cpp='$CPP $CPPFLAGS'
43475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43478
43479
43480 fi
43481
43482   fi
43483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43484 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43485
43486   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43487     for ac_func in isnanl
43488 do :
43489   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43490 if test "x$ac_cv_func_isnanl" = x""yes; then :
43491   cat >>confdefs.h <<_ACEOF
43492 #define HAVE_ISNANL 1
43493 _ACEOF
43494
43495 fi
43496 done
43497
43498   else
43499
43500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43501 $as_echo_n "checking for _isnanl declaration... " >&6; }
43502   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43503     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43504   $as_echo_n "(cached) " >&6
43505 else
43506
43507
43508       ac_ext=cpp
43509 ac_cpp='$CXXCPP $CPPFLAGS'
43510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43513
43514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43515 /* end confdefs.h.  */
43516 #include <math.h>
43517                       #ifdef HAVE_IEEEFP_H
43518                       #include <ieeefp.h>
43519                       #endif
43520
43521 int
43522 main ()
43523 {
43524  _isnanl(0);
43525   ;
43526   return 0;
43527 }
43528 _ACEOF
43529 if ac_fn_cxx_try_compile "$LINENO"; then :
43530   glibcxx_cv_func__isnanl_use=yes
43531 else
43532   glibcxx_cv_func__isnanl_use=no
43533 fi
43534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43535       ac_ext=c
43536 ac_cpp='$CPP $CPPFLAGS'
43537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43540
43541
43542 fi
43543
43544   fi
43545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43546 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43547
43548     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43549       for ac_func in _isnanl
43550 do :
43551   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43552 if test "x$ac_cv_func__isnanl" = x""yes; then :
43553   cat >>confdefs.h <<_ACEOF
43554 #define HAVE__ISNANL 1
43555 _ACEOF
43556
43557 fi
43558 done
43559
43560     fi
43561   fi
43562
43563
43564
43565
43566
43567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43568 $as_echo_n "checking for isinfl declaration... " >&6; }
43569   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43570     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43571   $as_echo_n "(cached) " >&6
43572 else
43573
43574
43575       ac_ext=cpp
43576 ac_cpp='$CXXCPP $CPPFLAGS'
43577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43580
43581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43582 /* end confdefs.h.  */
43583 #include <math.h>
43584                       #ifdef HAVE_IEEEFP_H
43585                       #include <ieeefp.h>
43586                       #endif
43587
43588 int
43589 main ()
43590 {
43591  isinfl(0);
43592   ;
43593   return 0;
43594 }
43595 _ACEOF
43596 if ac_fn_cxx_try_compile "$LINENO"; then :
43597   glibcxx_cv_func_isinfl_use=yes
43598 else
43599   glibcxx_cv_func_isinfl_use=no
43600 fi
43601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43602       ac_ext=c
43603 ac_cpp='$CPP $CPPFLAGS'
43604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43607
43608
43609 fi
43610
43611   fi
43612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43613 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43614
43615   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43616     for ac_func in isinfl
43617 do :
43618   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43619 if test "x$ac_cv_func_isinfl" = x""yes; then :
43620   cat >>confdefs.h <<_ACEOF
43621 #define HAVE_ISINFL 1
43622 _ACEOF
43623
43624 fi
43625 done
43626
43627   else
43628
43629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43630 $as_echo_n "checking for _isinfl declaration... " >&6; }
43631   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43632     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43633   $as_echo_n "(cached) " >&6
43634 else
43635
43636
43637       ac_ext=cpp
43638 ac_cpp='$CXXCPP $CPPFLAGS'
43639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43642
43643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43644 /* end confdefs.h.  */
43645 #include <math.h>
43646                       #ifdef HAVE_IEEEFP_H
43647                       #include <ieeefp.h>
43648                       #endif
43649
43650 int
43651 main ()
43652 {
43653  _isinfl(0);
43654   ;
43655   return 0;
43656 }
43657 _ACEOF
43658 if ac_fn_cxx_try_compile "$LINENO"; then :
43659   glibcxx_cv_func__isinfl_use=yes
43660 else
43661   glibcxx_cv_func__isinfl_use=no
43662 fi
43663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43664       ac_ext=c
43665 ac_cpp='$CPP $CPPFLAGS'
43666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43669
43670
43671 fi
43672
43673   fi
43674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43675 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43676
43677     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43678       for ac_func in _isinfl
43679 do :
43680   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43681 if test "x$ac_cv_func__isinfl" = x""yes; then :
43682   cat >>confdefs.h <<_ACEOF
43683 #define HAVE__ISINFL 1
43684 _ACEOF
43685
43686 fi
43687 done
43688
43689     fi
43690   fi
43691
43692
43693
43694
43695
43696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43697 $as_echo_n "checking for atan2l declaration... " >&6; }
43698   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43699     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43700   $as_echo_n "(cached) " >&6
43701 else
43702
43703
43704       ac_ext=cpp
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43709
43710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43711 /* end confdefs.h.  */
43712 #include <math.h>
43713 int
43714 main ()
43715 {
43716  atan2l(0, 0);
43717   ;
43718   return 0;
43719 }
43720 _ACEOF
43721 if ac_fn_cxx_try_compile "$LINENO"; then :
43722   glibcxx_cv_func_atan2l_use=yes
43723 else
43724   glibcxx_cv_func_atan2l_use=no
43725 fi
43726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43727       ac_ext=c
43728 ac_cpp='$CPP $CPPFLAGS'
43729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43732
43733
43734 fi
43735
43736   fi
43737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43738 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43739
43740   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43741     for ac_func in atan2l
43742 do :
43743   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43744 if test "x$ac_cv_func_atan2l" = x""yes; then :
43745   cat >>confdefs.h <<_ACEOF
43746 #define HAVE_ATAN2L 1
43747 _ACEOF
43748
43749 fi
43750 done
43751
43752   else
43753
43754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43755 $as_echo_n "checking for _atan2l declaration... " >&6; }
43756   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43757     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43758   $as_echo_n "(cached) " >&6
43759 else
43760
43761
43762       ac_ext=cpp
43763 ac_cpp='$CXXCPP $CPPFLAGS'
43764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43767
43768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43769 /* end confdefs.h.  */
43770 #include <math.h>
43771 int
43772 main ()
43773 {
43774  _atan2l(0, 0);
43775   ;
43776   return 0;
43777 }
43778 _ACEOF
43779 if ac_fn_cxx_try_compile "$LINENO"; then :
43780   glibcxx_cv_func__atan2l_use=yes
43781 else
43782   glibcxx_cv_func__atan2l_use=no
43783 fi
43784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43785       ac_ext=c
43786 ac_cpp='$CPP $CPPFLAGS'
43787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43790
43791
43792 fi
43793
43794   fi
43795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43796 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43797
43798     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43799       for ac_func in _atan2l
43800 do :
43801   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43802 if test "x$ac_cv_func__atan2l" = x""yes; then :
43803   cat >>confdefs.h <<_ACEOF
43804 #define HAVE__ATAN2L 1
43805 _ACEOF
43806
43807 fi
43808 done
43809
43810     fi
43811   fi
43812
43813
43814
43815
43816
43817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43818 $as_echo_n "checking for expl declaration... " >&6; }
43819   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43820     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43821   $as_echo_n "(cached) " >&6
43822 else
43823
43824
43825       ac_ext=cpp
43826 ac_cpp='$CXXCPP $CPPFLAGS'
43827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43830
43831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43832 /* end confdefs.h.  */
43833 #include <math.h>
43834                       #ifdef HAVE_IEEEFP_H
43835                       #include <ieeefp.h>
43836                       #endif
43837
43838 int
43839 main ()
43840 {
43841  expl(0);
43842   ;
43843   return 0;
43844 }
43845 _ACEOF
43846 if ac_fn_cxx_try_compile "$LINENO"; then :
43847   glibcxx_cv_func_expl_use=yes
43848 else
43849   glibcxx_cv_func_expl_use=no
43850 fi
43851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43852       ac_ext=c
43853 ac_cpp='$CPP $CPPFLAGS'
43854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43857
43858
43859 fi
43860
43861   fi
43862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43863 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43864
43865   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43866     for ac_func in expl
43867 do :
43868   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43869 if test "x$ac_cv_func_expl" = x""yes; then :
43870   cat >>confdefs.h <<_ACEOF
43871 #define HAVE_EXPL 1
43872 _ACEOF
43873
43874 fi
43875 done
43876
43877   else
43878
43879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43880 $as_echo_n "checking for _expl declaration... " >&6; }
43881   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43882     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43883   $as_echo_n "(cached) " >&6
43884 else
43885
43886
43887       ac_ext=cpp
43888 ac_cpp='$CXXCPP $CPPFLAGS'
43889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43892
43893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43894 /* end confdefs.h.  */
43895 #include <math.h>
43896                       #ifdef HAVE_IEEEFP_H
43897                       #include <ieeefp.h>
43898                       #endif
43899
43900 int
43901 main ()
43902 {
43903  _expl(0);
43904   ;
43905   return 0;
43906 }
43907 _ACEOF
43908 if ac_fn_cxx_try_compile "$LINENO"; then :
43909   glibcxx_cv_func__expl_use=yes
43910 else
43911   glibcxx_cv_func__expl_use=no
43912 fi
43913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43914       ac_ext=c
43915 ac_cpp='$CPP $CPPFLAGS'
43916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43919
43920
43921 fi
43922
43923   fi
43924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43925 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43926
43927     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43928       for ac_func in _expl
43929 do :
43930   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43931 if test "x$ac_cv_func__expl" = x""yes; then :
43932   cat >>confdefs.h <<_ACEOF
43933 #define HAVE__EXPL 1
43934 _ACEOF
43935
43936 fi
43937 done
43938
43939     fi
43940   fi
43941
43942
43943
43944
43945
43946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43947 $as_echo_n "checking for fabsl declaration... " >&6; }
43948   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43949     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43950   $as_echo_n "(cached) " >&6
43951 else
43952
43953
43954       ac_ext=cpp
43955 ac_cpp='$CXXCPP $CPPFLAGS'
43956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43959
43960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43961 /* end confdefs.h.  */
43962 #include <math.h>
43963                       #ifdef HAVE_IEEEFP_H
43964                       #include <ieeefp.h>
43965                       #endif
43966
43967 int
43968 main ()
43969 {
43970  fabsl(0);
43971   ;
43972   return 0;
43973 }
43974 _ACEOF
43975 if ac_fn_cxx_try_compile "$LINENO"; then :
43976   glibcxx_cv_func_fabsl_use=yes
43977 else
43978   glibcxx_cv_func_fabsl_use=no
43979 fi
43980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43981       ac_ext=c
43982 ac_cpp='$CPP $CPPFLAGS'
43983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43986
43987
43988 fi
43989
43990   fi
43991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43992 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43993
43994   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43995     for ac_func in fabsl
43996 do :
43997   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43998 if test "x$ac_cv_func_fabsl" = x""yes; then :
43999   cat >>confdefs.h <<_ACEOF
44000 #define HAVE_FABSL 1
44001 _ACEOF
44002
44003 fi
44004 done
44005
44006   else
44007
44008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44009 $as_echo_n "checking for _fabsl declaration... " >&6; }
44010   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44011     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44012   $as_echo_n "(cached) " >&6
44013 else
44014
44015
44016       ac_ext=cpp
44017 ac_cpp='$CXXCPP $CPPFLAGS'
44018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44021
44022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44023 /* end confdefs.h.  */
44024 #include <math.h>
44025                       #ifdef HAVE_IEEEFP_H
44026                       #include <ieeefp.h>
44027                       #endif
44028
44029 int
44030 main ()
44031 {
44032  _fabsl(0);
44033   ;
44034   return 0;
44035 }
44036 _ACEOF
44037 if ac_fn_cxx_try_compile "$LINENO"; then :
44038   glibcxx_cv_func__fabsl_use=yes
44039 else
44040   glibcxx_cv_func__fabsl_use=no
44041 fi
44042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44043       ac_ext=c
44044 ac_cpp='$CPP $CPPFLAGS'
44045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44048
44049
44050 fi
44051
44052   fi
44053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44054 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44055
44056     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44057       for ac_func in _fabsl
44058 do :
44059   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44060 if test "x$ac_cv_func__fabsl" = x""yes; then :
44061   cat >>confdefs.h <<_ACEOF
44062 #define HAVE__FABSL 1
44063 _ACEOF
44064
44065 fi
44066 done
44067
44068     fi
44069   fi
44070
44071
44072
44073
44074
44075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44076 $as_echo_n "checking for fmodl declaration... " >&6; }
44077   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44078     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44079   $as_echo_n "(cached) " >&6
44080 else
44081
44082
44083       ac_ext=cpp
44084 ac_cpp='$CXXCPP $CPPFLAGS'
44085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44088
44089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44090 /* end confdefs.h.  */
44091 #include <math.h>
44092 int
44093 main ()
44094 {
44095  fmodl(0, 0);
44096   ;
44097   return 0;
44098 }
44099 _ACEOF
44100 if ac_fn_cxx_try_compile "$LINENO"; then :
44101   glibcxx_cv_func_fmodl_use=yes
44102 else
44103   glibcxx_cv_func_fmodl_use=no
44104 fi
44105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44106       ac_ext=c
44107 ac_cpp='$CPP $CPPFLAGS'
44108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44111
44112
44113 fi
44114
44115   fi
44116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44117 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44118
44119   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44120     for ac_func in fmodl
44121 do :
44122   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44123 if test "x$ac_cv_func_fmodl" = x""yes; then :
44124   cat >>confdefs.h <<_ACEOF
44125 #define HAVE_FMODL 1
44126 _ACEOF
44127
44128 fi
44129 done
44130
44131   else
44132
44133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44134 $as_echo_n "checking for _fmodl declaration... " >&6; }
44135   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44136     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44137   $as_echo_n "(cached) " >&6
44138 else
44139
44140
44141       ac_ext=cpp
44142 ac_cpp='$CXXCPP $CPPFLAGS'
44143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44146
44147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44148 /* end confdefs.h.  */
44149 #include <math.h>
44150 int
44151 main ()
44152 {
44153  _fmodl(0, 0);
44154   ;
44155   return 0;
44156 }
44157 _ACEOF
44158 if ac_fn_cxx_try_compile "$LINENO"; then :
44159   glibcxx_cv_func__fmodl_use=yes
44160 else
44161   glibcxx_cv_func__fmodl_use=no
44162 fi
44163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44164       ac_ext=c
44165 ac_cpp='$CPP $CPPFLAGS'
44166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44169
44170
44171 fi
44172
44173   fi
44174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44175 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44176
44177     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44178       for ac_func in _fmodl
44179 do :
44180   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44181 if test "x$ac_cv_func__fmodl" = x""yes; then :
44182   cat >>confdefs.h <<_ACEOF
44183 #define HAVE__FMODL 1
44184 _ACEOF
44185
44186 fi
44187 done
44188
44189     fi
44190   fi
44191
44192
44193
44194
44195
44196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44197 $as_echo_n "checking for frexpl declaration... " >&6; }
44198   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44199     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44200   $as_echo_n "(cached) " >&6
44201 else
44202
44203
44204       ac_ext=cpp
44205 ac_cpp='$CXXCPP $CPPFLAGS'
44206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44209
44210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44211 /* end confdefs.h.  */
44212 #include <math.h>
44213 int
44214 main ()
44215 {
44216  frexpl(0, 0);
44217   ;
44218   return 0;
44219 }
44220 _ACEOF
44221 if ac_fn_cxx_try_compile "$LINENO"; then :
44222   glibcxx_cv_func_frexpl_use=yes
44223 else
44224   glibcxx_cv_func_frexpl_use=no
44225 fi
44226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44227       ac_ext=c
44228 ac_cpp='$CPP $CPPFLAGS'
44229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44232
44233
44234 fi
44235
44236   fi
44237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44238 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44239
44240   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44241     for ac_func in frexpl
44242 do :
44243   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44244 if test "x$ac_cv_func_frexpl" = x""yes; then :
44245   cat >>confdefs.h <<_ACEOF
44246 #define HAVE_FREXPL 1
44247 _ACEOF
44248
44249 fi
44250 done
44251
44252   else
44253
44254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44255 $as_echo_n "checking for _frexpl declaration... " >&6; }
44256   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44257     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44258   $as_echo_n "(cached) " >&6
44259 else
44260
44261
44262       ac_ext=cpp
44263 ac_cpp='$CXXCPP $CPPFLAGS'
44264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44267
44268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44269 /* end confdefs.h.  */
44270 #include <math.h>
44271 int
44272 main ()
44273 {
44274  _frexpl(0, 0);
44275   ;
44276   return 0;
44277 }
44278 _ACEOF
44279 if ac_fn_cxx_try_compile "$LINENO"; then :
44280   glibcxx_cv_func__frexpl_use=yes
44281 else
44282   glibcxx_cv_func__frexpl_use=no
44283 fi
44284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44285       ac_ext=c
44286 ac_cpp='$CPP $CPPFLAGS'
44287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44290
44291
44292 fi
44293
44294   fi
44295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44296 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44297
44298     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44299       for ac_func in _frexpl
44300 do :
44301   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44302 if test "x$ac_cv_func__frexpl" = x""yes; then :
44303   cat >>confdefs.h <<_ACEOF
44304 #define HAVE__FREXPL 1
44305 _ACEOF
44306
44307 fi
44308 done
44309
44310     fi
44311   fi
44312
44313
44314
44315
44316
44317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44318 $as_echo_n "checking for hypotl declaration... " >&6; }
44319   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44320     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44321   $as_echo_n "(cached) " >&6
44322 else
44323
44324
44325       ac_ext=cpp
44326 ac_cpp='$CXXCPP $CPPFLAGS'
44327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44330
44331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44332 /* end confdefs.h.  */
44333 #include <math.h>
44334 int
44335 main ()
44336 {
44337  hypotl(0, 0);
44338   ;
44339   return 0;
44340 }
44341 _ACEOF
44342 if ac_fn_cxx_try_compile "$LINENO"; then :
44343   glibcxx_cv_func_hypotl_use=yes
44344 else
44345   glibcxx_cv_func_hypotl_use=no
44346 fi
44347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44348       ac_ext=c
44349 ac_cpp='$CPP $CPPFLAGS'
44350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44353
44354
44355 fi
44356
44357   fi
44358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44359 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44360
44361   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44362     for ac_func in hypotl
44363 do :
44364   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44365 if test "x$ac_cv_func_hypotl" = x""yes; then :
44366   cat >>confdefs.h <<_ACEOF
44367 #define HAVE_HYPOTL 1
44368 _ACEOF
44369
44370 fi
44371 done
44372
44373   else
44374
44375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44376 $as_echo_n "checking for _hypotl declaration... " >&6; }
44377   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44378     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44379   $as_echo_n "(cached) " >&6
44380 else
44381
44382
44383       ac_ext=cpp
44384 ac_cpp='$CXXCPP $CPPFLAGS'
44385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44388
44389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44390 /* end confdefs.h.  */
44391 #include <math.h>
44392 int
44393 main ()
44394 {
44395  _hypotl(0, 0);
44396   ;
44397   return 0;
44398 }
44399 _ACEOF
44400 if ac_fn_cxx_try_compile "$LINENO"; then :
44401   glibcxx_cv_func__hypotl_use=yes
44402 else
44403   glibcxx_cv_func__hypotl_use=no
44404 fi
44405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44406       ac_ext=c
44407 ac_cpp='$CPP $CPPFLAGS'
44408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44411
44412
44413 fi
44414
44415   fi
44416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44417 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44418
44419     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44420       for ac_func in _hypotl
44421 do :
44422   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44423 if test "x$ac_cv_func__hypotl" = x""yes; then :
44424   cat >>confdefs.h <<_ACEOF
44425 #define HAVE__HYPOTL 1
44426 _ACEOF
44427
44428 fi
44429 done
44430
44431     fi
44432   fi
44433
44434
44435
44436
44437
44438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44439 $as_echo_n "checking for ldexpl declaration... " >&6; }
44440   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44441     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44442   $as_echo_n "(cached) " >&6
44443 else
44444
44445
44446       ac_ext=cpp
44447 ac_cpp='$CXXCPP $CPPFLAGS'
44448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44451
44452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44453 /* end confdefs.h.  */
44454 #include <math.h>
44455 int
44456 main ()
44457 {
44458  ldexpl(0, 0);
44459   ;
44460   return 0;
44461 }
44462 _ACEOF
44463 if ac_fn_cxx_try_compile "$LINENO"; then :
44464   glibcxx_cv_func_ldexpl_use=yes
44465 else
44466   glibcxx_cv_func_ldexpl_use=no
44467 fi
44468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44469       ac_ext=c
44470 ac_cpp='$CPP $CPPFLAGS'
44471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44474
44475
44476 fi
44477
44478   fi
44479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44480 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44481
44482   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44483     for ac_func in ldexpl
44484 do :
44485   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44486 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44487   cat >>confdefs.h <<_ACEOF
44488 #define HAVE_LDEXPL 1
44489 _ACEOF
44490
44491 fi
44492 done
44493
44494   else
44495
44496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44497 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44498   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44499     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44500   $as_echo_n "(cached) " >&6
44501 else
44502
44503
44504       ac_ext=cpp
44505 ac_cpp='$CXXCPP $CPPFLAGS'
44506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44509
44510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44511 /* end confdefs.h.  */
44512 #include <math.h>
44513 int
44514 main ()
44515 {
44516  _ldexpl(0, 0);
44517   ;
44518   return 0;
44519 }
44520 _ACEOF
44521 if ac_fn_cxx_try_compile "$LINENO"; then :
44522   glibcxx_cv_func__ldexpl_use=yes
44523 else
44524   glibcxx_cv_func__ldexpl_use=no
44525 fi
44526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44527       ac_ext=c
44528 ac_cpp='$CPP $CPPFLAGS'
44529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44532
44533
44534 fi
44535
44536   fi
44537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44538 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44539
44540     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44541       for ac_func in _ldexpl
44542 do :
44543   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44544 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44545   cat >>confdefs.h <<_ACEOF
44546 #define HAVE__LDEXPL 1
44547 _ACEOF
44548
44549 fi
44550 done
44551
44552     fi
44553   fi
44554
44555
44556
44557
44558
44559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44560 $as_echo_n "checking for logl declaration... " >&6; }
44561   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44562     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44563   $as_echo_n "(cached) " >&6
44564 else
44565
44566
44567       ac_ext=cpp
44568 ac_cpp='$CXXCPP $CPPFLAGS'
44569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44572
44573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44574 /* end confdefs.h.  */
44575 #include <math.h>
44576                       #ifdef HAVE_IEEEFP_H
44577                       #include <ieeefp.h>
44578                       #endif
44579
44580 int
44581 main ()
44582 {
44583  logl(0);
44584   ;
44585   return 0;
44586 }
44587 _ACEOF
44588 if ac_fn_cxx_try_compile "$LINENO"; then :
44589   glibcxx_cv_func_logl_use=yes
44590 else
44591   glibcxx_cv_func_logl_use=no
44592 fi
44593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44594       ac_ext=c
44595 ac_cpp='$CPP $CPPFLAGS'
44596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44599
44600
44601 fi
44602
44603   fi
44604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44605 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44606
44607   if test x$glibcxx_cv_func_logl_use = x"yes"; then
44608     for ac_func in logl
44609 do :
44610   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44611 if test "x$ac_cv_func_logl" = x""yes; then :
44612   cat >>confdefs.h <<_ACEOF
44613 #define HAVE_LOGL 1
44614 _ACEOF
44615
44616 fi
44617 done
44618
44619   else
44620
44621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44622 $as_echo_n "checking for _logl declaration... " >&6; }
44623   if test x${glibcxx_cv_func__logl_use+set} != xset; then
44624     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44625   $as_echo_n "(cached) " >&6
44626 else
44627
44628
44629       ac_ext=cpp
44630 ac_cpp='$CXXCPP $CPPFLAGS'
44631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44634
44635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44636 /* end confdefs.h.  */
44637 #include <math.h>
44638                       #ifdef HAVE_IEEEFP_H
44639                       #include <ieeefp.h>
44640                       #endif
44641
44642 int
44643 main ()
44644 {
44645  _logl(0);
44646   ;
44647   return 0;
44648 }
44649 _ACEOF
44650 if ac_fn_cxx_try_compile "$LINENO"; then :
44651   glibcxx_cv_func__logl_use=yes
44652 else
44653   glibcxx_cv_func__logl_use=no
44654 fi
44655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44656       ac_ext=c
44657 ac_cpp='$CPP $CPPFLAGS'
44658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44661
44662
44663 fi
44664
44665   fi
44666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44667 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44668
44669     if test x$glibcxx_cv_func__logl_use = x"yes"; then
44670       for ac_func in _logl
44671 do :
44672   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44673 if test "x$ac_cv_func__logl" = x""yes; then :
44674   cat >>confdefs.h <<_ACEOF
44675 #define HAVE__LOGL 1
44676 _ACEOF
44677
44678 fi
44679 done
44680
44681     fi
44682   fi
44683
44684
44685
44686
44687
44688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44689 $as_echo_n "checking for log10l declaration... " >&6; }
44690   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44691     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44692   $as_echo_n "(cached) " >&6
44693 else
44694
44695
44696       ac_ext=cpp
44697 ac_cpp='$CXXCPP $CPPFLAGS'
44698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44701
44702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44703 /* end confdefs.h.  */
44704 #include <math.h>
44705                       #ifdef HAVE_IEEEFP_H
44706                       #include <ieeefp.h>
44707                       #endif
44708
44709 int
44710 main ()
44711 {
44712  log10l(0);
44713   ;
44714   return 0;
44715 }
44716 _ACEOF
44717 if ac_fn_cxx_try_compile "$LINENO"; then :
44718   glibcxx_cv_func_log10l_use=yes
44719 else
44720   glibcxx_cv_func_log10l_use=no
44721 fi
44722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44723       ac_ext=c
44724 ac_cpp='$CPP $CPPFLAGS'
44725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44728
44729
44730 fi
44731
44732   fi
44733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44734 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44735
44736   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44737     for ac_func in log10l
44738 do :
44739   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44740 if test "x$ac_cv_func_log10l" = x""yes; then :
44741   cat >>confdefs.h <<_ACEOF
44742 #define HAVE_LOG10L 1
44743 _ACEOF
44744
44745 fi
44746 done
44747
44748   else
44749
44750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44751 $as_echo_n "checking for _log10l declaration... " >&6; }
44752   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44753     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44754   $as_echo_n "(cached) " >&6
44755 else
44756
44757
44758       ac_ext=cpp
44759 ac_cpp='$CXXCPP $CPPFLAGS'
44760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44763
44764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44765 /* end confdefs.h.  */
44766 #include <math.h>
44767                       #ifdef HAVE_IEEEFP_H
44768                       #include <ieeefp.h>
44769                       #endif
44770
44771 int
44772 main ()
44773 {
44774  _log10l(0);
44775   ;
44776   return 0;
44777 }
44778 _ACEOF
44779 if ac_fn_cxx_try_compile "$LINENO"; then :
44780   glibcxx_cv_func__log10l_use=yes
44781 else
44782   glibcxx_cv_func__log10l_use=no
44783 fi
44784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44785       ac_ext=c
44786 ac_cpp='$CPP $CPPFLAGS'
44787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44790
44791
44792 fi
44793
44794   fi
44795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44796 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44797
44798     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44799       for ac_func in _log10l
44800 do :
44801   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44802 if test "x$ac_cv_func__log10l" = x""yes; then :
44803   cat >>confdefs.h <<_ACEOF
44804 #define HAVE__LOG10L 1
44805 _ACEOF
44806
44807 fi
44808 done
44809
44810     fi
44811   fi
44812
44813
44814
44815
44816
44817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44818 $as_echo_n "checking for modfl declaration... " >&6; }
44819   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44820     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44821   $as_echo_n "(cached) " >&6
44822 else
44823
44824
44825       ac_ext=cpp
44826 ac_cpp='$CXXCPP $CPPFLAGS'
44827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44830
44831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44832 /* end confdefs.h.  */
44833 #include <math.h>
44834 int
44835 main ()
44836 {
44837  modfl(0, 0);
44838   ;
44839   return 0;
44840 }
44841 _ACEOF
44842 if ac_fn_cxx_try_compile "$LINENO"; then :
44843   glibcxx_cv_func_modfl_use=yes
44844 else
44845   glibcxx_cv_func_modfl_use=no
44846 fi
44847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44848       ac_ext=c
44849 ac_cpp='$CPP $CPPFLAGS'
44850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44853
44854
44855 fi
44856
44857   fi
44858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44859 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44860
44861   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44862     for ac_func in modfl
44863 do :
44864   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44865 if test "x$ac_cv_func_modfl" = x""yes; then :
44866   cat >>confdefs.h <<_ACEOF
44867 #define HAVE_MODFL 1
44868 _ACEOF
44869
44870 fi
44871 done
44872
44873   else
44874
44875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44876 $as_echo_n "checking for _modfl declaration... " >&6; }
44877   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44878     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44879   $as_echo_n "(cached) " >&6
44880 else
44881
44882
44883       ac_ext=cpp
44884 ac_cpp='$CXXCPP $CPPFLAGS'
44885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44888
44889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44890 /* end confdefs.h.  */
44891 #include <math.h>
44892 int
44893 main ()
44894 {
44895  _modfl(0, 0);
44896   ;
44897   return 0;
44898 }
44899 _ACEOF
44900 if ac_fn_cxx_try_compile "$LINENO"; then :
44901   glibcxx_cv_func__modfl_use=yes
44902 else
44903   glibcxx_cv_func__modfl_use=no
44904 fi
44905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44906       ac_ext=c
44907 ac_cpp='$CPP $CPPFLAGS'
44908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44911
44912
44913 fi
44914
44915   fi
44916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44917 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44918
44919     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44920       for ac_func in _modfl
44921 do :
44922   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44923 if test "x$ac_cv_func__modfl" = x""yes; then :
44924   cat >>confdefs.h <<_ACEOF
44925 #define HAVE__MODFL 1
44926 _ACEOF
44927
44928 fi
44929 done
44930
44931     fi
44932   fi
44933
44934
44935
44936
44937
44938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44939 $as_echo_n "checking for powl declaration... " >&6; }
44940   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44941     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44942   $as_echo_n "(cached) " >&6
44943 else
44944
44945
44946       ac_ext=cpp
44947 ac_cpp='$CXXCPP $CPPFLAGS'
44948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44951
44952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44953 /* end confdefs.h.  */
44954 #include <math.h>
44955 int
44956 main ()
44957 {
44958  powl(0, 0);
44959   ;
44960   return 0;
44961 }
44962 _ACEOF
44963 if ac_fn_cxx_try_compile "$LINENO"; then :
44964   glibcxx_cv_func_powl_use=yes
44965 else
44966   glibcxx_cv_func_powl_use=no
44967 fi
44968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44969       ac_ext=c
44970 ac_cpp='$CPP $CPPFLAGS'
44971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44974
44975
44976 fi
44977
44978   fi
44979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44980 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44981
44982   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44983     for ac_func in powl
44984 do :
44985   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44986 if test "x$ac_cv_func_powl" = x""yes; then :
44987   cat >>confdefs.h <<_ACEOF
44988 #define HAVE_POWL 1
44989 _ACEOF
44990
44991 fi
44992 done
44993
44994   else
44995
44996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44997 $as_echo_n "checking for _powl declaration... " >&6; }
44998   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44999     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45000   $as_echo_n "(cached) " >&6
45001 else
45002
45003
45004       ac_ext=cpp
45005 ac_cpp='$CXXCPP $CPPFLAGS'
45006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45009
45010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45011 /* end confdefs.h.  */
45012 #include <math.h>
45013 int
45014 main ()
45015 {
45016  _powl(0, 0);
45017   ;
45018   return 0;
45019 }
45020 _ACEOF
45021 if ac_fn_cxx_try_compile "$LINENO"; then :
45022   glibcxx_cv_func__powl_use=yes
45023 else
45024   glibcxx_cv_func__powl_use=no
45025 fi
45026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45027       ac_ext=c
45028 ac_cpp='$CPP $CPPFLAGS'
45029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45032
45033
45034 fi
45035
45036   fi
45037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45038 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45039
45040     if test x$glibcxx_cv_func__powl_use = x"yes"; then
45041       for ac_func in _powl
45042 do :
45043   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45044 if test "x$ac_cv_func__powl" = x""yes; then :
45045   cat >>confdefs.h <<_ACEOF
45046 #define HAVE__POWL 1
45047 _ACEOF
45048
45049 fi
45050 done
45051
45052     fi
45053   fi
45054
45055
45056
45057
45058
45059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45060 $as_echo_n "checking for sqrtl declaration... " >&6; }
45061   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45062     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45063   $as_echo_n "(cached) " >&6
45064 else
45065
45066
45067       ac_ext=cpp
45068 ac_cpp='$CXXCPP $CPPFLAGS'
45069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45072
45073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45074 /* end confdefs.h.  */
45075 #include <math.h>
45076                       #ifdef HAVE_IEEEFP_H
45077                       #include <ieeefp.h>
45078                       #endif
45079
45080 int
45081 main ()
45082 {
45083  sqrtl(0);
45084   ;
45085   return 0;
45086 }
45087 _ACEOF
45088 if ac_fn_cxx_try_compile "$LINENO"; then :
45089   glibcxx_cv_func_sqrtl_use=yes
45090 else
45091   glibcxx_cv_func_sqrtl_use=no
45092 fi
45093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45094       ac_ext=c
45095 ac_cpp='$CPP $CPPFLAGS'
45096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45099
45100
45101 fi
45102
45103   fi
45104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45105 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45106
45107   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45108     for ac_func in sqrtl
45109 do :
45110   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45111 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45112   cat >>confdefs.h <<_ACEOF
45113 #define HAVE_SQRTL 1
45114 _ACEOF
45115
45116 fi
45117 done
45118
45119   else
45120
45121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45122 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45123   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45124     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45125   $as_echo_n "(cached) " >&6
45126 else
45127
45128
45129       ac_ext=cpp
45130 ac_cpp='$CXXCPP $CPPFLAGS'
45131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45134
45135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45136 /* end confdefs.h.  */
45137 #include <math.h>
45138                       #ifdef HAVE_IEEEFP_H
45139                       #include <ieeefp.h>
45140                       #endif
45141
45142 int
45143 main ()
45144 {
45145  _sqrtl(0);
45146   ;
45147   return 0;
45148 }
45149 _ACEOF
45150 if ac_fn_cxx_try_compile "$LINENO"; then :
45151   glibcxx_cv_func__sqrtl_use=yes
45152 else
45153   glibcxx_cv_func__sqrtl_use=no
45154 fi
45155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45156       ac_ext=c
45157 ac_cpp='$CPP $CPPFLAGS'
45158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45161
45162
45163 fi
45164
45165   fi
45166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45167 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45168
45169     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45170       for ac_func in _sqrtl
45171 do :
45172   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45173 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45174   cat >>confdefs.h <<_ACEOF
45175 #define HAVE__SQRTL 1
45176 _ACEOF
45177
45178 fi
45179 done
45180
45181     fi
45182   fi
45183
45184
45185
45186
45187
45188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45189 $as_echo_n "checking for sincosl declaration... " >&6; }
45190   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45191     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45192   $as_echo_n "(cached) " >&6
45193 else
45194
45195
45196       ac_ext=cpp
45197 ac_cpp='$CXXCPP $CPPFLAGS'
45198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45201
45202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45203 /* end confdefs.h.  */
45204 #include <math.h>
45205 int
45206 main ()
45207 {
45208  sincosl(0, 0, 0);
45209   ;
45210   return 0;
45211 }
45212 _ACEOF
45213 if ac_fn_cxx_try_compile "$LINENO"; then :
45214   glibcxx_cv_func_sincosl_use=yes
45215 else
45216   glibcxx_cv_func_sincosl_use=no
45217 fi
45218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45219       ac_ext=c
45220 ac_cpp='$CPP $CPPFLAGS'
45221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45224
45225
45226 fi
45227
45228   fi
45229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45230 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45231
45232   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45233     for ac_func in sincosl
45234 do :
45235   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45236 if test "x$ac_cv_func_sincosl" = x""yes; then :
45237   cat >>confdefs.h <<_ACEOF
45238 #define HAVE_SINCOSL 1
45239 _ACEOF
45240
45241 fi
45242 done
45243
45244   else
45245
45246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45247 $as_echo_n "checking for _sincosl declaration... " >&6; }
45248   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45249     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45250   $as_echo_n "(cached) " >&6
45251 else
45252
45253
45254       ac_ext=cpp
45255 ac_cpp='$CXXCPP $CPPFLAGS'
45256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45259
45260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45261 /* end confdefs.h.  */
45262 #include <math.h>
45263 int
45264 main ()
45265 {
45266  _sincosl(0, 0, 0);
45267   ;
45268   return 0;
45269 }
45270 _ACEOF
45271 if ac_fn_cxx_try_compile "$LINENO"; then :
45272   glibcxx_cv_func__sincosl_use=yes
45273 else
45274   glibcxx_cv_func__sincosl_use=no
45275 fi
45276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45277       ac_ext=c
45278 ac_cpp='$CPP $CPPFLAGS'
45279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45282
45283
45284 fi
45285
45286   fi
45287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45288 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45289
45290     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45291       for ac_func in _sincosl
45292 do :
45293   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45294 if test "x$ac_cv_func__sincosl" = x""yes; then :
45295   cat >>confdefs.h <<_ACEOF
45296 #define HAVE__SINCOSL 1
45297 _ACEOF
45298
45299 fi
45300 done
45301
45302     fi
45303   fi
45304
45305
45306
45307
45308
45309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45310 $as_echo_n "checking for finitel declaration... " >&6; }
45311   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45312     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45313   $as_echo_n "(cached) " >&6
45314 else
45315
45316
45317       ac_ext=cpp
45318 ac_cpp='$CXXCPP $CPPFLAGS'
45319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45322
45323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45324 /* end confdefs.h.  */
45325 #include <math.h>
45326                       #ifdef HAVE_IEEEFP_H
45327                       #include <ieeefp.h>
45328                       #endif
45329
45330 int
45331 main ()
45332 {
45333  finitel(0);
45334   ;
45335   return 0;
45336 }
45337 _ACEOF
45338 if ac_fn_cxx_try_compile "$LINENO"; then :
45339   glibcxx_cv_func_finitel_use=yes
45340 else
45341   glibcxx_cv_func_finitel_use=no
45342 fi
45343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45344       ac_ext=c
45345 ac_cpp='$CPP $CPPFLAGS'
45346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45349
45350
45351 fi
45352
45353   fi
45354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45355 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45356
45357   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45358     for ac_func in finitel
45359 do :
45360   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45361 if test "x$ac_cv_func_finitel" = x""yes; then :
45362   cat >>confdefs.h <<_ACEOF
45363 #define HAVE_FINITEL 1
45364 _ACEOF
45365
45366 fi
45367 done
45368
45369   else
45370
45371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45372 $as_echo_n "checking for _finitel declaration... " >&6; }
45373   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45374     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45375   $as_echo_n "(cached) " >&6
45376 else
45377
45378
45379       ac_ext=cpp
45380 ac_cpp='$CXXCPP $CPPFLAGS'
45381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45384
45385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45386 /* end confdefs.h.  */
45387 #include <math.h>
45388                       #ifdef HAVE_IEEEFP_H
45389                       #include <ieeefp.h>
45390                       #endif
45391
45392 int
45393 main ()
45394 {
45395  _finitel(0);
45396   ;
45397   return 0;
45398 }
45399 _ACEOF
45400 if ac_fn_cxx_try_compile "$LINENO"; then :
45401   glibcxx_cv_func__finitel_use=yes
45402 else
45403   glibcxx_cv_func__finitel_use=no
45404 fi
45405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45406       ac_ext=c
45407 ac_cpp='$CPP $CPPFLAGS'
45408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45411
45412
45413 fi
45414
45415   fi
45416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45417 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45418
45419     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45420       for ac_func in _finitel
45421 do :
45422   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45423 if test "x$ac_cv_func__finitel" = x""yes; then :
45424   cat >>confdefs.h <<_ACEOF
45425 #define HAVE__FINITEL 1
45426 _ACEOF
45427
45428 fi
45429 done
45430
45431     fi
45432   fi
45433
45434
45435
45436
45437   LIBS="$ac_save_LIBS"
45438   CXXFLAGS="$ac_save_CXXFLAGS"
45439
45440
45441   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45442   ac_save_CXXFLAGS="$CXXFLAGS"
45443   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45444
45445
45446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45447 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45448   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45449     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45450   $as_echo_n "(cached) " >&6
45451 else
45452
45453
45454       ac_ext=cpp
45455 ac_cpp='$CXXCPP $CPPFLAGS'
45456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45459
45460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45461 /* end confdefs.h.  */
45462 #include <stdlib.h>
45463 int
45464 main ()
45465 {
45466  at_quick_exit(0);
45467   ;
45468   return 0;
45469 }
45470 _ACEOF
45471 if ac_fn_cxx_try_compile "$LINENO"; then :
45472   glibcxx_cv_func_at_quick_exit_use=yes
45473 else
45474   glibcxx_cv_func_at_quick_exit_use=no
45475 fi
45476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45477       ac_ext=c
45478 ac_cpp='$CPP $CPPFLAGS'
45479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45482
45483
45484 fi
45485
45486   fi
45487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45488 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45489   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45490     for ac_func in at_quick_exit
45491 do :
45492   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45493 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45494   cat >>confdefs.h <<_ACEOF
45495 #define HAVE_AT_QUICK_EXIT 1
45496 _ACEOF
45497
45498 fi
45499 done
45500
45501   fi
45502
45503
45504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45505 $as_echo_n "checking for quick_exit declaration... " >&6; }
45506   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45507     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45508   $as_echo_n "(cached) " >&6
45509 else
45510
45511
45512       ac_ext=cpp
45513 ac_cpp='$CXXCPP $CPPFLAGS'
45514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45517
45518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45519 /* end confdefs.h.  */
45520 #include <stdlib.h>
45521 int
45522 main ()
45523 {
45524  quick_exit(0);
45525   ;
45526   return 0;
45527 }
45528 _ACEOF
45529 if ac_fn_cxx_try_compile "$LINENO"; then :
45530   glibcxx_cv_func_quick_exit_use=yes
45531 else
45532   glibcxx_cv_func_quick_exit_use=no
45533 fi
45534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45535       ac_ext=c
45536 ac_cpp='$CPP $CPPFLAGS'
45537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45540
45541
45542 fi
45543
45544   fi
45545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45546 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45547   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45548     for ac_func in quick_exit
45549 do :
45550   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45551 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45552   cat >>confdefs.h <<_ACEOF
45553 #define HAVE_QUICK_EXIT 1
45554 _ACEOF
45555
45556 fi
45557 done
45558
45559   fi
45560
45561
45562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45563 $as_echo_n "checking for strtold declaration... " >&6; }
45564   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45565     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45566   $as_echo_n "(cached) " >&6
45567 else
45568
45569
45570       ac_ext=cpp
45571 ac_cpp='$CXXCPP $CPPFLAGS'
45572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45575
45576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45577 /* end confdefs.h.  */
45578 #include <stdlib.h>
45579 int
45580 main ()
45581 {
45582  strtold(0, 0);
45583   ;
45584   return 0;
45585 }
45586 _ACEOF
45587 if ac_fn_cxx_try_compile "$LINENO"; then :
45588   glibcxx_cv_func_strtold_use=yes
45589 else
45590   glibcxx_cv_func_strtold_use=no
45591 fi
45592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45593       ac_ext=c
45594 ac_cpp='$CPP $CPPFLAGS'
45595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45598
45599
45600 fi
45601
45602   fi
45603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45604 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45605   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45606     for ac_func in strtold
45607 do :
45608   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45609 if test "x$ac_cv_func_strtold" = x""yes; then :
45610   cat >>confdefs.h <<_ACEOF
45611 #define HAVE_STRTOLD 1
45612 _ACEOF
45613
45614 fi
45615 done
45616
45617   fi
45618
45619
45620
45621
45622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45623 $as_echo_n "checking for strtof declaration... " >&6; }
45624   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45625     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45626   $as_echo_n "(cached) " >&6
45627 else
45628
45629
45630       ac_ext=cpp
45631 ac_cpp='$CXXCPP $CPPFLAGS'
45632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45635
45636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45637 /* end confdefs.h.  */
45638 #include <stdlib.h>
45639 int
45640 main ()
45641 {
45642  strtof(0, 0);
45643   ;
45644   return 0;
45645 }
45646 _ACEOF
45647 if ac_fn_cxx_try_compile "$LINENO"; then :
45648   glibcxx_cv_func_strtof_use=yes
45649 else
45650   glibcxx_cv_func_strtof_use=no
45651 fi
45652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45653       ac_ext=c
45654 ac_cpp='$CPP $CPPFLAGS'
45655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45658
45659
45660 fi
45661
45662   fi
45663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45664 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45665   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45666     for ac_func in strtof
45667 do :
45668   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45669 if test "x$ac_cv_func_strtof" = x""yes; then :
45670   cat >>confdefs.h <<_ACEOF
45671 #define HAVE_STRTOF 1
45672 _ACEOF
45673
45674 fi
45675 done
45676
45677   fi
45678
45679
45680
45681
45682   CXXFLAGS="$ac_save_CXXFLAGS"
45683
45684     ;;
45685
45686   *djgpp)
45687     # GLIBCXX_CHECK_MATH_SUPPORT
45688     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45689
45690     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45691
45692     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45693
45694     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45695
45696     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45697
45698     ;;
45699
45700   *-freebsd*)
45701     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45702
45703
45704   # If we're not using GNU ld, then there's no point in even trying these
45705   # tests.  Check for that first.  We should have already tested for gld
45706   # by now (in libtool), but require it now just to be safe...
45707   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45708   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45709
45710
45711
45712   # The name set by libtool depends on the version of libtool.  Shame on us
45713   # for depending on an impl detail, but c'est la vie.  Older versions used
45714   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45715   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45716   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45717   # set (hence we're using an older libtool), then set it.
45718   if test x${with_gnu_ld+set} != xset; then
45719     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45720       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45721       with_gnu_ld=no
45722     else
45723       with_gnu_ld=$ac_cv_prog_gnu_ld
45724     fi
45725   fi
45726
45727   # Start by getting the version number.  I think the libtool test already
45728   # does some of this, but throws away the result.
45729   glibcxx_ld_is_gold=no
45730   if test x"$with_gnu_ld" = x"yes"; then
45731     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45732 $as_echo_n "checking for ld version... " >&6; }
45733
45734     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45735       glibcxx_ld_is_gold=yes
45736     fi
45737     ldver=`$LD --version 2>/dev/null |
45738            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'`
45739
45740     glibcxx_gnu_ld_version=`echo $ldver | \
45741            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45743 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45744   fi
45745
45746   # Set --gc-sections.
45747   glibcxx_have_gc_sections=no
45748   if test "$glibcxx_ld_is_gold" = "yes"; then
45749     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45750       glibcxx_have_gc_sections=yes
45751     fi
45752   else
45753     glibcxx_gcsections_min_ld=21602
45754     if test x"$with_gnu_ld" = x"yes" &&
45755         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45756       glibcxx_have_gc_sections=yes
45757     fi
45758   fi
45759   if test "$glibcxx_have_gc_sections" = "yes"; then
45760     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45761     # NB: This flag only works reliably after 2.16.1. Configure tests
45762     # for this are difficult, so hard wire a value that should work.
45763
45764     ac_test_CFLAGS="${CFLAGS+set}"
45765     ac_save_CFLAGS="$CFLAGS"
45766     CFLAGS='-Wl,--gc-sections'
45767
45768     # Check for -Wl,--gc-sections
45769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45770 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45771     if test x$gcc_no_link = xyes; then
45772   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45773 fi
45774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45775 /* end confdefs.h.  */
45776  int one(void) { return 1; }
45777      int two(void) { return 2; }
45778
45779 int
45780 main ()
45781 {
45782  two();
45783   ;
45784   return 0;
45785 }
45786 _ACEOF
45787 if ac_fn_c_try_link "$LINENO"; then :
45788   ac_gcsections=yes
45789 else
45790   ac_gcsections=no
45791 fi
45792 rm -f core conftest.err conftest.$ac_objext \
45793     conftest$ac_exeext conftest.$ac_ext
45794     if test "$ac_gcsections" = "yes"; then
45795       rm -f conftest.c
45796       touch conftest.c
45797       if $CC -c conftest.c; then
45798         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45799            grep "Warning: gc-sections option ignored" > /dev/null; then
45800           ac_gcsections=no
45801         fi
45802       fi
45803       rm -f conftest.c conftest.o conftest
45804     fi
45805     if test "$ac_gcsections" = "yes"; then
45806       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45807     fi
45808     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45809 $as_echo "$ac_gcsections" >&6; }
45810
45811     if test "$ac_test_CFLAGS" = set; then
45812       CFLAGS="$ac_save_CFLAGS"
45813     else
45814       # this is the suspicious part
45815       CFLAGS=''
45816     fi
45817   fi
45818
45819   # Set -z,relro.
45820   # Note this is only for shared objects.
45821   ac_ld_relro=no
45822   if test x"$with_gnu_ld" = x"yes"; then
45823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45824 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45825     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45826     if test -n "$cxx_z_relo"; then
45827       OPT_LDFLAGS="-Wl,-z,relro"
45828       ac_ld_relro=yes
45829     fi
45830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45831 $as_echo "$ac_ld_relro" >&6; }
45832   fi
45833
45834   # Set linker optimization flags.
45835   if test x"$with_gnu_ld" = x"yes"; then
45836     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45837   fi
45838
45839
45840
45841
45842     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45843
45844     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45845
45846     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45847
45848     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45849
45850     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45851
45852     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45853
45854     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45855
45856     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45857
45858     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45859
45860
45861     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45862
45863     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45864
45865     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45866
45867     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45868
45869     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45870
45871     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45872
45873     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45874
45875     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45876
45877     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45878
45879     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45880
45881     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45882
45883     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45884
45885     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45886
45887     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45888
45889     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45890
45891     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45892
45893     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45894
45895     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45896
45897     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45898
45899     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45900
45901     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45902
45903     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45904
45905     if test x"long_double_math_on_this_cpu" = x"yes"; then
45906       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45907
45908       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45909
45910       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45911
45912     fi
45913     ;;
45914   *-hpux*)
45915     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45916
45917
45918   # If we're not using GNU ld, then there's no point in even trying these
45919   # tests.  Check for that first.  We should have already tested for gld
45920   # by now (in libtool), but require it now just to be safe...
45921   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45922   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45923
45924
45925
45926   # The name set by libtool depends on the version of libtool.  Shame on us
45927   # for depending on an impl detail, but c'est la vie.  Older versions used
45928   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45929   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45930   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45931   # set (hence we're using an older libtool), then set it.
45932   if test x${with_gnu_ld+set} != xset; then
45933     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45934       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45935       with_gnu_ld=no
45936     else
45937       with_gnu_ld=$ac_cv_prog_gnu_ld
45938     fi
45939   fi
45940
45941   # Start by getting the version number.  I think the libtool test already
45942   # does some of this, but throws away the result.
45943   glibcxx_ld_is_gold=no
45944   if test x"$with_gnu_ld" = x"yes"; then
45945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45946 $as_echo_n "checking for ld version... " >&6; }
45947
45948     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45949       glibcxx_ld_is_gold=yes
45950     fi
45951     ldver=`$LD --version 2>/dev/null |
45952            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'`
45953
45954     glibcxx_gnu_ld_version=`echo $ldver | \
45955            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45957 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45958   fi
45959
45960   # Set --gc-sections.
45961   glibcxx_have_gc_sections=no
45962   if test "$glibcxx_ld_is_gold" = "yes"; then
45963     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45964       glibcxx_have_gc_sections=yes
45965     fi
45966   else
45967     glibcxx_gcsections_min_ld=21602
45968     if test x"$with_gnu_ld" = x"yes" &&
45969         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45970       glibcxx_have_gc_sections=yes
45971     fi
45972   fi
45973   if test "$glibcxx_have_gc_sections" = "yes"; then
45974     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45975     # NB: This flag only works reliably after 2.16.1. Configure tests
45976     # for this are difficult, so hard wire a value that should work.
45977
45978     ac_test_CFLAGS="${CFLAGS+set}"
45979     ac_save_CFLAGS="$CFLAGS"
45980     CFLAGS='-Wl,--gc-sections'
45981
45982     # Check for -Wl,--gc-sections
45983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45984 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45985     if test x$gcc_no_link = xyes; then
45986   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45987 fi
45988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45989 /* end confdefs.h.  */
45990  int one(void) { return 1; }
45991      int two(void) { return 2; }
45992
45993 int
45994 main ()
45995 {
45996  two();
45997   ;
45998   return 0;
45999 }
46000 _ACEOF
46001 if ac_fn_c_try_link "$LINENO"; then :
46002   ac_gcsections=yes
46003 else
46004   ac_gcsections=no
46005 fi
46006 rm -f core conftest.err conftest.$ac_objext \
46007     conftest$ac_exeext conftest.$ac_ext
46008     if test "$ac_gcsections" = "yes"; then
46009       rm -f conftest.c
46010       touch conftest.c
46011       if $CC -c conftest.c; then
46012         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46013            grep "Warning: gc-sections option ignored" > /dev/null; then
46014           ac_gcsections=no
46015         fi
46016       fi
46017       rm -f conftest.c conftest.o conftest
46018     fi
46019     if test "$ac_gcsections" = "yes"; then
46020       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46021     fi
46022     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46023 $as_echo "$ac_gcsections" >&6; }
46024
46025     if test "$ac_test_CFLAGS" = set; then
46026       CFLAGS="$ac_save_CFLAGS"
46027     else
46028       # this is the suspicious part
46029       CFLAGS=''
46030     fi
46031   fi
46032
46033   # Set -z,relro.
46034   # Note this is only for shared objects.
46035   ac_ld_relro=no
46036   if test x"$with_gnu_ld" = x"yes"; then
46037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46038 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46039     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46040     if test -n "$cxx_z_relo"; then
46041       OPT_LDFLAGS="-Wl,-z,relro"
46042       ac_ld_relro=yes
46043     fi
46044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46045 $as_echo "$ac_ld_relro" >&6; }
46046   fi
46047
46048   # Set linker optimization flags.
46049   if test x"$with_gnu_ld" = x"yes"; then
46050     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46051   fi
46052
46053
46054
46055
46056
46057     # GLIBCXX_CHECK_MATH_SUPPORT
46058     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
46059
46060     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
46061
46062     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
46063
46064     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
46065
46066     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
46067
46068     $as_echo "#define HAVE_COSF 1" >>confdefs.h
46069
46070     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
46071
46072     $as_echo "#define HAVE_SINF 1" >>confdefs.h
46073
46074     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
46075
46076     $as_echo "#define HAVE_TANF 1" >>confdefs.h
46077
46078     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
46079
46080     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
46081
46082     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
46083
46084     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
46085
46086     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
46087
46088     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
46089
46090     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
46091
46092     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
46093
46094     $as_echo "#define HAVE_MODF 1" >>confdefs.h
46095
46096     $as_echo "#define HAVE_POWF 1" >>confdefs.h
46097
46098     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
46099
46100
46101     # GLIBCXX_CHECK_STDLIB_SUPPORT
46102     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
46103
46104
46105
46106
46107    # Check whether --enable-tls was given.
46108 if test "${enable_tls+set}" = set; then :
46109   enableval=$enable_tls;
46110       case "$enableval" in
46111        yes|no) ;;
46112        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
46113       esac
46114
46115 else
46116   enable_tls=yes
46117 fi
46118
46119
46120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
46121 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
46122 if test "${gcc_cv_have_tls+set}" = set; then :
46123   $as_echo_n "(cached) " >&6
46124 else
46125
46126     if test "$cross_compiling" = yes; then :
46127                 if test x$gcc_no_link = xyes; then
46128   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46129 fi
46130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46131 /* end confdefs.h.  */
46132 __thread int a; int b; int main() { return a = b; }
46133 _ACEOF
46134 if ac_fn_c_try_link "$LINENO"; then :
46135   chktls_save_LDFLAGS="$LDFLAGS"
46136                           case $host in
46137             *-*-linux*)
46138               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
46139               ;;
46140           esac
46141           chktls_save_CFLAGS="$CFLAGS"
46142           CFLAGS="-fPIC $CFLAGS"
46143                   if test x$gcc_no_link = xyes; then
46144   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46145 fi
46146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46147 /* end confdefs.h.  */
46148 int f() { return 0; }
46149 _ACEOF
46150 if ac_fn_c_try_link "$LINENO"; then :
46151   if test x$gcc_no_link = xyes; then
46152   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46153 fi
46154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46155 /* end confdefs.h.  */
46156 __thread int a; int b; int f() { return a = b; }
46157 _ACEOF
46158 if ac_fn_c_try_link "$LINENO"; then :
46159   gcc_cv_have_tls=yes
46160 else
46161   gcc_cv_have_tls=no
46162 fi
46163 rm -f core conftest.err conftest.$ac_objext \
46164     conftest$ac_exeext conftest.$ac_ext
46165 else
46166   gcc_cv_have_tls=yes
46167 fi
46168 rm -f core conftest.err conftest.$ac_objext \
46169     conftest$ac_exeext conftest.$ac_ext
46170           CFLAGS="$chktls_save_CFLAGS"
46171           LDFLAGS="$chktls_save_LDFLAGS"
46172 else
46173   gcc_cv_have_tls=no
46174 fi
46175 rm -f core conftest.err conftest.$ac_objext \
46176     conftest$ac_exeext conftest.$ac_ext
46177
46178
46179 else
46180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46181 /* end confdefs.h.  */
46182 __thread int a; int b; int main() { return a = b; }
46183 _ACEOF
46184 if ac_fn_c_try_run "$LINENO"; then :
46185                       chktls_save_LDFLAGS="$LDFLAGS"
46186       LDFLAGS="-static $LDFLAGS"
46187       if test x$gcc_no_link = xyes; then
46188   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46189 fi
46190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46191 /* end confdefs.h.  */
46192 int main() { return 0; }
46193 _ACEOF
46194 if ac_fn_c_try_link "$LINENO"; then :
46195   if test "$cross_compiling" = yes; then :
46196   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46198 as_fn_error "cannot run test program while cross compiling
46199 See \`config.log' for more details." "$LINENO" 5; }
46200 else
46201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46202 /* end confdefs.h.  */
46203 __thread int a; int b; int main() { return a = b; }
46204 _ACEOF
46205 if ac_fn_c_try_run "$LINENO"; then :
46206   gcc_cv_have_tls=yes
46207 else
46208   gcc_cv_have_tls=no
46209 fi
46210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46211   conftest.$ac_objext conftest.beam conftest.$ac_ext
46212 fi
46213
46214 else
46215   gcc_cv_have_tls=yes
46216 fi
46217 rm -f core conftest.err conftest.$ac_objext \
46218     conftest$ac_exeext conftest.$ac_ext
46219       LDFLAGS="$chktls_save_LDFLAGS"
46220       if test $gcc_cv_have_tls = yes; then
46221                                                 chktls_save_CFLAGS="$CFLAGS"
46222         thread_CFLAGS=failed
46223         for flag in '' '-pthread' '-lpthread'; do
46224           CFLAGS="$flag $chktls_save_CFLAGS"
46225           if test x$gcc_no_link = xyes; then
46226   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46227 fi
46228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46229 /* end confdefs.h.  */
46230 #include <pthread.h>
46231                 void *g(void *d) { return NULL; }
46232 int
46233 main ()
46234 {
46235 pthread_t t; pthread_create(&t,NULL,g,NULL);
46236   ;
46237   return 0;
46238 }
46239 _ACEOF
46240 if ac_fn_c_try_link "$LINENO"; then :
46241   thread_CFLAGS="$flag"
46242 fi
46243 rm -f core conftest.err conftest.$ac_objext \
46244     conftest$ac_exeext conftest.$ac_ext
46245           if test "X$thread_CFLAGS" != Xfailed; then
46246             break
46247           fi
46248         done
46249         CFLAGS="$chktls_save_CFLAGS"
46250         if test "X$thread_CFLAGS" != Xfailed; then
46251           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46252                                                   if test "$cross_compiling" = yes; then :
46253   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46255 as_fn_error "cannot run test program while cross compiling
46256 See \`config.log' for more details." "$LINENO" 5; }
46257 else
46258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h.  */
46260 #include <pthread.h>
46261                 __thread int a;
46262                 static int *volatile a_in_other_thread;
46263                 static void *
46264                 thread_func (void *arg)
46265                 {
46266                   a_in_other_thread = &a;
46267                   return (void *)0;
46268                 }
46269 int
46270 main ()
46271 {
46272 pthread_t thread;
46273                 void *thread_retval;
46274                 int *volatile a_in_main_thread;
46275                 a_in_main_thread = &a;
46276                 if (pthread_create (&thread, (pthread_attr_t *)0,
46277                                     thread_func, (void *)0))
46278                   return 0;
46279                 if (pthread_join (thread, &thread_retval))
46280                   return 0;
46281                 return (a_in_other_thread == a_in_main_thread);
46282   ;
46283   return 0;
46284 }
46285 _ACEOF
46286 if ac_fn_c_try_run "$LINENO"; then :
46287   gcc_cv_have_tls=yes
46288 else
46289   gcc_cv_have_tls=no
46290 fi
46291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46292   conftest.$ac_objext conftest.beam conftest.$ac_ext
46293 fi
46294
46295           CFLAGS="$chktls_save_CFLAGS"
46296         fi
46297       fi
46298 else
46299   gcc_cv_have_tls=no
46300 fi
46301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46302   conftest.$ac_objext conftest.beam conftest.$ac_ext
46303 fi
46304
46305 fi
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46307 $as_echo "$gcc_cv_have_tls" >&6; }
46308   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46309
46310 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46311
46312   fi
46313     case "$target" in
46314       *-hpux10*)
46315         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46316
46317         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46318
46319         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46320
46321         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46322
46323         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46324
46325         ;;
46326     esac
46327     ;;
46328   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46329
46330   # All these tests are for C++; save the language and the compiler flags.
46331   # The CXXFLAGS thing is suspicious, but based on similar bits previously
46332   # found in GLIBCXX_CONFIGURE.
46333
46334   ac_ext=cpp
46335 ac_cpp='$CXXCPP $CPPFLAGS'
46336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46339
46340   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46341   ac_save_CXXFLAGS="$CXXFLAGS"
46342
46343   # Check for maintainer-mode bits.
46344   if test x"$USE_MAINTAINER_MODE" = xno; then
46345     WERROR=''
46346   else
46347     WERROR='-Werror'
46348   fi
46349
46350   # Check for -ffunction-sections -fdata-sections
46351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46352 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46353   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46355 /* end confdefs.h.  */
46356 int foo; void bar() { };
46357 int
46358 main ()
46359 {
46360
46361   ;
46362   return 0;
46363 }
46364 _ACEOF
46365 if ac_fn_cxx_try_compile "$LINENO"; then :
46366   ac_fdsections=yes
46367 else
46368   ac_fdsections=no
46369 fi
46370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46371   if test "$ac_test_CXXFLAGS" = set; then
46372     CXXFLAGS="$ac_save_CXXFLAGS"
46373   else
46374     # this is the suspicious part
46375     CXXFLAGS=''
46376   fi
46377   if test x"$ac_fdsections" = x"yes"; then
46378     SECTION_FLAGS='-ffunction-sections -fdata-sections'
46379   fi
46380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46381 $as_echo "$ac_fdsections" >&6; }
46382
46383   ac_ext=c
46384 ac_cpp='$CPP $CPPFLAGS'
46385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46388
46389
46390
46391
46392
46393   # If we're not using GNU ld, then there's no point in even trying these
46394   # tests.  Check for that first.  We should have already tested for gld
46395   # by now (in libtool), but require it now just to be safe...
46396   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46397   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46398
46399
46400
46401   # The name set by libtool depends on the version of libtool.  Shame on us
46402   # for depending on an impl detail, but c'est la vie.  Older versions used
46403   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46404   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46405   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
46406   # set (hence we're using an older libtool), then set it.
46407   if test x${with_gnu_ld+set} != xset; then
46408     if test x${ac_cv_prog_gnu_ld+set} != xset; then
46409       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
46410       with_gnu_ld=no
46411     else
46412       with_gnu_ld=$ac_cv_prog_gnu_ld
46413     fi
46414   fi
46415
46416   # Start by getting the version number.  I think the libtool test already
46417   # does some of this, but throws away the result.
46418   glibcxx_ld_is_gold=no
46419   if test x"$with_gnu_ld" = x"yes"; then
46420     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46421 $as_echo_n "checking for ld version... " >&6; }
46422
46423     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46424       glibcxx_ld_is_gold=yes
46425     fi
46426     ldver=`$LD --version 2>/dev/null |
46427            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'`
46428
46429     glibcxx_gnu_ld_version=`echo $ldver | \
46430            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46432 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46433   fi
46434
46435   # Set --gc-sections.
46436   glibcxx_have_gc_sections=no
46437   if test "$glibcxx_ld_is_gold" = "yes"; then
46438     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46439       glibcxx_have_gc_sections=yes
46440     fi
46441   else
46442     glibcxx_gcsections_min_ld=21602
46443     if test x"$with_gnu_ld" = x"yes" &&
46444         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46445       glibcxx_have_gc_sections=yes
46446     fi
46447   fi
46448   if test "$glibcxx_have_gc_sections" = "yes"; then
46449     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
46450     # NB: This flag only works reliably after 2.16.1. Configure tests
46451     # for this are difficult, so hard wire a value that should work.
46452
46453     ac_test_CFLAGS="${CFLAGS+set}"
46454     ac_save_CFLAGS="$CFLAGS"
46455     CFLAGS='-Wl,--gc-sections'
46456
46457     # Check for -Wl,--gc-sections
46458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46459 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46460     if test x$gcc_no_link = xyes; then
46461   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46462 fi
46463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46464 /* end confdefs.h.  */
46465  int one(void) { return 1; }
46466      int two(void) { return 2; }
46467
46468 int
46469 main ()
46470 {
46471  two();
46472   ;
46473   return 0;
46474 }
46475 _ACEOF
46476 if ac_fn_c_try_link "$LINENO"; then :
46477   ac_gcsections=yes
46478 else
46479   ac_gcsections=no
46480 fi
46481 rm -f core conftest.err conftest.$ac_objext \
46482     conftest$ac_exeext conftest.$ac_ext
46483     if test "$ac_gcsections" = "yes"; then
46484       rm -f conftest.c
46485       touch conftest.c
46486       if $CC -c conftest.c; then
46487         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46488            grep "Warning: gc-sections option ignored" > /dev/null; then
46489           ac_gcsections=no
46490         fi
46491       fi
46492       rm -f conftest.c conftest.o conftest
46493     fi
46494     if test "$ac_gcsections" = "yes"; then
46495       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46496     fi
46497     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46498 $as_echo "$ac_gcsections" >&6; }
46499
46500     if test "$ac_test_CFLAGS" = set; then
46501       CFLAGS="$ac_save_CFLAGS"
46502     else
46503       # this is the suspicious part
46504       CFLAGS=''
46505     fi
46506   fi
46507
46508   # Set -z,relro.
46509   # Note this is only for shared objects.
46510   ac_ld_relro=no
46511   if test x"$with_gnu_ld" = x"yes"; then
46512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46513 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46514     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46515     if test -n "$cxx_z_relo"; then
46516       OPT_LDFLAGS="-Wl,-z,relro"
46517       ac_ld_relro=yes
46518     fi
46519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46520 $as_echo "$ac_ld_relro" >&6; }
46521   fi
46522
46523   # Set linker optimization flags.
46524   if test x"$with_gnu_ld" = x"yes"; then
46525     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46526   fi
46527
46528
46529
46530
46531
46532   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46533   ac_save_CXXFLAGS="$CXXFLAGS"
46534   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46535
46536     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46537 $as_echo_n "checking for sin in -lm... " >&6; }
46538 if test "${ac_cv_lib_m_sin+set}" = set; then :
46539   $as_echo_n "(cached) " >&6
46540 else
46541   ac_check_lib_save_LIBS=$LIBS
46542 LIBS="-lm  $LIBS"
46543 if test x$gcc_no_link = xyes; then
46544   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46545 fi
46546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46547 /* end confdefs.h.  */
46548
46549 /* Override any GCC internal prototype to avoid an error.
46550    Use char because int might match the return type of a GCC
46551    builtin and then its argument prototype would still apply.  */
46552 #ifdef __cplusplus
46553 extern "C"
46554 #endif
46555 char sin ();
46556 int
46557 main ()
46558 {
46559 return sin ();
46560   ;
46561   return 0;
46562 }
46563 _ACEOF
46564 if ac_fn_c_try_link "$LINENO"; then :
46565   ac_cv_lib_m_sin=yes
46566 else
46567   ac_cv_lib_m_sin=no
46568 fi
46569 rm -f core conftest.err conftest.$ac_objext \
46570     conftest$ac_exeext conftest.$ac_ext
46571 LIBS=$ac_check_lib_save_LIBS
46572 fi
46573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46574 $as_echo "$ac_cv_lib_m_sin" >&6; }
46575 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46576   libm="-lm"
46577 fi
46578
46579   ac_save_LIBS="$LIBS"
46580   LIBS="$LIBS $libm"
46581
46582
46583
46584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46585 $as_echo_n "checking for isinf declaration... " >&6; }
46586   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46587     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46588   $as_echo_n "(cached) " >&6
46589 else
46590
46591
46592       ac_ext=cpp
46593 ac_cpp='$CXXCPP $CPPFLAGS'
46594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46597
46598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46599 /* end confdefs.h.  */
46600 #include <math.h>
46601                       #ifdef HAVE_IEEEFP_H
46602                       #include <ieeefp.h>
46603                       #endif
46604
46605 int
46606 main ()
46607 {
46608  isinf(0);
46609   ;
46610   return 0;
46611 }
46612 _ACEOF
46613 if ac_fn_cxx_try_compile "$LINENO"; then :
46614   glibcxx_cv_func_isinf_use=yes
46615 else
46616   glibcxx_cv_func_isinf_use=no
46617 fi
46618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46619       ac_ext=c
46620 ac_cpp='$CPP $CPPFLAGS'
46621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46624
46625
46626 fi
46627
46628   fi
46629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46630 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46631
46632   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46633     for ac_func in isinf
46634 do :
46635   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46636 if test "x$ac_cv_func_isinf" = x""yes; then :
46637   cat >>confdefs.h <<_ACEOF
46638 #define HAVE_ISINF 1
46639 _ACEOF
46640
46641 fi
46642 done
46643
46644   else
46645
46646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46647 $as_echo_n "checking for _isinf declaration... " >&6; }
46648   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46649     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46650   $as_echo_n "(cached) " >&6
46651 else
46652
46653
46654       ac_ext=cpp
46655 ac_cpp='$CXXCPP $CPPFLAGS'
46656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46659
46660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46661 /* end confdefs.h.  */
46662 #include <math.h>
46663                       #ifdef HAVE_IEEEFP_H
46664                       #include <ieeefp.h>
46665                       #endif
46666
46667 int
46668 main ()
46669 {
46670  _isinf(0);
46671   ;
46672   return 0;
46673 }
46674 _ACEOF
46675 if ac_fn_cxx_try_compile "$LINENO"; then :
46676   glibcxx_cv_func__isinf_use=yes
46677 else
46678   glibcxx_cv_func__isinf_use=no
46679 fi
46680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46681       ac_ext=c
46682 ac_cpp='$CPP $CPPFLAGS'
46683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46686
46687
46688 fi
46689
46690   fi
46691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46692 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46693
46694     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46695       for ac_func in _isinf
46696 do :
46697   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46698 if test "x$ac_cv_func__isinf" = x""yes; then :
46699   cat >>confdefs.h <<_ACEOF
46700 #define HAVE__ISINF 1
46701 _ACEOF
46702
46703 fi
46704 done
46705
46706     fi
46707   fi
46708
46709
46710
46711
46712
46713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46714 $as_echo_n "checking for isnan declaration... " >&6; }
46715   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46716     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46717   $as_echo_n "(cached) " >&6
46718 else
46719
46720
46721       ac_ext=cpp
46722 ac_cpp='$CXXCPP $CPPFLAGS'
46723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46726
46727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46728 /* end confdefs.h.  */
46729 #include <math.h>
46730                       #ifdef HAVE_IEEEFP_H
46731                       #include <ieeefp.h>
46732                       #endif
46733
46734 int
46735 main ()
46736 {
46737  isnan(0);
46738   ;
46739   return 0;
46740 }
46741 _ACEOF
46742 if ac_fn_cxx_try_compile "$LINENO"; then :
46743   glibcxx_cv_func_isnan_use=yes
46744 else
46745   glibcxx_cv_func_isnan_use=no
46746 fi
46747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46748       ac_ext=c
46749 ac_cpp='$CPP $CPPFLAGS'
46750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46753
46754
46755 fi
46756
46757   fi
46758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46759 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46760
46761   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46762     for ac_func in isnan
46763 do :
46764   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46765 if test "x$ac_cv_func_isnan" = x""yes; then :
46766   cat >>confdefs.h <<_ACEOF
46767 #define HAVE_ISNAN 1
46768 _ACEOF
46769
46770 fi
46771 done
46772
46773   else
46774
46775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46776 $as_echo_n "checking for _isnan declaration... " >&6; }
46777   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46778     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46779   $as_echo_n "(cached) " >&6
46780 else
46781
46782
46783       ac_ext=cpp
46784 ac_cpp='$CXXCPP $CPPFLAGS'
46785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46788
46789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46790 /* end confdefs.h.  */
46791 #include <math.h>
46792                       #ifdef HAVE_IEEEFP_H
46793                       #include <ieeefp.h>
46794                       #endif
46795
46796 int
46797 main ()
46798 {
46799  _isnan(0);
46800   ;
46801   return 0;
46802 }
46803 _ACEOF
46804 if ac_fn_cxx_try_compile "$LINENO"; then :
46805   glibcxx_cv_func__isnan_use=yes
46806 else
46807   glibcxx_cv_func__isnan_use=no
46808 fi
46809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46810       ac_ext=c
46811 ac_cpp='$CPP $CPPFLAGS'
46812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46815
46816
46817 fi
46818
46819   fi
46820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46821 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46822
46823     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46824       for ac_func in _isnan
46825 do :
46826   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46827 if test "x$ac_cv_func__isnan" = x""yes; then :
46828   cat >>confdefs.h <<_ACEOF
46829 #define HAVE__ISNAN 1
46830 _ACEOF
46831
46832 fi
46833 done
46834
46835     fi
46836   fi
46837
46838
46839
46840
46841
46842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46843 $as_echo_n "checking for finite declaration... " >&6; }
46844   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46845     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46846   $as_echo_n "(cached) " >&6
46847 else
46848
46849
46850       ac_ext=cpp
46851 ac_cpp='$CXXCPP $CPPFLAGS'
46852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46855
46856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46857 /* end confdefs.h.  */
46858 #include <math.h>
46859                       #ifdef HAVE_IEEEFP_H
46860                       #include <ieeefp.h>
46861                       #endif
46862
46863 int
46864 main ()
46865 {
46866  finite(0);
46867   ;
46868   return 0;
46869 }
46870 _ACEOF
46871 if ac_fn_cxx_try_compile "$LINENO"; then :
46872   glibcxx_cv_func_finite_use=yes
46873 else
46874   glibcxx_cv_func_finite_use=no
46875 fi
46876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46877       ac_ext=c
46878 ac_cpp='$CPP $CPPFLAGS'
46879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46882
46883
46884 fi
46885
46886   fi
46887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46888 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46889
46890   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46891     for ac_func in finite
46892 do :
46893   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46894 if test "x$ac_cv_func_finite" = x""yes; then :
46895   cat >>confdefs.h <<_ACEOF
46896 #define HAVE_FINITE 1
46897 _ACEOF
46898
46899 fi
46900 done
46901
46902   else
46903
46904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46905 $as_echo_n "checking for _finite declaration... " >&6; }
46906   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46907     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46908   $as_echo_n "(cached) " >&6
46909 else
46910
46911
46912       ac_ext=cpp
46913 ac_cpp='$CXXCPP $CPPFLAGS'
46914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46917
46918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46919 /* end confdefs.h.  */
46920 #include <math.h>
46921                       #ifdef HAVE_IEEEFP_H
46922                       #include <ieeefp.h>
46923                       #endif
46924
46925 int
46926 main ()
46927 {
46928  _finite(0);
46929   ;
46930   return 0;
46931 }
46932 _ACEOF
46933 if ac_fn_cxx_try_compile "$LINENO"; then :
46934   glibcxx_cv_func__finite_use=yes
46935 else
46936   glibcxx_cv_func__finite_use=no
46937 fi
46938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46939       ac_ext=c
46940 ac_cpp='$CPP $CPPFLAGS'
46941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46944
46945
46946 fi
46947
46948   fi
46949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46950 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46951
46952     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46953       for ac_func in _finite
46954 do :
46955   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46956 if test "x$ac_cv_func__finite" = x""yes; then :
46957   cat >>confdefs.h <<_ACEOF
46958 #define HAVE__FINITE 1
46959 _ACEOF
46960
46961 fi
46962 done
46963
46964     fi
46965   fi
46966
46967
46968
46969
46970
46971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46972 $as_echo_n "checking for sincos declaration... " >&6; }
46973   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46974     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46975   $as_echo_n "(cached) " >&6
46976 else
46977
46978
46979       ac_ext=cpp
46980 ac_cpp='$CXXCPP $CPPFLAGS'
46981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46984
46985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46986 /* end confdefs.h.  */
46987 #include <math.h>
46988 int
46989 main ()
46990 {
46991  sincos(0, 0, 0);
46992   ;
46993   return 0;
46994 }
46995 _ACEOF
46996 if ac_fn_cxx_try_compile "$LINENO"; then :
46997   glibcxx_cv_func_sincos_use=yes
46998 else
46999   glibcxx_cv_func_sincos_use=no
47000 fi
47001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47002       ac_ext=c
47003 ac_cpp='$CPP $CPPFLAGS'
47004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47007
47008
47009 fi
47010
47011   fi
47012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47013 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47014
47015   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47016     for ac_func in sincos
47017 do :
47018   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47019 if test "x$ac_cv_func_sincos" = x""yes; then :
47020   cat >>confdefs.h <<_ACEOF
47021 #define HAVE_SINCOS 1
47022 _ACEOF
47023
47024 fi
47025 done
47026
47027   else
47028
47029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47030 $as_echo_n "checking for _sincos declaration... " >&6; }
47031   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47032     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47033   $as_echo_n "(cached) " >&6
47034 else
47035
47036
47037       ac_ext=cpp
47038 ac_cpp='$CXXCPP $CPPFLAGS'
47039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47042
47043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47044 /* end confdefs.h.  */
47045 #include <math.h>
47046 int
47047 main ()
47048 {
47049  _sincos(0, 0, 0);
47050   ;
47051   return 0;
47052 }
47053 _ACEOF
47054 if ac_fn_cxx_try_compile "$LINENO"; then :
47055   glibcxx_cv_func__sincos_use=yes
47056 else
47057   glibcxx_cv_func__sincos_use=no
47058 fi
47059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47060       ac_ext=c
47061 ac_cpp='$CPP $CPPFLAGS'
47062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47065
47066
47067 fi
47068
47069   fi
47070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47071 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47072
47073     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47074       for ac_func in _sincos
47075 do :
47076   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47077 if test "x$ac_cv_func__sincos" = x""yes; then :
47078   cat >>confdefs.h <<_ACEOF
47079 #define HAVE__SINCOS 1
47080 _ACEOF
47081
47082 fi
47083 done
47084
47085     fi
47086   fi
47087
47088
47089
47090
47091
47092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47093 $as_echo_n "checking for fpclass declaration... " >&6; }
47094   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47095     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47096   $as_echo_n "(cached) " >&6
47097 else
47098
47099
47100       ac_ext=cpp
47101 ac_cpp='$CXXCPP $CPPFLAGS'
47102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47105
47106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47107 /* end confdefs.h.  */
47108 #include <math.h>
47109                       #ifdef HAVE_IEEEFP_H
47110                       #include <ieeefp.h>
47111                       #endif
47112
47113 int
47114 main ()
47115 {
47116  fpclass(0);
47117   ;
47118   return 0;
47119 }
47120 _ACEOF
47121 if ac_fn_cxx_try_compile "$LINENO"; then :
47122   glibcxx_cv_func_fpclass_use=yes
47123 else
47124   glibcxx_cv_func_fpclass_use=no
47125 fi
47126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47127       ac_ext=c
47128 ac_cpp='$CPP $CPPFLAGS'
47129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47132
47133
47134 fi
47135
47136   fi
47137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47138 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47139
47140   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47141     for ac_func in fpclass
47142 do :
47143   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47144 if test "x$ac_cv_func_fpclass" = x""yes; then :
47145   cat >>confdefs.h <<_ACEOF
47146 #define HAVE_FPCLASS 1
47147 _ACEOF
47148
47149 fi
47150 done
47151
47152   else
47153
47154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47155 $as_echo_n "checking for _fpclass declaration... " >&6; }
47156   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47157     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47158   $as_echo_n "(cached) " >&6
47159 else
47160
47161
47162       ac_ext=cpp
47163 ac_cpp='$CXXCPP $CPPFLAGS'
47164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47167
47168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47169 /* end confdefs.h.  */
47170 #include <math.h>
47171                       #ifdef HAVE_IEEEFP_H
47172                       #include <ieeefp.h>
47173                       #endif
47174
47175 int
47176 main ()
47177 {
47178  _fpclass(0);
47179   ;
47180   return 0;
47181 }
47182 _ACEOF
47183 if ac_fn_cxx_try_compile "$LINENO"; then :
47184   glibcxx_cv_func__fpclass_use=yes
47185 else
47186   glibcxx_cv_func__fpclass_use=no
47187 fi
47188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47189       ac_ext=c
47190 ac_cpp='$CPP $CPPFLAGS'
47191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47194
47195
47196 fi
47197
47198   fi
47199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47200 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47201
47202     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47203       for ac_func in _fpclass
47204 do :
47205   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47206 if test "x$ac_cv_func__fpclass" = x""yes; then :
47207   cat >>confdefs.h <<_ACEOF
47208 #define HAVE__FPCLASS 1
47209 _ACEOF
47210
47211 fi
47212 done
47213
47214     fi
47215   fi
47216
47217
47218
47219
47220
47221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47222 $as_echo_n "checking for qfpclass declaration... " >&6; }
47223   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47224     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47225   $as_echo_n "(cached) " >&6
47226 else
47227
47228
47229       ac_ext=cpp
47230 ac_cpp='$CXXCPP $CPPFLAGS'
47231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47234
47235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47236 /* end confdefs.h.  */
47237 #include <math.h>
47238                       #ifdef HAVE_IEEEFP_H
47239                       #include <ieeefp.h>
47240                       #endif
47241
47242 int
47243 main ()
47244 {
47245  qfpclass(0);
47246   ;
47247   return 0;
47248 }
47249 _ACEOF
47250 if ac_fn_cxx_try_compile "$LINENO"; then :
47251   glibcxx_cv_func_qfpclass_use=yes
47252 else
47253   glibcxx_cv_func_qfpclass_use=no
47254 fi
47255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47256       ac_ext=c
47257 ac_cpp='$CPP $CPPFLAGS'
47258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47261
47262
47263 fi
47264
47265   fi
47266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47267 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47268
47269   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47270     for ac_func in qfpclass
47271 do :
47272   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47273 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47274   cat >>confdefs.h <<_ACEOF
47275 #define HAVE_QFPCLASS 1
47276 _ACEOF
47277
47278 fi
47279 done
47280
47281   else
47282
47283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47284 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47285   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47286     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47287   $as_echo_n "(cached) " >&6
47288 else
47289
47290
47291       ac_ext=cpp
47292 ac_cpp='$CXXCPP $CPPFLAGS'
47293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47296
47297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47298 /* end confdefs.h.  */
47299 #include <math.h>
47300                       #ifdef HAVE_IEEEFP_H
47301                       #include <ieeefp.h>
47302                       #endif
47303
47304 int
47305 main ()
47306 {
47307  _qfpclass(0);
47308   ;
47309   return 0;
47310 }
47311 _ACEOF
47312 if ac_fn_cxx_try_compile "$LINENO"; then :
47313   glibcxx_cv_func__qfpclass_use=yes
47314 else
47315   glibcxx_cv_func__qfpclass_use=no
47316 fi
47317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47318       ac_ext=c
47319 ac_cpp='$CPP $CPPFLAGS'
47320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47323
47324
47325 fi
47326
47327   fi
47328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47329 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47330
47331     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47332       for ac_func in _qfpclass
47333 do :
47334   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47335 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47336   cat >>confdefs.h <<_ACEOF
47337 #define HAVE__QFPCLASS 1
47338 _ACEOF
47339
47340 fi
47341 done
47342
47343     fi
47344   fi
47345
47346
47347
47348
47349
47350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47351 $as_echo_n "checking for hypot declaration... " >&6; }
47352   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47353     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47354   $as_echo_n "(cached) " >&6
47355 else
47356
47357
47358       ac_ext=cpp
47359 ac_cpp='$CXXCPP $CPPFLAGS'
47360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47363
47364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47365 /* end confdefs.h.  */
47366 #include <math.h>
47367 int
47368 main ()
47369 {
47370  hypot(0, 0);
47371   ;
47372   return 0;
47373 }
47374 _ACEOF
47375 if ac_fn_cxx_try_compile "$LINENO"; then :
47376   glibcxx_cv_func_hypot_use=yes
47377 else
47378   glibcxx_cv_func_hypot_use=no
47379 fi
47380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47381       ac_ext=c
47382 ac_cpp='$CPP $CPPFLAGS'
47383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47386
47387
47388 fi
47389
47390   fi
47391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47392 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47393
47394   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47395     for ac_func in hypot
47396 do :
47397   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47398 if test "x$ac_cv_func_hypot" = x""yes; then :
47399   cat >>confdefs.h <<_ACEOF
47400 #define HAVE_HYPOT 1
47401 _ACEOF
47402
47403 fi
47404 done
47405
47406   else
47407
47408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47409 $as_echo_n "checking for _hypot declaration... " >&6; }
47410   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47411     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47412   $as_echo_n "(cached) " >&6
47413 else
47414
47415
47416       ac_ext=cpp
47417 ac_cpp='$CXXCPP $CPPFLAGS'
47418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47421
47422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47423 /* end confdefs.h.  */
47424 #include <math.h>
47425 int
47426 main ()
47427 {
47428  _hypot(0, 0);
47429   ;
47430   return 0;
47431 }
47432 _ACEOF
47433 if ac_fn_cxx_try_compile "$LINENO"; then :
47434   glibcxx_cv_func__hypot_use=yes
47435 else
47436   glibcxx_cv_func__hypot_use=no
47437 fi
47438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47439       ac_ext=c
47440 ac_cpp='$CPP $CPPFLAGS'
47441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47444
47445
47446 fi
47447
47448   fi
47449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47450 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47451
47452     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47453       for ac_func in _hypot
47454 do :
47455   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47456 if test "x$ac_cv_func__hypot" = x""yes; then :
47457   cat >>confdefs.h <<_ACEOF
47458 #define HAVE__HYPOT 1
47459 _ACEOF
47460
47461 fi
47462 done
47463
47464     fi
47465   fi
47466
47467
47468
47469
47470
47471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47472 $as_echo_n "checking for float trig functions... " >&6; }
47473   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47474   $as_echo_n "(cached) " >&6
47475 else
47476
47477
47478     ac_ext=cpp
47479 ac_cpp='$CXXCPP $CPPFLAGS'
47480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47483
47484     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47485 /* end confdefs.h.  */
47486 #include <math.h>
47487 int
47488 main ()
47489 {
47490 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47491   ;
47492   return 0;
47493 }
47494 _ACEOF
47495 if ac_fn_cxx_try_compile "$LINENO"; then :
47496   glibcxx_cv_func_float_trig_use=yes
47497 else
47498   glibcxx_cv_func_float_trig_use=no
47499 fi
47500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47501     ac_ext=c
47502 ac_cpp='$CPP $CPPFLAGS'
47503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47506
47507 fi
47508
47509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47510 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47511   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47512     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47513 do :
47514   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47516 eval as_val=\$$as_ac_var
47517    if test "x$as_val" = x""yes; then :
47518   cat >>confdefs.h <<_ACEOF
47519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47520 _ACEOF
47521
47522 fi
47523 done
47524
47525   else
47526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47527 $as_echo_n "checking for _float trig functions... " >&6; }
47528     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47529   $as_echo_n "(cached) " >&6
47530 else
47531
47532
47533       ac_ext=cpp
47534 ac_cpp='$CXXCPP $CPPFLAGS'
47535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47538
47539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47540 /* end confdefs.h.  */
47541 #include <math.h>
47542 int
47543 main ()
47544 {
47545 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47546   ;
47547   return 0;
47548 }
47549 _ACEOF
47550 if ac_fn_cxx_try_compile "$LINENO"; then :
47551   glibcxx_cv_func__float_trig_use=yes
47552 else
47553   glibcxx_cv_func__float_trig_use=no
47554 fi
47555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47556       ac_ext=c
47557 ac_cpp='$CPP $CPPFLAGS'
47558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47561
47562 fi
47563
47564     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47565 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47566     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47567       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47568 do :
47569   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47571 eval as_val=\$$as_ac_var
47572    if test "x$as_val" = x""yes; then :
47573   cat >>confdefs.h <<_ACEOF
47574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47575 _ACEOF
47576
47577 fi
47578 done
47579
47580     fi
47581   fi
47582
47583
47584
47585
47586
47587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47588 $as_echo_n "checking for float round functions... " >&6; }
47589   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47590   $as_echo_n "(cached) " >&6
47591 else
47592
47593
47594     ac_ext=cpp
47595 ac_cpp='$CXXCPP $CPPFLAGS'
47596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47599
47600     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47601 /* end confdefs.h.  */
47602 #include <math.h>
47603 int
47604 main ()
47605 {
47606 ceilf (0); floorf (0);
47607   ;
47608   return 0;
47609 }
47610 _ACEOF
47611 if ac_fn_cxx_try_compile "$LINENO"; then :
47612   glibcxx_cv_func_float_round_use=yes
47613 else
47614   glibcxx_cv_func_float_round_use=no
47615 fi
47616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47617     ac_ext=c
47618 ac_cpp='$CPP $CPPFLAGS'
47619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47622
47623 fi
47624
47625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47626 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47627   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47628     for ac_func in ceilf floorf
47629 do :
47630   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47632 eval as_val=\$$as_ac_var
47633    if test "x$as_val" = x""yes; then :
47634   cat >>confdefs.h <<_ACEOF
47635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47636 _ACEOF
47637
47638 fi
47639 done
47640
47641   else
47642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47643 $as_echo_n "checking for _float round functions... " >&6; }
47644     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47645   $as_echo_n "(cached) " >&6
47646 else
47647
47648
47649       ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47654
47655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h.  */
47657 #include <math.h>
47658 int
47659 main ()
47660 {
47661 _ceilf (0); _floorf (0);
47662   ;
47663   return 0;
47664 }
47665 _ACEOF
47666 if ac_fn_cxx_try_compile "$LINENO"; then :
47667   glibcxx_cv_func__float_round_use=yes
47668 else
47669   glibcxx_cv_func__float_round_use=no
47670 fi
47671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47672       ac_ext=c
47673 ac_cpp='$CPP $CPPFLAGS'
47674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47677
47678 fi
47679
47680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47681 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47682     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47683       for ac_func in _ceilf _floorf
47684 do :
47685   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47687 eval as_val=\$$as_ac_var
47688    if test "x$as_val" = x""yes; then :
47689   cat >>confdefs.h <<_ACEOF
47690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47691 _ACEOF
47692
47693 fi
47694 done
47695
47696     fi
47697   fi
47698
47699
47700
47701
47702
47703
47704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47705 $as_echo_n "checking for expf declaration... " >&6; }
47706   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47707     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47708   $as_echo_n "(cached) " >&6
47709 else
47710
47711
47712       ac_ext=cpp
47713 ac_cpp='$CXXCPP $CPPFLAGS'
47714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47717
47718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47719 /* end confdefs.h.  */
47720 #include <math.h>
47721                       #ifdef HAVE_IEEEFP_H
47722                       #include <ieeefp.h>
47723                       #endif
47724
47725 int
47726 main ()
47727 {
47728  expf(0);
47729   ;
47730   return 0;
47731 }
47732 _ACEOF
47733 if ac_fn_cxx_try_compile "$LINENO"; then :
47734   glibcxx_cv_func_expf_use=yes
47735 else
47736   glibcxx_cv_func_expf_use=no
47737 fi
47738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47739       ac_ext=c
47740 ac_cpp='$CPP $CPPFLAGS'
47741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47744
47745
47746 fi
47747
47748   fi
47749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47750 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47751
47752   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47753     for ac_func in expf
47754 do :
47755   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47756 if test "x$ac_cv_func_expf" = x""yes; then :
47757   cat >>confdefs.h <<_ACEOF
47758 #define HAVE_EXPF 1
47759 _ACEOF
47760
47761 fi
47762 done
47763
47764   else
47765
47766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47767 $as_echo_n "checking for _expf declaration... " >&6; }
47768   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47769     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47770   $as_echo_n "(cached) " >&6
47771 else
47772
47773
47774       ac_ext=cpp
47775 ac_cpp='$CXXCPP $CPPFLAGS'
47776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47779
47780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47781 /* end confdefs.h.  */
47782 #include <math.h>
47783                       #ifdef HAVE_IEEEFP_H
47784                       #include <ieeefp.h>
47785                       #endif
47786
47787 int
47788 main ()
47789 {
47790  _expf(0);
47791   ;
47792   return 0;
47793 }
47794 _ACEOF
47795 if ac_fn_cxx_try_compile "$LINENO"; then :
47796   glibcxx_cv_func__expf_use=yes
47797 else
47798   glibcxx_cv_func__expf_use=no
47799 fi
47800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47801       ac_ext=c
47802 ac_cpp='$CPP $CPPFLAGS'
47803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47806
47807
47808 fi
47809
47810   fi
47811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47812 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47813
47814     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47815       for ac_func in _expf
47816 do :
47817   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47818 if test "x$ac_cv_func__expf" = x""yes; then :
47819   cat >>confdefs.h <<_ACEOF
47820 #define HAVE__EXPF 1
47821 _ACEOF
47822
47823 fi
47824 done
47825
47826     fi
47827   fi
47828
47829
47830
47831
47832
47833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47834 $as_echo_n "checking for isnanf declaration... " >&6; }
47835   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47836     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47837   $as_echo_n "(cached) " >&6
47838 else
47839
47840
47841       ac_ext=cpp
47842 ac_cpp='$CXXCPP $CPPFLAGS'
47843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47846
47847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47848 /* end confdefs.h.  */
47849 #include <math.h>
47850                       #ifdef HAVE_IEEEFP_H
47851                       #include <ieeefp.h>
47852                       #endif
47853
47854 int
47855 main ()
47856 {
47857  isnanf(0);
47858   ;
47859   return 0;
47860 }
47861 _ACEOF
47862 if ac_fn_cxx_try_compile "$LINENO"; then :
47863   glibcxx_cv_func_isnanf_use=yes
47864 else
47865   glibcxx_cv_func_isnanf_use=no
47866 fi
47867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47868       ac_ext=c
47869 ac_cpp='$CPP $CPPFLAGS'
47870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47873
47874
47875 fi
47876
47877   fi
47878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47879 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47880
47881   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47882     for ac_func in isnanf
47883 do :
47884   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47885 if test "x$ac_cv_func_isnanf" = x""yes; then :
47886   cat >>confdefs.h <<_ACEOF
47887 #define HAVE_ISNANF 1
47888 _ACEOF
47889
47890 fi
47891 done
47892
47893   else
47894
47895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47896 $as_echo_n "checking for _isnanf declaration... " >&6; }
47897   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47898     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47899   $as_echo_n "(cached) " >&6
47900 else
47901
47902
47903       ac_ext=cpp
47904 ac_cpp='$CXXCPP $CPPFLAGS'
47905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47908
47909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47910 /* end confdefs.h.  */
47911 #include <math.h>
47912                       #ifdef HAVE_IEEEFP_H
47913                       #include <ieeefp.h>
47914                       #endif
47915
47916 int
47917 main ()
47918 {
47919  _isnanf(0);
47920   ;
47921   return 0;
47922 }
47923 _ACEOF
47924 if ac_fn_cxx_try_compile "$LINENO"; then :
47925   glibcxx_cv_func__isnanf_use=yes
47926 else
47927   glibcxx_cv_func__isnanf_use=no
47928 fi
47929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47930       ac_ext=c
47931 ac_cpp='$CPP $CPPFLAGS'
47932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47935
47936
47937 fi
47938
47939   fi
47940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47941 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47942
47943     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47944       for ac_func in _isnanf
47945 do :
47946   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47947 if test "x$ac_cv_func__isnanf" = x""yes; then :
47948   cat >>confdefs.h <<_ACEOF
47949 #define HAVE__ISNANF 1
47950 _ACEOF
47951
47952 fi
47953 done
47954
47955     fi
47956   fi
47957
47958
47959
47960
47961
47962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47963 $as_echo_n "checking for isinff declaration... " >&6; }
47964   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47965     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47966   $as_echo_n "(cached) " >&6
47967 else
47968
47969
47970       ac_ext=cpp
47971 ac_cpp='$CXXCPP $CPPFLAGS'
47972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47975
47976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47977 /* end confdefs.h.  */
47978 #include <math.h>
47979                       #ifdef HAVE_IEEEFP_H
47980                       #include <ieeefp.h>
47981                       #endif
47982
47983 int
47984 main ()
47985 {
47986  isinff(0);
47987   ;
47988   return 0;
47989 }
47990 _ACEOF
47991 if ac_fn_cxx_try_compile "$LINENO"; then :
47992   glibcxx_cv_func_isinff_use=yes
47993 else
47994   glibcxx_cv_func_isinff_use=no
47995 fi
47996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47997       ac_ext=c
47998 ac_cpp='$CPP $CPPFLAGS'
47999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48002
48003
48004 fi
48005
48006   fi
48007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48008 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48009
48010   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48011     for ac_func in isinff
48012 do :
48013   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48014 if test "x$ac_cv_func_isinff" = x""yes; then :
48015   cat >>confdefs.h <<_ACEOF
48016 #define HAVE_ISINFF 1
48017 _ACEOF
48018
48019 fi
48020 done
48021
48022   else
48023
48024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48025 $as_echo_n "checking for _isinff declaration... " >&6; }
48026   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48027     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48028   $as_echo_n "(cached) " >&6
48029 else
48030
48031
48032       ac_ext=cpp
48033 ac_cpp='$CXXCPP $CPPFLAGS'
48034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48037
48038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48039 /* end confdefs.h.  */
48040 #include <math.h>
48041                       #ifdef HAVE_IEEEFP_H
48042                       #include <ieeefp.h>
48043                       #endif
48044
48045 int
48046 main ()
48047 {
48048  _isinff(0);
48049   ;
48050   return 0;
48051 }
48052 _ACEOF
48053 if ac_fn_cxx_try_compile "$LINENO"; then :
48054   glibcxx_cv_func__isinff_use=yes
48055 else
48056   glibcxx_cv_func__isinff_use=no
48057 fi
48058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48059       ac_ext=c
48060 ac_cpp='$CPP $CPPFLAGS'
48061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48064
48065
48066 fi
48067
48068   fi
48069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48070 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48071
48072     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48073       for ac_func in _isinff
48074 do :
48075   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48076 if test "x$ac_cv_func__isinff" = x""yes; then :
48077   cat >>confdefs.h <<_ACEOF
48078 #define HAVE__ISINFF 1
48079 _ACEOF
48080
48081 fi
48082 done
48083
48084     fi
48085   fi
48086
48087
48088
48089
48090
48091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48092 $as_echo_n "checking for atan2f declaration... " >&6; }
48093   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48094     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48095   $as_echo_n "(cached) " >&6
48096 else
48097
48098
48099       ac_ext=cpp
48100 ac_cpp='$CXXCPP $CPPFLAGS'
48101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48104
48105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48106 /* end confdefs.h.  */
48107 #include <math.h>
48108 int
48109 main ()
48110 {
48111  atan2f(0, 0);
48112   ;
48113   return 0;
48114 }
48115 _ACEOF
48116 if ac_fn_cxx_try_compile "$LINENO"; then :
48117   glibcxx_cv_func_atan2f_use=yes
48118 else
48119   glibcxx_cv_func_atan2f_use=no
48120 fi
48121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48122       ac_ext=c
48123 ac_cpp='$CPP $CPPFLAGS'
48124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48127
48128
48129 fi
48130
48131   fi
48132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48133 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48134
48135   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48136     for ac_func in atan2f
48137 do :
48138   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48139 if test "x$ac_cv_func_atan2f" = x""yes; then :
48140   cat >>confdefs.h <<_ACEOF
48141 #define HAVE_ATAN2F 1
48142 _ACEOF
48143
48144 fi
48145 done
48146
48147   else
48148
48149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48150 $as_echo_n "checking for _atan2f declaration... " >&6; }
48151   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48152     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48153   $as_echo_n "(cached) " >&6
48154 else
48155
48156
48157       ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48162
48163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h.  */
48165 #include <math.h>
48166 int
48167 main ()
48168 {
48169  _atan2f(0, 0);
48170   ;
48171   return 0;
48172 }
48173 _ACEOF
48174 if ac_fn_cxx_try_compile "$LINENO"; then :
48175   glibcxx_cv_func__atan2f_use=yes
48176 else
48177   glibcxx_cv_func__atan2f_use=no
48178 fi
48179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48180       ac_ext=c
48181 ac_cpp='$CPP $CPPFLAGS'
48182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48185
48186
48187 fi
48188
48189   fi
48190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48191 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48192
48193     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48194       for ac_func in _atan2f
48195 do :
48196   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48197 if test "x$ac_cv_func__atan2f" = x""yes; then :
48198   cat >>confdefs.h <<_ACEOF
48199 #define HAVE__ATAN2F 1
48200 _ACEOF
48201
48202 fi
48203 done
48204
48205     fi
48206   fi
48207
48208
48209
48210
48211
48212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48213 $as_echo_n "checking for fabsf declaration... " >&6; }
48214   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48215     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48216   $as_echo_n "(cached) " >&6
48217 else
48218
48219
48220       ac_ext=cpp
48221 ac_cpp='$CXXCPP $CPPFLAGS'
48222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48225
48226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48227 /* end confdefs.h.  */
48228 #include <math.h>
48229                       #ifdef HAVE_IEEEFP_H
48230                       #include <ieeefp.h>
48231                       #endif
48232
48233 int
48234 main ()
48235 {
48236  fabsf(0);
48237   ;
48238   return 0;
48239 }
48240 _ACEOF
48241 if ac_fn_cxx_try_compile "$LINENO"; then :
48242   glibcxx_cv_func_fabsf_use=yes
48243 else
48244   glibcxx_cv_func_fabsf_use=no
48245 fi
48246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48247       ac_ext=c
48248 ac_cpp='$CPP $CPPFLAGS'
48249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48252
48253
48254 fi
48255
48256   fi
48257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48258 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48259
48260   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48261     for ac_func in fabsf
48262 do :
48263   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48264 if test "x$ac_cv_func_fabsf" = x""yes; then :
48265   cat >>confdefs.h <<_ACEOF
48266 #define HAVE_FABSF 1
48267 _ACEOF
48268
48269 fi
48270 done
48271
48272   else
48273
48274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48275 $as_echo_n "checking for _fabsf declaration... " >&6; }
48276   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48277     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48278   $as_echo_n "(cached) " >&6
48279 else
48280
48281
48282       ac_ext=cpp
48283 ac_cpp='$CXXCPP $CPPFLAGS'
48284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48287
48288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48289 /* end confdefs.h.  */
48290 #include <math.h>
48291                       #ifdef HAVE_IEEEFP_H
48292                       #include <ieeefp.h>
48293                       #endif
48294
48295 int
48296 main ()
48297 {
48298  _fabsf(0);
48299   ;
48300   return 0;
48301 }
48302 _ACEOF
48303 if ac_fn_cxx_try_compile "$LINENO"; then :
48304   glibcxx_cv_func__fabsf_use=yes
48305 else
48306   glibcxx_cv_func__fabsf_use=no
48307 fi
48308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48309       ac_ext=c
48310 ac_cpp='$CPP $CPPFLAGS'
48311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48314
48315
48316 fi
48317
48318   fi
48319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48320 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48321
48322     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48323       for ac_func in _fabsf
48324 do :
48325   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48326 if test "x$ac_cv_func__fabsf" = x""yes; then :
48327   cat >>confdefs.h <<_ACEOF
48328 #define HAVE__FABSF 1
48329 _ACEOF
48330
48331 fi
48332 done
48333
48334     fi
48335   fi
48336
48337
48338
48339
48340
48341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48342 $as_echo_n "checking for fmodf declaration... " >&6; }
48343   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48344     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48345   $as_echo_n "(cached) " >&6
48346 else
48347
48348
48349       ac_ext=cpp
48350 ac_cpp='$CXXCPP $CPPFLAGS'
48351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48354
48355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48356 /* end confdefs.h.  */
48357 #include <math.h>
48358 int
48359 main ()
48360 {
48361  fmodf(0, 0);
48362   ;
48363   return 0;
48364 }
48365 _ACEOF
48366 if ac_fn_cxx_try_compile "$LINENO"; then :
48367   glibcxx_cv_func_fmodf_use=yes
48368 else
48369   glibcxx_cv_func_fmodf_use=no
48370 fi
48371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48372       ac_ext=c
48373 ac_cpp='$CPP $CPPFLAGS'
48374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48377
48378
48379 fi
48380
48381   fi
48382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48383 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48384
48385   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48386     for ac_func in fmodf
48387 do :
48388   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48389 if test "x$ac_cv_func_fmodf" = x""yes; then :
48390   cat >>confdefs.h <<_ACEOF
48391 #define HAVE_FMODF 1
48392 _ACEOF
48393
48394 fi
48395 done
48396
48397   else
48398
48399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48400 $as_echo_n "checking for _fmodf declaration... " >&6; }
48401   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48402     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48403   $as_echo_n "(cached) " >&6
48404 else
48405
48406
48407       ac_ext=cpp
48408 ac_cpp='$CXXCPP $CPPFLAGS'
48409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48412
48413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48414 /* end confdefs.h.  */
48415 #include <math.h>
48416 int
48417 main ()
48418 {
48419  _fmodf(0, 0);
48420   ;
48421   return 0;
48422 }
48423 _ACEOF
48424 if ac_fn_cxx_try_compile "$LINENO"; then :
48425   glibcxx_cv_func__fmodf_use=yes
48426 else
48427   glibcxx_cv_func__fmodf_use=no
48428 fi
48429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48430       ac_ext=c
48431 ac_cpp='$CPP $CPPFLAGS'
48432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48435
48436
48437 fi
48438
48439   fi
48440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48441 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48442
48443     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48444       for ac_func in _fmodf
48445 do :
48446   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48447 if test "x$ac_cv_func__fmodf" = x""yes; then :
48448   cat >>confdefs.h <<_ACEOF
48449 #define HAVE__FMODF 1
48450 _ACEOF
48451
48452 fi
48453 done
48454
48455     fi
48456   fi
48457
48458
48459
48460
48461
48462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48463 $as_echo_n "checking for frexpf declaration... " >&6; }
48464   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48465     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48466   $as_echo_n "(cached) " >&6
48467 else
48468
48469
48470       ac_ext=cpp
48471 ac_cpp='$CXXCPP $CPPFLAGS'
48472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48475
48476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48477 /* end confdefs.h.  */
48478 #include <math.h>
48479 int
48480 main ()
48481 {
48482  frexpf(0, 0);
48483   ;
48484   return 0;
48485 }
48486 _ACEOF
48487 if ac_fn_cxx_try_compile "$LINENO"; then :
48488   glibcxx_cv_func_frexpf_use=yes
48489 else
48490   glibcxx_cv_func_frexpf_use=no
48491 fi
48492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48493       ac_ext=c
48494 ac_cpp='$CPP $CPPFLAGS'
48495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48498
48499
48500 fi
48501
48502   fi
48503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48504 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48505
48506   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48507     for ac_func in frexpf
48508 do :
48509   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48510 if test "x$ac_cv_func_frexpf" = x""yes; then :
48511   cat >>confdefs.h <<_ACEOF
48512 #define HAVE_FREXPF 1
48513 _ACEOF
48514
48515 fi
48516 done
48517
48518   else
48519
48520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48521 $as_echo_n "checking for _frexpf declaration... " >&6; }
48522   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48523     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48524   $as_echo_n "(cached) " >&6
48525 else
48526
48527
48528       ac_ext=cpp
48529 ac_cpp='$CXXCPP $CPPFLAGS'
48530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48533
48534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48535 /* end confdefs.h.  */
48536 #include <math.h>
48537 int
48538 main ()
48539 {
48540  _frexpf(0, 0);
48541   ;
48542   return 0;
48543 }
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546   glibcxx_cv_func__frexpf_use=yes
48547 else
48548   glibcxx_cv_func__frexpf_use=no
48549 fi
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551       ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48556
48557
48558 fi
48559
48560   fi
48561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48562 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48563
48564     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48565       for ac_func in _frexpf
48566 do :
48567   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48568 if test "x$ac_cv_func__frexpf" = x""yes; then :
48569   cat >>confdefs.h <<_ACEOF
48570 #define HAVE__FREXPF 1
48571 _ACEOF
48572
48573 fi
48574 done
48575
48576     fi
48577   fi
48578
48579
48580
48581
48582
48583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48584 $as_echo_n "checking for hypotf declaration... " >&6; }
48585   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48586     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48587   $as_echo_n "(cached) " >&6
48588 else
48589
48590
48591       ac_ext=cpp
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48596
48597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h.  */
48599 #include <math.h>
48600 int
48601 main ()
48602 {
48603  hypotf(0, 0);
48604   ;
48605   return 0;
48606 }
48607 _ACEOF
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609   glibcxx_cv_func_hypotf_use=yes
48610 else
48611   glibcxx_cv_func_hypotf_use=no
48612 fi
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48614       ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48619
48620
48621 fi
48622
48623   fi
48624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48625 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48626
48627   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48628     for ac_func in hypotf
48629 do :
48630   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48631 if test "x$ac_cv_func_hypotf" = x""yes; then :
48632   cat >>confdefs.h <<_ACEOF
48633 #define HAVE_HYPOTF 1
48634 _ACEOF
48635
48636 fi
48637 done
48638
48639   else
48640
48641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48642 $as_echo_n "checking for _hypotf declaration... " >&6; }
48643   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48644     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48645   $as_echo_n "(cached) " >&6
48646 else
48647
48648
48649       ac_ext=cpp
48650 ac_cpp='$CXXCPP $CPPFLAGS'
48651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48654
48655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48656 /* end confdefs.h.  */
48657 #include <math.h>
48658 int
48659 main ()
48660 {
48661  _hypotf(0, 0);
48662   ;
48663   return 0;
48664 }
48665 _ACEOF
48666 if ac_fn_cxx_try_compile "$LINENO"; then :
48667   glibcxx_cv_func__hypotf_use=yes
48668 else
48669   glibcxx_cv_func__hypotf_use=no
48670 fi
48671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48672       ac_ext=c
48673 ac_cpp='$CPP $CPPFLAGS'
48674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48677
48678
48679 fi
48680
48681   fi
48682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48683 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48684
48685     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48686       for ac_func in _hypotf
48687 do :
48688   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48689 if test "x$ac_cv_func__hypotf" = x""yes; then :
48690   cat >>confdefs.h <<_ACEOF
48691 #define HAVE__HYPOTF 1
48692 _ACEOF
48693
48694 fi
48695 done
48696
48697     fi
48698   fi
48699
48700
48701
48702
48703
48704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48705 $as_echo_n "checking for ldexpf declaration... " >&6; }
48706   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48707     if test "${glibcxx_cv_func_ldexpf_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 int
48722 main ()
48723 {
48724  ldexpf(0, 0);
48725   ;
48726   return 0;
48727 }
48728 _ACEOF
48729 if ac_fn_cxx_try_compile "$LINENO"; then :
48730   glibcxx_cv_func_ldexpf_use=yes
48731 else
48732   glibcxx_cv_func_ldexpf_use=no
48733 fi
48734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48735       ac_ext=c
48736 ac_cpp='$CPP $CPPFLAGS'
48737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48740
48741
48742 fi
48743
48744   fi
48745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48746 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48747
48748   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48749     for ac_func in ldexpf
48750 do :
48751   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48752 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48753   cat >>confdefs.h <<_ACEOF
48754 #define HAVE_LDEXPF 1
48755 _ACEOF
48756
48757 fi
48758 done
48759
48760   else
48761
48762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48763 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48764   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48765     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48766   $as_echo_n "(cached) " >&6
48767 else
48768
48769
48770       ac_ext=cpp
48771 ac_cpp='$CXXCPP $CPPFLAGS'
48772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48775
48776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48777 /* end confdefs.h.  */
48778 #include <math.h>
48779 int
48780 main ()
48781 {
48782  _ldexpf(0, 0);
48783   ;
48784   return 0;
48785 }
48786 _ACEOF
48787 if ac_fn_cxx_try_compile "$LINENO"; then :
48788   glibcxx_cv_func__ldexpf_use=yes
48789 else
48790   glibcxx_cv_func__ldexpf_use=no
48791 fi
48792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48793       ac_ext=c
48794 ac_cpp='$CPP $CPPFLAGS'
48795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48798
48799
48800 fi
48801
48802   fi
48803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48804 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48805
48806     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48807       for ac_func in _ldexpf
48808 do :
48809   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48810 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48811   cat >>confdefs.h <<_ACEOF
48812 #define HAVE__LDEXPF 1
48813 _ACEOF
48814
48815 fi
48816 done
48817
48818     fi
48819   fi
48820
48821
48822
48823
48824
48825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48826 $as_echo_n "checking for logf declaration... " >&6; }
48827   if test x${glibcxx_cv_func_logf_use+set} != xset; then
48828     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48829   $as_echo_n "(cached) " >&6
48830 else
48831
48832
48833       ac_ext=cpp
48834 ac_cpp='$CXXCPP $CPPFLAGS'
48835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48838
48839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48840 /* end confdefs.h.  */
48841 #include <math.h>
48842                       #ifdef HAVE_IEEEFP_H
48843                       #include <ieeefp.h>
48844                       #endif
48845
48846 int
48847 main ()
48848 {
48849  logf(0);
48850   ;
48851   return 0;
48852 }
48853 _ACEOF
48854 if ac_fn_cxx_try_compile "$LINENO"; then :
48855   glibcxx_cv_func_logf_use=yes
48856 else
48857   glibcxx_cv_func_logf_use=no
48858 fi
48859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48860       ac_ext=c
48861 ac_cpp='$CPP $CPPFLAGS'
48862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48865
48866
48867 fi
48868
48869   fi
48870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48871 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48872
48873   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48874     for ac_func in logf
48875 do :
48876   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48877 if test "x$ac_cv_func_logf" = x""yes; then :
48878   cat >>confdefs.h <<_ACEOF
48879 #define HAVE_LOGF 1
48880 _ACEOF
48881
48882 fi
48883 done
48884
48885   else
48886
48887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48888 $as_echo_n "checking for _logf declaration... " >&6; }
48889   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48890     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48891   $as_echo_n "(cached) " >&6
48892 else
48893
48894
48895       ac_ext=cpp
48896 ac_cpp='$CXXCPP $CPPFLAGS'
48897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48900
48901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48902 /* end confdefs.h.  */
48903 #include <math.h>
48904                       #ifdef HAVE_IEEEFP_H
48905                       #include <ieeefp.h>
48906                       #endif
48907
48908 int
48909 main ()
48910 {
48911  _logf(0);
48912   ;
48913   return 0;
48914 }
48915 _ACEOF
48916 if ac_fn_cxx_try_compile "$LINENO"; then :
48917   glibcxx_cv_func__logf_use=yes
48918 else
48919   glibcxx_cv_func__logf_use=no
48920 fi
48921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48922       ac_ext=c
48923 ac_cpp='$CPP $CPPFLAGS'
48924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48927
48928
48929 fi
48930
48931   fi
48932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48933 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48934
48935     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48936       for ac_func in _logf
48937 do :
48938   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48939 if test "x$ac_cv_func__logf" = x""yes; then :
48940   cat >>confdefs.h <<_ACEOF
48941 #define HAVE__LOGF 1
48942 _ACEOF
48943
48944 fi
48945 done
48946
48947     fi
48948   fi
48949
48950
48951
48952
48953
48954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48955 $as_echo_n "checking for log10f declaration... " >&6; }
48956   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48957     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48958   $as_echo_n "(cached) " >&6
48959 else
48960
48961
48962       ac_ext=cpp
48963 ac_cpp='$CXXCPP $CPPFLAGS'
48964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48967
48968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48969 /* end confdefs.h.  */
48970 #include <math.h>
48971                       #ifdef HAVE_IEEEFP_H
48972                       #include <ieeefp.h>
48973                       #endif
48974
48975 int
48976 main ()
48977 {
48978  log10f(0);
48979   ;
48980   return 0;
48981 }
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984   glibcxx_cv_func_log10f_use=yes
48985 else
48986   glibcxx_cv_func_log10f_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_log10f_use" >&5
49000 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49001
49002   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49003     for ac_func in log10f
49004 do :
49005   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49006 if test "x$ac_cv_func_log10f" = x""yes; then :
49007   cat >>confdefs.h <<_ACEOF
49008 #define HAVE_LOG10F 1
49009 _ACEOF
49010
49011 fi
49012 done
49013
49014   else
49015
49016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49017 $as_echo_n "checking for _log10f declaration... " >&6; }
49018   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49019     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49020   $as_echo_n "(cached) " >&6
49021 else
49022
49023
49024       ac_ext=cpp
49025 ac_cpp='$CXXCPP $CPPFLAGS'
49026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49029
49030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49031 /* end confdefs.h.  */
49032 #include <math.h>
49033                       #ifdef HAVE_IEEEFP_H
49034                       #include <ieeefp.h>
49035                       #endif
49036
49037 int
49038 main ()
49039 {
49040  _log10f(0);
49041   ;
49042   return 0;
49043 }
49044 _ACEOF
49045 if ac_fn_cxx_try_compile "$LINENO"; then :
49046   glibcxx_cv_func__log10f_use=yes
49047 else
49048   glibcxx_cv_func__log10f_use=no
49049 fi
49050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49051       ac_ext=c
49052 ac_cpp='$CPP $CPPFLAGS'
49053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49056
49057
49058 fi
49059
49060   fi
49061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49062 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49063
49064     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49065       for ac_func in _log10f
49066 do :
49067   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49068 if test "x$ac_cv_func__log10f" = x""yes; then :
49069   cat >>confdefs.h <<_ACEOF
49070 #define HAVE__LOG10F 1
49071 _ACEOF
49072
49073 fi
49074 done
49075
49076     fi
49077   fi
49078
49079
49080
49081
49082
49083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49084 $as_echo_n "checking for modff declaration... " >&6; }
49085   if test x${glibcxx_cv_func_modff_use+set} != xset; then
49086     if test "${glibcxx_cv_func_modff_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 int
49101 main ()
49102 {
49103  modff(0, 0);
49104   ;
49105   return 0;
49106 }
49107 _ACEOF
49108 if ac_fn_cxx_try_compile "$LINENO"; then :
49109   glibcxx_cv_func_modff_use=yes
49110 else
49111   glibcxx_cv_func_modff_use=no
49112 fi
49113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49114       ac_ext=c
49115 ac_cpp='$CPP $CPPFLAGS'
49116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49119
49120
49121 fi
49122
49123   fi
49124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49125 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49126
49127   if test x$glibcxx_cv_func_modff_use = x"yes"; then
49128     for ac_func in modff
49129 do :
49130   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49131 if test "x$ac_cv_func_modff" = x""yes; then :
49132   cat >>confdefs.h <<_ACEOF
49133 #define HAVE_MODFF 1
49134 _ACEOF
49135
49136 fi
49137 done
49138
49139   else
49140
49141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49142 $as_echo_n "checking for _modff declaration... " >&6; }
49143   if test x${glibcxx_cv_func__modff_use+set} != xset; then
49144     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49145   $as_echo_n "(cached) " >&6
49146 else
49147
49148
49149       ac_ext=cpp
49150 ac_cpp='$CXXCPP $CPPFLAGS'
49151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49154
49155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49156 /* end confdefs.h.  */
49157 #include <math.h>
49158 int
49159 main ()
49160 {
49161  _modff(0, 0);
49162   ;
49163   return 0;
49164 }
49165 _ACEOF
49166 if ac_fn_cxx_try_compile "$LINENO"; then :
49167   glibcxx_cv_func__modff_use=yes
49168 else
49169   glibcxx_cv_func__modff_use=no
49170 fi
49171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49172       ac_ext=c
49173 ac_cpp='$CPP $CPPFLAGS'
49174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49177
49178
49179 fi
49180
49181   fi
49182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49183 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49184
49185     if test x$glibcxx_cv_func__modff_use = x"yes"; then
49186       for ac_func in _modff
49187 do :
49188   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49189 if test "x$ac_cv_func__modff" = x""yes; then :
49190   cat >>confdefs.h <<_ACEOF
49191 #define HAVE__MODFF 1
49192 _ACEOF
49193
49194 fi
49195 done
49196
49197     fi
49198   fi
49199
49200
49201
49202
49203
49204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49205 $as_echo_n "checking for modf declaration... " >&6; }
49206   if test x${glibcxx_cv_func_modf_use+set} != xset; then
49207     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49208   $as_echo_n "(cached) " >&6
49209 else
49210
49211
49212       ac_ext=cpp
49213 ac_cpp='$CXXCPP $CPPFLAGS'
49214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49217
49218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49219 /* end confdefs.h.  */
49220 #include <math.h>
49221 int
49222 main ()
49223 {
49224  modf(0, 0);
49225   ;
49226   return 0;
49227 }
49228 _ACEOF
49229 if ac_fn_cxx_try_compile "$LINENO"; then :
49230   glibcxx_cv_func_modf_use=yes
49231 else
49232   glibcxx_cv_func_modf_use=no
49233 fi
49234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49235       ac_ext=c
49236 ac_cpp='$CPP $CPPFLAGS'
49237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49240
49241
49242 fi
49243
49244   fi
49245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49246 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49247
49248   if test x$glibcxx_cv_func_modf_use = x"yes"; then
49249     for ac_func in modf
49250 do :
49251   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49252 if test "x$ac_cv_func_modf" = x""yes; then :
49253   cat >>confdefs.h <<_ACEOF
49254 #define HAVE_MODF 1
49255 _ACEOF
49256
49257 fi
49258 done
49259
49260   else
49261
49262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49263 $as_echo_n "checking for _modf declaration... " >&6; }
49264   if test x${glibcxx_cv_func__modf_use+set} != xset; then
49265     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49266   $as_echo_n "(cached) " >&6
49267 else
49268
49269
49270       ac_ext=cpp
49271 ac_cpp='$CXXCPP $CPPFLAGS'
49272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49275
49276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49277 /* end confdefs.h.  */
49278 #include <math.h>
49279 int
49280 main ()
49281 {
49282  _modf(0, 0);
49283   ;
49284   return 0;
49285 }
49286 _ACEOF
49287 if ac_fn_cxx_try_compile "$LINENO"; then :
49288   glibcxx_cv_func__modf_use=yes
49289 else
49290   glibcxx_cv_func__modf_use=no
49291 fi
49292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49293       ac_ext=c
49294 ac_cpp='$CPP $CPPFLAGS'
49295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49298
49299
49300 fi
49301
49302   fi
49303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49304 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49305
49306     if test x$glibcxx_cv_func__modf_use = x"yes"; then
49307       for ac_func in _modf
49308 do :
49309   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49310 if test "x$ac_cv_func__modf" = x""yes; then :
49311   cat >>confdefs.h <<_ACEOF
49312 #define HAVE__MODF 1
49313 _ACEOF
49314
49315 fi
49316 done
49317
49318     fi
49319   fi
49320
49321
49322
49323
49324
49325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49326 $as_echo_n "checking for powf declaration... " >&6; }
49327   if test x${glibcxx_cv_func_powf_use+set} != xset; then
49328     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49329   $as_echo_n "(cached) " >&6
49330 else
49331
49332
49333       ac_ext=cpp
49334 ac_cpp='$CXXCPP $CPPFLAGS'
49335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49338
49339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49340 /* end confdefs.h.  */
49341 #include <math.h>
49342 int
49343 main ()
49344 {
49345  powf(0, 0);
49346   ;
49347   return 0;
49348 }
49349 _ACEOF
49350 if ac_fn_cxx_try_compile "$LINENO"; then :
49351   glibcxx_cv_func_powf_use=yes
49352 else
49353   glibcxx_cv_func_powf_use=no
49354 fi
49355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49356       ac_ext=c
49357 ac_cpp='$CPP $CPPFLAGS'
49358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49361
49362
49363 fi
49364
49365   fi
49366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49367 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49368
49369   if test x$glibcxx_cv_func_powf_use = x"yes"; then
49370     for ac_func in powf
49371 do :
49372   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49373 if test "x$ac_cv_func_powf" = x""yes; then :
49374   cat >>confdefs.h <<_ACEOF
49375 #define HAVE_POWF 1
49376 _ACEOF
49377
49378 fi
49379 done
49380
49381   else
49382
49383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49384 $as_echo_n "checking for _powf declaration... " >&6; }
49385   if test x${glibcxx_cv_func__powf_use+set} != xset; then
49386     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49387   $as_echo_n "(cached) " >&6
49388 else
49389
49390
49391       ac_ext=cpp
49392 ac_cpp='$CXXCPP $CPPFLAGS'
49393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49396
49397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49398 /* end confdefs.h.  */
49399 #include <math.h>
49400 int
49401 main ()
49402 {
49403  _powf(0, 0);
49404   ;
49405   return 0;
49406 }
49407 _ACEOF
49408 if ac_fn_cxx_try_compile "$LINENO"; then :
49409   glibcxx_cv_func__powf_use=yes
49410 else
49411   glibcxx_cv_func__powf_use=no
49412 fi
49413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49414       ac_ext=c
49415 ac_cpp='$CPP $CPPFLAGS'
49416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49419
49420
49421 fi
49422
49423   fi
49424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49425 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49426
49427     if test x$glibcxx_cv_func__powf_use = x"yes"; then
49428       for ac_func in _powf
49429 do :
49430   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49431 if test "x$ac_cv_func__powf" = x""yes; then :
49432   cat >>confdefs.h <<_ACEOF
49433 #define HAVE__POWF 1
49434 _ACEOF
49435
49436 fi
49437 done
49438
49439     fi
49440   fi
49441
49442
49443
49444
49445
49446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49447 $as_echo_n "checking for sqrtf declaration... " >&6; }
49448   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49449     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49450   $as_echo_n "(cached) " >&6
49451 else
49452
49453
49454       ac_ext=cpp
49455 ac_cpp='$CXXCPP $CPPFLAGS'
49456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49459
49460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49461 /* end confdefs.h.  */
49462 #include <math.h>
49463                       #ifdef HAVE_IEEEFP_H
49464                       #include <ieeefp.h>
49465                       #endif
49466
49467 int
49468 main ()
49469 {
49470  sqrtf(0);
49471   ;
49472   return 0;
49473 }
49474 _ACEOF
49475 if ac_fn_cxx_try_compile "$LINENO"; then :
49476   glibcxx_cv_func_sqrtf_use=yes
49477 else
49478   glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
49492 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49493
49494   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49495     for ac_func in sqrtf
49496 do :
49497   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49498 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49499   cat >>confdefs.h <<_ACEOF
49500 #define HAVE_SQRTF 1
49501 _ACEOF
49502
49503 fi
49504 done
49505
49506   else
49507
49508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49509 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49510   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49511     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49512   $as_echo_n "(cached) " >&6
49513 else
49514
49515
49516       ac_ext=cpp
49517 ac_cpp='$CXXCPP $CPPFLAGS'
49518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49521
49522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49523 /* end confdefs.h.  */
49524 #include <math.h>
49525                       #ifdef HAVE_IEEEFP_H
49526                       #include <ieeefp.h>
49527                       #endif
49528
49529 int
49530 main ()
49531 {
49532  _sqrtf(0);
49533   ;
49534   return 0;
49535 }
49536 _ACEOF
49537 if ac_fn_cxx_try_compile "$LINENO"; then :
49538   glibcxx_cv_func__sqrtf_use=yes
49539 else
49540   glibcxx_cv_func__sqrtf_use=no
49541 fi
49542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49543       ac_ext=c
49544 ac_cpp='$CPP $CPPFLAGS'
49545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49548
49549
49550 fi
49551
49552   fi
49553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49554 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49555
49556     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49557       for ac_func in _sqrtf
49558 do :
49559   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49560 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49561   cat >>confdefs.h <<_ACEOF
49562 #define HAVE__SQRTF 1
49563 _ACEOF
49564
49565 fi
49566 done
49567
49568     fi
49569   fi
49570
49571
49572
49573
49574
49575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49576 $as_echo_n "checking for sincosf declaration... " >&6; }
49577   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49578     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49579   $as_echo_n "(cached) " >&6
49580 else
49581
49582
49583       ac_ext=cpp
49584 ac_cpp='$CXXCPP $CPPFLAGS'
49585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49588
49589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49590 /* end confdefs.h.  */
49591 #include <math.h>
49592 int
49593 main ()
49594 {
49595  sincosf(0, 0, 0);
49596   ;
49597   return 0;
49598 }
49599 _ACEOF
49600 if ac_fn_cxx_try_compile "$LINENO"; then :
49601   glibcxx_cv_func_sincosf_use=yes
49602 else
49603   glibcxx_cv_func_sincosf_use=no
49604 fi
49605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49606       ac_ext=c
49607 ac_cpp='$CPP $CPPFLAGS'
49608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49611
49612
49613 fi
49614
49615   fi
49616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49617 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49618
49619   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49620     for ac_func in sincosf
49621 do :
49622   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49623 if test "x$ac_cv_func_sincosf" = x""yes; then :
49624   cat >>confdefs.h <<_ACEOF
49625 #define HAVE_SINCOSF 1
49626 _ACEOF
49627
49628 fi
49629 done
49630
49631   else
49632
49633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49634 $as_echo_n "checking for _sincosf declaration... " >&6; }
49635   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49636     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49637   $as_echo_n "(cached) " >&6
49638 else
49639
49640
49641       ac_ext=cpp
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646
49647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648 /* end confdefs.h.  */
49649 #include <math.h>
49650 int
49651 main ()
49652 {
49653  _sincosf(0, 0, 0);
49654   ;
49655   return 0;
49656 }
49657 _ACEOF
49658 if ac_fn_cxx_try_compile "$LINENO"; then :
49659   glibcxx_cv_func__sincosf_use=yes
49660 else
49661   glibcxx_cv_func__sincosf_use=no
49662 fi
49663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49664       ac_ext=c
49665 ac_cpp='$CPP $CPPFLAGS'
49666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49669
49670
49671 fi
49672
49673   fi
49674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49675 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49676
49677     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49678       for ac_func in _sincosf
49679 do :
49680   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49681 if test "x$ac_cv_func__sincosf" = x""yes; then :
49682   cat >>confdefs.h <<_ACEOF
49683 #define HAVE__SINCOSF 1
49684 _ACEOF
49685
49686 fi
49687 done
49688
49689     fi
49690   fi
49691
49692
49693
49694
49695
49696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49697 $as_echo_n "checking for finitef declaration... " >&6; }
49698   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49699     if test "${glibcxx_cv_func_finitef_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  finitef(0);
49721   ;
49722   return 0;
49723 }
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726   glibcxx_cv_func_finitef_use=yes
49727 else
49728   glibcxx_cv_func_finitef_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_finitef_use" >&5
49742 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49743
49744   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49745     for ac_func in finitef
49746 do :
49747   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49748 if test "x$ac_cv_func_finitef" = x""yes; then :
49749   cat >>confdefs.h <<_ACEOF
49750 #define HAVE_FINITEF 1
49751 _ACEOF
49752
49753 fi
49754 done
49755
49756   else
49757
49758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49759 $as_echo_n "checking for _finitef declaration... " >&6; }
49760   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49761     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49762   $as_echo_n "(cached) " >&6
49763 else
49764
49765
49766       ac_ext=cpp
49767 ac_cpp='$CXXCPP $CPPFLAGS'
49768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49771
49772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49773 /* end confdefs.h.  */
49774 #include <math.h>
49775                       #ifdef HAVE_IEEEFP_H
49776                       #include <ieeefp.h>
49777                       #endif
49778
49779 int
49780 main ()
49781 {
49782  _finitef(0);
49783   ;
49784   return 0;
49785 }
49786 _ACEOF
49787 if ac_fn_cxx_try_compile "$LINENO"; then :
49788   glibcxx_cv_func__finitef_use=yes
49789 else
49790   glibcxx_cv_func__finitef_use=no
49791 fi
49792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49793       ac_ext=c
49794 ac_cpp='$CPP $CPPFLAGS'
49795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49798
49799
49800 fi
49801
49802   fi
49803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49804 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49805
49806     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49807       for ac_func in _finitef
49808 do :
49809   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49810 if test "x$ac_cv_func__finitef" = x""yes; then :
49811   cat >>confdefs.h <<_ACEOF
49812 #define HAVE__FINITEF 1
49813 _ACEOF
49814
49815 fi
49816 done
49817
49818     fi
49819   fi
49820
49821
49822
49823
49824
49825     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49826 $as_echo_n "checking for long double trig functions... " >&6; }
49827   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49828   $as_echo_n "(cached) " >&6
49829 else
49830
49831
49832     ac_ext=cpp
49833 ac_cpp='$CXXCPP $CPPFLAGS'
49834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49837
49838     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49839 /* end confdefs.h.  */
49840 #include <math.h>
49841 int
49842 main ()
49843 {
49844 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49845   ;
49846   return 0;
49847 }
49848 _ACEOF
49849 if ac_fn_cxx_try_compile "$LINENO"; then :
49850   glibcxx_cv_func_long_double_trig_use=yes
49851 else
49852   glibcxx_cv_func_long_double_trig_use=no
49853 fi
49854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49855     ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49860
49861 fi
49862
49863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49864 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49865   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49866     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49867 do :
49868   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49870 eval as_val=\$$as_ac_var
49871    if test "x$as_val" = x""yes; then :
49872   cat >>confdefs.h <<_ACEOF
49873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49874 _ACEOF
49875
49876 fi
49877 done
49878
49879   else
49880     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49881 $as_echo_n "checking for _long double trig functions... " >&6; }
49882     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49883   $as_echo_n "(cached) " >&6
49884 else
49885
49886
49887       ac_ext=cpp
49888 ac_cpp='$CXXCPP $CPPFLAGS'
49889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49892
49893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49894 /* end confdefs.h.  */
49895 #include <math.h>
49896 int
49897 main ()
49898 {
49899 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49900   ;
49901   return 0;
49902 }
49903 _ACEOF
49904 if ac_fn_cxx_try_compile "$LINENO"; then :
49905   glibcxx_cv_func__long_double_trig_use=yes
49906 else
49907   glibcxx_cv_func__long_double_trig_use=no
49908 fi
49909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49910       ac_ext=c
49911 ac_cpp='$CPP $CPPFLAGS'
49912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49915
49916 fi
49917
49918     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49919 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49920     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49921       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49922 do :
49923   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49925 eval as_val=\$$as_ac_var
49926    if test "x$as_val" = x""yes; then :
49927   cat >>confdefs.h <<_ACEOF
49928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49929 _ACEOF
49930
49931 fi
49932 done
49933
49934     fi
49935   fi
49936
49937
49938
49939
49940
49941     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49942 $as_echo_n "checking for long double round functions... " >&6; }
49943   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49944   $as_echo_n "(cached) " >&6
49945 else
49946
49947
49948     ac_ext=cpp
49949 ac_cpp='$CXXCPP $CPPFLAGS'
49950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49953
49954     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955 /* end confdefs.h.  */
49956 #include <math.h>
49957 int
49958 main ()
49959 {
49960 ceill (0); floorl (0);
49961   ;
49962   return 0;
49963 }
49964 _ACEOF
49965 if ac_fn_cxx_try_compile "$LINENO"; then :
49966   glibcxx_cv_func_long_double_round_use=yes
49967 else
49968   glibcxx_cv_func_long_double_round_use=no
49969 fi
49970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49971     ac_ext=c
49972 ac_cpp='$CPP $CPPFLAGS'
49973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976
49977 fi
49978
49979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49980 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49981   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49982     for ac_func in ceill floorl
49983 do :
49984   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49986 eval as_val=\$$as_ac_var
49987    if test "x$as_val" = x""yes; then :
49988   cat >>confdefs.h <<_ACEOF
49989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49990 _ACEOF
49991
49992 fi
49993 done
49994
49995   else
49996     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49997 $as_echo_n "checking for _long double round functions... " >&6; }
49998     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49999   $as_echo_n "(cached) " >&6
50000 else
50001
50002
50003       ac_ext=cpp
50004 ac_cpp='$CXXCPP $CPPFLAGS'
50005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50008
50009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50010 /* end confdefs.h.  */
50011 #include <math.h>
50012 int
50013 main ()
50014 {
50015 _ceill (0); _floorl (0);
50016   ;
50017   return 0;
50018 }
50019 _ACEOF
50020 if ac_fn_cxx_try_compile "$LINENO"; then :
50021   glibcxx_cv_func__long_double_round_use=yes
50022 else
50023   glibcxx_cv_func__long_double_round_use=no
50024 fi
50025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50026       ac_ext=c
50027 ac_cpp='$CPP $CPPFLAGS'
50028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50031
50032 fi
50033
50034     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50035 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50036     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50037       for ac_func in _ceill _floorl
50038 do :
50039   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50041 eval as_val=\$$as_ac_var
50042    if test "x$as_val" = x""yes; then :
50043   cat >>confdefs.h <<_ACEOF
50044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50045 _ACEOF
50046
50047 fi
50048 done
50049
50050     fi
50051   fi
50052
50053
50054
50055
50056
50057
50058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50059 $as_echo_n "checking for isnanl declaration... " >&6; }
50060   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50061     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50062   $as_echo_n "(cached) " >&6
50063 else
50064
50065
50066       ac_ext=cpp
50067 ac_cpp='$CXXCPP $CPPFLAGS'
50068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50071
50072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50073 /* end confdefs.h.  */
50074 #include <math.h>
50075                       #ifdef HAVE_IEEEFP_H
50076                       #include <ieeefp.h>
50077                       #endif
50078
50079 int
50080 main ()
50081 {
50082  isnanl(0);
50083   ;
50084   return 0;
50085 }
50086 _ACEOF
50087 if ac_fn_cxx_try_compile "$LINENO"; then :
50088   glibcxx_cv_func_isnanl_use=yes
50089 else
50090   glibcxx_cv_func_isnanl_use=no
50091 fi
50092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50093       ac_ext=c
50094 ac_cpp='$CPP $CPPFLAGS'
50095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50098
50099
50100 fi
50101
50102   fi
50103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50104 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50105
50106   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50107     for ac_func in isnanl
50108 do :
50109   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50110 if test "x$ac_cv_func_isnanl" = x""yes; then :
50111   cat >>confdefs.h <<_ACEOF
50112 #define HAVE_ISNANL 1
50113 _ACEOF
50114
50115 fi
50116 done
50117
50118   else
50119
50120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50121 $as_echo_n "checking for _isnanl declaration... " >&6; }
50122   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50123     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50124   $as_echo_n "(cached) " >&6
50125 else
50126
50127
50128       ac_ext=cpp
50129 ac_cpp='$CXXCPP $CPPFLAGS'
50130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50133
50134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50135 /* end confdefs.h.  */
50136 #include <math.h>
50137                       #ifdef HAVE_IEEEFP_H
50138                       #include <ieeefp.h>
50139                       #endif
50140
50141 int
50142 main ()
50143 {
50144  _isnanl(0);
50145   ;
50146   return 0;
50147 }
50148 _ACEOF
50149 if ac_fn_cxx_try_compile "$LINENO"; then :
50150   glibcxx_cv_func__isnanl_use=yes
50151 else
50152   glibcxx_cv_func__isnanl_use=no
50153 fi
50154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50155       ac_ext=c
50156 ac_cpp='$CPP $CPPFLAGS'
50157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50160
50161
50162 fi
50163
50164   fi
50165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50166 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50167
50168     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50169       for ac_func in _isnanl
50170 do :
50171   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50172 if test "x$ac_cv_func__isnanl" = x""yes; then :
50173   cat >>confdefs.h <<_ACEOF
50174 #define HAVE__ISNANL 1
50175 _ACEOF
50176
50177 fi
50178 done
50179
50180     fi
50181   fi
50182
50183
50184
50185
50186
50187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50188 $as_echo_n "checking for isinfl declaration... " >&6; }
50189   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50190     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50191   $as_echo_n "(cached) " >&6
50192 else
50193
50194
50195       ac_ext=cpp
50196 ac_cpp='$CXXCPP $CPPFLAGS'
50197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50200
50201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50202 /* end confdefs.h.  */
50203 #include <math.h>
50204                       #ifdef HAVE_IEEEFP_H
50205                       #include <ieeefp.h>
50206                       #endif
50207
50208 int
50209 main ()
50210 {
50211  isinfl(0);
50212   ;
50213   return 0;
50214 }
50215 _ACEOF
50216 if ac_fn_cxx_try_compile "$LINENO"; then :
50217   glibcxx_cv_func_isinfl_use=yes
50218 else
50219   glibcxx_cv_func_isinfl_use=no
50220 fi
50221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50222       ac_ext=c
50223 ac_cpp='$CPP $CPPFLAGS'
50224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50227
50228
50229 fi
50230
50231   fi
50232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50233 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50234
50235   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50236     for ac_func in isinfl
50237 do :
50238   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50239 if test "x$ac_cv_func_isinfl" = x""yes; then :
50240   cat >>confdefs.h <<_ACEOF
50241 #define HAVE_ISINFL 1
50242 _ACEOF
50243
50244 fi
50245 done
50246
50247   else
50248
50249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50250 $as_echo_n "checking for _isinfl declaration... " >&6; }
50251   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50252     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50253   $as_echo_n "(cached) " >&6
50254 else
50255
50256
50257       ac_ext=cpp
50258 ac_cpp='$CXXCPP $CPPFLAGS'
50259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50262
50263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50264 /* end confdefs.h.  */
50265 #include <math.h>
50266                       #ifdef HAVE_IEEEFP_H
50267                       #include <ieeefp.h>
50268                       #endif
50269
50270 int
50271 main ()
50272 {
50273  _isinfl(0);
50274   ;
50275   return 0;
50276 }
50277 _ACEOF
50278 if ac_fn_cxx_try_compile "$LINENO"; then :
50279   glibcxx_cv_func__isinfl_use=yes
50280 else
50281   glibcxx_cv_func__isinfl_use=no
50282 fi
50283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50284       ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50289
50290
50291 fi
50292
50293   fi
50294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50295 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50296
50297     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50298       for ac_func in _isinfl
50299 do :
50300   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50301 if test "x$ac_cv_func__isinfl" = x""yes; then :
50302   cat >>confdefs.h <<_ACEOF
50303 #define HAVE__ISINFL 1
50304 _ACEOF
50305
50306 fi
50307 done
50308
50309     fi
50310   fi
50311
50312
50313
50314
50315
50316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50317 $as_echo_n "checking for atan2l declaration... " >&6; }
50318   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50319     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50320   $as_echo_n "(cached) " >&6
50321 else
50322
50323
50324       ac_ext=cpp
50325 ac_cpp='$CXXCPP $CPPFLAGS'
50326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50329
50330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50331 /* end confdefs.h.  */
50332 #include <math.h>
50333 int
50334 main ()
50335 {
50336  atan2l(0, 0);
50337   ;
50338   return 0;
50339 }
50340 _ACEOF
50341 if ac_fn_cxx_try_compile "$LINENO"; then :
50342   glibcxx_cv_func_atan2l_use=yes
50343 else
50344   glibcxx_cv_func_atan2l_use=no
50345 fi
50346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50347       ac_ext=c
50348 ac_cpp='$CPP $CPPFLAGS'
50349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50352
50353
50354 fi
50355
50356   fi
50357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50358 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50359
50360   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50361     for ac_func in atan2l
50362 do :
50363   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50364 if test "x$ac_cv_func_atan2l" = x""yes; then :
50365   cat >>confdefs.h <<_ACEOF
50366 #define HAVE_ATAN2L 1
50367 _ACEOF
50368
50369 fi
50370 done
50371
50372   else
50373
50374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50375 $as_echo_n "checking for _atan2l declaration... " >&6; }
50376   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50377     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50378   $as_echo_n "(cached) " >&6
50379 else
50380
50381
50382       ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50387
50388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h.  */
50390 #include <math.h>
50391 int
50392 main ()
50393 {
50394  _atan2l(0, 0);
50395   ;
50396   return 0;
50397 }
50398 _ACEOF
50399 if ac_fn_cxx_try_compile "$LINENO"; then :
50400   glibcxx_cv_func__atan2l_use=yes
50401 else
50402   glibcxx_cv_func__atan2l_use=no
50403 fi
50404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50405       ac_ext=c
50406 ac_cpp='$CPP $CPPFLAGS'
50407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50410
50411
50412 fi
50413
50414   fi
50415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50416 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50417
50418     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50419       for ac_func in _atan2l
50420 do :
50421   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50422 if test "x$ac_cv_func__atan2l" = x""yes; then :
50423   cat >>confdefs.h <<_ACEOF
50424 #define HAVE__ATAN2L 1
50425 _ACEOF
50426
50427 fi
50428 done
50429
50430     fi
50431   fi
50432
50433
50434
50435
50436
50437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50438 $as_echo_n "checking for expl declaration... " >&6; }
50439   if test x${glibcxx_cv_func_expl_use+set} != xset; then
50440     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50441   $as_echo_n "(cached) " >&6
50442 else
50443
50444
50445       ac_ext=cpp
50446 ac_cpp='$CXXCPP $CPPFLAGS'
50447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50450
50451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50452 /* end confdefs.h.  */
50453 #include <math.h>
50454                       #ifdef HAVE_IEEEFP_H
50455                       #include <ieeefp.h>
50456                       #endif
50457
50458 int
50459 main ()
50460 {
50461  expl(0);
50462   ;
50463   return 0;
50464 }
50465 _ACEOF
50466 if ac_fn_cxx_try_compile "$LINENO"; then :
50467   glibcxx_cv_func_expl_use=yes
50468 else
50469   glibcxx_cv_func_expl_use=no
50470 fi
50471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50472       ac_ext=c
50473 ac_cpp='$CPP $CPPFLAGS'
50474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50477
50478
50479 fi
50480
50481   fi
50482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50483 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50484
50485   if test x$glibcxx_cv_func_expl_use = x"yes"; then
50486     for ac_func in expl
50487 do :
50488   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50489 if test "x$ac_cv_func_expl" = x""yes; then :
50490   cat >>confdefs.h <<_ACEOF
50491 #define HAVE_EXPL 1
50492 _ACEOF
50493
50494 fi
50495 done
50496
50497   else
50498
50499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50500 $as_echo_n "checking for _expl declaration... " >&6; }
50501   if test x${glibcxx_cv_func__expl_use+set} != xset; then
50502     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50503   $as_echo_n "(cached) " >&6
50504 else
50505
50506
50507       ac_ext=cpp
50508 ac_cpp='$CXXCPP $CPPFLAGS'
50509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50512
50513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50514 /* end confdefs.h.  */
50515 #include <math.h>
50516                       #ifdef HAVE_IEEEFP_H
50517                       #include <ieeefp.h>
50518                       #endif
50519
50520 int
50521 main ()
50522 {
50523  _expl(0);
50524   ;
50525   return 0;
50526 }
50527 _ACEOF
50528 if ac_fn_cxx_try_compile "$LINENO"; then :
50529   glibcxx_cv_func__expl_use=yes
50530 else
50531   glibcxx_cv_func__expl_use=no
50532 fi
50533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50534       ac_ext=c
50535 ac_cpp='$CPP $CPPFLAGS'
50536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50539
50540
50541 fi
50542
50543   fi
50544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50545 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50546
50547     if test x$glibcxx_cv_func__expl_use = x"yes"; then
50548       for ac_func in _expl
50549 do :
50550   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50551 if test "x$ac_cv_func__expl" = x""yes; then :
50552   cat >>confdefs.h <<_ACEOF
50553 #define HAVE__EXPL 1
50554 _ACEOF
50555
50556 fi
50557 done
50558
50559     fi
50560   fi
50561
50562
50563
50564
50565
50566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50567 $as_echo_n "checking for fabsl declaration... " >&6; }
50568   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50569     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50570   $as_echo_n "(cached) " >&6
50571 else
50572
50573
50574       ac_ext=cpp
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579
50580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50581 /* end confdefs.h.  */
50582 #include <math.h>
50583                       #ifdef HAVE_IEEEFP_H
50584                       #include <ieeefp.h>
50585                       #endif
50586
50587 int
50588 main ()
50589 {
50590  fabsl(0);
50591   ;
50592   return 0;
50593 }
50594 _ACEOF
50595 if ac_fn_cxx_try_compile "$LINENO"; then :
50596   glibcxx_cv_func_fabsl_use=yes
50597 else
50598   glibcxx_cv_func_fabsl_use=no
50599 fi
50600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50601       ac_ext=c
50602 ac_cpp='$CPP $CPPFLAGS'
50603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50606
50607
50608 fi
50609
50610   fi
50611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50612 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50613
50614   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50615     for ac_func in fabsl
50616 do :
50617   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50618 if test "x$ac_cv_func_fabsl" = x""yes; then :
50619   cat >>confdefs.h <<_ACEOF
50620 #define HAVE_FABSL 1
50621 _ACEOF
50622
50623 fi
50624 done
50625
50626   else
50627
50628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50629 $as_echo_n "checking for _fabsl declaration... " >&6; }
50630   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50631     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50632   $as_echo_n "(cached) " >&6
50633 else
50634
50635
50636       ac_ext=cpp
50637 ac_cpp='$CXXCPP $CPPFLAGS'
50638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50641
50642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50643 /* end confdefs.h.  */
50644 #include <math.h>
50645                       #ifdef HAVE_IEEEFP_H
50646                       #include <ieeefp.h>
50647                       #endif
50648
50649 int
50650 main ()
50651 {
50652  _fabsl(0);
50653   ;
50654   return 0;
50655 }
50656 _ACEOF
50657 if ac_fn_cxx_try_compile "$LINENO"; then :
50658   glibcxx_cv_func__fabsl_use=yes
50659 else
50660   glibcxx_cv_func__fabsl_use=no
50661 fi
50662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50663       ac_ext=c
50664 ac_cpp='$CPP $CPPFLAGS'
50665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50668
50669
50670 fi
50671
50672   fi
50673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50674 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50675
50676     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50677       for ac_func in _fabsl
50678 do :
50679   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50680 if test "x$ac_cv_func__fabsl" = x""yes; then :
50681   cat >>confdefs.h <<_ACEOF
50682 #define HAVE__FABSL 1
50683 _ACEOF
50684
50685 fi
50686 done
50687
50688     fi
50689   fi
50690
50691
50692
50693
50694
50695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50696 $as_echo_n "checking for fmodl declaration... " >&6; }
50697   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50698     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50699   $as_echo_n "(cached) " >&6
50700 else
50701
50702
50703       ac_ext=cpp
50704 ac_cpp='$CXXCPP $CPPFLAGS'
50705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50708
50709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50710 /* end confdefs.h.  */
50711 #include <math.h>
50712 int
50713 main ()
50714 {
50715  fmodl(0, 0);
50716   ;
50717   return 0;
50718 }
50719 _ACEOF
50720 if ac_fn_cxx_try_compile "$LINENO"; then :
50721   glibcxx_cv_func_fmodl_use=yes
50722 else
50723   glibcxx_cv_func_fmodl_use=no
50724 fi
50725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50726       ac_ext=c
50727 ac_cpp='$CPP $CPPFLAGS'
50728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50731
50732
50733 fi
50734
50735   fi
50736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50737 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50738
50739   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50740     for ac_func in fmodl
50741 do :
50742   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50743 if test "x$ac_cv_func_fmodl" = x""yes; then :
50744   cat >>confdefs.h <<_ACEOF
50745 #define HAVE_FMODL 1
50746 _ACEOF
50747
50748 fi
50749 done
50750
50751   else
50752
50753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50754 $as_echo_n "checking for _fmodl declaration... " >&6; }
50755   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50756     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50757   $as_echo_n "(cached) " >&6
50758 else
50759
50760
50761       ac_ext=cpp
50762 ac_cpp='$CXXCPP $CPPFLAGS'
50763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50766
50767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h.  */
50769 #include <math.h>
50770 int
50771 main ()
50772 {
50773  _fmodl(0, 0);
50774   ;
50775   return 0;
50776 }
50777 _ACEOF
50778 if ac_fn_cxx_try_compile "$LINENO"; then :
50779   glibcxx_cv_func__fmodl_use=yes
50780 else
50781   glibcxx_cv_func__fmodl_use=no
50782 fi
50783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50784       ac_ext=c
50785 ac_cpp='$CPP $CPPFLAGS'
50786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50789
50790
50791 fi
50792
50793   fi
50794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50795 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50796
50797     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50798       for ac_func in _fmodl
50799 do :
50800   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50801 if test "x$ac_cv_func__fmodl" = x""yes; then :
50802   cat >>confdefs.h <<_ACEOF
50803 #define HAVE__FMODL 1
50804 _ACEOF
50805
50806 fi
50807 done
50808
50809     fi
50810   fi
50811
50812
50813
50814
50815
50816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50817 $as_echo_n "checking for frexpl declaration... " >&6; }
50818   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50819     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50820   $as_echo_n "(cached) " >&6
50821 else
50822
50823
50824       ac_ext=cpp
50825 ac_cpp='$CXXCPP $CPPFLAGS'
50826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50829
50830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50831 /* end confdefs.h.  */
50832 #include <math.h>
50833 int
50834 main ()
50835 {
50836  frexpl(0, 0);
50837   ;
50838   return 0;
50839 }
50840 _ACEOF
50841 if ac_fn_cxx_try_compile "$LINENO"; then :
50842   glibcxx_cv_func_frexpl_use=yes
50843 else
50844   glibcxx_cv_func_frexpl_use=no
50845 fi
50846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50847       ac_ext=c
50848 ac_cpp='$CPP $CPPFLAGS'
50849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50852
50853
50854 fi
50855
50856   fi
50857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50858 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50859
50860   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50861     for ac_func in frexpl
50862 do :
50863   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50864 if test "x$ac_cv_func_frexpl" = x""yes; then :
50865   cat >>confdefs.h <<_ACEOF
50866 #define HAVE_FREXPL 1
50867 _ACEOF
50868
50869 fi
50870 done
50871
50872   else
50873
50874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50875 $as_echo_n "checking for _frexpl declaration... " >&6; }
50876   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50877     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50878   $as_echo_n "(cached) " >&6
50879 else
50880
50881
50882       ac_ext=cpp
50883 ac_cpp='$CXXCPP $CPPFLAGS'
50884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50887
50888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50889 /* end confdefs.h.  */
50890 #include <math.h>
50891 int
50892 main ()
50893 {
50894  _frexpl(0, 0);
50895   ;
50896   return 0;
50897 }
50898 _ACEOF
50899 if ac_fn_cxx_try_compile "$LINENO"; then :
50900   glibcxx_cv_func__frexpl_use=yes
50901 else
50902   glibcxx_cv_func__frexpl_use=no
50903 fi
50904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50905       ac_ext=c
50906 ac_cpp='$CPP $CPPFLAGS'
50907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50910
50911
50912 fi
50913
50914   fi
50915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50916 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50917
50918     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50919       for ac_func in _frexpl
50920 do :
50921   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50922 if test "x$ac_cv_func__frexpl" = x""yes; then :
50923   cat >>confdefs.h <<_ACEOF
50924 #define HAVE__FREXPL 1
50925 _ACEOF
50926
50927 fi
50928 done
50929
50930     fi
50931   fi
50932
50933
50934
50935
50936
50937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50938 $as_echo_n "checking for hypotl declaration... " >&6; }
50939   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50940     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50941   $as_echo_n "(cached) " >&6
50942 else
50943
50944
50945       ac_ext=cpp
50946 ac_cpp='$CXXCPP $CPPFLAGS'
50947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50950
50951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50952 /* end confdefs.h.  */
50953 #include <math.h>
50954 int
50955 main ()
50956 {
50957  hypotl(0, 0);
50958   ;
50959   return 0;
50960 }
50961 _ACEOF
50962 if ac_fn_cxx_try_compile "$LINENO"; then :
50963   glibcxx_cv_func_hypotl_use=yes
50964 else
50965   glibcxx_cv_func_hypotl_use=no
50966 fi
50967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50968       ac_ext=c
50969 ac_cpp='$CPP $CPPFLAGS'
50970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50973
50974
50975 fi
50976
50977   fi
50978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50979 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50980
50981   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50982     for ac_func in hypotl
50983 do :
50984   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50985 if test "x$ac_cv_func_hypotl" = x""yes; then :
50986   cat >>confdefs.h <<_ACEOF
50987 #define HAVE_HYPOTL 1
50988 _ACEOF
50989
50990 fi
50991 done
50992
50993   else
50994
50995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50996 $as_echo_n "checking for _hypotl declaration... " >&6; }
50997   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50998     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50999   $as_echo_n "(cached) " >&6
51000 else
51001
51002
51003       ac_ext=cpp
51004 ac_cpp='$CXXCPP $CPPFLAGS'
51005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51008
51009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51010 /* end confdefs.h.  */
51011 #include <math.h>
51012 int
51013 main ()
51014 {
51015  _hypotl(0, 0);
51016   ;
51017   return 0;
51018 }
51019 _ACEOF
51020 if ac_fn_cxx_try_compile "$LINENO"; then :
51021   glibcxx_cv_func__hypotl_use=yes
51022 else
51023   glibcxx_cv_func__hypotl_use=no
51024 fi
51025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51026       ac_ext=c
51027 ac_cpp='$CPP $CPPFLAGS'
51028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51031
51032
51033 fi
51034
51035   fi
51036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51037 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51038
51039     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51040       for ac_func in _hypotl
51041 do :
51042   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51043 if test "x$ac_cv_func__hypotl" = x""yes; then :
51044   cat >>confdefs.h <<_ACEOF
51045 #define HAVE__HYPOTL 1
51046 _ACEOF
51047
51048 fi
51049 done
51050
51051     fi
51052   fi
51053
51054
51055
51056
51057
51058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51059 $as_echo_n "checking for ldexpl declaration... " >&6; }
51060   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51061     if test "${glibcxx_cv_func_ldexpl_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 int
51076 main ()
51077 {
51078  ldexpl(0, 0);
51079   ;
51080   return 0;
51081 }
51082 _ACEOF
51083 if ac_fn_cxx_try_compile "$LINENO"; then :
51084   glibcxx_cv_func_ldexpl_use=yes
51085 else
51086   glibcxx_cv_func_ldexpl_use=no
51087 fi
51088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51089       ac_ext=c
51090 ac_cpp='$CPP $CPPFLAGS'
51091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51094
51095
51096 fi
51097
51098   fi
51099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51100 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51101
51102   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51103     for ac_func in ldexpl
51104 do :
51105   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51106 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51107   cat >>confdefs.h <<_ACEOF
51108 #define HAVE_LDEXPL 1
51109 _ACEOF
51110
51111 fi
51112 done
51113
51114   else
51115
51116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51117 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51118   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51119     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51120   $as_echo_n "(cached) " >&6
51121 else
51122
51123
51124       ac_ext=cpp
51125 ac_cpp='$CXXCPP $CPPFLAGS'
51126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129
51130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51131 /* end confdefs.h.  */
51132 #include <math.h>
51133 int
51134 main ()
51135 {
51136  _ldexpl(0, 0);
51137   ;
51138   return 0;
51139 }
51140 _ACEOF
51141 if ac_fn_cxx_try_compile "$LINENO"; then :
51142   glibcxx_cv_func__ldexpl_use=yes
51143 else
51144   glibcxx_cv_func__ldexpl_use=no
51145 fi
51146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51147       ac_ext=c
51148 ac_cpp='$CPP $CPPFLAGS'
51149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51152
51153
51154 fi
51155
51156   fi
51157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51158 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51159
51160     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51161       for ac_func in _ldexpl
51162 do :
51163   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51164 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51165   cat >>confdefs.h <<_ACEOF
51166 #define HAVE__LDEXPL 1
51167 _ACEOF
51168
51169 fi
51170 done
51171
51172     fi
51173   fi
51174
51175
51176
51177
51178
51179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51180 $as_echo_n "checking for logl declaration... " >&6; }
51181   if test x${glibcxx_cv_func_logl_use+set} != xset; then
51182     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51183   $as_echo_n "(cached) " >&6
51184 else
51185
51186
51187       ac_ext=cpp
51188 ac_cpp='$CXXCPP $CPPFLAGS'
51189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51192
51193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51194 /* end confdefs.h.  */
51195 #include <math.h>
51196                       #ifdef HAVE_IEEEFP_H
51197                       #include <ieeefp.h>
51198                       #endif
51199
51200 int
51201 main ()
51202 {
51203  logl(0);
51204   ;
51205   return 0;
51206 }
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209   glibcxx_cv_func_logl_use=yes
51210 else
51211   glibcxx_cv_func_logl_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_logl_use" >&5
51225 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51226
51227   if test x$glibcxx_cv_func_logl_use = x"yes"; then
51228     for ac_func in logl
51229 do :
51230   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51231 if test "x$ac_cv_func_logl" = x""yes; then :
51232   cat >>confdefs.h <<_ACEOF
51233 #define HAVE_LOGL 1
51234 _ACEOF
51235
51236 fi
51237 done
51238
51239   else
51240
51241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51242 $as_echo_n "checking for _logl declaration... " >&6; }
51243   if test x${glibcxx_cv_func__logl_use+set} != xset; then
51244     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51245   $as_echo_n "(cached) " >&6
51246 else
51247
51248
51249       ac_ext=cpp
51250 ac_cpp='$CXXCPP $CPPFLAGS'
51251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51254
51255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51256 /* end confdefs.h.  */
51257 #include <math.h>
51258                       #ifdef HAVE_IEEEFP_H
51259                       #include <ieeefp.h>
51260                       #endif
51261
51262 int
51263 main ()
51264 {
51265  _logl(0);
51266   ;
51267   return 0;
51268 }
51269 _ACEOF
51270 if ac_fn_cxx_try_compile "$LINENO"; then :
51271   glibcxx_cv_func__logl_use=yes
51272 else
51273   glibcxx_cv_func__logl_use=no
51274 fi
51275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51276       ac_ext=c
51277 ac_cpp='$CPP $CPPFLAGS'
51278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51281
51282
51283 fi
51284
51285   fi
51286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51287 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51288
51289     if test x$glibcxx_cv_func__logl_use = x"yes"; then
51290       for ac_func in _logl
51291 do :
51292   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51293 if test "x$ac_cv_func__logl" = x""yes; then :
51294   cat >>confdefs.h <<_ACEOF
51295 #define HAVE__LOGL 1
51296 _ACEOF
51297
51298 fi
51299 done
51300
51301     fi
51302   fi
51303
51304
51305
51306
51307
51308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51309 $as_echo_n "checking for log10l declaration... " >&6; }
51310   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51311     if test "${glibcxx_cv_func_log10l_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  log10l(0);
51333   ;
51334   return 0;
51335 }
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338   glibcxx_cv_func_log10l_use=yes
51339 else
51340   glibcxx_cv_func_log10l_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_log10l_use" >&5
51354 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51355
51356   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51357     for ac_func in log10l
51358 do :
51359   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51360 if test "x$ac_cv_func_log10l" = x""yes; then :
51361   cat >>confdefs.h <<_ACEOF
51362 #define HAVE_LOG10L 1
51363 _ACEOF
51364
51365 fi
51366 done
51367
51368   else
51369
51370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51371 $as_echo_n "checking for _log10l declaration... " >&6; }
51372   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51373     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51374   $as_echo_n "(cached) " >&6
51375 else
51376
51377
51378       ac_ext=cpp
51379 ac_cpp='$CXXCPP $CPPFLAGS'
51380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51383
51384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h.  */
51386 #include <math.h>
51387                       #ifdef HAVE_IEEEFP_H
51388                       #include <ieeefp.h>
51389                       #endif
51390
51391 int
51392 main ()
51393 {
51394  _log10l(0);
51395   ;
51396   return 0;
51397 }
51398 _ACEOF
51399 if ac_fn_cxx_try_compile "$LINENO"; then :
51400   glibcxx_cv_func__log10l_use=yes
51401 else
51402   glibcxx_cv_func__log10l_use=no
51403 fi
51404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51405       ac_ext=c
51406 ac_cpp='$CPP $CPPFLAGS'
51407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51410
51411
51412 fi
51413
51414   fi
51415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51416 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51417
51418     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51419       for ac_func in _log10l
51420 do :
51421   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51422 if test "x$ac_cv_func__log10l" = x""yes; then :
51423   cat >>confdefs.h <<_ACEOF
51424 #define HAVE__LOG10L 1
51425 _ACEOF
51426
51427 fi
51428 done
51429
51430     fi
51431   fi
51432
51433
51434
51435
51436
51437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51438 $as_echo_n "checking for modfl declaration... " >&6; }
51439   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51440     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51441   $as_echo_n "(cached) " >&6
51442 else
51443
51444
51445       ac_ext=cpp
51446 ac_cpp='$CXXCPP $CPPFLAGS'
51447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51450
51451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51452 /* end confdefs.h.  */
51453 #include <math.h>
51454 int
51455 main ()
51456 {
51457  modfl(0, 0);
51458   ;
51459   return 0;
51460 }
51461 _ACEOF
51462 if ac_fn_cxx_try_compile "$LINENO"; then :
51463   glibcxx_cv_func_modfl_use=yes
51464 else
51465   glibcxx_cv_func_modfl_use=no
51466 fi
51467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51468       ac_ext=c
51469 ac_cpp='$CPP $CPPFLAGS'
51470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51473
51474
51475 fi
51476
51477   fi
51478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51479 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51480
51481   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51482     for ac_func in modfl
51483 do :
51484   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51485 if test "x$ac_cv_func_modfl" = x""yes; then :
51486   cat >>confdefs.h <<_ACEOF
51487 #define HAVE_MODFL 1
51488 _ACEOF
51489
51490 fi
51491 done
51492
51493   else
51494
51495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51496 $as_echo_n "checking for _modfl declaration... " >&6; }
51497   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51498     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51499   $as_echo_n "(cached) " >&6
51500 else
51501
51502
51503       ac_ext=cpp
51504 ac_cpp='$CXXCPP $CPPFLAGS'
51505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51508
51509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51510 /* end confdefs.h.  */
51511 #include <math.h>
51512 int
51513 main ()
51514 {
51515  _modfl(0, 0);
51516   ;
51517   return 0;
51518 }
51519 _ACEOF
51520 if ac_fn_cxx_try_compile "$LINENO"; then :
51521   glibcxx_cv_func__modfl_use=yes
51522 else
51523   glibcxx_cv_func__modfl_use=no
51524 fi
51525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51526       ac_ext=c
51527 ac_cpp='$CPP $CPPFLAGS'
51528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51531
51532
51533 fi
51534
51535   fi
51536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51537 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51538
51539     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51540       for ac_func in _modfl
51541 do :
51542   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51543 if test "x$ac_cv_func__modfl" = x""yes; then :
51544   cat >>confdefs.h <<_ACEOF
51545 #define HAVE__MODFL 1
51546 _ACEOF
51547
51548 fi
51549 done
51550
51551     fi
51552   fi
51553
51554
51555
51556
51557
51558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51559 $as_echo_n "checking for powl declaration... " >&6; }
51560   if test x${glibcxx_cv_func_powl_use+set} != xset; then
51561     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51562   $as_echo_n "(cached) " >&6
51563 else
51564
51565
51566       ac_ext=cpp
51567 ac_cpp='$CXXCPP $CPPFLAGS'
51568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51571
51572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51573 /* end confdefs.h.  */
51574 #include <math.h>
51575 int
51576 main ()
51577 {
51578  powl(0, 0);
51579   ;
51580   return 0;
51581 }
51582 _ACEOF
51583 if ac_fn_cxx_try_compile "$LINENO"; then :
51584   glibcxx_cv_func_powl_use=yes
51585 else
51586   glibcxx_cv_func_powl_use=no
51587 fi
51588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51589       ac_ext=c
51590 ac_cpp='$CPP $CPPFLAGS'
51591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51594
51595
51596 fi
51597
51598   fi
51599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51600 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51601
51602   if test x$glibcxx_cv_func_powl_use = x"yes"; then
51603     for ac_func in powl
51604 do :
51605   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51606 if test "x$ac_cv_func_powl" = x""yes; then :
51607   cat >>confdefs.h <<_ACEOF
51608 #define HAVE_POWL 1
51609 _ACEOF
51610
51611 fi
51612 done
51613
51614   else
51615
51616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51617 $as_echo_n "checking for _powl declaration... " >&6; }
51618   if test x${glibcxx_cv_func__powl_use+set} != xset; then
51619     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51620   $as_echo_n "(cached) " >&6
51621 else
51622
51623
51624       ac_ext=cpp
51625 ac_cpp='$CXXCPP $CPPFLAGS'
51626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51629
51630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51631 /* end confdefs.h.  */
51632 #include <math.h>
51633 int
51634 main ()
51635 {
51636  _powl(0, 0);
51637   ;
51638   return 0;
51639 }
51640 _ACEOF
51641 if ac_fn_cxx_try_compile "$LINENO"; then :
51642   glibcxx_cv_func__powl_use=yes
51643 else
51644   glibcxx_cv_func__powl_use=no
51645 fi
51646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51647       ac_ext=c
51648 ac_cpp='$CPP $CPPFLAGS'
51649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51652
51653
51654 fi
51655
51656   fi
51657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51658 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51659
51660     if test x$glibcxx_cv_func__powl_use = x"yes"; then
51661       for ac_func in _powl
51662 do :
51663   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51664 if test "x$ac_cv_func__powl" = x""yes; then :
51665   cat >>confdefs.h <<_ACEOF
51666 #define HAVE__POWL 1
51667 _ACEOF
51668
51669 fi
51670 done
51671
51672     fi
51673   fi
51674
51675
51676
51677
51678
51679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51680 $as_echo_n "checking for sqrtl declaration... " >&6; }
51681   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51682     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51683   $as_echo_n "(cached) " >&6
51684 else
51685
51686
51687       ac_ext=cpp
51688 ac_cpp='$CXXCPP $CPPFLAGS'
51689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51692
51693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51694 /* end confdefs.h.  */
51695 #include <math.h>
51696                       #ifdef HAVE_IEEEFP_H
51697                       #include <ieeefp.h>
51698                       #endif
51699
51700 int
51701 main ()
51702 {
51703  sqrtl(0);
51704   ;
51705   return 0;
51706 }
51707 _ACEOF
51708 if ac_fn_cxx_try_compile "$LINENO"; then :
51709   glibcxx_cv_func_sqrtl_use=yes
51710 else
51711   glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
51725 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51726
51727   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51728     for ac_func in sqrtl
51729 do :
51730   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51731 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51732   cat >>confdefs.h <<_ACEOF
51733 #define HAVE_SQRTL 1
51734 _ACEOF
51735
51736 fi
51737 done
51738
51739   else
51740
51741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51742 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51743   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51744     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51745   $as_echo_n "(cached) " >&6
51746 else
51747
51748
51749       ac_ext=cpp
51750 ac_cpp='$CXXCPP $CPPFLAGS'
51751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51754
51755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51756 /* end confdefs.h.  */
51757 #include <math.h>
51758                       #ifdef HAVE_IEEEFP_H
51759                       #include <ieeefp.h>
51760                       #endif
51761
51762 int
51763 main ()
51764 {
51765  _sqrtl(0);
51766   ;
51767   return 0;
51768 }
51769 _ACEOF
51770 if ac_fn_cxx_try_compile "$LINENO"; then :
51771   glibcxx_cv_func__sqrtl_use=yes
51772 else
51773   glibcxx_cv_func__sqrtl_use=no
51774 fi
51775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51776       ac_ext=c
51777 ac_cpp='$CPP $CPPFLAGS'
51778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51781
51782
51783 fi
51784
51785   fi
51786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51787 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51788
51789     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51790       for ac_func in _sqrtl
51791 do :
51792   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51793 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51794   cat >>confdefs.h <<_ACEOF
51795 #define HAVE__SQRTL 1
51796 _ACEOF
51797
51798 fi
51799 done
51800
51801     fi
51802   fi
51803
51804
51805
51806
51807
51808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51809 $as_echo_n "checking for sincosl declaration... " >&6; }
51810   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51811     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51812   $as_echo_n "(cached) " >&6
51813 else
51814
51815
51816       ac_ext=cpp
51817 ac_cpp='$CXXCPP $CPPFLAGS'
51818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51821
51822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51823 /* end confdefs.h.  */
51824 #include <math.h>
51825 int
51826 main ()
51827 {
51828  sincosl(0, 0, 0);
51829   ;
51830   return 0;
51831 }
51832 _ACEOF
51833 if ac_fn_cxx_try_compile "$LINENO"; then :
51834   glibcxx_cv_func_sincosl_use=yes
51835 else
51836   glibcxx_cv_func_sincosl_use=no
51837 fi
51838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51839       ac_ext=c
51840 ac_cpp='$CPP $CPPFLAGS'
51841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51844
51845
51846 fi
51847
51848   fi
51849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51850 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51851
51852   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51853     for ac_func in sincosl
51854 do :
51855   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51856 if test "x$ac_cv_func_sincosl" = x""yes; then :
51857   cat >>confdefs.h <<_ACEOF
51858 #define HAVE_SINCOSL 1
51859 _ACEOF
51860
51861 fi
51862 done
51863
51864   else
51865
51866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51867 $as_echo_n "checking for _sincosl declaration... " >&6; }
51868   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51869     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51870   $as_echo_n "(cached) " >&6
51871 else
51872
51873
51874       ac_ext=cpp
51875 ac_cpp='$CXXCPP $CPPFLAGS'
51876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51879
51880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51881 /* end confdefs.h.  */
51882 #include <math.h>
51883 int
51884 main ()
51885 {
51886  _sincosl(0, 0, 0);
51887   ;
51888   return 0;
51889 }
51890 _ACEOF
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892   glibcxx_cv_func__sincosl_use=yes
51893 else
51894   glibcxx_cv_func__sincosl_use=no
51895 fi
51896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51897       ac_ext=c
51898 ac_cpp='$CPP $CPPFLAGS'
51899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51902
51903
51904 fi
51905
51906   fi
51907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51908 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51909
51910     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51911       for ac_func in _sincosl
51912 do :
51913   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51914 if test "x$ac_cv_func__sincosl" = x""yes; then :
51915   cat >>confdefs.h <<_ACEOF
51916 #define HAVE__SINCOSL 1
51917 _ACEOF
51918
51919 fi
51920 done
51921
51922     fi
51923   fi
51924
51925
51926
51927
51928
51929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51930 $as_echo_n "checking for finitel declaration... " >&6; }
51931   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51932     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51933   $as_echo_n "(cached) " >&6
51934 else
51935
51936
51937       ac_ext=cpp
51938 ac_cpp='$CXXCPP $CPPFLAGS'
51939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51942
51943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51944 /* end confdefs.h.  */
51945 #include <math.h>
51946                       #ifdef HAVE_IEEEFP_H
51947                       #include <ieeefp.h>
51948                       #endif
51949
51950 int
51951 main ()
51952 {
51953  finitel(0);
51954   ;
51955   return 0;
51956 }
51957 _ACEOF
51958 if ac_fn_cxx_try_compile "$LINENO"; then :
51959   glibcxx_cv_func_finitel_use=yes
51960 else
51961   glibcxx_cv_func_finitel_use=no
51962 fi
51963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51964       ac_ext=c
51965 ac_cpp='$CPP $CPPFLAGS'
51966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51969
51970
51971 fi
51972
51973   fi
51974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51975 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51976
51977   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51978     for ac_func in finitel
51979 do :
51980   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51981 if test "x$ac_cv_func_finitel" = x""yes; then :
51982   cat >>confdefs.h <<_ACEOF
51983 #define HAVE_FINITEL 1
51984 _ACEOF
51985
51986 fi
51987 done
51988
51989   else
51990
51991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51992 $as_echo_n "checking for _finitel declaration... " >&6; }
51993   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51994     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51995   $as_echo_n "(cached) " >&6
51996 else
51997
51998
51999       ac_ext=cpp
52000 ac_cpp='$CXXCPP $CPPFLAGS'
52001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52004
52005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52006 /* end confdefs.h.  */
52007 #include <math.h>
52008                       #ifdef HAVE_IEEEFP_H
52009                       #include <ieeefp.h>
52010                       #endif
52011
52012 int
52013 main ()
52014 {
52015  _finitel(0);
52016   ;
52017   return 0;
52018 }
52019 _ACEOF
52020 if ac_fn_cxx_try_compile "$LINENO"; then :
52021   glibcxx_cv_func__finitel_use=yes
52022 else
52023   glibcxx_cv_func__finitel_use=no
52024 fi
52025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52026       ac_ext=c
52027 ac_cpp='$CPP $CPPFLAGS'
52028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52031
52032
52033 fi
52034
52035   fi
52036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52037 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52038
52039     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52040       for ac_func in _finitel
52041 do :
52042   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52043 if test "x$ac_cv_func__finitel" = x""yes; then :
52044   cat >>confdefs.h <<_ACEOF
52045 #define HAVE__FINITEL 1
52046 _ACEOF
52047
52048 fi
52049 done
52050
52051     fi
52052   fi
52053
52054
52055
52056
52057   LIBS="$ac_save_LIBS"
52058   CXXFLAGS="$ac_save_CXXFLAGS"
52059
52060
52061   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52062   ac_save_CXXFLAGS="$CXXFLAGS"
52063   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52064
52065
52066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52067 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52068   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52069     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52070   $as_echo_n "(cached) " >&6
52071 else
52072
52073
52074       ac_ext=cpp
52075 ac_cpp='$CXXCPP $CPPFLAGS'
52076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52079
52080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52081 /* end confdefs.h.  */
52082 #include <stdlib.h>
52083 int
52084 main ()
52085 {
52086  at_quick_exit(0);
52087   ;
52088   return 0;
52089 }
52090 _ACEOF
52091 if ac_fn_cxx_try_compile "$LINENO"; then :
52092   glibcxx_cv_func_at_quick_exit_use=yes
52093 else
52094   glibcxx_cv_func_at_quick_exit_use=no
52095 fi
52096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52097       ac_ext=c
52098 ac_cpp='$CPP $CPPFLAGS'
52099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52102
52103
52104 fi
52105
52106   fi
52107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52108 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52109   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52110     for ac_func in at_quick_exit
52111 do :
52112   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52113 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52114   cat >>confdefs.h <<_ACEOF
52115 #define HAVE_AT_QUICK_EXIT 1
52116 _ACEOF
52117
52118 fi
52119 done
52120
52121   fi
52122
52123
52124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52125 $as_echo_n "checking for quick_exit declaration... " >&6; }
52126   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52127     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52128   $as_echo_n "(cached) " >&6
52129 else
52130
52131
52132       ac_ext=cpp
52133 ac_cpp='$CXXCPP $CPPFLAGS'
52134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52137
52138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52139 /* end confdefs.h.  */
52140 #include <stdlib.h>
52141 int
52142 main ()
52143 {
52144  quick_exit(0);
52145   ;
52146   return 0;
52147 }
52148 _ACEOF
52149 if ac_fn_cxx_try_compile "$LINENO"; then :
52150   glibcxx_cv_func_quick_exit_use=yes
52151 else
52152   glibcxx_cv_func_quick_exit_use=no
52153 fi
52154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52155       ac_ext=c
52156 ac_cpp='$CPP $CPPFLAGS'
52157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52160
52161
52162 fi
52163
52164   fi
52165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52166 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52167   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52168     for ac_func in quick_exit
52169 do :
52170   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52171 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52172   cat >>confdefs.h <<_ACEOF
52173 #define HAVE_QUICK_EXIT 1
52174 _ACEOF
52175
52176 fi
52177 done
52178
52179   fi
52180
52181
52182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52183 $as_echo_n "checking for strtold declaration... " >&6; }
52184   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52185     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52186   $as_echo_n "(cached) " >&6
52187 else
52188
52189
52190       ac_ext=cpp
52191 ac_cpp='$CXXCPP $CPPFLAGS'
52192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52195
52196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h.  */
52198 #include <stdlib.h>
52199 int
52200 main ()
52201 {
52202  strtold(0, 0);
52203   ;
52204   return 0;
52205 }
52206 _ACEOF
52207 if ac_fn_cxx_try_compile "$LINENO"; then :
52208   glibcxx_cv_func_strtold_use=yes
52209 else
52210   glibcxx_cv_func_strtold_use=no
52211 fi
52212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52213       ac_ext=c
52214 ac_cpp='$CPP $CPPFLAGS'
52215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52218
52219
52220 fi
52221
52222   fi
52223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52224 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52225   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52226     for ac_func in strtold
52227 do :
52228   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52229 if test "x$ac_cv_func_strtold" = x""yes; then :
52230   cat >>confdefs.h <<_ACEOF
52231 #define HAVE_STRTOLD 1
52232 _ACEOF
52233
52234 fi
52235 done
52236
52237   fi
52238
52239
52240
52241
52242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52243 $as_echo_n "checking for strtof declaration... " >&6; }
52244   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52245     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52246   $as_echo_n "(cached) " >&6
52247 else
52248
52249
52250       ac_ext=cpp
52251 ac_cpp='$CXXCPP $CPPFLAGS'
52252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52255
52256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52257 /* end confdefs.h.  */
52258 #include <stdlib.h>
52259 int
52260 main ()
52261 {
52262  strtof(0, 0);
52263   ;
52264   return 0;
52265 }
52266 _ACEOF
52267 if ac_fn_cxx_try_compile "$LINENO"; then :
52268   glibcxx_cv_func_strtof_use=yes
52269 else
52270   glibcxx_cv_func_strtof_use=no
52271 fi
52272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52273       ac_ext=c
52274 ac_cpp='$CPP $CPPFLAGS'
52275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52278
52279
52280 fi
52281
52282   fi
52283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52284 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52285   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52286     for ac_func in strtof
52287 do :
52288   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52289 if test "x$ac_cv_func_strtof" = x""yes; then :
52290   cat >>confdefs.h <<_ACEOF
52291 #define HAVE_STRTOF 1
52292 _ACEOF
52293
52294 fi
52295 done
52296
52297   fi
52298
52299
52300
52301
52302   CXXFLAGS="$ac_save_CXXFLAGS"
52303
52304     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52305
52306
52307
52308    # Check whether --enable-tls was given.
52309 if test "${enable_tls+set}" = set; then :
52310   enableval=$enable_tls;
52311       case "$enableval" in
52312        yes|no) ;;
52313        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52314       esac
52315
52316 else
52317   enable_tls=yes
52318 fi
52319
52320
52321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52322 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52323 if test "${gcc_cv_have_tls+set}" = set; then :
52324   $as_echo_n "(cached) " >&6
52325 else
52326
52327     if test "$cross_compiling" = yes; then :
52328                 if test x$gcc_no_link = xyes; then
52329   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52330 fi
52331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52332 /* end confdefs.h.  */
52333 __thread int a; int b; int main() { return a = b; }
52334 _ACEOF
52335 if ac_fn_c_try_link "$LINENO"; then :
52336   chktls_save_LDFLAGS="$LDFLAGS"
52337                           case $host in
52338             *-*-linux*)
52339               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52340               ;;
52341           esac
52342           chktls_save_CFLAGS="$CFLAGS"
52343           CFLAGS="-fPIC $CFLAGS"
52344                   if test x$gcc_no_link = xyes; then
52345   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52346 fi
52347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52348 /* end confdefs.h.  */
52349 int f() { return 0; }
52350 _ACEOF
52351 if ac_fn_c_try_link "$LINENO"; then :
52352   if test x$gcc_no_link = xyes; then
52353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52354 fi
52355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52356 /* end confdefs.h.  */
52357 __thread int a; int b; int f() { return a = b; }
52358 _ACEOF
52359 if ac_fn_c_try_link "$LINENO"; then :
52360   gcc_cv_have_tls=yes
52361 else
52362   gcc_cv_have_tls=no
52363 fi
52364 rm -f core conftest.err conftest.$ac_objext \
52365     conftest$ac_exeext conftest.$ac_ext
52366 else
52367   gcc_cv_have_tls=yes
52368 fi
52369 rm -f core conftest.err conftest.$ac_objext \
52370     conftest$ac_exeext conftest.$ac_ext
52371           CFLAGS="$chktls_save_CFLAGS"
52372           LDFLAGS="$chktls_save_LDFLAGS"
52373 else
52374   gcc_cv_have_tls=no
52375 fi
52376 rm -f core conftest.err conftest.$ac_objext \
52377     conftest$ac_exeext conftest.$ac_ext
52378
52379
52380 else
52381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52382 /* end confdefs.h.  */
52383 __thread int a; int b; int main() { return a = b; }
52384 _ACEOF
52385 if ac_fn_c_try_run "$LINENO"; then :
52386                       chktls_save_LDFLAGS="$LDFLAGS"
52387       LDFLAGS="-static $LDFLAGS"
52388       if test x$gcc_no_link = xyes; then
52389   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52390 fi
52391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52392 /* end confdefs.h.  */
52393 int main() { return 0; }
52394 _ACEOF
52395 if ac_fn_c_try_link "$LINENO"; then :
52396   if test "$cross_compiling" = yes; then :
52397   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52399 as_fn_error "cannot run test program while cross compiling
52400 See \`config.log' for more details." "$LINENO" 5; }
52401 else
52402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52403 /* end confdefs.h.  */
52404 __thread int a; int b; int main() { return a = b; }
52405 _ACEOF
52406 if ac_fn_c_try_run "$LINENO"; then :
52407   gcc_cv_have_tls=yes
52408 else
52409   gcc_cv_have_tls=no
52410 fi
52411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52412   conftest.$ac_objext conftest.beam conftest.$ac_ext
52413 fi
52414
52415 else
52416   gcc_cv_have_tls=yes
52417 fi
52418 rm -f core conftest.err conftest.$ac_objext \
52419     conftest$ac_exeext conftest.$ac_ext
52420       LDFLAGS="$chktls_save_LDFLAGS"
52421       if test $gcc_cv_have_tls = yes; then
52422                                                 chktls_save_CFLAGS="$CFLAGS"
52423         thread_CFLAGS=failed
52424         for flag in '' '-pthread' '-lpthread'; do
52425           CFLAGS="$flag $chktls_save_CFLAGS"
52426           if test x$gcc_no_link = xyes; then
52427   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52428 fi
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h.  */
52431 #include <pthread.h>
52432                 void *g(void *d) { return NULL; }
52433 int
52434 main ()
52435 {
52436 pthread_t t; pthread_create(&t,NULL,g,NULL);
52437   ;
52438   return 0;
52439 }
52440 _ACEOF
52441 if ac_fn_c_try_link "$LINENO"; then :
52442   thread_CFLAGS="$flag"
52443 fi
52444 rm -f core conftest.err conftest.$ac_objext \
52445     conftest$ac_exeext conftest.$ac_ext
52446           if test "X$thread_CFLAGS" != Xfailed; then
52447             break
52448           fi
52449         done
52450         CFLAGS="$chktls_save_CFLAGS"
52451         if test "X$thread_CFLAGS" != Xfailed; then
52452           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52453                                                   if test "$cross_compiling" = yes; then :
52454   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52456 as_fn_error "cannot run test program while cross compiling
52457 See \`config.log' for more details." "$LINENO" 5; }
52458 else
52459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52460 /* end confdefs.h.  */
52461 #include <pthread.h>
52462                 __thread int a;
52463                 static int *volatile a_in_other_thread;
52464                 static void *
52465                 thread_func (void *arg)
52466                 {
52467                   a_in_other_thread = &a;
52468                   return (void *)0;
52469                 }
52470 int
52471 main ()
52472 {
52473 pthread_t thread;
52474                 void *thread_retval;
52475                 int *volatile a_in_main_thread;
52476                 a_in_main_thread = &a;
52477                 if (pthread_create (&thread, (pthread_attr_t *)0,
52478                                     thread_func, (void *)0))
52479                   return 0;
52480                 if (pthread_join (thread, &thread_retval))
52481                   return 0;
52482                 return (a_in_other_thread == a_in_main_thread);
52483   ;
52484   return 0;
52485 }
52486 _ACEOF
52487 if ac_fn_c_try_run "$LINENO"; then :
52488   gcc_cv_have_tls=yes
52489 else
52490   gcc_cv_have_tls=no
52491 fi
52492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52493   conftest.$ac_objext conftest.beam conftest.$ac_ext
52494 fi
52495
52496           CFLAGS="$chktls_save_CFLAGS"
52497         fi
52498       fi
52499 else
52500   gcc_cv_have_tls=no
52501 fi
52502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52503   conftest.$ac_objext conftest.beam conftest.$ac_ext
52504 fi
52505
52506 fi
52507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52508 $as_echo "$gcc_cv_have_tls" >&6; }
52509   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52510
52511 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52512
52513   fi
52514
52515
52516
52517
52518
52519           am_save_CPPFLAGS="$CPPFLAGS"
52520
52521   for element in $INCICONV; do
52522     haveit=
52523     for x in $CPPFLAGS; do
52524
52525   acl_save_prefix="$prefix"
52526   prefix="$acl_final_prefix"
52527   acl_save_exec_prefix="$exec_prefix"
52528   exec_prefix="$acl_final_exec_prefix"
52529   eval x=\"$x\"
52530   exec_prefix="$acl_save_exec_prefix"
52531   prefix="$acl_save_prefix"
52532
52533       if test "X$x" = "X$element"; then
52534         haveit=yes
52535         break
52536       fi
52537     done
52538     if test -z "$haveit"; then
52539       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52540     fi
52541   done
52542
52543
52544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52545 $as_echo_n "checking for iconv... " >&6; }
52546 if test "${am_cv_func_iconv+set}" = set; then :
52547   $as_echo_n "(cached) " >&6
52548 else
52549
52550     am_cv_func_iconv="no, consider installing GNU libiconv"
52551     am_cv_lib_iconv=no
52552     if test x$gcc_no_link = xyes; then
52553   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52554 fi
52555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52556 /* end confdefs.h.  */
52557 #include <stdlib.h>
52558 #include <iconv.h>
52559 int
52560 main ()
52561 {
52562 iconv_t cd = iconv_open("","");
52563        iconv(cd,NULL,NULL,NULL,NULL);
52564        iconv_close(cd);
52565   ;
52566   return 0;
52567 }
52568 _ACEOF
52569 if ac_fn_c_try_link "$LINENO"; then :
52570   am_cv_func_iconv=yes
52571 fi
52572 rm -f core conftest.err conftest.$ac_objext \
52573     conftest$ac_exeext conftest.$ac_ext
52574     if test "$am_cv_func_iconv" != yes; then
52575       am_save_LIBS="$LIBS"
52576       LIBS="$LIBS $LIBICONV"
52577       if test x$gcc_no_link = xyes; then
52578   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52579 fi
52580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52581 /* end confdefs.h.  */
52582 #include <stdlib.h>
52583 #include <iconv.h>
52584 int
52585 main ()
52586 {
52587 iconv_t cd = iconv_open("","");
52588          iconv(cd,NULL,NULL,NULL,NULL);
52589          iconv_close(cd);
52590   ;
52591   return 0;
52592 }
52593 _ACEOF
52594 if ac_fn_c_try_link "$LINENO"; then :
52595   am_cv_lib_iconv=yes
52596         am_cv_func_iconv=yes
52597 fi
52598 rm -f core conftest.err conftest.$ac_objext \
52599     conftest$ac_exeext conftest.$ac_ext
52600       LIBS="$am_save_LIBS"
52601     fi
52602
52603 fi
52604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52605 $as_echo "$am_cv_func_iconv" >&6; }
52606   if test "$am_cv_func_iconv" = yes; then
52607
52608 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52609
52610   fi
52611   if test "$am_cv_lib_iconv" = yes; then
52612     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52613 $as_echo_n "checking how to link with libiconv... " >&6; }
52614     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52615 $as_echo "$LIBICONV" >&6; }
52616   else
52617             CPPFLAGS="$am_save_CPPFLAGS"
52618     LIBICONV=
52619     LTLIBICONV=
52620   fi
52621
52622
52623
52624   if test "$am_cv_func_iconv" = yes; then
52625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52626 $as_echo_n "checking for iconv declaration... " >&6; }
52627     if test "${am_cv_proto_iconv+set}" = set; then :
52628   $as_echo_n "(cached) " >&6
52629 else
52630
52631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52632 /* end confdefs.h.  */
52633
52634 #include <stdlib.h>
52635 #include <iconv.h>
52636 extern
52637 #ifdef __cplusplus
52638 "C"
52639 #endif
52640 #if defined(__STDC__) || defined(__cplusplus)
52641 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52642 #else
52643 size_t iconv();
52644 #endif
52645
52646 int
52647 main ()
52648 {
52649
52650   ;
52651   return 0;
52652 }
52653 _ACEOF
52654 if ac_fn_c_try_compile "$LINENO"; then :
52655   am_cv_proto_iconv_arg1=""
52656 else
52657   am_cv_proto_iconv_arg1="const"
52658 fi
52659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52660       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);"
52661 fi
52662
52663     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52665          }$am_cv_proto_iconv" >&5
52666 $as_echo "${ac_t:-
52667          }$am_cv_proto_iconv" >&6; }
52668
52669 cat >>confdefs.h <<_ACEOF
52670 #define ICONV_CONST $am_cv_proto_iconv_arg1
52671 _ACEOF
52672
52673   fi
52674
52675     ;;
52676   *-mingw32*)
52677
52678   # If we're not using GNU ld, then there's no point in even trying these
52679   # tests.  Check for that first.  We should have already tested for gld
52680   # by now (in libtool), but require it now just to be safe...
52681   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52682   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52683
52684
52685
52686   # The name set by libtool depends on the version of libtool.  Shame on us
52687   # for depending on an impl detail, but c'est la vie.  Older versions used
52688   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52689   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52690   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
52691   # set (hence we're using an older libtool), then set it.
52692   if test x${with_gnu_ld+set} != xset; then
52693     if test x${ac_cv_prog_gnu_ld+set} != xset; then
52694       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
52695       with_gnu_ld=no
52696     else
52697       with_gnu_ld=$ac_cv_prog_gnu_ld
52698     fi
52699   fi
52700
52701   # Start by getting the version number.  I think the libtool test already
52702   # does some of this, but throws away the result.
52703   glibcxx_ld_is_gold=no
52704   if test x"$with_gnu_ld" = x"yes"; then
52705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52706 $as_echo_n "checking for ld version... " >&6; }
52707
52708     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52709       glibcxx_ld_is_gold=yes
52710     fi
52711     ldver=`$LD --version 2>/dev/null |
52712            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'`
52713
52714     glibcxx_gnu_ld_version=`echo $ldver | \
52715            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52716     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52717 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52718   fi
52719
52720   # Set --gc-sections.
52721   glibcxx_have_gc_sections=no
52722   if test "$glibcxx_ld_is_gold" = "yes"; then
52723     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52724       glibcxx_have_gc_sections=yes
52725     fi
52726   else
52727     glibcxx_gcsections_min_ld=21602
52728     if test x"$with_gnu_ld" = x"yes" &&
52729         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52730       glibcxx_have_gc_sections=yes
52731     fi
52732   fi
52733   if test "$glibcxx_have_gc_sections" = "yes"; then
52734     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
52735     # NB: This flag only works reliably after 2.16.1. Configure tests
52736     # for this are difficult, so hard wire a value that should work.
52737
52738     ac_test_CFLAGS="${CFLAGS+set}"
52739     ac_save_CFLAGS="$CFLAGS"
52740     CFLAGS='-Wl,--gc-sections'
52741
52742     # Check for -Wl,--gc-sections
52743     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52744 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52745     if test x$gcc_no_link = xyes; then
52746   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52747 fi
52748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52749 /* end confdefs.h.  */
52750  int one(void) { return 1; }
52751      int two(void) { return 2; }
52752
52753 int
52754 main ()
52755 {
52756  two();
52757   ;
52758   return 0;
52759 }
52760 _ACEOF
52761 if ac_fn_c_try_link "$LINENO"; then :
52762   ac_gcsections=yes
52763 else
52764   ac_gcsections=no
52765 fi
52766 rm -f core conftest.err conftest.$ac_objext \
52767     conftest$ac_exeext conftest.$ac_ext
52768     if test "$ac_gcsections" = "yes"; then
52769       rm -f conftest.c
52770       touch conftest.c
52771       if $CC -c conftest.c; then
52772         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52773            grep "Warning: gc-sections option ignored" > /dev/null; then
52774           ac_gcsections=no
52775         fi
52776       fi
52777       rm -f conftest.c conftest.o conftest
52778     fi
52779     if test "$ac_gcsections" = "yes"; then
52780       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52781     fi
52782     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52783 $as_echo "$ac_gcsections" >&6; }
52784
52785     if test "$ac_test_CFLAGS" = set; then
52786       CFLAGS="$ac_save_CFLAGS"
52787     else
52788       # this is the suspicious part
52789       CFLAGS=''
52790     fi
52791   fi
52792
52793   # Set -z,relro.
52794   # Note this is only for shared objects.
52795   ac_ld_relro=no
52796   if test x"$with_gnu_ld" = x"yes"; then
52797     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52798 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52799     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52800     if test -n "$cxx_z_relo"; then
52801       OPT_LDFLAGS="-Wl,-z,relro"
52802       ac_ld_relro=yes
52803     fi
52804     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52805 $as_echo "$ac_ld_relro" >&6; }
52806   fi
52807
52808   # Set linker optimization flags.
52809   if test x"$with_gnu_ld" = x"yes"; then
52810     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52811   fi
52812
52813
52814
52815
52816
52817   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52818   ac_save_CXXFLAGS="$CXXFLAGS"
52819   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52820
52821     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52822 $as_echo_n "checking for sin in -lm... " >&6; }
52823 if test "${ac_cv_lib_m_sin+set}" = set; then :
52824   $as_echo_n "(cached) " >&6
52825 else
52826   ac_check_lib_save_LIBS=$LIBS
52827 LIBS="-lm  $LIBS"
52828 if test x$gcc_no_link = xyes; then
52829   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52830 fi
52831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52832 /* end confdefs.h.  */
52833
52834 /* Override any GCC internal prototype to avoid an error.
52835    Use char because int might match the return type of a GCC
52836    builtin and then its argument prototype would still apply.  */
52837 #ifdef __cplusplus
52838 extern "C"
52839 #endif
52840 char sin ();
52841 int
52842 main ()
52843 {
52844 return sin ();
52845   ;
52846   return 0;
52847 }
52848 _ACEOF
52849 if ac_fn_c_try_link "$LINENO"; then :
52850   ac_cv_lib_m_sin=yes
52851 else
52852   ac_cv_lib_m_sin=no
52853 fi
52854 rm -f core conftest.err conftest.$ac_objext \
52855     conftest$ac_exeext conftest.$ac_ext
52856 LIBS=$ac_check_lib_save_LIBS
52857 fi
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52859 $as_echo "$ac_cv_lib_m_sin" >&6; }
52860 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52861   libm="-lm"
52862 fi
52863
52864   ac_save_LIBS="$LIBS"
52865   LIBS="$LIBS $libm"
52866
52867
52868
52869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52870 $as_echo_n "checking for isinf declaration... " >&6; }
52871   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52872     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52873   $as_echo_n "(cached) " >&6
52874 else
52875
52876
52877       ac_ext=cpp
52878 ac_cpp='$CXXCPP $CPPFLAGS'
52879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52882
52883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52884 /* end confdefs.h.  */
52885 #include <math.h>
52886                       #ifdef HAVE_IEEEFP_H
52887                       #include <ieeefp.h>
52888                       #endif
52889
52890 int
52891 main ()
52892 {
52893  isinf(0);
52894   ;
52895   return 0;
52896 }
52897 _ACEOF
52898 if ac_fn_cxx_try_compile "$LINENO"; then :
52899   glibcxx_cv_func_isinf_use=yes
52900 else
52901   glibcxx_cv_func_isinf_use=no
52902 fi
52903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52904       ac_ext=c
52905 ac_cpp='$CPP $CPPFLAGS'
52906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52909
52910
52911 fi
52912
52913   fi
52914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52915 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52916
52917   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52918     for ac_func in isinf
52919 do :
52920   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52921 if test "x$ac_cv_func_isinf" = x""yes; then :
52922   cat >>confdefs.h <<_ACEOF
52923 #define HAVE_ISINF 1
52924 _ACEOF
52925
52926 fi
52927 done
52928
52929   else
52930
52931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52932 $as_echo_n "checking for _isinf declaration... " >&6; }
52933   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52934     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52935   $as_echo_n "(cached) " >&6
52936 else
52937
52938
52939       ac_ext=cpp
52940 ac_cpp='$CXXCPP $CPPFLAGS'
52941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52944
52945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52946 /* end confdefs.h.  */
52947 #include <math.h>
52948                       #ifdef HAVE_IEEEFP_H
52949                       #include <ieeefp.h>
52950                       #endif
52951
52952 int
52953 main ()
52954 {
52955  _isinf(0);
52956   ;
52957   return 0;
52958 }
52959 _ACEOF
52960 if ac_fn_cxx_try_compile "$LINENO"; then :
52961   glibcxx_cv_func__isinf_use=yes
52962 else
52963   glibcxx_cv_func__isinf_use=no
52964 fi
52965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52966       ac_ext=c
52967 ac_cpp='$CPP $CPPFLAGS'
52968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52971
52972
52973 fi
52974
52975   fi
52976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52977 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52978
52979     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52980       for ac_func in _isinf
52981 do :
52982   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52983 if test "x$ac_cv_func__isinf" = x""yes; then :
52984   cat >>confdefs.h <<_ACEOF
52985 #define HAVE__ISINF 1
52986 _ACEOF
52987
52988 fi
52989 done
52990
52991     fi
52992   fi
52993
52994
52995
52996
52997
52998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52999 $as_echo_n "checking for isnan declaration... " >&6; }
53000   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53001     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53002   $as_echo_n "(cached) " >&6
53003 else
53004
53005
53006       ac_ext=cpp
53007 ac_cpp='$CXXCPP $CPPFLAGS'
53008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53011
53012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53013 /* end confdefs.h.  */
53014 #include <math.h>
53015                       #ifdef HAVE_IEEEFP_H
53016                       #include <ieeefp.h>
53017                       #endif
53018
53019 int
53020 main ()
53021 {
53022  isnan(0);
53023   ;
53024   return 0;
53025 }
53026 _ACEOF
53027 if ac_fn_cxx_try_compile "$LINENO"; then :
53028   glibcxx_cv_func_isnan_use=yes
53029 else
53030   glibcxx_cv_func_isnan_use=no
53031 fi
53032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53033       ac_ext=c
53034 ac_cpp='$CPP $CPPFLAGS'
53035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53038
53039
53040 fi
53041
53042   fi
53043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53044 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53045
53046   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53047     for ac_func in isnan
53048 do :
53049   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53050 if test "x$ac_cv_func_isnan" = x""yes; then :
53051   cat >>confdefs.h <<_ACEOF
53052 #define HAVE_ISNAN 1
53053 _ACEOF
53054
53055 fi
53056 done
53057
53058   else
53059
53060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53061 $as_echo_n "checking for _isnan declaration... " >&6; }
53062   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53063     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53064   $as_echo_n "(cached) " >&6
53065 else
53066
53067
53068       ac_ext=cpp
53069 ac_cpp='$CXXCPP $CPPFLAGS'
53070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53073
53074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53075 /* end confdefs.h.  */
53076 #include <math.h>
53077                       #ifdef HAVE_IEEEFP_H
53078                       #include <ieeefp.h>
53079                       #endif
53080
53081 int
53082 main ()
53083 {
53084  _isnan(0);
53085   ;
53086   return 0;
53087 }
53088 _ACEOF
53089 if ac_fn_cxx_try_compile "$LINENO"; then :
53090   glibcxx_cv_func__isnan_use=yes
53091 else
53092   glibcxx_cv_func__isnan_use=no
53093 fi
53094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53095       ac_ext=c
53096 ac_cpp='$CPP $CPPFLAGS'
53097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53100
53101
53102 fi
53103
53104   fi
53105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53106 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53107
53108     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53109       for ac_func in _isnan
53110 do :
53111   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53112 if test "x$ac_cv_func__isnan" = x""yes; then :
53113   cat >>confdefs.h <<_ACEOF
53114 #define HAVE__ISNAN 1
53115 _ACEOF
53116
53117 fi
53118 done
53119
53120     fi
53121   fi
53122
53123
53124
53125
53126
53127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53128 $as_echo_n "checking for finite declaration... " >&6; }
53129   if test x${glibcxx_cv_func_finite_use+set} != xset; then
53130     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53131   $as_echo_n "(cached) " >&6
53132 else
53133
53134
53135       ac_ext=cpp
53136 ac_cpp='$CXXCPP $CPPFLAGS'
53137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53140
53141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53142 /* end confdefs.h.  */
53143 #include <math.h>
53144                       #ifdef HAVE_IEEEFP_H
53145                       #include <ieeefp.h>
53146                       #endif
53147
53148 int
53149 main ()
53150 {
53151  finite(0);
53152   ;
53153   return 0;
53154 }
53155 _ACEOF
53156 if ac_fn_cxx_try_compile "$LINENO"; then :
53157   glibcxx_cv_func_finite_use=yes
53158 else
53159   glibcxx_cv_func_finite_use=no
53160 fi
53161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53162       ac_ext=c
53163 ac_cpp='$CPP $CPPFLAGS'
53164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53167
53168
53169 fi
53170
53171   fi
53172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53173 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53174
53175   if test x$glibcxx_cv_func_finite_use = x"yes"; then
53176     for ac_func in finite
53177 do :
53178   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53179 if test "x$ac_cv_func_finite" = x""yes; then :
53180   cat >>confdefs.h <<_ACEOF
53181 #define HAVE_FINITE 1
53182 _ACEOF
53183
53184 fi
53185 done
53186
53187   else
53188
53189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53190 $as_echo_n "checking for _finite declaration... " >&6; }
53191   if test x${glibcxx_cv_func__finite_use+set} != xset; then
53192     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53193   $as_echo_n "(cached) " >&6
53194 else
53195
53196
53197       ac_ext=cpp
53198 ac_cpp='$CXXCPP $CPPFLAGS'
53199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53202
53203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h.  */
53205 #include <math.h>
53206                       #ifdef HAVE_IEEEFP_H
53207                       #include <ieeefp.h>
53208                       #endif
53209
53210 int
53211 main ()
53212 {
53213  _finite(0);
53214   ;
53215   return 0;
53216 }
53217 _ACEOF
53218 if ac_fn_cxx_try_compile "$LINENO"; then :
53219   glibcxx_cv_func__finite_use=yes
53220 else
53221   glibcxx_cv_func__finite_use=no
53222 fi
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53224       ac_ext=c
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53229
53230
53231 fi
53232
53233   fi
53234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53235 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53236
53237     if test x$glibcxx_cv_func__finite_use = x"yes"; then
53238       for ac_func in _finite
53239 do :
53240   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53241 if test "x$ac_cv_func__finite" = x""yes; then :
53242   cat >>confdefs.h <<_ACEOF
53243 #define HAVE__FINITE 1
53244 _ACEOF
53245
53246 fi
53247 done
53248
53249     fi
53250   fi
53251
53252
53253
53254
53255
53256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53257 $as_echo_n "checking for sincos declaration... " >&6; }
53258   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53259     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53260   $as_echo_n "(cached) " >&6
53261 else
53262
53263
53264       ac_ext=cpp
53265 ac_cpp='$CXXCPP $CPPFLAGS'
53266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53269
53270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53271 /* end confdefs.h.  */
53272 #include <math.h>
53273 int
53274 main ()
53275 {
53276  sincos(0, 0, 0);
53277   ;
53278   return 0;
53279 }
53280 _ACEOF
53281 if ac_fn_cxx_try_compile "$LINENO"; then :
53282   glibcxx_cv_func_sincos_use=yes
53283 else
53284   glibcxx_cv_func_sincos_use=no
53285 fi
53286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53287       ac_ext=c
53288 ac_cpp='$CPP $CPPFLAGS'
53289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53292
53293
53294 fi
53295
53296   fi
53297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53298 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53299
53300   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53301     for ac_func in sincos
53302 do :
53303   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53304 if test "x$ac_cv_func_sincos" = x""yes; then :
53305   cat >>confdefs.h <<_ACEOF
53306 #define HAVE_SINCOS 1
53307 _ACEOF
53308
53309 fi
53310 done
53311
53312   else
53313
53314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53315 $as_echo_n "checking for _sincos declaration... " >&6; }
53316   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53317     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53318   $as_echo_n "(cached) " >&6
53319 else
53320
53321
53322       ac_ext=cpp
53323 ac_cpp='$CXXCPP $CPPFLAGS'
53324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53327
53328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53329 /* end confdefs.h.  */
53330 #include <math.h>
53331 int
53332 main ()
53333 {
53334  _sincos(0, 0, 0);
53335   ;
53336   return 0;
53337 }
53338 _ACEOF
53339 if ac_fn_cxx_try_compile "$LINENO"; then :
53340   glibcxx_cv_func__sincos_use=yes
53341 else
53342   glibcxx_cv_func__sincos_use=no
53343 fi
53344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53345       ac_ext=c
53346 ac_cpp='$CPP $CPPFLAGS'
53347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53350
53351
53352 fi
53353
53354   fi
53355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53356 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53357
53358     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53359       for ac_func in _sincos
53360 do :
53361   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53362 if test "x$ac_cv_func__sincos" = x""yes; then :
53363   cat >>confdefs.h <<_ACEOF
53364 #define HAVE__SINCOS 1
53365 _ACEOF
53366
53367 fi
53368 done
53369
53370     fi
53371   fi
53372
53373
53374
53375
53376
53377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53378 $as_echo_n "checking for fpclass declaration... " >&6; }
53379   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53380     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53381   $as_echo_n "(cached) " >&6
53382 else
53383
53384
53385       ac_ext=cpp
53386 ac_cpp='$CXXCPP $CPPFLAGS'
53387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53390
53391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53392 /* end confdefs.h.  */
53393 #include <math.h>
53394                       #ifdef HAVE_IEEEFP_H
53395                       #include <ieeefp.h>
53396                       #endif
53397
53398 int
53399 main ()
53400 {
53401  fpclass(0);
53402   ;
53403   return 0;
53404 }
53405 _ACEOF
53406 if ac_fn_cxx_try_compile "$LINENO"; then :
53407   glibcxx_cv_func_fpclass_use=yes
53408 else
53409   glibcxx_cv_func_fpclass_use=no
53410 fi
53411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53412       ac_ext=c
53413 ac_cpp='$CPP $CPPFLAGS'
53414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53417
53418
53419 fi
53420
53421   fi
53422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53423 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53424
53425   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53426     for ac_func in fpclass
53427 do :
53428   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53429 if test "x$ac_cv_func_fpclass" = x""yes; then :
53430   cat >>confdefs.h <<_ACEOF
53431 #define HAVE_FPCLASS 1
53432 _ACEOF
53433
53434 fi
53435 done
53436
53437   else
53438
53439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53440 $as_echo_n "checking for _fpclass declaration... " >&6; }
53441   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53442     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53443   $as_echo_n "(cached) " >&6
53444 else
53445
53446
53447       ac_ext=cpp
53448 ac_cpp='$CXXCPP $CPPFLAGS'
53449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53452
53453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53454 /* end confdefs.h.  */
53455 #include <math.h>
53456                       #ifdef HAVE_IEEEFP_H
53457                       #include <ieeefp.h>
53458                       #endif
53459
53460 int
53461 main ()
53462 {
53463  _fpclass(0);
53464   ;
53465   return 0;
53466 }
53467 _ACEOF
53468 if ac_fn_cxx_try_compile "$LINENO"; then :
53469   glibcxx_cv_func__fpclass_use=yes
53470 else
53471   glibcxx_cv_func__fpclass_use=no
53472 fi
53473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53474       ac_ext=c
53475 ac_cpp='$CPP $CPPFLAGS'
53476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53479
53480
53481 fi
53482
53483   fi
53484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53485 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53486
53487     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53488       for ac_func in _fpclass
53489 do :
53490   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53491 if test "x$ac_cv_func__fpclass" = x""yes; then :
53492   cat >>confdefs.h <<_ACEOF
53493 #define HAVE__FPCLASS 1
53494 _ACEOF
53495
53496 fi
53497 done
53498
53499     fi
53500   fi
53501
53502
53503
53504
53505
53506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53507 $as_echo_n "checking for qfpclass declaration... " >&6; }
53508   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53509     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53510   $as_echo_n "(cached) " >&6
53511 else
53512
53513
53514       ac_ext=cpp
53515 ac_cpp='$CXXCPP $CPPFLAGS'
53516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53519
53520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53521 /* end confdefs.h.  */
53522 #include <math.h>
53523                       #ifdef HAVE_IEEEFP_H
53524                       #include <ieeefp.h>
53525                       #endif
53526
53527 int
53528 main ()
53529 {
53530  qfpclass(0);
53531   ;
53532   return 0;
53533 }
53534 _ACEOF
53535 if ac_fn_cxx_try_compile "$LINENO"; then :
53536   glibcxx_cv_func_qfpclass_use=yes
53537 else
53538   glibcxx_cv_func_qfpclass_use=no
53539 fi
53540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53541       ac_ext=c
53542 ac_cpp='$CPP $CPPFLAGS'
53543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53546
53547
53548 fi
53549
53550   fi
53551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53552 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53553
53554   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53555     for ac_func in qfpclass
53556 do :
53557   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53558 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53559   cat >>confdefs.h <<_ACEOF
53560 #define HAVE_QFPCLASS 1
53561 _ACEOF
53562
53563 fi
53564 done
53565
53566   else
53567
53568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53569 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53570   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53571     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53572   $as_echo_n "(cached) " >&6
53573 else
53574
53575
53576       ac_ext=cpp
53577 ac_cpp='$CXXCPP $CPPFLAGS'
53578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53581
53582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53583 /* end confdefs.h.  */
53584 #include <math.h>
53585                       #ifdef HAVE_IEEEFP_H
53586                       #include <ieeefp.h>
53587                       #endif
53588
53589 int
53590 main ()
53591 {
53592  _qfpclass(0);
53593   ;
53594   return 0;
53595 }
53596 _ACEOF
53597 if ac_fn_cxx_try_compile "$LINENO"; then :
53598   glibcxx_cv_func__qfpclass_use=yes
53599 else
53600   glibcxx_cv_func__qfpclass_use=no
53601 fi
53602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53603       ac_ext=c
53604 ac_cpp='$CPP $CPPFLAGS'
53605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53608
53609
53610 fi
53611
53612   fi
53613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53614 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53615
53616     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53617       for ac_func in _qfpclass
53618 do :
53619   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53620 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53621   cat >>confdefs.h <<_ACEOF
53622 #define HAVE__QFPCLASS 1
53623 _ACEOF
53624
53625 fi
53626 done
53627
53628     fi
53629   fi
53630
53631
53632
53633
53634
53635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53636 $as_echo_n "checking for hypot declaration... " >&6; }
53637   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53638     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53639   $as_echo_n "(cached) " >&6
53640 else
53641
53642
53643       ac_ext=cpp
53644 ac_cpp='$CXXCPP $CPPFLAGS'
53645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53648
53649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53650 /* end confdefs.h.  */
53651 #include <math.h>
53652 int
53653 main ()
53654 {
53655  hypot(0, 0);
53656   ;
53657   return 0;
53658 }
53659 _ACEOF
53660 if ac_fn_cxx_try_compile "$LINENO"; then :
53661   glibcxx_cv_func_hypot_use=yes
53662 else
53663   glibcxx_cv_func_hypot_use=no
53664 fi
53665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53666       ac_ext=c
53667 ac_cpp='$CPP $CPPFLAGS'
53668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53671
53672
53673 fi
53674
53675   fi
53676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53677 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53678
53679   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53680     for ac_func in hypot
53681 do :
53682   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53683 if test "x$ac_cv_func_hypot" = x""yes; then :
53684   cat >>confdefs.h <<_ACEOF
53685 #define HAVE_HYPOT 1
53686 _ACEOF
53687
53688 fi
53689 done
53690
53691   else
53692
53693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53694 $as_echo_n "checking for _hypot declaration... " >&6; }
53695   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53696     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53697   $as_echo_n "(cached) " >&6
53698 else
53699
53700
53701       ac_ext=cpp
53702 ac_cpp='$CXXCPP $CPPFLAGS'
53703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53706
53707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53708 /* end confdefs.h.  */
53709 #include <math.h>
53710 int
53711 main ()
53712 {
53713  _hypot(0, 0);
53714   ;
53715   return 0;
53716 }
53717 _ACEOF
53718 if ac_fn_cxx_try_compile "$LINENO"; then :
53719   glibcxx_cv_func__hypot_use=yes
53720 else
53721   glibcxx_cv_func__hypot_use=no
53722 fi
53723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53724       ac_ext=c
53725 ac_cpp='$CPP $CPPFLAGS'
53726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53729
53730
53731 fi
53732
53733   fi
53734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53735 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53736
53737     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53738       for ac_func in _hypot
53739 do :
53740   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53741 if test "x$ac_cv_func__hypot" = x""yes; then :
53742   cat >>confdefs.h <<_ACEOF
53743 #define HAVE__HYPOT 1
53744 _ACEOF
53745
53746 fi
53747 done
53748
53749     fi
53750   fi
53751
53752
53753
53754
53755
53756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53757 $as_echo_n "checking for float trig functions... " >&6; }
53758   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53759   $as_echo_n "(cached) " >&6
53760 else
53761
53762
53763     ac_ext=cpp
53764 ac_cpp='$CXXCPP $CPPFLAGS'
53765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53768
53769     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53770 /* end confdefs.h.  */
53771 #include <math.h>
53772 int
53773 main ()
53774 {
53775 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53776   ;
53777   return 0;
53778 }
53779 _ACEOF
53780 if ac_fn_cxx_try_compile "$LINENO"; then :
53781   glibcxx_cv_func_float_trig_use=yes
53782 else
53783   glibcxx_cv_func_float_trig_use=no
53784 fi
53785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53786     ac_ext=c
53787 ac_cpp='$CPP $CPPFLAGS'
53788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53791
53792 fi
53793
53794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53795 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53796   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53797     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53798 do :
53799   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53801 eval as_val=\$$as_ac_var
53802    if test "x$as_val" = x""yes; then :
53803   cat >>confdefs.h <<_ACEOF
53804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53805 _ACEOF
53806
53807 fi
53808 done
53809
53810   else
53811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53812 $as_echo_n "checking for _float trig functions... " >&6; }
53813     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53814   $as_echo_n "(cached) " >&6
53815 else
53816
53817
53818       ac_ext=cpp
53819 ac_cpp='$CXXCPP $CPPFLAGS'
53820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53823
53824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53825 /* end confdefs.h.  */
53826 #include <math.h>
53827 int
53828 main ()
53829 {
53830 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53831   ;
53832   return 0;
53833 }
53834 _ACEOF
53835 if ac_fn_cxx_try_compile "$LINENO"; then :
53836   glibcxx_cv_func__float_trig_use=yes
53837 else
53838   glibcxx_cv_func__float_trig_use=no
53839 fi
53840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53841       ac_ext=c
53842 ac_cpp='$CPP $CPPFLAGS'
53843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53846
53847 fi
53848
53849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53850 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53851     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53852       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53853 do :
53854   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53856 eval as_val=\$$as_ac_var
53857    if test "x$as_val" = x""yes; then :
53858   cat >>confdefs.h <<_ACEOF
53859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53860 _ACEOF
53861
53862 fi
53863 done
53864
53865     fi
53866   fi
53867
53868
53869
53870
53871
53872     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53873 $as_echo_n "checking for float round functions... " >&6; }
53874   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53875   $as_echo_n "(cached) " >&6
53876 else
53877
53878
53879     ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53884
53885     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h.  */
53887 #include <math.h>
53888 int
53889 main ()
53890 {
53891 ceilf (0); floorf (0);
53892   ;
53893   return 0;
53894 }
53895 _ACEOF
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897   glibcxx_cv_func_float_round_use=yes
53898 else
53899   glibcxx_cv_func_float_round_use=no
53900 fi
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53902     ac_ext=c
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53907
53908 fi
53909
53910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53911 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53912   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53913     for ac_func in ceilf floorf
53914 do :
53915   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53917 eval as_val=\$$as_ac_var
53918    if test "x$as_val" = x""yes; then :
53919   cat >>confdefs.h <<_ACEOF
53920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53921 _ACEOF
53922
53923 fi
53924 done
53925
53926   else
53927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53928 $as_echo_n "checking for _float round functions... " >&6; }
53929     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53930   $as_echo_n "(cached) " >&6
53931 else
53932
53933
53934       ac_ext=cpp
53935 ac_cpp='$CXXCPP $CPPFLAGS'
53936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53939
53940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53941 /* end confdefs.h.  */
53942 #include <math.h>
53943 int
53944 main ()
53945 {
53946 _ceilf (0); _floorf (0);
53947   ;
53948   return 0;
53949 }
53950 _ACEOF
53951 if ac_fn_cxx_try_compile "$LINENO"; then :
53952   glibcxx_cv_func__float_round_use=yes
53953 else
53954   glibcxx_cv_func__float_round_use=no
53955 fi
53956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53957       ac_ext=c
53958 ac_cpp='$CPP $CPPFLAGS'
53959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53962
53963 fi
53964
53965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53966 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53967     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53968       for ac_func in _ceilf _floorf
53969 do :
53970   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53972 eval as_val=\$$as_ac_var
53973    if test "x$as_val" = x""yes; then :
53974   cat >>confdefs.h <<_ACEOF
53975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53976 _ACEOF
53977
53978 fi
53979 done
53980
53981     fi
53982   fi
53983
53984
53985
53986
53987
53988
53989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53990 $as_echo_n "checking for expf declaration... " >&6; }
53991   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53992     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53993   $as_echo_n "(cached) " >&6
53994 else
53995
53996
53997       ac_ext=cpp
53998 ac_cpp='$CXXCPP $CPPFLAGS'
53999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54002
54003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54004 /* end confdefs.h.  */
54005 #include <math.h>
54006                       #ifdef HAVE_IEEEFP_H
54007                       #include <ieeefp.h>
54008                       #endif
54009
54010 int
54011 main ()
54012 {
54013  expf(0);
54014   ;
54015   return 0;
54016 }
54017 _ACEOF
54018 if ac_fn_cxx_try_compile "$LINENO"; then :
54019   glibcxx_cv_func_expf_use=yes
54020 else
54021   glibcxx_cv_func_expf_use=no
54022 fi
54023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54024       ac_ext=c
54025 ac_cpp='$CPP $CPPFLAGS'
54026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54029
54030
54031 fi
54032
54033   fi
54034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54035 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54036
54037   if test x$glibcxx_cv_func_expf_use = x"yes"; then
54038     for ac_func in expf
54039 do :
54040   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54041 if test "x$ac_cv_func_expf" = x""yes; then :
54042   cat >>confdefs.h <<_ACEOF
54043 #define HAVE_EXPF 1
54044 _ACEOF
54045
54046 fi
54047 done
54048
54049   else
54050
54051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54052 $as_echo_n "checking for _expf declaration... " >&6; }
54053   if test x${glibcxx_cv_func__expf_use+set} != xset; then
54054     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54055   $as_echo_n "(cached) " >&6
54056 else
54057
54058
54059       ac_ext=cpp
54060 ac_cpp='$CXXCPP $CPPFLAGS'
54061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54064
54065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54066 /* end confdefs.h.  */
54067 #include <math.h>
54068                       #ifdef HAVE_IEEEFP_H
54069                       #include <ieeefp.h>
54070                       #endif
54071
54072 int
54073 main ()
54074 {
54075  _expf(0);
54076   ;
54077   return 0;
54078 }
54079 _ACEOF
54080 if ac_fn_cxx_try_compile "$LINENO"; then :
54081   glibcxx_cv_func__expf_use=yes
54082 else
54083   glibcxx_cv_func__expf_use=no
54084 fi
54085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54086       ac_ext=c
54087 ac_cpp='$CPP $CPPFLAGS'
54088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54091
54092
54093 fi
54094
54095   fi
54096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54097 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54098
54099     if test x$glibcxx_cv_func__expf_use = x"yes"; then
54100       for ac_func in _expf
54101 do :
54102   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54103 if test "x$ac_cv_func__expf" = x""yes; then :
54104   cat >>confdefs.h <<_ACEOF
54105 #define HAVE__EXPF 1
54106 _ACEOF
54107
54108 fi
54109 done
54110
54111     fi
54112   fi
54113
54114
54115
54116
54117
54118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54119 $as_echo_n "checking for isnanf declaration... " >&6; }
54120   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54121     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54122   $as_echo_n "(cached) " >&6
54123 else
54124
54125
54126       ac_ext=cpp
54127 ac_cpp='$CXXCPP $CPPFLAGS'
54128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54131
54132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54133 /* end confdefs.h.  */
54134 #include <math.h>
54135                       #ifdef HAVE_IEEEFP_H
54136                       #include <ieeefp.h>
54137                       #endif
54138
54139 int
54140 main ()
54141 {
54142  isnanf(0);
54143   ;
54144   return 0;
54145 }
54146 _ACEOF
54147 if ac_fn_cxx_try_compile "$LINENO"; then :
54148   glibcxx_cv_func_isnanf_use=yes
54149 else
54150   glibcxx_cv_func_isnanf_use=no
54151 fi
54152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54153       ac_ext=c
54154 ac_cpp='$CPP $CPPFLAGS'
54155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54158
54159
54160 fi
54161
54162   fi
54163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54164 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54165
54166   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54167     for ac_func in isnanf
54168 do :
54169   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54170 if test "x$ac_cv_func_isnanf" = x""yes; then :
54171   cat >>confdefs.h <<_ACEOF
54172 #define HAVE_ISNANF 1
54173 _ACEOF
54174
54175 fi
54176 done
54177
54178   else
54179
54180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54181 $as_echo_n "checking for _isnanf declaration... " >&6; }
54182   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54183     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54184   $as_echo_n "(cached) " >&6
54185 else
54186
54187
54188       ac_ext=cpp
54189 ac_cpp='$CXXCPP $CPPFLAGS'
54190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54193
54194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54195 /* end confdefs.h.  */
54196 #include <math.h>
54197                       #ifdef HAVE_IEEEFP_H
54198                       #include <ieeefp.h>
54199                       #endif
54200
54201 int
54202 main ()
54203 {
54204  _isnanf(0);
54205   ;
54206   return 0;
54207 }
54208 _ACEOF
54209 if ac_fn_cxx_try_compile "$LINENO"; then :
54210   glibcxx_cv_func__isnanf_use=yes
54211 else
54212   glibcxx_cv_func__isnanf_use=no
54213 fi
54214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54215       ac_ext=c
54216 ac_cpp='$CPP $CPPFLAGS'
54217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54220
54221
54222 fi
54223
54224   fi
54225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54226 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54227
54228     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54229       for ac_func in _isnanf
54230 do :
54231   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54232 if test "x$ac_cv_func__isnanf" = x""yes; then :
54233   cat >>confdefs.h <<_ACEOF
54234 #define HAVE__ISNANF 1
54235 _ACEOF
54236
54237 fi
54238 done
54239
54240     fi
54241   fi
54242
54243
54244
54245
54246
54247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54248 $as_echo_n "checking for isinff declaration... " >&6; }
54249   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54250     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54251   $as_echo_n "(cached) " >&6
54252 else
54253
54254
54255       ac_ext=cpp
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54260
54261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262 /* end confdefs.h.  */
54263 #include <math.h>
54264                       #ifdef HAVE_IEEEFP_H
54265                       #include <ieeefp.h>
54266                       #endif
54267
54268 int
54269 main ()
54270 {
54271  isinff(0);
54272   ;
54273   return 0;
54274 }
54275 _ACEOF
54276 if ac_fn_cxx_try_compile "$LINENO"; then :
54277   glibcxx_cv_func_isinff_use=yes
54278 else
54279   glibcxx_cv_func_isinff_use=no
54280 fi
54281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54282       ac_ext=c
54283 ac_cpp='$CPP $CPPFLAGS'
54284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54287
54288
54289 fi
54290
54291   fi
54292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54293 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54294
54295   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54296     for ac_func in isinff
54297 do :
54298   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54299 if test "x$ac_cv_func_isinff" = x""yes; then :
54300   cat >>confdefs.h <<_ACEOF
54301 #define HAVE_ISINFF 1
54302 _ACEOF
54303
54304 fi
54305 done
54306
54307   else
54308
54309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54310 $as_echo_n "checking for _isinff declaration... " >&6; }
54311   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54312     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54313   $as_echo_n "(cached) " >&6
54314 else
54315
54316
54317       ac_ext=cpp
54318 ac_cpp='$CXXCPP $CPPFLAGS'
54319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54322
54323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54324 /* end confdefs.h.  */
54325 #include <math.h>
54326                       #ifdef HAVE_IEEEFP_H
54327                       #include <ieeefp.h>
54328                       #endif
54329
54330 int
54331 main ()
54332 {
54333  _isinff(0);
54334   ;
54335   return 0;
54336 }
54337 _ACEOF
54338 if ac_fn_cxx_try_compile "$LINENO"; then :
54339   glibcxx_cv_func__isinff_use=yes
54340 else
54341   glibcxx_cv_func__isinff_use=no
54342 fi
54343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54344       ac_ext=c
54345 ac_cpp='$CPP $CPPFLAGS'
54346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54349
54350
54351 fi
54352
54353   fi
54354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54355 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54356
54357     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54358       for ac_func in _isinff
54359 do :
54360   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54361 if test "x$ac_cv_func__isinff" = x""yes; then :
54362   cat >>confdefs.h <<_ACEOF
54363 #define HAVE__ISINFF 1
54364 _ACEOF
54365
54366 fi
54367 done
54368
54369     fi
54370   fi
54371
54372
54373
54374
54375
54376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54377 $as_echo_n "checking for atan2f declaration... " >&6; }
54378   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54379     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54380   $as_echo_n "(cached) " >&6
54381 else
54382
54383
54384       ac_ext=cpp
54385 ac_cpp='$CXXCPP $CPPFLAGS'
54386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54389
54390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54391 /* end confdefs.h.  */
54392 #include <math.h>
54393 int
54394 main ()
54395 {
54396  atan2f(0, 0);
54397   ;
54398   return 0;
54399 }
54400 _ACEOF
54401 if ac_fn_cxx_try_compile "$LINENO"; then :
54402   glibcxx_cv_func_atan2f_use=yes
54403 else
54404   glibcxx_cv_func_atan2f_use=no
54405 fi
54406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54407       ac_ext=c
54408 ac_cpp='$CPP $CPPFLAGS'
54409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54412
54413
54414 fi
54415
54416   fi
54417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54418 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54419
54420   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54421     for ac_func in atan2f
54422 do :
54423   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54424 if test "x$ac_cv_func_atan2f" = x""yes; then :
54425   cat >>confdefs.h <<_ACEOF
54426 #define HAVE_ATAN2F 1
54427 _ACEOF
54428
54429 fi
54430 done
54431
54432   else
54433
54434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54435 $as_echo_n "checking for _atan2f declaration... " >&6; }
54436   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54437     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54438   $as_echo_n "(cached) " >&6
54439 else
54440
54441
54442       ac_ext=cpp
54443 ac_cpp='$CXXCPP $CPPFLAGS'
54444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54447
54448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54449 /* end confdefs.h.  */
54450 #include <math.h>
54451 int
54452 main ()
54453 {
54454  _atan2f(0, 0);
54455   ;
54456   return 0;
54457 }
54458 _ACEOF
54459 if ac_fn_cxx_try_compile "$LINENO"; then :
54460   glibcxx_cv_func__atan2f_use=yes
54461 else
54462   glibcxx_cv_func__atan2f_use=no
54463 fi
54464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54465       ac_ext=c
54466 ac_cpp='$CPP $CPPFLAGS'
54467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54470
54471
54472 fi
54473
54474   fi
54475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54476 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54477
54478     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54479       for ac_func in _atan2f
54480 do :
54481   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54482 if test "x$ac_cv_func__atan2f" = x""yes; then :
54483   cat >>confdefs.h <<_ACEOF
54484 #define HAVE__ATAN2F 1
54485 _ACEOF
54486
54487 fi
54488 done
54489
54490     fi
54491   fi
54492
54493
54494
54495
54496
54497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54498 $as_echo_n "checking for fabsf declaration... " >&6; }
54499   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54500     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54501   $as_echo_n "(cached) " >&6
54502 else
54503
54504
54505       ac_ext=cpp
54506 ac_cpp='$CXXCPP $CPPFLAGS'
54507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54510
54511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54512 /* end confdefs.h.  */
54513 #include <math.h>
54514                       #ifdef HAVE_IEEEFP_H
54515                       #include <ieeefp.h>
54516                       #endif
54517
54518 int
54519 main ()
54520 {
54521  fabsf(0);
54522   ;
54523   return 0;
54524 }
54525 _ACEOF
54526 if ac_fn_cxx_try_compile "$LINENO"; then :
54527   glibcxx_cv_func_fabsf_use=yes
54528 else
54529   glibcxx_cv_func_fabsf_use=no
54530 fi
54531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54532       ac_ext=c
54533 ac_cpp='$CPP $CPPFLAGS'
54534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54537
54538
54539 fi
54540
54541   fi
54542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54543 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54544
54545   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54546     for ac_func in fabsf
54547 do :
54548   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54549 if test "x$ac_cv_func_fabsf" = x""yes; then :
54550   cat >>confdefs.h <<_ACEOF
54551 #define HAVE_FABSF 1
54552 _ACEOF
54553
54554 fi
54555 done
54556
54557   else
54558
54559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54560 $as_echo_n "checking for _fabsf declaration... " >&6; }
54561   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54562     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54563   $as_echo_n "(cached) " >&6
54564 else
54565
54566
54567       ac_ext=cpp
54568 ac_cpp='$CXXCPP $CPPFLAGS'
54569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54572
54573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54574 /* end confdefs.h.  */
54575 #include <math.h>
54576                       #ifdef HAVE_IEEEFP_H
54577                       #include <ieeefp.h>
54578                       #endif
54579
54580 int
54581 main ()
54582 {
54583  _fabsf(0);
54584   ;
54585   return 0;
54586 }
54587 _ACEOF
54588 if ac_fn_cxx_try_compile "$LINENO"; then :
54589   glibcxx_cv_func__fabsf_use=yes
54590 else
54591   glibcxx_cv_func__fabsf_use=no
54592 fi
54593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54594       ac_ext=c
54595 ac_cpp='$CPP $CPPFLAGS'
54596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54599
54600
54601 fi
54602
54603   fi
54604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54605 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54606
54607     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54608       for ac_func in _fabsf
54609 do :
54610   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54611 if test "x$ac_cv_func__fabsf" = x""yes; then :
54612   cat >>confdefs.h <<_ACEOF
54613 #define HAVE__FABSF 1
54614 _ACEOF
54615
54616 fi
54617 done
54618
54619     fi
54620   fi
54621
54622
54623
54624
54625
54626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54627 $as_echo_n "checking for fmodf declaration... " >&6; }
54628   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54629     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54630   $as_echo_n "(cached) " >&6
54631 else
54632
54633
54634       ac_ext=cpp
54635 ac_cpp='$CXXCPP $CPPFLAGS'
54636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54639
54640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54641 /* end confdefs.h.  */
54642 #include <math.h>
54643 int
54644 main ()
54645 {
54646  fmodf(0, 0);
54647   ;
54648   return 0;
54649 }
54650 _ACEOF
54651 if ac_fn_cxx_try_compile "$LINENO"; then :
54652   glibcxx_cv_func_fmodf_use=yes
54653 else
54654   glibcxx_cv_func_fmodf_use=no
54655 fi
54656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54657       ac_ext=c
54658 ac_cpp='$CPP $CPPFLAGS'
54659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54662
54663
54664 fi
54665
54666   fi
54667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54668 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54669
54670   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54671     for ac_func in fmodf
54672 do :
54673   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54674 if test "x$ac_cv_func_fmodf" = x""yes; then :
54675   cat >>confdefs.h <<_ACEOF
54676 #define HAVE_FMODF 1
54677 _ACEOF
54678
54679 fi
54680 done
54681
54682   else
54683
54684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54685 $as_echo_n "checking for _fmodf declaration... " >&6; }
54686   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54687     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54688   $as_echo_n "(cached) " >&6
54689 else
54690
54691
54692       ac_ext=cpp
54693 ac_cpp='$CXXCPP $CPPFLAGS'
54694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54697
54698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54699 /* end confdefs.h.  */
54700 #include <math.h>
54701 int
54702 main ()
54703 {
54704  _fmodf(0, 0);
54705   ;
54706   return 0;
54707 }
54708 _ACEOF
54709 if ac_fn_cxx_try_compile "$LINENO"; then :
54710   glibcxx_cv_func__fmodf_use=yes
54711 else
54712   glibcxx_cv_func__fmodf_use=no
54713 fi
54714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54715       ac_ext=c
54716 ac_cpp='$CPP $CPPFLAGS'
54717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54720
54721
54722 fi
54723
54724   fi
54725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54726 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54727
54728     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54729       for ac_func in _fmodf
54730 do :
54731   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54732 if test "x$ac_cv_func__fmodf" = x""yes; then :
54733   cat >>confdefs.h <<_ACEOF
54734 #define HAVE__FMODF 1
54735 _ACEOF
54736
54737 fi
54738 done
54739
54740     fi
54741   fi
54742
54743
54744
54745
54746
54747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54748 $as_echo_n "checking for frexpf declaration... " >&6; }
54749   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54750     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54751   $as_echo_n "(cached) " >&6
54752 else
54753
54754
54755       ac_ext=cpp
54756 ac_cpp='$CXXCPP $CPPFLAGS'
54757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54760
54761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54762 /* end confdefs.h.  */
54763 #include <math.h>
54764 int
54765 main ()
54766 {
54767  frexpf(0, 0);
54768   ;
54769   return 0;
54770 }
54771 _ACEOF
54772 if ac_fn_cxx_try_compile "$LINENO"; then :
54773   glibcxx_cv_func_frexpf_use=yes
54774 else
54775   glibcxx_cv_func_frexpf_use=no
54776 fi
54777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54778       ac_ext=c
54779 ac_cpp='$CPP $CPPFLAGS'
54780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54783
54784
54785 fi
54786
54787   fi
54788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54789 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54790
54791   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54792     for ac_func in frexpf
54793 do :
54794   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54795 if test "x$ac_cv_func_frexpf" = x""yes; then :
54796   cat >>confdefs.h <<_ACEOF
54797 #define HAVE_FREXPF 1
54798 _ACEOF
54799
54800 fi
54801 done
54802
54803   else
54804
54805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54806 $as_echo_n "checking for _frexpf declaration... " >&6; }
54807   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54808     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54809   $as_echo_n "(cached) " >&6
54810 else
54811
54812
54813       ac_ext=cpp
54814 ac_cpp='$CXXCPP $CPPFLAGS'
54815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54818
54819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54820 /* end confdefs.h.  */
54821 #include <math.h>
54822 int
54823 main ()
54824 {
54825  _frexpf(0, 0);
54826   ;
54827   return 0;
54828 }
54829 _ACEOF
54830 if ac_fn_cxx_try_compile "$LINENO"; then :
54831   glibcxx_cv_func__frexpf_use=yes
54832 else
54833   glibcxx_cv_func__frexpf_use=no
54834 fi
54835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836       ac_ext=c
54837 ac_cpp='$CPP $CPPFLAGS'
54838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54841
54842
54843 fi
54844
54845   fi
54846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54847 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54848
54849     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54850       for ac_func in _frexpf
54851 do :
54852   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54853 if test "x$ac_cv_func__frexpf" = x""yes; then :
54854   cat >>confdefs.h <<_ACEOF
54855 #define HAVE__FREXPF 1
54856 _ACEOF
54857
54858 fi
54859 done
54860
54861     fi
54862   fi
54863
54864
54865
54866
54867
54868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54869 $as_echo_n "checking for hypotf declaration... " >&6; }
54870   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54871     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54872   $as_echo_n "(cached) " >&6
54873 else
54874
54875
54876       ac_ext=cpp
54877 ac_cpp='$CXXCPP $CPPFLAGS'
54878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54881
54882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54883 /* end confdefs.h.  */
54884 #include <math.h>
54885 int
54886 main ()
54887 {
54888  hypotf(0, 0);
54889   ;
54890   return 0;
54891 }
54892 _ACEOF
54893 if ac_fn_cxx_try_compile "$LINENO"; then :
54894   glibcxx_cv_func_hypotf_use=yes
54895 else
54896   glibcxx_cv_func_hypotf_use=no
54897 fi
54898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54899       ac_ext=c
54900 ac_cpp='$CPP $CPPFLAGS'
54901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54904
54905
54906 fi
54907
54908   fi
54909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54910 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54911
54912   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54913     for ac_func in hypotf
54914 do :
54915   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54916 if test "x$ac_cv_func_hypotf" = x""yes; then :
54917   cat >>confdefs.h <<_ACEOF
54918 #define HAVE_HYPOTF 1
54919 _ACEOF
54920
54921 fi
54922 done
54923
54924   else
54925
54926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54927 $as_echo_n "checking for _hypotf declaration... " >&6; }
54928   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54929     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54930   $as_echo_n "(cached) " >&6
54931 else
54932
54933
54934       ac_ext=cpp
54935 ac_cpp='$CXXCPP $CPPFLAGS'
54936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54939
54940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54941 /* end confdefs.h.  */
54942 #include <math.h>
54943 int
54944 main ()
54945 {
54946  _hypotf(0, 0);
54947   ;
54948   return 0;
54949 }
54950 _ACEOF
54951 if ac_fn_cxx_try_compile "$LINENO"; then :
54952   glibcxx_cv_func__hypotf_use=yes
54953 else
54954   glibcxx_cv_func__hypotf_use=no
54955 fi
54956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54957       ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54962
54963
54964 fi
54965
54966   fi
54967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54968 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54969
54970     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54971       for ac_func in _hypotf
54972 do :
54973   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54974 if test "x$ac_cv_func__hypotf" = x""yes; then :
54975   cat >>confdefs.h <<_ACEOF
54976 #define HAVE__HYPOTF 1
54977 _ACEOF
54978
54979 fi
54980 done
54981
54982     fi
54983   fi
54984
54985
54986
54987
54988
54989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54990 $as_echo_n "checking for ldexpf declaration... " >&6; }
54991   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54992     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54993   $as_echo_n "(cached) " >&6
54994 else
54995
54996
54997       ac_ext=cpp
54998 ac_cpp='$CXXCPP $CPPFLAGS'
54999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55002
55003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55004 /* end confdefs.h.  */
55005 #include <math.h>
55006 int
55007 main ()
55008 {
55009  ldexpf(0, 0);
55010   ;
55011   return 0;
55012 }
55013 _ACEOF
55014 if ac_fn_cxx_try_compile "$LINENO"; then :
55015   glibcxx_cv_func_ldexpf_use=yes
55016 else
55017   glibcxx_cv_func_ldexpf_use=no
55018 fi
55019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55020       ac_ext=c
55021 ac_cpp='$CPP $CPPFLAGS'
55022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55025
55026
55027 fi
55028
55029   fi
55030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55031 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55032
55033   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55034     for ac_func in ldexpf
55035 do :
55036   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55037 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55038   cat >>confdefs.h <<_ACEOF
55039 #define HAVE_LDEXPF 1
55040 _ACEOF
55041
55042 fi
55043 done
55044
55045   else
55046
55047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55048 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55049   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55050     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55051   $as_echo_n "(cached) " >&6
55052 else
55053
55054
55055       ac_ext=cpp
55056 ac_cpp='$CXXCPP $CPPFLAGS'
55057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55060
55061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55062 /* end confdefs.h.  */
55063 #include <math.h>
55064 int
55065 main ()
55066 {
55067  _ldexpf(0, 0);
55068   ;
55069   return 0;
55070 }
55071 _ACEOF
55072 if ac_fn_cxx_try_compile "$LINENO"; then :
55073   glibcxx_cv_func__ldexpf_use=yes
55074 else
55075   glibcxx_cv_func__ldexpf_use=no
55076 fi
55077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55078       ac_ext=c
55079 ac_cpp='$CPP $CPPFLAGS'
55080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083
55084
55085 fi
55086
55087   fi
55088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55089 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55090
55091     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55092       for ac_func in _ldexpf
55093 do :
55094   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55095 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55096   cat >>confdefs.h <<_ACEOF
55097 #define HAVE__LDEXPF 1
55098 _ACEOF
55099
55100 fi
55101 done
55102
55103     fi
55104   fi
55105
55106
55107
55108
55109
55110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55111 $as_echo_n "checking for logf declaration... " >&6; }
55112   if test x${glibcxx_cv_func_logf_use+set} != xset; then
55113     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55114   $as_echo_n "(cached) " >&6
55115 else
55116
55117
55118       ac_ext=cpp
55119 ac_cpp='$CXXCPP $CPPFLAGS'
55120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55123
55124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55125 /* end confdefs.h.  */
55126 #include <math.h>
55127                       #ifdef HAVE_IEEEFP_H
55128                       #include <ieeefp.h>
55129                       #endif
55130
55131 int
55132 main ()
55133 {
55134  logf(0);
55135   ;
55136   return 0;
55137 }
55138 _ACEOF
55139 if ac_fn_cxx_try_compile "$LINENO"; then :
55140   glibcxx_cv_func_logf_use=yes
55141 else
55142   glibcxx_cv_func_logf_use=no
55143 fi
55144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55145       ac_ext=c
55146 ac_cpp='$CPP $CPPFLAGS'
55147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55150
55151
55152 fi
55153
55154   fi
55155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55156 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55157
55158   if test x$glibcxx_cv_func_logf_use = x"yes"; then
55159     for ac_func in logf
55160 do :
55161   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55162 if test "x$ac_cv_func_logf" = x""yes; then :
55163   cat >>confdefs.h <<_ACEOF
55164 #define HAVE_LOGF 1
55165 _ACEOF
55166
55167 fi
55168 done
55169
55170   else
55171
55172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55173 $as_echo_n "checking for _logf declaration... " >&6; }
55174   if test x${glibcxx_cv_func__logf_use+set} != xset; then
55175     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55176   $as_echo_n "(cached) " >&6
55177 else
55178
55179
55180       ac_ext=cpp
55181 ac_cpp='$CXXCPP $CPPFLAGS'
55182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55185
55186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55187 /* end confdefs.h.  */
55188 #include <math.h>
55189                       #ifdef HAVE_IEEEFP_H
55190                       #include <ieeefp.h>
55191                       #endif
55192
55193 int
55194 main ()
55195 {
55196  _logf(0);
55197   ;
55198   return 0;
55199 }
55200 _ACEOF
55201 if ac_fn_cxx_try_compile "$LINENO"; then :
55202   glibcxx_cv_func__logf_use=yes
55203 else
55204   glibcxx_cv_func__logf_use=no
55205 fi
55206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55207       ac_ext=c
55208 ac_cpp='$CPP $CPPFLAGS'
55209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55212
55213
55214 fi
55215
55216   fi
55217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55218 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55219
55220     if test x$glibcxx_cv_func__logf_use = x"yes"; then
55221       for ac_func in _logf
55222 do :
55223   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55224 if test "x$ac_cv_func__logf" = x""yes; then :
55225   cat >>confdefs.h <<_ACEOF
55226 #define HAVE__LOGF 1
55227 _ACEOF
55228
55229 fi
55230 done
55231
55232     fi
55233   fi
55234
55235
55236
55237
55238
55239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55240 $as_echo_n "checking for log10f declaration... " >&6; }
55241   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55242     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55243   $as_echo_n "(cached) " >&6
55244 else
55245
55246
55247       ac_ext=cpp
55248 ac_cpp='$CXXCPP $CPPFLAGS'
55249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55252
55253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55254 /* end confdefs.h.  */
55255 #include <math.h>
55256                       #ifdef HAVE_IEEEFP_H
55257                       #include <ieeefp.h>
55258                       #endif
55259
55260 int
55261 main ()
55262 {
55263  log10f(0);
55264   ;
55265   return 0;
55266 }
55267 _ACEOF
55268 if ac_fn_cxx_try_compile "$LINENO"; then :
55269   glibcxx_cv_func_log10f_use=yes
55270 else
55271   glibcxx_cv_func_log10f_use=no
55272 fi
55273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55274       ac_ext=c
55275 ac_cpp='$CPP $CPPFLAGS'
55276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55279
55280
55281 fi
55282
55283   fi
55284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55285 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55286
55287   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55288     for ac_func in log10f
55289 do :
55290   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55291 if test "x$ac_cv_func_log10f" = x""yes; then :
55292   cat >>confdefs.h <<_ACEOF
55293 #define HAVE_LOG10F 1
55294 _ACEOF
55295
55296 fi
55297 done
55298
55299   else
55300
55301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55302 $as_echo_n "checking for _log10f declaration... " >&6; }
55303   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55304     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55305   $as_echo_n "(cached) " >&6
55306 else
55307
55308
55309       ac_ext=cpp
55310 ac_cpp='$CXXCPP $CPPFLAGS'
55311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55314
55315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55316 /* end confdefs.h.  */
55317 #include <math.h>
55318                       #ifdef HAVE_IEEEFP_H
55319                       #include <ieeefp.h>
55320                       #endif
55321
55322 int
55323 main ()
55324 {
55325  _log10f(0);
55326   ;
55327   return 0;
55328 }
55329 _ACEOF
55330 if ac_fn_cxx_try_compile "$LINENO"; then :
55331   glibcxx_cv_func__log10f_use=yes
55332 else
55333   glibcxx_cv_func__log10f_use=no
55334 fi
55335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55336       ac_ext=c
55337 ac_cpp='$CPP $CPPFLAGS'
55338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55341
55342
55343 fi
55344
55345   fi
55346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55347 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55348
55349     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55350       for ac_func in _log10f
55351 do :
55352   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55353 if test "x$ac_cv_func__log10f" = x""yes; then :
55354   cat >>confdefs.h <<_ACEOF
55355 #define HAVE__LOG10F 1
55356 _ACEOF
55357
55358 fi
55359 done
55360
55361     fi
55362   fi
55363
55364
55365
55366
55367
55368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55369 $as_echo_n "checking for modff declaration... " >&6; }
55370   if test x${glibcxx_cv_func_modff_use+set} != xset; then
55371     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55372   $as_echo_n "(cached) " >&6
55373 else
55374
55375
55376       ac_ext=cpp
55377 ac_cpp='$CXXCPP $CPPFLAGS'
55378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55381
55382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55383 /* end confdefs.h.  */
55384 #include <math.h>
55385 int
55386 main ()
55387 {
55388  modff(0, 0);
55389   ;
55390   return 0;
55391 }
55392 _ACEOF
55393 if ac_fn_cxx_try_compile "$LINENO"; then :
55394   glibcxx_cv_func_modff_use=yes
55395 else
55396   glibcxx_cv_func_modff_use=no
55397 fi
55398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55399       ac_ext=c
55400 ac_cpp='$CPP $CPPFLAGS'
55401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55404
55405
55406 fi
55407
55408   fi
55409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55410 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55411
55412   if test x$glibcxx_cv_func_modff_use = x"yes"; then
55413     for ac_func in modff
55414 do :
55415   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55416 if test "x$ac_cv_func_modff" = x""yes; then :
55417   cat >>confdefs.h <<_ACEOF
55418 #define HAVE_MODFF 1
55419 _ACEOF
55420
55421 fi
55422 done
55423
55424   else
55425
55426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55427 $as_echo_n "checking for _modff declaration... " >&6; }
55428   if test x${glibcxx_cv_func__modff_use+set} != xset; then
55429     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55430   $as_echo_n "(cached) " >&6
55431 else
55432
55433
55434       ac_ext=cpp
55435 ac_cpp='$CXXCPP $CPPFLAGS'
55436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55439
55440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55441 /* end confdefs.h.  */
55442 #include <math.h>
55443 int
55444 main ()
55445 {
55446  _modff(0, 0);
55447   ;
55448   return 0;
55449 }
55450 _ACEOF
55451 if ac_fn_cxx_try_compile "$LINENO"; then :
55452   glibcxx_cv_func__modff_use=yes
55453 else
55454   glibcxx_cv_func__modff_use=no
55455 fi
55456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55457       ac_ext=c
55458 ac_cpp='$CPP $CPPFLAGS'
55459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55462
55463
55464 fi
55465
55466   fi
55467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55468 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55469
55470     if test x$glibcxx_cv_func__modff_use = x"yes"; then
55471       for ac_func in _modff
55472 do :
55473   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55474 if test "x$ac_cv_func__modff" = x""yes; then :
55475   cat >>confdefs.h <<_ACEOF
55476 #define HAVE__MODFF 1
55477 _ACEOF
55478
55479 fi
55480 done
55481
55482     fi
55483   fi
55484
55485
55486
55487
55488
55489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55490 $as_echo_n "checking for modf declaration... " >&6; }
55491   if test x${glibcxx_cv_func_modf_use+set} != xset; then
55492     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55493   $as_echo_n "(cached) " >&6
55494 else
55495
55496
55497       ac_ext=cpp
55498 ac_cpp='$CXXCPP $CPPFLAGS'
55499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55502
55503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55504 /* end confdefs.h.  */
55505 #include <math.h>
55506 int
55507 main ()
55508 {
55509  modf(0, 0);
55510   ;
55511   return 0;
55512 }
55513 _ACEOF
55514 if ac_fn_cxx_try_compile "$LINENO"; then :
55515   glibcxx_cv_func_modf_use=yes
55516 else
55517   glibcxx_cv_func_modf_use=no
55518 fi
55519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55520       ac_ext=c
55521 ac_cpp='$CPP $CPPFLAGS'
55522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55525
55526
55527 fi
55528
55529   fi
55530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55531 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55532
55533   if test x$glibcxx_cv_func_modf_use = x"yes"; then
55534     for ac_func in modf
55535 do :
55536   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55537 if test "x$ac_cv_func_modf" = x""yes; then :
55538   cat >>confdefs.h <<_ACEOF
55539 #define HAVE_MODF 1
55540 _ACEOF
55541
55542 fi
55543 done
55544
55545   else
55546
55547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55548 $as_echo_n "checking for _modf declaration... " >&6; }
55549   if test x${glibcxx_cv_func__modf_use+set} != xset; then
55550     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55551   $as_echo_n "(cached) " >&6
55552 else
55553
55554
55555       ac_ext=cpp
55556 ac_cpp='$CXXCPP $CPPFLAGS'
55557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55560
55561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55562 /* end confdefs.h.  */
55563 #include <math.h>
55564 int
55565 main ()
55566 {
55567  _modf(0, 0);
55568   ;
55569   return 0;
55570 }
55571 _ACEOF
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573   glibcxx_cv_func__modf_use=yes
55574 else
55575   glibcxx_cv_func__modf_use=no
55576 fi
55577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55578       ac_ext=c
55579 ac_cpp='$CPP $CPPFLAGS'
55580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55583
55584
55585 fi
55586
55587   fi
55588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55589 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55590
55591     if test x$glibcxx_cv_func__modf_use = x"yes"; then
55592       for ac_func in _modf
55593 do :
55594   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55595 if test "x$ac_cv_func__modf" = x""yes; then :
55596   cat >>confdefs.h <<_ACEOF
55597 #define HAVE__MODF 1
55598 _ACEOF
55599
55600 fi
55601 done
55602
55603     fi
55604   fi
55605
55606
55607
55608
55609
55610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55611 $as_echo_n "checking for powf declaration... " >&6; }
55612   if test x${glibcxx_cv_func_powf_use+set} != xset; then
55613     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55614   $as_echo_n "(cached) " >&6
55615 else
55616
55617
55618       ac_ext=cpp
55619 ac_cpp='$CXXCPP $CPPFLAGS'
55620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55623
55624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55625 /* end confdefs.h.  */
55626 #include <math.h>
55627 int
55628 main ()
55629 {
55630  powf(0, 0);
55631   ;
55632   return 0;
55633 }
55634 _ACEOF
55635 if ac_fn_cxx_try_compile "$LINENO"; then :
55636   glibcxx_cv_func_powf_use=yes
55637 else
55638   glibcxx_cv_func_powf_use=no
55639 fi
55640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55641       ac_ext=c
55642 ac_cpp='$CPP $CPPFLAGS'
55643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55646
55647
55648 fi
55649
55650   fi
55651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55652 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55653
55654   if test x$glibcxx_cv_func_powf_use = x"yes"; then
55655     for ac_func in powf
55656 do :
55657   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55658 if test "x$ac_cv_func_powf" = x""yes; then :
55659   cat >>confdefs.h <<_ACEOF
55660 #define HAVE_POWF 1
55661 _ACEOF
55662
55663 fi
55664 done
55665
55666   else
55667
55668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55669 $as_echo_n "checking for _powf declaration... " >&6; }
55670   if test x${glibcxx_cv_func__powf_use+set} != xset; then
55671     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55672   $as_echo_n "(cached) " >&6
55673 else
55674
55675
55676       ac_ext=cpp
55677 ac_cpp='$CXXCPP $CPPFLAGS'
55678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55681
55682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55683 /* end confdefs.h.  */
55684 #include <math.h>
55685 int
55686 main ()
55687 {
55688  _powf(0, 0);
55689   ;
55690   return 0;
55691 }
55692 _ACEOF
55693 if ac_fn_cxx_try_compile "$LINENO"; then :
55694   glibcxx_cv_func__powf_use=yes
55695 else
55696   glibcxx_cv_func__powf_use=no
55697 fi
55698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55699       ac_ext=c
55700 ac_cpp='$CPP $CPPFLAGS'
55701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55704
55705
55706 fi
55707
55708   fi
55709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55710 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55711
55712     if test x$glibcxx_cv_func__powf_use = x"yes"; then
55713       for ac_func in _powf
55714 do :
55715   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55716 if test "x$ac_cv_func__powf" = x""yes; then :
55717   cat >>confdefs.h <<_ACEOF
55718 #define HAVE__POWF 1
55719 _ACEOF
55720
55721 fi
55722 done
55723
55724     fi
55725   fi
55726
55727
55728
55729
55730
55731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55732 $as_echo_n "checking for sqrtf declaration... " >&6; }
55733   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55734     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55735   $as_echo_n "(cached) " >&6
55736 else
55737
55738
55739       ac_ext=cpp
55740 ac_cpp='$CXXCPP $CPPFLAGS'
55741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55744
55745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55746 /* end confdefs.h.  */
55747 #include <math.h>
55748                       #ifdef HAVE_IEEEFP_H
55749                       #include <ieeefp.h>
55750                       #endif
55751
55752 int
55753 main ()
55754 {
55755  sqrtf(0);
55756   ;
55757   return 0;
55758 }
55759 _ACEOF
55760 if ac_fn_cxx_try_compile "$LINENO"; then :
55761   glibcxx_cv_func_sqrtf_use=yes
55762 else
55763   glibcxx_cv_func_sqrtf_use=no
55764 fi
55765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55766       ac_ext=c
55767 ac_cpp='$CPP $CPPFLAGS'
55768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55771
55772
55773 fi
55774
55775   fi
55776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55777 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55778
55779   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55780     for ac_func in sqrtf
55781 do :
55782   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55783 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55784   cat >>confdefs.h <<_ACEOF
55785 #define HAVE_SQRTF 1
55786 _ACEOF
55787
55788 fi
55789 done
55790
55791   else
55792
55793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55794 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55795   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55796     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55797   $as_echo_n "(cached) " >&6
55798 else
55799
55800
55801       ac_ext=cpp
55802 ac_cpp='$CXXCPP $CPPFLAGS'
55803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55806
55807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55808 /* end confdefs.h.  */
55809 #include <math.h>
55810                       #ifdef HAVE_IEEEFP_H
55811                       #include <ieeefp.h>
55812                       #endif
55813
55814 int
55815 main ()
55816 {
55817  _sqrtf(0);
55818   ;
55819   return 0;
55820 }
55821 _ACEOF
55822 if ac_fn_cxx_try_compile "$LINENO"; then :
55823   glibcxx_cv_func__sqrtf_use=yes
55824 else
55825   glibcxx_cv_func__sqrtf_use=no
55826 fi
55827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55828       ac_ext=c
55829 ac_cpp='$CPP $CPPFLAGS'
55830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55833
55834
55835 fi
55836
55837   fi
55838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55839 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55840
55841     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55842       for ac_func in _sqrtf
55843 do :
55844   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55845 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55846   cat >>confdefs.h <<_ACEOF
55847 #define HAVE__SQRTF 1
55848 _ACEOF
55849
55850 fi
55851 done
55852
55853     fi
55854   fi
55855
55856
55857
55858
55859
55860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55861 $as_echo_n "checking for sincosf declaration... " >&6; }
55862   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55863     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55864   $as_echo_n "(cached) " >&6
55865 else
55866
55867
55868       ac_ext=cpp
55869 ac_cpp='$CXXCPP $CPPFLAGS'
55870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55873
55874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55875 /* end confdefs.h.  */
55876 #include <math.h>
55877 int
55878 main ()
55879 {
55880  sincosf(0, 0, 0);
55881   ;
55882   return 0;
55883 }
55884 _ACEOF
55885 if ac_fn_cxx_try_compile "$LINENO"; then :
55886   glibcxx_cv_func_sincosf_use=yes
55887 else
55888   glibcxx_cv_func_sincosf_use=no
55889 fi
55890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55891       ac_ext=c
55892 ac_cpp='$CPP $CPPFLAGS'
55893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55896
55897
55898 fi
55899
55900   fi
55901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55902 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55903
55904   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55905     for ac_func in sincosf
55906 do :
55907   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55908 if test "x$ac_cv_func_sincosf" = x""yes; then :
55909   cat >>confdefs.h <<_ACEOF
55910 #define HAVE_SINCOSF 1
55911 _ACEOF
55912
55913 fi
55914 done
55915
55916   else
55917
55918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55919 $as_echo_n "checking for _sincosf declaration... " >&6; }
55920   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55921     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55922   $as_echo_n "(cached) " >&6
55923 else
55924
55925
55926       ac_ext=cpp
55927 ac_cpp='$CXXCPP $CPPFLAGS'
55928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55931
55932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55933 /* end confdefs.h.  */
55934 #include <math.h>
55935 int
55936 main ()
55937 {
55938  _sincosf(0, 0, 0);
55939   ;
55940   return 0;
55941 }
55942 _ACEOF
55943 if ac_fn_cxx_try_compile "$LINENO"; then :
55944   glibcxx_cv_func__sincosf_use=yes
55945 else
55946   glibcxx_cv_func__sincosf_use=no
55947 fi
55948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55949       ac_ext=c
55950 ac_cpp='$CPP $CPPFLAGS'
55951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55954
55955
55956 fi
55957
55958   fi
55959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55960 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55961
55962     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55963       for ac_func in _sincosf
55964 do :
55965   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55966 if test "x$ac_cv_func__sincosf" = x""yes; then :
55967   cat >>confdefs.h <<_ACEOF
55968 #define HAVE__SINCOSF 1
55969 _ACEOF
55970
55971 fi
55972 done
55973
55974     fi
55975   fi
55976
55977
55978
55979
55980
55981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55982 $as_echo_n "checking for finitef declaration... " >&6; }
55983   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55984     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55985   $as_echo_n "(cached) " >&6
55986 else
55987
55988
55989       ac_ext=cpp
55990 ac_cpp='$CXXCPP $CPPFLAGS'
55991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55994
55995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55996 /* end confdefs.h.  */
55997 #include <math.h>
55998                       #ifdef HAVE_IEEEFP_H
55999                       #include <ieeefp.h>
56000                       #endif
56001
56002 int
56003 main ()
56004 {
56005  finitef(0);
56006   ;
56007   return 0;
56008 }
56009 _ACEOF
56010 if ac_fn_cxx_try_compile "$LINENO"; then :
56011   glibcxx_cv_func_finitef_use=yes
56012 else
56013   glibcxx_cv_func_finitef_use=no
56014 fi
56015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56016       ac_ext=c
56017 ac_cpp='$CPP $CPPFLAGS'
56018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56021
56022
56023 fi
56024
56025   fi
56026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56027 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56028
56029   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56030     for ac_func in finitef
56031 do :
56032   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56033 if test "x$ac_cv_func_finitef" = x""yes; then :
56034   cat >>confdefs.h <<_ACEOF
56035 #define HAVE_FINITEF 1
56036 _ACEOF
56037
56038 fi
56039 done
56040
56041   else
56042
56043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56044 $as_echo_n "checking for _finitef declaration... " >&6; }
56045   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56046     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56047   $as_echo_n "(cached) " >&6
56048 else
56049
56050
56051       ac_ext=cpp
56052 ac_cpp='$CXXCPP $CPPFLAGS'
56053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56056
56057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56058 /* end confdefs.h.  */
56059 #include <math.h>
56060                       #ifdef HAVE_IEEEFP_H
56061                       #include <ieeefp.h>
56062                       #endif
56063
56064 int
56065 main ()
56066 {
56067  _finitef(0);
56068   ;
56069   return 0;
56070 }
56071 _ACEOF
56072 if ac_fn_cxx_try_compile "$LINENO"; then :
56073   glibcxx_cv_func__finitef_use=yes
56074 else
56075   glibcxx_cv_func__finitef_use=no
56076 fi
56077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56078       ac_ext=c
56079 ac_cpp='$CPP $CPPFLAGS'
56080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56083
56084
56085 fi
56086
56087   fi
56088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56089 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56090
56091     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56092       for ac_func in _finitef
56093 do :
56094   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56095 if test "x$ac_cv_func__finitef" = x""yes; then :
56096   cat >>confdefs.h <<_ACEOF
56097 #define HAVE__FINITEF 1
56098 _ACEOF
56099
56100 fi
56101 done
56102
56103     fi
56104   fi
56105
56106
56107
56108
56109
56110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56111 $as_echo_n "checking for long double trig functions... " >&6; }
56112   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56113   $as_echo_n "(cached) " >&6
56114 else
56115
56116
56117     ac_ext=cpp
56118 ac_cpp='$CXXCPP $CPPFLAGS'
56119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56122
56123     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56124 /* end confdefs.h.  */
56125 #include <math.h>
56126 int
56127 main ()
56128 {
56129 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56130   ;
56131   return 0;
56132 }
56133 _ACEOF
56134 if ac_fn_cxx_try_compile "$LINENO"; then :
56135   glibcxx_cv_func_long_double_trig_use=yes
56136 else
56137   glibcxx_cv_func_long_double_trig_use=no
56138 fi
56139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56140     ac_ext=c
56141 ac_cpp='$CPP $CPPFLAGS'
56142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56145
56146 fi
56147
56148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56149 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56150   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56151     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56152 do :
56153   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56155 eval as_val=\$$as_ac_var
56156    if test "x$as_val" = x""yes; then :
56157   cat >>confdefs.h <<_ACEOF
56158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56159 _ACEOF
56160
56161 fi
56162 done
56163
56164   else
56165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56166 $as_echo_n "checking for _long double trig functions... " >&6; }
56167     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56168   $as_echo_n "(cached) " >&6
56169 else
56170
56171
56172       ac_ext=cpp
56173 ac_cpp='$CXXCPP $CPPFLAGS'
56174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56177
56178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56179 /* end confdefs.h.  */
56180 #include <math.h>
56181 int
56182 main ()
56183 {
56184 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56185   ;
56186   return 0;
56187 }
56188 _ACEOF
56189 if ac_fn_cxx_try_compile "$LINENO"; then :
56190   glibcxx_cv_func__long_double_trig_use=yes
56191 else
56192   glibcxx_cv_func__long_double_trig_use=no
56193 fi
56194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56195       ac_ext=c
56196 ac_cpp='$CPP $CPPFLAGS'
56197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56200
56201 fi
56202
56203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56204 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56205     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56206       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56207 do :
56208   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56210 eval as_val=\$$as_ac_var
56211    if test "x$as_val" = x""yes; then :
56212   cat >>confdefs.h <<_ACEOF
56213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56214 _ACEOF
56215
56216 fi
56217 done
56218
56219     fi
56220   fi
56221
56222
56223
56224
56225
56226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56227 $as_echo_n "checking for long double round functions... " >&6; }
56228   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56229   $as_echo_n "(cached) " >&6
56230 else
56231
56232
56233     ac_ext=cpp
56234 ac_cpp='$CXXCPP $CPPFLAGS'
56235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56238
56239     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56240 /* end confdefs.h.  */
56241 #include <math.h>
56242 int
56243 main ()
56244 {
56245 ceill (0); floorl (0);
56246   ;
56247   return 0;
56248 }
56249 _ACEOF
56250 if ac_fn_cxx_try_compile "$LINENO"; then :
56251   glibcxx_cv_func_long_double_round_use=yes
56252 else
56253   glibcxx_cv_func_long_double_round_use=no
56254 fi
56255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56256     ac_ext=c
56257 ac_cpp='$CPP $CPPFLAGS'
56258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56261
56262 fi
56263
56264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56265 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56266   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56267     for ac_func in ceill floorl
56268 do :
56269   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56271 eval as_val=\$$as_ac_var
56272    if test "x$as_val" = x""yes; then :
56273   cat >>confdefs.h <<_ACEOF
56274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56275 _ACEOF
56276
56277 fi
56278 done
56279
56280   else
56281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56282 $as_echo_n "checking for _long double round functions... " >&6; }
56283     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56284   $as_echo_n "(cached) " >&6
56285 else
56286
56287
56288       ac_ext=cpp
56289 ac_cpp='$CXXCPP $CPPFLAGS'
56290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56293
56294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56295 /* end confdefs.h.  */
56296 #include <math.h>
56297 int
56298 main ()
56299 {
56300 _ceill (0); _floorl (0);
56301   ;
56302   return 0;
56303 }
56304 _ACEOF
56305 if ac_fn_cxx_try_compile "$LINENO"; then :
56306   glibcxx_cv_func__long_double_round_use=yes
56307 else
56308   glibcxx_cv_func__long_double_round_use=no
56309 fi
56310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56311       ac_ext=c
56312 ac_cpp='$CPP $CPPFLAGS'
56313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56316
56317 fi
56318
56319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56320 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56321     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56322       for ac_func in _ceill _floorl
56323 do :
56324   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56326 eval as_val=\$$as_ac_var
56327    if test "x$as_val" = x""yes; then :
56328   cat >>confdefs.h <<_ACEOF
56329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56330 _ACEOF
56331
56332 fi
56333 done
56334
56335     fi
56336   fi
56337
56338
56339
56340
56341
56342
56343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56344 $as_echo_n "checking for isnanl declaration... " >&6; }
56345   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56346     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56347   $as_echo_n "(cached) " >&6
56348 else
56349
56350
56351       ac_ext=cpp
56352 ac_cpp='$CXXCPP $CPPFLAGS'
56353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56356
56357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56358 /* end confdefs.h.  */
56359 #include <math.h>
56360                       #ifdef HAVE_IEEEFP_H
56361                       #include <ieeefp.h>
56362                       #endif
56363
56364 int
56365 main ()
56366 {
56367  isnanl(0);
56368   ;
56369   return 0;
56370 }
56371 _ACEOF
56372 if ac_fn_cxx_try_compile "$LINENO"; then :
56373   glibcxx_cv_func_isnanl_use=yes
56374 else
56375   glibcxx_cv_func_isnanl_use=no
56376 fi
56377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56378       ac_ext=c
56379 ac_cpp='$CPP $CPPFLAGS'
56380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56383
56384
56385 fi
56386
56387   fi
56388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56389 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56390
56391   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56392     for ac_func in isnanl
56393 do :
56394   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56395 if test "x$ac_cv_func_isnanl" = x""yes; then :
56396   cat >>confdefs.h <<_ACEOF
56397 #define HAVE_ISNANL 1
56398 _ACEOF
56399
56400 fi
56401 done
56402
56403   else
56404
56405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56406 $as_echo_n "checking for _isnanl declaration... " >&6; }
56407   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56408     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56409   $as_echo_n "(cached) " >&6
56410 else
56411
56412
56413       ac_ext=cpp
56414 ac_cpp='$CXXCPP $CPPFLAGS'
56415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56418
56419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56420 /* end confdefs.h.  */
56421 #include <math.h>
56422                       #ifdef HAVE_IEEEFP_H
56423                       #include <ieeefp.h>
56424                       #endif
56425
56426 int
56427 main ()
56428 {
56429  _isnanl(0);
56430   ;
56431   return 0;
56432 }
56433 _ACEOF
56434 if ac_fn_cxx_try_compile "$LINENO"; then :
56435   glibcxx_cv_func__isnanl_use=yes
56436 else
56437   glibcxx_cv_func__isnanl_use=no
56438 fi
56439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56440       ac_ext=c
56441 ac_cpp='$CPP $CPPFLAGS'
56442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56445
56446
56447 fi
56448
56449   fi
56450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56451 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56452
56453     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56454       for ac_func in _isnanl
56455 do :
56456   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56457 if test "x$ac_cv_func__isnanl" = x""yes; then :
56458   cat >>confdefs.h <<_ACEOF
56459 #define HAVE__ISNANL 1
56460 _ACEOF
56461
56462 fi
56463 done
56464
56465     fi
56466   fi
56467
56468
56469
56470
56471
56472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56473 $as_echo_n "checking for isinfl declaration... " >&6; }
56474   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56475     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56476   $as_echo_n "(cached) " >&6
56477 else
56478
56479
56480       ac_ext=cpp
56481 ac_cpp='$CXXCPP $CPPFLAGS'
56482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56485
56486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56487 /* end confdefs.h.  */
56488 #include <math.h>
56489                       #ifdef HAVE_IEEEFP_H
56490                       #include <ieeefp.h>
56491                       #endif
56492
56493 int
56494 main ()
56495 {
56496  isinfl(0);
56497   ;
56498   return 0;
56499 }
56500 _ACEOF
56501 if ac_fn_cxx_try_compile "$LINENO"; then :
56502   glibcxx_cv_func_isinfl_use=yes
56503 else
56504   glibcxx_cv_func_isinfl_use=no
56505 fi
56506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56507       ac_ext=c
56508 ac_cpp='$CPP $CPPFLAGS'
56509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56512
56513
56514 fi
56515
56516   fi
56517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56518 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56519
56520   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56521     for ac_func in isinfl
56522 do :
56523   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56524 if test "x$ac_cv_func_isinfl" = x""yes; then :
56525   cat >>confdefs.h <<_ACEOF
56526 #define HAVE_ISINFL 1
56527 _ACEOF
56528
56529 fi
56530 done
56531
56532   else
56533
56534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56535 $as_echo_n "checking for _isinfl declaration... " >&6; }
56536   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56537     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56538   $as_echo_n "(cached) " >&6
56539 else
56540
56541
56542       ac_ext=cpp
56543 ac_cpp='$CXXCPP $CPPFLAGS'
56544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56547
56548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56549 /* end confdefs.h.  */
56550 #include <math.h>
56551                       #ifdef HAVE_IEEEFP_H
56552                       #include <ieeefp.h>
56553                       #endif
56554
56555 int
56556 main ()
56557 {
56558  _isinfl(0);
56559   ;
56560   return 0;
56561 }
56562 _ACEOF
56563 if ac_fn_cxx_try_compile "$LINENO"; then :
56564   glibcxx_cv_func__isinfl_use=yes
56565 else
56566   glibcxx_cv_func__isinfl_use=no
56567 fi
56568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56569       ac_ext=c
56570 ac_cpp='$CPP $CPPFLAGS'
56571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56574
56575
56576 fi
56577
56578   fi
56579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56580 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56581
56582     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56583       for ac_func in _isinfl
56584 do :
56585   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56586 if test "x$ac_cv_func__isinfl" = x""yes; then :
56587   cat >>confdefs.h <<_ACEOF
56588 #define HAVE__ISINFL 1
56589 _ACEOF
56590
56591 fi
56592 done
56593
56594     fi
56595   fi
56596
56597
56598
56599
56600
56601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56602 $as_echo_n "checking for atan2l declaration... " >&6; }
56603   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56604     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56605   $as_echo_n "(cached) " >&6
56606 else
56607
56608
56609       ac_ext=cpp
56610 ac_cpp='$CXXCPP $CPPFLAGS'
56611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56614
56615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56616 /* end confdefs.h.  */
56617 #include <math.h>
56618 int
56619 main ()
56620 {
56621  atan2l(0, 0);
56622   ;
56623   return 0;
56624 }
56625 _ACEOF
56626 if ac_fn_cxx_try_compile "$LINENO"; then :
56627   glibcxx_cv_func_atan2l_use=yes
56628 else
56629   glibcxx_cv_func_atan2l_use=no
56630 fi
56631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56632       ac_ext=c
56633 ac_cpp='$CPP $CPPFLAGS'
56634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56637
56638
56639 fi
56640
56641   fi
56642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56643 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56644
56645   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56646     for ac_func in atan2l
56647 do :
56648   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56649 if test "x$ac_cv_func_atan2l" = x""yes; then :
56650   cat >>confdefs.h <<_ACEOF
56651 #define HAVE_ATAN2L 1
56652 _ACEOF
56653
56654 fi
56655 done
56656
56657   else
56658
56659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56660 $as_echo_n "checking for _atan2l declaration... " >&6; }
56661   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56662     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56663   $as_echo_n "(cached) " >&6
56664 else
56665
56666
56667       ac_ext=cpp
56668 ac_cpp='$CXXCPP $CPPFLAGS'
56669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56672
56673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56674 /* end confdefs.h.  */
56675 #include <math.h>
56676 int
56677 main ()
56678 {
56679  _atan2l(0, 0);
56680   ;
56681   return 0;
56682 }
56683 _ACEOF
56684 if ac_fn_cxx_try_compile "$LINENO"; then :
56685   glibcxx_cv_func__atan2l_use=yes
56686 else
56687   glibcxx_cv_func__atan2l_use=no
56688 fi
56689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56690       ac_ext=c
56691 ac_cpp='$CPP $CPPFLAGS'
56692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56695
56696
56697 fi
56698
56699   fi
56700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56701 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56702
56703     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56704       for ac_func in _atan2l
56705 do :
56706   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56707 if test "x$ac_cv_func__atan2l" = x""yes; then :
56708   cat >>confdefs.h <<_ACEOF
56709 #define HAVE__ATAN2L 1
56710 _ACEOF
56711
56712 fi
56713 done
56714
56715     fi
56716   fi
56717
56718
56719
56720
56721
56722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56723 $as_echo_n "checking for expl declaration... " >&6; }
56724   if test x${glibcxx_cv_func_expl_use+set} != xset; then
56725     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56726   $as_echo_n "(cached) " >&6
56727 else
56728
56729
56730       ac_ext=cpp
56731 ac_cpp='$CXXCPP $CPPFLAGS'
56732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56735
56736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56737 /* end confdefs.h.  */
56738 #include <math.h>
56739                       #ifdef HAVE_IEEEFP_H
56740                       #include <ieeefp.h>
56741                       #endif
56742
56743 int
56744 main ()
56745 {
56746  expl(0);
56747   ;
56748   return 0;
56749 }
56750 _ACEOF
56751 if ac_fn_cxx_try_compile "$LINENO"; then :
56752   glibcxx_cv_func_expl_use=yes
56753 else
56754   glibcxx_cv_func_expl_use=no
56755 fi
56756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56757       ac_ext=c
56758 ac_cpp='$CPP $CPPFLAGS'
56759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56762
56763
56764 fi
56765
56766   fi
56767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56768 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56769
56770   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56771     for ac_func in expl
56772 do :
56773   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56774 if test "x$ac_cv_func_expl" = x""yes; then :
56775   cat >>confdefs.h <<_ACEOF
56776 #define HAVE_EXPL 1
56777 _ACEOF
56778
56779 fi
56780 done
56781
56782   else
56783
56784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56785 $as_echo_n "checking for _expl declaration... " >&6; }
56786   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56787     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56788   $as_echo_n "(cached) " >&6
56789 else
56790
56791
56792       ac_ext=cpp
56793 ac_cpp='$CXXCPP $CPPFLAGS'
56794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56797
56798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56799 /* end confdefs.h.  */
56800 #include <math.h>
56801                       #ifdef HAVE_IEEEFP_H
56802                       #include <ieeefp.h>
56803                       #endif
56804
56805 int
56806 main ()
56807 {
56808  _expl(0);
56809   ;
56810   return 0;
56811 }
56812 _ACEOF
56813 if ac_fn_cxx_try_compile "$LINENO"; then :
56814   glibcxx_cv_func__expl_use=yes
56815 else
56816   glibcxx_cv_func__expl_use=no
56817 fi
56818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56819       ac_ext=c
56820 ac_cpp='$CPP $CPPFLAGS'
56821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56824
56825
56826 fi
56827
56828   fi
56829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56830 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56831
56832     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56833       for ac_func in _expl
56834 do :
56835   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56836 if test "x$ac_cv_func__expl" = x""yes; then :
56837   cat >>confdefs.h <<_ACEOF
56838 #define HAVE__EXPL 1
56839 _ACEOF
56840
56841 fi
56842 done
56843
56844     fi
56845   fi
56846
56847
56848
56849
56850
56851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56852 $as_echo_n "checking for fabsl declaration... " >&6; }
56853   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56854     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56855   $as_echo_n "(cached) " >&6
56856 else
56857
56858
56859       ac_ext=cpp
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56864
56865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56866 /* end confdefs.h.  */
56867 #include <math.h>
56868                       #ifdef HAVE_IEEEFP_H
56869                       #include <ieeefp.h>
56870                       #endif
56871
56872 int
56873 main ()
56874 {
56875  fabsl(0);
56876   ;
56877   return 0;
56878 }
56879 _ACEOF
56880 if ac_fn_cxx_try_compile "$LINENO"; then :
56881   glibcxx_cv_func_fabsl_use=yes
56882 else
56883   glibcxx_cv_func_fabsl_use=no
56884 fi
56885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56886       ac_ext=c
56887 ac_cpp='$CPP $CPPFLAGS'
56888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56891
56892
56893 fi
56894
56895   fi
56896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56897 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56898
56899   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56900     for ac_func in fabsl
56901 do :
56902   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56903 if test "x$ac_cv_func_fabsl" = x""yes; then :
56904   cat >>confdefs.h <<_ACEOF
56905 #define HAVE_FABSL 1
56906 _ACEOF
56907
56908 fi
56909 done
56910
56911   else
56912
56913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56914 $as_echo_n "checking for _fabsl declaration... " >&6; }
56915   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56916     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56917   $as_echo_n "(cached) " >&6
56918 else
56919
56920
56921       ac_ext=cpp
56922 ac_cpp='$CXXCPP $CPPFLAGS'
56923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56926
56927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56928 /* end confdefs.h.  */
56929 #include <math.h>
56930                       #ifdef HAVE_IEEEFP_H
56931                       #include <ieeefp.h>
56932                       #endif
56933
56934 int
56935 main ()
56936 {
56937  _fabsl(0);
56938   ;
56939   return 0;
56940 }
56941 _ACEOF
56942 if ac_fn_cxx_try_compile "$LINENO"; then :
56943   glibcxx_cv_func__fabsl_use=yes
56944 else
56945   glibcxx_cv_func__fabsl_use=no
56946 fi
56947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56948       ac_ext=c
56949 ac_cpp='$CPP $CPPFLAGS'
56950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56953
56954
56955 fi
56956
56957   fi
56958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56959 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56960
56961     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56962       for ac_func in _fabsl
56963 do :
56964   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56965 if test "x$ac_cv_func__fabsl" = x""yes; then :
56966   cat >>confdefs.h <<_ACEOF
56967 #define HAVE__FABSL 1
56968 _ACEOF
56969
56970 fi
56971 done
56972
56973     fi
56974   fi
56975
56976
56977
56978
56979
56980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56981 $as_echo_n "checking for fmodl declaration... " >&6; }
56982   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56983     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56984   $as_echo_n "(cached) " >&6
56985 else
56986
56987
56988       ac_ext=cpp
56989 ac_cpp='$CXXCPP $CPPFLAGS'
56990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56993
56994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56995 /* end confdefs.h.  */
56996 #include <math.h>
56997 int
56998 main ()
56999 {
57000  fmodl(0, 0);
57001   ;
57002   return 0;
57003 }
57004 _ACEOF
57005 if ac_fn_cxx_try_compile "$LINENO"; then :
57006   glibcxx_cv_func_fmodl_use=yes
57007 else
57008   glibcxx_cv_func_fmodl_use=no
57009 fi
57010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57011       ac_ext=c
57012 ac_cpp='$CPP $CPPFLAGS'
57013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57016
57017
57018 fi
57019
57020   fi
57021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57022 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57023
57024   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57025     for ac_func in fmodl
57026 do :
57027   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57028 if test "x$ac_cv_func_fmodl" = x""yes; then :
57029   cat >>confdefs.h <<_ACEOF
57030 #define HAVE_FMODL 1
57031 _ACEOF
57032
57033 fi
57034 done
57035
57036   else
57037
57038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57039 $as_echo_n "checking for _fmodl declaration... " >&6; }
57040   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57041     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57042   $as_echo_n "(cached) " >&6
57043 else
57044
57045
57046       ac_ext=cpp
57047 ac_cpp='$CXXCPP $CPPFLAGS'
57048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57051
57052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57053 /* end confdefs.h.  */
57054 #include <math.h>
57055 int
57056 main ()
57057 {
57058  _fmodl(0, 0);
57059   ;
57060   return 0;
57061 }
57062 _ACEOF
57063 if ac_fn_cxx_try_compile "$LINENO"; then :
57064   glibcxx_cv_func__fmodl_use=yes
57065 else
57066   glibcxx_cv_func__fmodl_use=no
57067 fi
57068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57069       ac_ext=c
57070 ac_cpp='$CPP $CPPFLAGS'
57071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57074
57075
57076 fi
57077
57078   fi
57079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57080 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57081
57082     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57083       for ac_func in _fmodl
57084 do :
57085   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57086 if test "x$ac_cv_func__fmodl" = x""yes; then :
57087   cat >>confdefs.h <<_ACEOF
57088 #define HAVE__FMODL 1
57089 _ACEOF
57090
57091 fi
57092 done
57093
57094     fi
57095   fi
57096
57097
57098
57099
57100
57101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57102 $as_echo_n "checking for frexpl declaration... " >&6; }
57103   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57104     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57105   $as_echo_n "(cached) " >&6
57106 else
57107
57108
57109       ac_ext=cpp
57110 ac_cpp='$CXXCPP $CPPFLAGS'
57111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57114
57115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57116 /* end confdefs.h.  */
57117 #include <math.h>
57118 int
57119 main ()
57120 {
57121  frexpl(0, 0);
57122   ;
57123   return 0;
57124 }
57125 _ACEOF
57126 if ac_fn_cxx_try_compile "$LINENO"; then :
57127   glibcxx_cv_func_frexpl_use=yes
57128 else
57129   glibcxx_cv_func_frexpl_use=no
57130 fi
57131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57132       ac_ext=c
57133 ac_cpp='$CPP $CPPFLAGS'
57134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57137
57138
57139 fi
57140
57141   fi
57142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57143 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57144
57145   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57146     for ac_func in frexpl
57147 do :
57148   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57149 if test "x$ac_cv_func_frexpl" = x""yes; then :
57150   cat >>confdefs.h <<_ACEOF
57151 #define HAVE_FREXPL 1
57152 _ACEOF
57153
57154 fi
57155 done
57156
57157   else
57158
57159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57160 $as_echo_n "checking for _frexpl declaration... " >&6; }
57161   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57162     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57163   $as_echo_n "(cached) " >&6
57164 else
57165
57166
57167       ac_ext=cpp
57168 ac_cpp='$CXXCPP $CPPFLAGS'
57169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57172
57173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57174 /* end confdefs.h.  */
57175 #include <math.h>
57176 int
57177 main ()
57178 {
57179  _frexpl(0, 0);
57180   ;
57181   return 0;
57182 }
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185   glibcxx_cv_func__frexpl_use=yes
57186 else
57187   glibcxx_cv_func__frexpl_use=no
57188 fi
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190       ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57195
57196
57197 fi
57198
57199   fi
57200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57201 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57202
57203     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57204       for ac_func in _frexpl
57205 do :
57206   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57207 if test "x$ac_cv_func__frexpl" = x""yes; then :
57208   cat >>confdefs.h <<_ACEOF
57209 #define HAVE__FREXPL 1
57210 _ACEOF
57211
57212 fi
57213 done
57214
57215     fi
57216   fi
57217
57218
57219
57220
57221
57222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57223 $as_echo_n "checking for hypotl declaration... " >&6; }
57224   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57225     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57226   $as_echo_n "(cached) " >&6
57227 else
57228
57229
57230       ac_ext=cpp
57231 ac_cpp='$CXXCPP $CPPFLAGS'
57232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57235
57236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57237 /* end confdefs.h.  */
57238 #include <math.h>
57239 int
57240 main ()
57241 {
57242  hypotl(0, 0);
57243   ;
57244   return 0;
57245 }
57246 _ACEOF
57247 if ac_fn_cxx_try_compile "$LINENO"; then :
57248   glibcxx_cv_func_hypotl_use=yes
57249 else
57250   glibcxx_cv_func_hypotl_use=no
57251 fi
57252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57253       ac_ext=c
57254 ac_cpp='$CPP $CPPFLAGS'
57255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57258
57259
57260 fi
57261
57262   fi
57263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57264 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57265
57266   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57267     for ac_func in hypotl
57268 do :
57269   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57270 if test "x$ac_cv_func_hypotl" = x""yes; then :
57271   cat >>confdefs.h <<_ACEOF
57272 #define HAVE_HYPOTL 1
57273 _ACEOF
57274
57275 fi
57276 done
57277
57278   else
57279
57280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57281 $as_echo_n "checking for _hypotl declaration... " >&6; }
57282   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57283     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57284   $as_echo_n "(cached) " >&6
57285 else
57286
57287
57288       ac_ext=cpp
57289 ac_cpp='$CXXCPP $CPPFLAGS'
57290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57293
57294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57295 /* end confdefs.h.  */
57296 #include <math.h>
57297 int
57298 main ()
57299 {
57300  _hypotl(0, 0);
57301   ;
57302   return 0;
57303 }
57304 _ACEOF
57305 if ac_fn_cxx_try_compile "$LINENO"; then :
57306   glibcxx_cv_func__hypotl_use=yes
57307 else
57308   glibcxx_cv_func__hypotl_use=no
57309 fi
57310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57311       ac_ext=c
57312 ac_cpp='$CPP $CPPFLAGS'
57313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57316
57317
57318 fi
57319
57320   fi
57321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57322 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57323
57324     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57325       for ac_func in _hypotl
57326 do :
57327   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57328 if test "x$ac_cv_func__hypotl" = x""yes; then :
57329   cat >>confdefs.h <<_ACEOF
57330 #define HAVE__HYPOTL 1
57331 _ACEOF
57332
57333 fi
57334 done
57335
57336     fi
57337   fi
57338
57339
57340
57341
57342
57343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57344 $as_echo_n "checking for ldexpl declaration... " >&6; }
57345   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57346     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57347   $as_echo_n "(cached) " >&6
57348 else
57349
57350
57351       ac_ext=cpp
57352 ac_cpp='$CXXCPP $CPPFLAGS'
57353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57356
57357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57358 /* end confdefs.h.  */
57359 #include <math.h>
57360 int
57361 main ()
57362 {
57363  ldexpl(0, 0);
57364   ;
57365   return 0;
57366 }
57367 _ACEOF
57368 if ac_fn_cxx_try_compile "$LINENO"; then :
57369   glibcxx_cv_func_ldexpl_use=yes
57370 else
57371   glibcxx_cv_func_ldexpl_use=no
57372 fi
57373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57374       ac_ext=c
57375 ac_cpp='$CPP $CPPFLAGS'
57376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57379
57380
57381 fi
57382
57383   fi
57384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57385 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57386
57387   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57388     for ac_func in ldexpl
57389 do :
57390   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57391 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57392   cat >>confdefs.h <<_ACEOF
57393 #define HAVE_LDEXPL 1
57394 _ACEOF
57395
57396 fi
57397 done
57398
57399   else
57400
57401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57402 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57403   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57404     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57405   $as_echo_n "(cached) " >&6
57406 else
57407
57408
57409       ac_ext=cpp
57410 ac_cpp='$CXXCPP $CPPFLAGS'
57411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57414
57415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57416 /* end confdefs.h.  */
57417 #include <math.h>
57418 int
57419 main ()
57420 {
57421  _ldexpl(0, 0);
57422   ;
57423   return 0;
57424 }
57425 _ACEOF
57426 if ac_fn_cxx_try_compile "$LINENO"; then :
57427   glibcxx_cv_func__ldexpl_use=yes
57428 else
57429   glibcxx_cv_func__ldexpl_use=no
57430 fi
57431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57432       ac_ext=c
57433 ac_cpp='$CPP $CPPFLAGS'
57434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57437
57438
57439 fi
57440
57441   fi
57442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57443 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57444
57445     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57446       for ac_func in _ldexpl
57447 do :
57448   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57449 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57450   cat >>confdefs.h <<_ACEOF
57451 #define HAVE__LDEXPL 1
57452 _ACEOF
57453
57454 fi
57455 done
57456
57457     fi
57458   fi
57459
57460
57461
57462
57463
57464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57465 $as_echo_n "checking for logl declaration... " >&6; }
57466   if test x${glibcxx_cv_func_logl_use+set} != xset; then
57467     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57468   $as_echo_n "(cached) " >&6
57469 else
57470
57471
57472       ac_ext=cpp
57473 ac_cpp='$CXXCPP $CPPFLAGS'
57474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57477
57478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57479 /* end confdefs.h.  */
57480 #include <math.h>
57481                       #ifdef HAVE_IEEEFP_H
57482                       #include <ieeefp.h>
57483                       #endif
57484
57485 int
57486 main ()
57487 {
57488  logl(0);
57489   ;
57490   return 0;
57491 }
57492 _ACEOF
57493 if ac_fn_cxx_try_compile "$LINENO"; then :
57494   glibcxx_cv_func_logl_use=yes
57495 else
57496   glibcxx_cv_func_logl_use=no
57497 fi
57498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57499       ac_ext=c
57500 ac_cpp='$CPP $CPPFLAGS'
57501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57504
57505
57506 fi
57507
57508   fi
57509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57510 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57511
57512   if test x$glibcxx_cv_func_logl_use = x"yes"; then
57513     for ac_func in logl
57514 do :
57515   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57516 if test "x$ac_cv_func_logl" = x""yes; then :
57517   cat >>confdefs.h <<_ACEOF
57518 #define HAVE_LOGL 1
57519 _ACEOF
57520
57521 fi
57522 done
57523
57524   else
57525
57526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57527 $as_echo_n "checking for _logl declaration... " >&6; }
57528   if test x${glibcxx_cv_func__logl_use+set} != xset; then
57529     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57530   $as_echo_n "(cached) " >&6
57531 else
57532
57533
57534       ac_ext=cpp
57535 ac_cpp='$CXXCPP $CPPFLAGS'
57536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57539
57540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57541 /* end confdefs.h.  */
57542 #include <math.h>
57543                       #ifdef HAVE_IEEEFP_H
57544                       #include <ieeefp.h>
57545                       #endif
57546
57547 int
57548 main ()
57549 {
57550  _logl(0);
57551   ;
57552   return 0;
57553 }
57554 _ACEOF
57555 if ac_fn_cxx_try_compile "$LINENO"; then :
57556   glibcxx_cv_func__logl_use=yes
57557 else
57558   glibcxx_cv_func__logl_use=no
57559 fi
57560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57561       ac_ext=c
57562 ac_cpp='$CPP $CPPFLAGS'
57563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57566
57567
57568 fi
57569
57570   fi
57571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57572 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57573
57574     if test x$glibcxx_cv_func__logl_use = x"yes"; then
57575       for ac_func in _logl
57576 do :
57577   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57578 if test "x$ac_cv_func__logl" = x""yes; then :
57579   cat >>confdefs.h <<_ACEOF
57580 #define HAVE__LOGL 1
57581 _ACEOF
57582
57583 fi
57584 done
57585
57586     fi
57587   fi
57588
57589
57590
57591
57592
57593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57594 $as_echo_n "checking for log10l declaration... " >&6; }
57595   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57596     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57597   $as_echo_n "(cached) " >&6
57598 else
57599
57600
57601       ac_ext=cpp
57602 ac_cpp='$CXXCPP $CPPFLAGS'
57603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57606
57607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57608 /* end confdefs.h.  */
57609 #include <math.h>
57610                       #ifdef HAVE_IEEEFP_H
57611                       #include <ieeefp.h>
57612                       #endif
57613
57614 int
57615 main ()
57616 {
57617  log10l(0);
57618   ;
57619   return 0;
57620 }
57621 _ACEOF
57622 if ac_fn_cxx_try_compile "$LINENO"; then :
57623   glibcxx_cv_func_log10l_use=yes
57624 else
57625   glibcxx_cv_func_log10l_use=no
57626 fi
57627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57628       ac_ext=c
57629 ac_cpp='$CPP $CPPFLAGS'
57630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57633
57634
57635 fi
57636
57637   fi
57638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57639 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57640
57641   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57642     for ac_func in log10l
57643 do :
57644   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57645 if test "x$ac_cv_func_log10l" = x""yes; then :
57646   cat >>confdefs.h <<_ACEOF
57647 #define HAVE_LOG10L 1
57648 _ACEOF
57649
57650 fi
57651 done
57652
57653   else
57654
57655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57656 $as_echo_n "checking for _log10l declaration... " >&6; }
57657   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57658     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57659   $as_echo_n "(cached) " >&6
57660 else
57661
57662
57663       ac_ext=cpp
57664 ac_cpp='$CXXCPP $CPPFLAGS'
57665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57668
57669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57670 /* end confdefs.h.  */
57671 #include <math.h>
57672                       #ifdef HAVE_IEEEFP_H
57673                       #include <ieeefp.h>
57674                       #endif
57675
57676 int
57677 main ()
57678 {
57679  _log10l(0);
57680   ;
57681   return 0;
57682 }
57683 _ACEOF
57684 if ac_fn_cxx_try_compile "$LINENO"; then :
57685   glibcxx_cv_func__log10l_use=yes
57686 else
57687   glibcxx_cv_func__log10l_use=no
57688 fi
57689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57690       ac_ext=c
57691 ac_cpp='$CPP $CPPFLAGS'
57692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57695
57696
57697 fi
57698
57699   fi
57700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57701 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57702
57703     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57704       for ac_func in _log10l
57705 do :
57706   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57707 if test "x$ac_cv_func__log10l" = x""yes; then :
57708   cat >>confdefs.h <<_ACEOF
57709 #define HAVE__LOG10L 1
57710 _ACEOF
57711
57712 fi
57713 done
57714
57715     fi
57716   fi
57717
57718
57719
57720
57721
57722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57723 $as_echo_n "checking for modfl declaration... " >&6; }
57724   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57725     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57726   $as_echo_n "(cached) " >&6
57727 else
57728
57729
57730       ac_ext=cpp
57731 ac_cpp='$CXXCPP $CPPFLAGS'
57732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57735
57736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57737 /* end confdefs.h.  */
57738 #include <math.h>
57739 int
57740 main ()
57741 {
57742  modfl(0, 0);
57743   ;
57744   return 0;
57745 }
57746 _ACEOF
57747 if ac_fn_cxx_try_compile "$LINENO"; then :
57748   glibcxx_cv_func_modfl_use=yes
57749 else
57750   glibcxx_cv_func_modfl_use=no
57751 fi
57752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57753       ac_ext=c
57754 ac_cpp='$CPP $CPPFLAGS'
57755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57758
57759
57760 fi
57761
57762   fi
57763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57764 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57765
57766   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57767     for ac_func in modfl
57768 do :
57769   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57770 if test "x$ac_cv_func_modfl" = x""yes; then :
57771   cat >>confdefs.h <<_ACEOF
57772 #define HAVE_MODFL 1
57773 _ACEOF
57774
57775 fi
57776 done
57777
57778   else
57779
57780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57781 $as_echo_n "checking for _modfl declaration... " >&6; }
57782   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57783     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57784   $as_echo_n "(cached) " >&6
57785 else
57786
57787
57788       ac_ext=cpp
57789 ac_cpp='$CXXCPP $CPPFLAGS'
57790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57793
57794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57795 /* end confdefs.h.  */
57796 #include <math.h>
57797 int
57798 main ()
57799 {
57800  _modfl(0, 0);
57801   ;
57802   return 0;
57803 }
57804 _ACEOF
57805 if ac_fn_cxx_try_compile "$LINENO"; then :
57806   glibcxx_cv_func__modfl_use=yes
57807 else
57808   glibcxx_cv_func__modfl_use=no
57809 fi
57810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57811       ac_ext=c
57812 ac_cpp='$CPP $CPPFLAGS'
57813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57816
57817
57818 fi
57819
57820   fi
57821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57822 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57823
57824     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57825       for ac_func in _modfl
57826 do :
57827   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57828 if test "x$ac_cv_func__modfl" = x""yes; then :
57829   cat >>confdefs.h <<_ACEOF
57830 #define HAVE__MODFL 1
57831 _ACEOF
57832
57833 fi
57834 done
57835
57836     fi
57837   fi
57838
57839
57840
57841
57842
57843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57844 $as_echo_n "checking for powl declaration... " >&6; }
57845   if test x${glibcxx_cv_func_powl_use+set} != xset; then
57846     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57847   $as_echo_n "(cached) " >&6
57848 else
57849
57850
57851       ac_ext=cpp
57852 ac_cpp='$CXXCPP $CPPFLAGS'
57853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57856
57857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57858 /* end confdefs.h.  */
57859 #include <math.h>
57860 int
57861 main ()
57862 {
57863  powl(0, 0);
57864   ;
57865   return 0;
57866 }
57867 _ACEOF
57868 if ac_fn_cxx_try_compile "$LINENO"; then :
57869   glibcxx_cv_func_powl_use=yes
57870 else
57871   glibcxx_cv_func_powl_use=no
57872 fi
57873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57874       ac_ext=c
57875 ac_cpp='$CPP $CPPFLAGS'
57876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57879
57880
57881 fi
57882
57883   fi
57884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57885 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57886
57887   if test x$glibcxx_cv_func_powl_use = x"yes"; then
57888     for ac_func in powl
57889 do :
57890   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57891 if test "x$ac_cv_func_powl" = x""yes; then :
57892   cat >>confdefs.h <<_ACEOF
57893 #define HAVE_POWL 1
57894 _ACEOF
57895
57896 fi
57897 done
57898
57899   else
57900
57901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57902 $as_echo_n "checking for _powl declaration... " >&6; }
57903   if test x${glibcxx_cv_func__powl_use+set} != xset; then
57904     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57905   $as_echo_n "(cached) " >&6
57906 else
57907
57908
57909       ac_ext=cpp
57910 ac_cpp='$CXXCPP $CPPFLAGS'
57911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57914
57915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57916 /* end confdefs.h.  */
57917 #include <math.h>
57918 int
57919 main ()
57920 {
57921  _powl(0, 0);
57922   ;
57923   return 0;
57924 }
57925 _ACEOF
57926 if ac_fn_cxx_try_compile "$LINENO"; then :
57927   glibcxx_cv_func__powl_use=yes
57928 else
57929   glibcxx_cv_func__powl_use=no
57930 fi
57931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57932       ac_ext=c
57933 ac_cpp='$CPP $CPPFLAGS'
57934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57937
57938
57939 fi
57940
57941   fi
57942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57943 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57944
57945     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57946       for ac_func in _powl
57947 do :
57948   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57949 if test "x$ac_cv_func__powl" = x""yes; then :
57950   cat >>confdefs.h <<_ACEOF
57951 #define HAVE__POWL 1
57952 _ACEOF
57953
57954 fi
57955 done
57956
57957     fi
57958   fi
57959
57960
57961
57962
57963
57964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57965 $as_echo_n "checking for sqrtl declaration... " >&6; }
57966   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57967     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57968   $as_echo_n "(cached) " >&6
57969 else
57970
57971
57972       ac_ext=cpp
57973 ac_cpp='$CXXCPP $CPPFLAGS'
57974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57977
57978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57979 /* end confdefs.h.  */
57980 #include <math.h>
57981                       #ifdef HAVE_IEEEFP_H
57982                       #include <ieeefp.h>
57983                       #endif
57984
57985 int
57986 main ()
57987 {
57988  sqrtl(0);
57989   ;
57990   return 0;
57991 }
57992 _ACEOF
57993 if ac_fn_cxx_try_compile "$LINENO"; then :
57994   glibcxx_cv_func_sqrtl_use=yes
57995 else
57996   glibcxx_cv_func_sqrtl_use=no
57997 fi
57998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57999       ac_ext=c
58000 ac_cpp='$CPP $CPPFLAGS'
58001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58004
58005
58006 fi
58007
58008   fi
58009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58010 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58011
58012   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58013     for ac_func in sqrtl
58014 do :
58015   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58016 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58017   cat >>confdefs.h <<_ACEOF
58018 #define HAVE_SQRTL 1
58019 _ACEOF
58020
58021 fi
58022 done
58023
58024   else
58025
58026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58027 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58028   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58029     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58030   $as_echo_n "(cached) " >&6
58031 else
58032
58033
58034       ac_ext=cpp
58035 ac_cpp='$CXXCPP $CPPFLAGS'
58036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58039
58040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58041 /* end confdefs.h.  */
58042 #include <math.h>
58043                       #ifdef HAVE_IEEEFP_H
58044                       #include <ieeefp.h>
58045                       #endif
58046
58047 int
58048 main ()
58049 {
58050  _sqrtl(0);
58051   ;
58052   return 0;
58053 }
58054 _ACEOF
58055 if ac_fn_cxx_try_compile "$LINENO"; then :
58056   glibcxx_cv_func__sqrtl_use=yes
58057 else
58058   glibcxx_cv_func__sqrtl_use=no
58059 fi
58060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58061       ac_ext=c
58062 ac_cpp='$CPP $CPPFLAGS'
58063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58066
58067
58068 fi
58069
58070   fi
58071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58072 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58073
58074     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58075       for ac_func in _sqrtl
58076 do :
58077   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58078 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58079   cat >>confdefs.h <<_ACEOF
58080 #define HAVE__SQRTL 1
58081 _ACEOF
58082
58083 fi
58084 done
58085
58086     fi
58087   fi
58088
58089
58090
58091
58092
58093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58094 $as_echo_n "checking for sincosl declaration... " >&6; }
58095   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58096     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58097   $as_echo_n "(cached) " >&6
58098 else
58099
58100
58101       ac_ext=cpp
58102 ac_cpp='$CXXCPP $CPPFLAGS'
58103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58106
58107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58108 /* end confdefs.h.  */
58109 #include <math.h>
58110 int
58111 main ()
58112 {
58113  sincosl(0, 0, 0);
58114   ;
58115   return 0;
58116 }
58117 _ACEOF
58118 if ac_fn_cxx_try_compile "$LINENO"; then :
58119   glibcxx_cv_func_sincosl_use=yes
58120 else
58121   glibcxx_cv_func_sincosl_use=no
58122 fi
58123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58124       ac_ext=c
58125 ac_cpp='$CPP $CPPFLAGS'
58126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58129
58130
58131 fi
58132
58133   fi
58134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58135 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58136
58137   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58138     for ac_func in sincosl
58139 do :
58140   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58141 if test "x$ac_cv_func_sincosl" = x""yes; then :
58142   cat >>confdefs.h <<_ACEOF
58143 #define HAVE_SINCOSL 1
58144 _ACEOF
58145
58146 fi
58147 done
58148
58149   else
58150
58151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58152 $as_echo_n "checking for _sincosl declaration... " >&6; }
58153   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58154     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58155   $as_echo_n "(cached) " >&6
58156 else
58157
58158
58159       ac_ext=cpp
58160 ac_cpp='$CXXCPP $CPPFLAGS'
58161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58164
58165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58166 /* end confdefs.h.  */
58167 #include <math.h>
58168 int
58169 main ()
58170 {
58171  _sincosl(0, 0, 0);
58172   ;
58173   return 0;
58174 }
58175 _ACEOF
58176 if ac_fn_cxx_try_compile "$LINENO"; then :
58177   glibcxx_cv_func__sincosl_use=yes
58178 else
58179   glibcxx_cv_func__sincosl_use=no
58180 fi
58181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58182       ac_ext=c
58183 ac_cpp='$CPP $CPPFLAGS'
58184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58187
58188
58189 fi
58190
58191   fi
58192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58193 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58194
58195     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58196       for ac_func in _sincosl
58197 do :
58198   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58199 if test "x$ac_cv_func__sincosl" = x""yes; then :
58200   cat >>confdefs.h <<_ACEOF
58201 #define HAVE__SINCOSL 1
58202 _ACEOF
58203
58204 fi
58205 done
58206
58207     fi
58208   fi
58209
58210
58211
58212
58213
58214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58215 $as_echo_n "checking for finitel declaration... " >&6; }
58216   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58217     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58218   $as_echo_n "(cached) " >&6
58219 else
58220
58221
58222       ac_ext=cpp
58223 ac_cpp='$CXXCPP $CPPFLAGS'
58224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58227
58228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58229 /* end confdefs.h.  */
58230 #include <math.h>
58231                       #ifdef HAVE_IEEEFP_H
58232                       #include <ieeefp.h>
58233                       #endif
58234
58235 int
58236 main ()
58237 {
58238  finitel(0);
58239   ;
58240   return 0;
58241 }
58242 _ACEOF
58243 if ac_fn_cxx_try_compile "$LINENO"; then :
58244   glibcxx_cv_func_finitel_use=yes
58245 else
58246   glibcxx_cv_func_finitel_use=no
58247 fi
58248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58249       ac_ext=c
58250 ac_cpp='$CPP $CPPFLAGS'
58251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58254
58255
58256 fi
58257
58258   fi
58259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58260 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58261
58262   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58263     for ac_func in finitel
58264 do :
58265   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58266 if test "x$ac_cv_func_finitel" = x""yes; then :
58267   cat >>confdefs.h <<_ACEOF
58268 #define HAVE_FINITEL 1
58269 _ACEOF
58270
58271 fi
58272 done
58273
58274   else
58275
58276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58277 $as_echo_n "checking for _finitel declaration... " >&6; }
58278   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58279     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58280   $as_echo_n "(cached) " >&6
58281 else
58282
58283
58284       ac_ext=cpp
58285 ac_cpp='$CXXCPP $CPPFLAGS'
58286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58289
58290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58291 /* end confdefs.h.  */
58292 #include <math.h>
58293                       #ifdef HAVE_IEEEFP_H
58294                       #include <ieeefp.h>
58295                       #endif
58296
58297 int
58298 main ()
58299 {
58300  _finitel(0);
58301   ;
58302   return 0;
58303 }
58304 _ACEOF
58305 if ac_fn_cxx_try_compile "$LINENO"; then :
58306   glibcxx_cv_func__finitel_use=yes
58307 else
58308   glibcxx_cv_func__finitel_use=no
58309 fi
58310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58311       ac_ext=c
58312 ac_cpp='$CPP $CPPFLAGS'
58313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58316
58317
58318 fi
58319
58320   fi
58321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58322 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58323
58324     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58325       for ac_func in _finitel
58326 do :
58327   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58328 if test "x$ac_cv_func__finitel" = x""yes; then :
58329   cat >>confdefs.h <<_ACEOF
58330 #define HAVE__FINITEL 1
58331 _ACEOF
58332
58333 fi
58334 done
58335
58336     fi
58337   fi
58338
58339
58340
58341
58342   LIBS="$ac_save_LIBS"
58343   CXXFLAGS="$ac_save_CXXFLAGS"
58344
58345
58346   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58347   ac_save_CXXFLAGS="$CXXFLAGS"
58348   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58349
58350
58351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58352 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58353   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58354     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58355   $as_echo_n "(cached) " >&6
58356 else
58357
58358
58359       ac_ext=cpp
58360 ac_cpp='$CXXCPP $CPPFLAGS'
58361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58364
58365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58366 /* end confdefs.h.  */
58367 #include <stdlib.h>
58368 int
58369 main ()
58370 {
58371  at_quick_exit(0);
58372   ;
58373   return 0;
58374 }
58375 _ACEOF
58376 if ac_fn_cxx_try_compile "$LINENO"; then :
58377   glibcxx_cv_func_at_quick_exit_use=yes
58378 else
58379   glibcxx_cv_func_at_quick_exit_use=no
58380 fi
58381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58382       ac_ext=c
58383 ac_cpp='$CPP $CPPFLAGS'
58384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58387
58388
58389 fi
58390
58391   fi
58392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58393 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58394   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58395     for ac_func in at_quick_exit
58396 do :
58397   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58398 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58399   cat >>confdefs.h <<_ACEOF
58400 #define HAVE_AT_QUICK_EXIT 1
58401 _ACEOF
58402
58403 fi
58404 done
58405
58406   fi
58407
58408
58409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58410 $as_echo_n "checking for quick_exit declaration... " >&6; }
58411   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58412     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58413   $as_echo_n "(cached) " >&6
58414 else
58415
58416
58417       ac_ext=cpp
58418 ac_cpp='$CXXCPP $CPPFLAGS'
58419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58422
58423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58424 /* end confdefs.h.  */
58425 #include <stdlib.h>
58426 int
58427 main ()
58428 {
58429  quick_exit(0);
58430   ;
58431   return 0;
58432 }
58433 _ACEOF
58434 if ac_fn_cxx_try_compile "$LINENO"; then :
58435   glibcxx_cv_func_quick_exit_use=yes
58436 else
58437   glibcxx_cv_func_quick_exit_use=no
58438 fi
58439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58440       ac_ext=c
58441 ac_cpp='$CPP $CPPFLAGS'
58442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58445
58446
58447 fi
58448
58449   fi
58450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58451 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58452   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58453     for ac_func in quick_exit
58454 do :
58455   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58456 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58457   cat >>confdefs.h <<_ACEOF
58458 #define HAVE_QUICK_EXIT 1
58459 _ACEOF
58460
58461 fi
58462 done
58463
58464   fi
58465
58466
58467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58468 $as_echo_n "checking for strtold declaration... " >&6; }
58469   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58470     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58471   $as_echo_n "(cached) " >&6
58472 else
58473
58474
58475       ac_ext=cpp
58476 ac_cpp='$CXXCPP $CPPFLAGS'
58477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58480
58481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58482 /* end confdefs.h.  */
58483 #include <stdlib.h>
58484 int
58485 main ()
58486 {
58487  strtold(0, 0);
58488   ;
58489   return 0;
58490 }
58491 _ACEOF
58492 if ac_fn_cxx_try_compile "$LINENO"; then :
58493   glibcxx_cv_func_strtold_use=yes
58494 else
58495   glibcxx_cv_func_strtold_use=no
58496 fi
58497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58498       ac_ext=c
58499 ac_cpp='$CPP $CPPFLAGS'
58500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58503
58504
58505 fi
58506
58507   fi
58508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58509 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58510   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58511     for ac_func in strtold
58512 do :
58513   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58514 if test "x$ac_cv_func_strtold" = x""yes; then :
58515   cat >>confdefs.h <<_ACEOF
58516 #define HAVE_STRTOLD 1
58517 _ACEOF
58518
58519 fi
58520 done
58521
58522   fi
58523
58524
58525
58526
58527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58528 $as_echo_n "checking for strtof declaration... " >&6; }
58529   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58530     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58531   $as_echo_n "(cached) " >&6
58532 else
58533
58534
58535       ac_ext=cpp
58536 ac_cpp='$CXXCPP $CPPFLAGS'
58537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58540
58541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58542 /* end confdefs.h.  */
58543 #include <stdlib.h>
58544 int
58545 main ()
58546 {
58547  strtof(0, 0);
58548   ;
58549   return 0;
58550 }
58551 _ACEOF
58552 if ac_fn_cxx_try_compile "$LINENO"; then :
58553   glibcxx_cv_func_strtof_use=yes
58554 else
58555   glibcxx_cv_func_strtof_use=no
58556 fi
58557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58558       ac_ext=c
58559 ac_cpp='$CPP $CPPFLAGS'
58560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58563
58564
58565 fi
58566
58567   fi
58568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58569 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58570   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58571     for ac_func in strtof
58572 do :
58573   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58574 if test "x$ac_cv_func_strtof" = x""yes; then :
58575   cat >>confdefs.h <<_ACEOF
58576 #define HAVE_STRTOF 1
58577 _ACEOF
58578
58579 fi
58580 done
58581
58582   fi
58583
58584
58585
58586
58587   CXXFLAGS="$ac_save_CXXFLAGS"
58588
58589     ;;
58590   *-netbsd*)
58591     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58592
58593
58594   # If we're not using GNU ld, then there's no point in even trying these
58595   # tests.  Check for that first.  We should have already tested for gld
58596   # by now (in libtool), but require it now just to be safe...
58597   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58598   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58599
58600
58601
58602   # The name set by libtool depends on the version of libtool.  Shame on us
58603   # for depending on an impl detail, but c'est la vie.  Older versions used
58604   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58605   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58606   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58607   # set (hence we're using an older libtool), then set it.
58608   if test x${with_gnu_ld+set} != xset; then
58609     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58610       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58611       with_gnu_ld=no
58612     else
58613       with_gnu_ld=$ac_cv_prog_gnu_ld
58614     fi
58615   fi
58616
58617   # Start by getting the version number.  I think the libtool test already
58618   # does some of this, but throws away the result.
58619   glibcxx_ld_is_gold=no
58620   if test x"$with_gnu_ld" = x"yes"; then
58621     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58622 $as_echo_n "checking for ld version... " >&6; }
58623
58624     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58625       glibcxx_ld_is_gold=yes
58626     fi
58627     ldver=`$LD --version 2>/dev/null |
58628            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'`
58629
58630     glibcxx_gnu_ld_version=`echo $ldver | \
58631            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58632     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58633 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58634   fi
58635
58636   # Set --gc-sections.
58637   glibcxx_have_gc_sections=no
58638   if test "$glibcxx_ld_is_gold" = "yes"; then
58639     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58640       glibcxx_have_gc_sections=yes
58641     fi
58642   else
58643     glibcxx_gcsections_min_ld=21602
58644     if test x"$with_gnu_ld" = x"yes" &&
58645         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58646       glibcxx_have_gc_sections=yes
58647     fi
58648   fi
58649   if test "$glibcxx_have_gc_sections" = "yes"; then
58650     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58651     # NB: This flag only works reliably after 2.16.1. Configure tests
58652     # for this are difficult, so hard wire a value that should work.
58653
58654     ac_test_CFLAGS="${CFLAGS+set}"
58655     ac_save_CFLAGS="$CFLAGS"
58656     CFLAGS='-Wl,--gc-sections'
58657
58658     # Check for -Wl,--gc-sections
58659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58660 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58661     if test x$gcc_no_link = xyes; then
58662   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58663 fi
58664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58665 /* end confdefs.h.  */
58666  int one(void) { return 1; }
58667      int two(void) { return 2; }
58668
58669 int
58670 main ()
58671 {
58672  two();
58673   ;
58674   return 0;
58675 }
58676 _ACEOF
58677 if ac_fn_c_try_link "$LINENO"; then :
58678   ac_gcsections=yes
58679 else
58680   ac_gcsections=no
58681 fi
58682 rm -f core conftest.err conftest.$ac_objext \
58683     conftest$ac_exeext conftest.$ac_ext
58684     if test "$ac_gcsections" = "yes"; then
58685       rm -f conftest.c
58686       touch conftest.c
58687       if $CC -c conftest.c; then
58688         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58689            grep "Warning: gc-sections option ignored" > /dev/null; then
58690           ac_gcsections=no
58691         fi
58692       fi
58693       rm -f conftest.c conftest.o conftest
58694     fi
58695     if test "$ac_gcsections" = "yes"; then
58696       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58697     fi
58698     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58699 $as_echo "$ac_gcsections" >&6; }
58700
58701     if test "$ac_test_CFLAGS" = set; then
58702       CFLAGS="$ac_save_CFLAGS"
58703     else
58704       # this is the suspicious part
58705       CFLAGS=''
58706     fi
58707   fi
58708
58709   # Set -z,relro.
58710   # Note this is only for shared objects.
58711   ac_ld_relro=no
58712   if test x"$with_gnu_ld" = x"yes"; then
58713     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58714 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58715     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58716     if test -n "$cxx_z_relo"; then
58717       OPT_LDFLAGS="-Wl,-z,relro"
58718       ac_ld_relro=yes
58719     fi
58720     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58721 $as_echo "$ac_ld_relro" >&6; }
58722   fi
58723
58724   # Set linker optimization flags.
58725   if test x"$with_gnu_ld" = x"yes"; then
58726     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58727   fi
58728
58729
58730
58731
58732     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58733
58734     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58735
58736     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58737
58738     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58739
58740     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58741
58742     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58743
58744     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58745
58746     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58747
58748     if test x"long_double_math_on_this_cpu" = x"yes"; then
58749       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58750
58751       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58752
58753       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58754
58755     fi
58756     ;;
58757   *-qnx6.1* | *-qnx6.2*)
58758     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58759
58760
58761   # If we're not using GNU ld, then there's no point in even trying these
58762   # tests.  Check for that first.  We should have already tested for gld
58763   # by now (in libtool), but require it now just to be safe...
58764   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58765   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58766
58767
58768
58769   # The name set by libtool depends on the version of libtool.  Shame on us
58770   # for depending on an impl detail, but c'est la vie.  Older versions used
58771   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58772   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58773   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58774   # set (hence we're using an older libtool), then set it.
58775   if test x${with_gnu_ld+set} != xset; then
58776     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58777       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58778       with_gnu_ld=no
58779     else
58780       with_gnu_ld=$ac_cv_prog_gnu_ld
58781     fi
58782   fi
58783
58784   # Start by getting the version number.  I think the libtool test already
58785   # does some of this, but throws away the result.
58786   glibcxx_ld_is_gold=no
58787   if test x"$with_gnu_ld" = x"yes"; then
58788     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58789 $as_echo_n "checking for ld version... " >&6; }
58790
58791     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58792       glibcxx_ld_is_gold=yes
58793     fi
58794     ldver=`$LD --version 2>/dev/null |
58795            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'`
58796
58797     glibcxx_gnu_ld_version=`echo $ldver | \
58798            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58800 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58801   fi
58802
58803   # Set --gc-sections.
58804   glibcxx_have_gc_sections=no
58805   if test "$glibcxx_ld_is_gold" = "yes"; then
58806     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58807       glibcxx_have_gc_sections=yes
58808     fi
58809   else
58810     glibcxx_gcsections_min_ld=21602
58811     if test x"$with_gnu_ld" = x"yes" &&
58812         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58813       glibcxx_have_gc_sections=yes
58814     fi
58815   fi
58816   if test "$glibcxx_have_gc_sections" = "yes"; then
58817     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58818     # NB: This flag only works reliably after 2.16.1. Configure tests
58819     # for this are difficult, so hard wire a value that should work.
58820
58821     ac_test_CFLAGS="${CFLAGS+set}"
58822     ac_save_CFLAGS="$CFLAGS"
58823     CFLAGS='-Wl,--gc-sections'
58824
58825     # Check for -Wl,--gc-sections
58826     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58827 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58828     if test x$gcc_no_link = xyes; then
58829   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58830 fi
58831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58832 /* end confdefs.h.  */
58833  int one(void) { return 1; }
58834      int two(void) { return 2; }
58835
58836 int
58837 main ()
58838 {
58839  two();
58840   ;
58841   return 0;
58842 }
58843 _ACEOF
58844 if ac_fn_c_try_link "$LINENO"; then :
58845   ac_gcsections=yes
58846 else
58847   ac_gcsections=no
58848 fi
58849 rm -f core conftest.err conftest.$ac_objext \
58850     conftest$ac_exeext conftest.$ac_ext
58851     if test "$ac_gcsections" = "yes"; then
58852       rm -f conftest.c
58853       touch conftest.c
58854       if $CC -c conftest.c; then
58855         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58856            grep "Warning: gc-sections option ignored" > /dev/null; then
58857           ac_gcsections=no
58858         fi
58859       fi
58860       rm -f conftest.c conftest.o conftest
58861     fi
58862     if test "$ac_gcsections" = "yes"; then
58863       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58864     fi
58865     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58866 $as_echo "$ac_gcsections" >&6; }
58867
58868     if test "$ac_test_CFLAGS" = set; then
58869       CFLAGS="$ac_save_CFLAGS"
58870     else
58871       # this is the suspicious part
58872       CFLAGS=''
58873     fi
58874   fi
58875
58876   # Set -z,relro.
58877   # Note this is only for shared objects.
58878   ac_ld_relro=no
58879   if test x"$with_gnu_ld" = x"yes"; then
58880     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58881 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58882     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58883     if test -n "$cxx_z_relo"; then
58884       OPT_LDFLAGS="-Wl,-z,relro"
58885       ac_ld_relro=yes
58886     fi
58887     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58888 $as_echo "$ac_ld_relro" >&6; }
58889   fi
58890
58891   # Set linker optimization flags.
58892   if test x"$with_gnu_ld" = x"yes"; then
58893     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58894   fi
58895
58896
58897
58898
58899     $as_echo "#define HAVE_COSF 1" >>confdefs.h
58900
58901     $as_echo "#define HAVE_COSL 1" >>confdefs.h
58902
58903     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58904
58905     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58906
58907     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58908
58909     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58910
58911     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58912
58913     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58914
58915     $as_echo "#define HAVE_SINF 1" >>confdefs.h
58916
58917     $as_echo "#define HAVE_SINL 1" >>confdefs.h
58918
58919     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58920
58921     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58922
58923     ;;
58924   *-rtems*)
58925
58926   # All these tests are for C++; save the language and the compiler flags.
58927   # The CXXFLAGS thing is suspicious, but based on similar bits previously
58928   # found in GLIBCXX_CONFIGURE.
58929
58930   ac_ext=cpp
58931 ac_cpp='$CXXCPP $CPPFLAGS'
58932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58935
58936   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58937   ac_save_CXXFLAGS="$CXXFLAGS"
58938
58939   # Check for maintainer-mode bits.
58940   if test x"$USE_MAINTAINER_MODE" = xno; then
58941     WERROR=''
58942   else
58943     WERROR='-Werror'
58944   fi
58945
58946   # Check for -ffunction-sections -fdata-sections
58947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58948 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58949   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58951 /* end confdefs.h.  */
58952 int foo; void bar() { };
58953 int
58954 main ()
58955 {
58956
58957   ;
58958   return 0;
58959 }
58960 _ACEOF
58961 if ac_fn_cxx_try_compile "$LINENO"; then :
58962   ac_fdsections=yes
58963 else
58964   ac_fdsections=no
58965 fi
58966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58967   if test "$ac_test_CXXFLAGS" = set; then
58968     CXXFLAGS="$ac_save_CXXFLAGS"
58969   else
58970     # this is the suspicious part
58971     CXXFLAGS=''
58972   fi
58973   if test x"$ac_fdsections" = x"yes"; then
58974     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58975   fi
58976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58977 $as_echo "$ac_fdsections" >&6; }
58978
58979   ac_ext=c
58980 ac_cpp='$CPP $CPPFLAGS'
58981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58984
58985
58986
58987
58988
58989   # If we're not using GNU ld, then there's no point in even trying these
58990   # tests.  Check for that first.  We should have already tested for gld
58991   # by now (in libtool), but require it now just to be safe...
58992   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58993   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58994
58995
58996
58997   # The name set by libtool depends on the version of libtool.  Shame on us
58998   # for depending on an impl detail, but c'est la vie.  Older versions used
58999   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59000   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59001   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
59002   # set (hence we're using an older libtool), then set it.
59003   if test x${with_gnu_ld+set} != xset; then
59004     if test x${ac_cv_prog_gnu_ld+set} != xset; then
59005       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
59006       with_gnu_ld=no
59007     else
59008       with_gnu_ld=$ac_cv_prog_gnu_ld
59009     fi
59010   fi
59011
59012   # Start by getting the version number.  I think the libtool test already
59013   # does some of this, but throws away the result.
59014   glibcxx_ld_is_gold=no
59015   if test x"$with_gnu_ld" = x"yes"; then
59016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59017 $as_echo_n "checking for ld version... " >&6; }
59018
59019     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59020       glibcxx_ld_is_gold=yes
59021     fi
59022     ldver=`$LD --version 2>/dev/null |
59023            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'`
59024
59025     glibcxx_gnu_ld_version=`echo $ldver | \
59026            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59027     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59028 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59029   fi
59030
59031   # Set --gc-sections.
59032   glibcxx_have_gc_sections=no
59033   if test "$glibcxx_ld_is_gold" = "yes"; then
59034     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59035       glibcxx_have_gc_sections=yes
59036     fi
59037   else
59038     glibcxx_gcsections_min_ld=21602
59039     if test x"$with_gnu_ld" = x"yes" &&
59040         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59041       glibcxx_have_gc_sections=yes
59042     fi
59043   fi
59044   if test "$glibcxx_have_gc_sections" = "yes"; then
59045     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
59046     # NB: This flag only works reliably after 2.16.1. Configure tests
59047     # for this are difficult, so hard wire a value that should work.
59048
59049     ac_test_CFLAGS="${CFLAGS+set}"
59050     ac_save_CFLAGS="$CFLAGS"
59051     CFLAGS='-Wl,--gc-sections'
59052
59053     # Check for -Wl,--gc-sections
59054     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59055 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59056     if test x$gcc_no_link = xyes; then
59057   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59058 fi
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h.  */
59061  int one(void) { return 1; }
59062      int two(void) { return 2; }
59063
59064 int
59065 main ()
59066 {
59067  two();
59068   ;
59069   return 0;
59070 }
59071 _ACEOF
59072 if ac_fn_c_try_link "$LINENO"; then :
59073   ac_gcsections=yes
59074 else
59075   ac_gcsections=no
59076 fi
59077 rm -f core conftest.err conftest.$ac_objext \
59078     conftest$ac_exeext conftest.$ac_ext
59079     if test "$ac_gcsections" = "yes"; then
59080       rm -f conftest.c
59081       touch conftest.c
59082       if $CC -c conftest.c; then
59083         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59084            grep "Warning: gc-sections option ignored" > /dev/null; then
59085           ac_gcsections=no
59086         fi
59087       fi
59088       rm -f conftest.c conftest.o conftest
59089     fi
59090     if test "$ac_gcsections" = "yes"; then
59091       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59092     fi
59093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59094 $as_echo "$ac_gcsections" >&6; }
59095
59096     if test "$ac_test_CFLAGS" = set; then
59097       CFLAGS="$ac_save_CFLAGS"
59098     else
59099       # this is the suspicious part
59100       CFLAGS=''
59101     fi
59102   fi
59103
59104   # Set -z,relro.
59105   # Note this is only for shared objects.
59106   ac_ld_relro=no
59107   if test x"$with_gnu_ld" = x"yes"; then
59108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59109 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59110     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59111     if test -n "$cxx_z_relo"; then
59112       OPT_LDFLAGS="-Wl,-z,relro"
59113       ac_ld_relro=yes
59114     fi
59115     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59116 $as_echo "$ac_ld_relro" >&6; }
59117   fi
59118
59119   # Set linker optimization flags.
59120   if test x"$with_gnu_ld" = x"yes"; then
59121     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59122   fi
59123
59124
59125
59126
59127
59128   ac_test_CXXFLAGS="${CXXFLAGS+set}"
59129   ac_save_CXXFLAGS="$CXXFLAGS"
59130   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59131
59132     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59133 $as_echo_n "checking for sin in -lm... " >&6; }
59134 if test "${ac_cv_lib_m_sin+set}" = set; then :
59135   $as_echo_n "(cached) " >&6
59136 else
59137   ac_check_lib_save_LIBS=$LIBS
59138 LIBS="-lm  $LIBS"
59139 if test x$gcc_no_link = xyes; then
59140   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59141 fi
59142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59143 /* end confdefs.h.  */
59144
59145 /* Override any GCC internal prototype to avoid an error.
59146    Use char because int might match the return type of a GCC
59147    builtin and then its argument prototype would still apply.  */
59148 #ifdef __cplusplus
59149 extern "C"
59150 #endif
59151 char sin ();
59152 int
59153 main ()
59154 {
59155 return sin ();
59156   ;
59157   return 0;
59158 }
59159 _ACEOF
59160 if ac_fn_c_try_link "$LINENO"; then :
59161   ac_cv_lib_m_sin=yes
59162 else
59163   ac_cv_lib_m_sin=no
59164 fi
59165 rm -f core conftest.err conftest.$ac_objext \
59166     conftest$ac_exeext conftest.$ac_ext
59167 LIBS=$ac_check_lib_save_LIBS
59168 fi
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59170 $as_echo "$ac_cv_lib_m_sin" >&6; }
59171 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59172   libm="-lm"
59173 fi
59174
59175   ac_save_LIBS="$LIBS"
59176   LIBS="$LIBS $libm"
59177
59178
59179
59180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59181 $as_echo_n "checking for isinf declaration... " >&6; }
59182   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59183     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59184   $as_echo_n "(cached) " >&6
59185 else
59186
59187
59188       ac_ext=cpp
59189 ac_cpp='$CXXCPP $CPPFLAGS'
59190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59193
59194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59195 /* end confdefs.h.  */
59196 #include <math.h>
59197                       #ifdef HAVE_IEEEFP_H
59198                       #include <ieeefp.h>
59199                       #endif
59200
59201 int
59202 main ()
59203 {
59204  isinf(0);
59205   ;
59206   return 0;
59207 }
59208 _ACEOF
59209 if ac_fn_cxx_try_compile "$LINENO"; then :
59210   glibcxx_cv_func_isinf_use=yes
59211 else
59212   glibcxx_cv_func_isinf_use=no
59213 fi
59214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59215       ac_ext=c
59216 ac_cpp='$CPP $CPPFLAGS'
59217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59220
59221
59222 fi
59223
59224   fi
59225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59227
59228   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59229     for ac_func in isinf
59230 do :
59231   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59232 if test "x$ac_cv_func_isinf" = x""yes; then :
59233   cat >>confdefs.h <<_ACEOF
59234 #define HAVE_ISINF 1
59235 _ACEOF
59236
59237 fi
59238 done
59239
59240   else
59241
59242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59243 $as_echo_n "checking for _isinf declaration... " >&6; }
59244   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59245     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59246   $as_echo_n "(cached) " >&6
59247 else
59248
59249
59250       ac_ext=cpp
59251 ac_cpp='$CXXCPP $CPPFLAGS'
59252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59255
59256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59257 /* end confdefs.h.  */
59258 #include <math.h>
59259                       #ifdef HAVE_IEEEFP_H
59260                       #include <ieeefp.h>
59261                       #endif
59262
59263 int
59264 main ()
59265 {
59266  _isinf(0);
59267   ;
59268   return 0;
59269 }
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272   glibcxx_cv_func__isinf_use=yes
59273 else
59274   glibcxx_cv_func__isinf_use=no
59275 fi
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277       ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59282
59283
59284 fi
59285
59286   fi
59287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59289
59290     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59291       for ac_func in _isinf
59292 do :
59293   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59294 if test "x$ac_cv_func__isinf" = x""yes; then :
59295   cat >>confdefs.h <<_ACEOF
59296 #define HAVE__ISINF 1
59297 _ACEOF
59298
59299 fi
59300 done
59301
59302     fi
59303   fi
59304
59305
59306
59307
59308
59309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59310 $as_echo_n "checking for isnan declaration... " >&6; }
59311   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59312     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59313   $as_echo_n "(cached) " >&6
59314 else
59315
59316
59317       ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59322
59323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h.  */
59325 #include <math.h>
59326                       #ifdef HAVE_IEEEFP_H
59327                       #include <ieeefp.h>
59328                       #endif
59329
59330 int
59331 main ()
59332 {
59333  isnan(0);
59334   ;
59335   return 0;
59336 }
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339   glibcxx_cv_func_isnan_use=yes
59340 else
59341   glibcxx_cv_func_isnan_use=no
59342 fi
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344       ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349
59350
59351 fi
59352
59353   fi
59354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59356
59357   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59358     for ac_func in isnan
59359 do :
59360   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59361 if test "x$ac_cv_func_isnan" = x""yes; then :
59362   cat >>confdefs.h <<_ACEOF
59363 #define HAVE_ISNAN 1
59364 _ACEOF
59365
59366 fi
59367 done
59368
59369   else
59370
59371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59372 $as_echo_n "checking for _isnan declaration... " >&6; }
59373   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59374     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59375   $as_echo_n "(cached) " >&6
59376 else
59377
59378
59379       ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384
59385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h.  */
59387 #include <math.h>
59388                       #ifdef HAVE_IEEEFP_H
59389                       #include <ieeefp.h>
59390                       #endif
59391
59392 int
59393 main ()
59394 {
59395  _isnan(0);
59396   ;
59397   return 0;
59398 }
59399 _ACEOF
59400 if ac_fn_cxx_try_compile "$LINENO"; then :
59401   glibcxx_cv_func__isnan_use=yes
59402 else
59403   glibcxx_cv_func__isnan_use=no
59404 fi
59405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59406       ac_ext=c
59407 ac_cpp='$CPP $CPPFLAGS'
59408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59411
59412
59413 fi
59414
59415   fi
59416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59418
59419     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59420       for ac_func in _isnan
59421 do :
59422   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59423 if test "x$ac_cv_func__isnan" = x""yes; then :
59424   cat >>confdefs.h <<_ACEOF
59425 #define HAVE__ISNAN 1
59426 _ACEOF
59427
59428 fi
59429 done
59430
59431     fi
59432   fi
59433
59434
59435
59436
59437
59438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59439 $as_echo_n "checking for finite declaration... " >&6; }
59440   if test x${glibcxx_cv_func_finite_use+set} != xset; then
59441     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59442   $as_echo_n "(cached) " >&6
59443 else
59444
59445
59446       ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451
59452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h.  */
59454 #include <math.h>
59455                       #ifdef HAVE_IEEEFP_H
59456                       #include <ieeefp.h>
59457                       #endif
59458
59459 int
59460 main ()
59461 {
59462  finite(0);
59463   ;
59464   return 0;
59465 }
59466 _ACEOF
59467 if ac_fn_cxx_try_compile "$LINENO"; then :
59468   glibcxx_cv_func_finite_use=yes
59469 else
59470   glibcxx_cv_func_finite_use=no
59471 fi
59472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59473       ac_ext=c
59474 ac_cpp='$CPP $CPPFLAGS'
59475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59478
59479
59480 fi
59481
59482   fi
59483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59485
59486   if test x$glibcxx_cv_func_finite_use = x"yes"; then
59487     for ac_func in finite
59488 do :
59489   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59490 if test "x$ac_cv_func_finite" = x""yes; then :
59491   cat >>confdefs.h <<_ACEOF
59492 #define HAVE_FINITE 1
59493 _ACEOF
59494
59495 fi
59496 done
59497
59498   else
59499
59500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59501 $as_echo_n "checking for _finite declaration... " >&6; }
59502   if test x${glibcxx_cv_func__finite_use+set} != xset; then
59503     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59504   $as_echo_n "(cached) " >&6
59505 else
59506
59507
59508       ac_ext=cpp
59509 ac_cpp='$CXXCPP $CPPFLAGS'
59510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59513
59514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59515 /* end confdefs.h.  */
59516 #include <math.h>
59517                       #ifdef HAVE_IEEEFP_H
59518                       #include <ieeefp.h>
59519                       #endif
59520
59521 int
59522 main ()
59523 {
59524  _finite(0);
59525   ;
59526   return 0;
59527 }
59528 _ACEOF
59529 if ac_fn_cxx_try_compile "$LINENO"; then :
59530   glibcxx_cv_func__finite_use=yes
59531 else
59532   glibcxx_cv_func__finite_use=no
59533 fi
59534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59535       ac_ext=c
59536 ac_cpp='$CPP $CPPFLAGS'
59537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59540
59541
59542 fi
59543
59544   fi
59545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59547
59548     if test x$glibcxx_cv_func__finite_use = x"yes"; then
59549       for ac_func in _finite
59550 do :
59551   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59552 if test "x$ac_cv_func__finite" = x""yes; then :
59553   cat >>confdefs.h <<_ACEOF
59554 #define HAVE__FINITE 1
59555 _ACEOF
59556
59557 fi
59558 done
59559
59560     fi
59561   fi
59562
59563
59564
59565
59566
59567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59568 $as_echo_n "checking for sincos declaration... " >&6; }
59569   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59570     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59571   $as_echo_n "(cached) " >&6
59572 else
59573
59574
59575       ac_ext=cpp
59576 ac_cpp='$CXXCPP $CPPFLAGS'
59577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59580
59581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59582 /* end confdefs.h.  */
59583 #include <math.h>
59584 int
59585 main ()
59586 {
59587  sincos(0, 0, 0);
59588   ;
59589   return 0;
59590 }
59591 _ACEOF
59592 if ac_fn_cxx_try_compile "$LINENO"; then :
59593   glibcxx_cv_func_sincos_use=yes
59594 else
59595   glibcxx_cv_func_sincos_use=no
59596 fi
59597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59598       ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59603
59604
59605 fi
59606
59607   fi
59608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59610
59611   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59612     for ac_func in sincos
59613 do :
59614   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59615 if test "x$ac_cv_func_sincos" = x""yes; then :
59616   cat >>confdefs.h <<_ACEOF
59617 #define HAVE_SINCOS 1
59618 _ACEOF
59619
59620 fi
59621 done
59622
59623   else
59624
59625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59626 $as_echo_n "checking for _sincos declaration... " >&6; }
59627   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59628     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59629   $as_echo_n "(cached) " >&6
59630 else
59631
59632
59633       ac_ext=cpp
59634 ac_cpp='$CXXCPP $CPPFLAGS'
59635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59638
59639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59640 /* end confdefs.h.  */
59641 #include <math.h>
59642 int
59643 main ()
59644 {
59645  _sincos(0, 0, 0);
59646   ;
59647   return 0;
59648 }
59649 _ACEOF
59650 if ac_fn_cxx_try_compile "$LINENO"; then :
59651   glibcxx_cv_func__sincos_use=yes
59652 else
59653   glibcxx_cv_func__sincos_use=no
59654 fi
59655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59656       ac_ext=c
59657 ac_cpp='$CPP $CPPFLAGS'
59658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59661
59662
59663 fi
59664
59665   fi
59666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59668
59669     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59670       for ac_func in _sincos
59671 do :
59672   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59673 if test "x$ac_cv_func__sincos" = x""yes; then :
59674   cat >>confdefs.h <<_ACEOF
59675 #define HAVE__SINCOS 1
59676 _ACEOF
59677
59678 fi
59679 done
59680
59681     fi
59682   fi
59683
59684
59685
59686
59687
59688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59689 $as_echo_n "checking for fpclass declaration... " >&6; }
59690   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59691     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59692   $as_echo_n "(cached) " >&6
59693 else
59694
59695
59696       ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701
59702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h.  */
59704 #include <math.h>
59705                       #ifdef HAVE_IEEEFP_H
59706                       #include <ieeefp.h>
59707                       #endif
59708
59709 int
59710 main ()
59711 {
59712  fpclass(0);
59713   ;
59714   return 0;
59715 }
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718   glibcxx_cv_func_fpclass_use=yes
59719 else
59720   glibcxx_cv_func_fpclass_use=no
59721 fi
59722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723       ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59728
59729
59730 fi
59731
59732   fi
59733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59735
59736   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59737     for ac_func in fpclass
59738 do :
59739   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59740 if test "x$ac_cv_func_fpclass" = x""yes; then :
59741   cat >>confdefs.h <<_ACEOF
59742 #define HAVE_FPCLASS 1
59743 _ACEOF
59744
59745 fi
59746 done
59747
59748   else
59749
59750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59751 $as_echo_n "checking for _fpclass declaration... " >&6; }
59752   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59753     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59754   $as_echo_n "(cached) " >&6
59755 else
59756
59757
59758       ac_ext=cpp
59759 ac_cpp='$CXXCPP $CPPFLAGS'
59760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59763
59764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59765 /* end confdefs.h.  */
59766 #include <math.h>
59767                       #ifdef HAVE_IEEEFP_H
59768                       #include <ieeefp.h>
59769                       #endif
59770
59771 int
59772 main ()
59773 {
59774  _fpclass(0);
59775   ;
59776   return 0;
59777 }
59778 _ACEOF
59779 if ac_fn_cxx_try_compile "$LINENO"; then :
59780   glibcxx_cv_func__fpclass_use=yes
59781 else
59782   glibcxx_cv_func__fpclass_use=no
59783 fi
59784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59785       ac_ext=c
59786 ac_cpp='$CPP $CPPFLAGS'
59787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59790
59791
59792 fi
59793
59794   fi
59795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59797
59798     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59799       for ac_func in _fpclass
59800 do :
59801   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59802 if test "x$ac_cv_func__fpclass" = x""yes; then :
59803   cat >>confdefs.h <<_ACEOF
59804 #define HAVE__FPCLASS 1
59805 _ACEOF
59806
59807 fi
59808 done
59809
59810     fi
59811   fi
59812
59813
59814
59815
59816
59817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59818 $as_echo_n "checking for qfpclass declaration... " >&6; }
59819   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59820     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59821   $as_echo_n "(cached) " >&6
59822 else
59823
59824
59825       ac_ext=cpp
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59830
59831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h.  */
59833 #include <math.h>
59834                       #ifdef HAVE_IEEEFP_H
59835                       #include <ieeefp.h>
59836                       #endif
59837
59838 int
59839 main ()
59840 {
59841  qfpclass(0);
59842   ;
59843   return 0;
59844 }
59845 _ACEOF
59846 if ac_fn_cxx_try_compile "$LINENO"; then :
59847   glibcxx_cv_func_qfpclass_use=yes
59848 else
59849   glibcxx_cv_func_qfpclass_use=no
59850 fi
59851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852       ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857
59858
59859 fi
59860
59861   fi
59862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59864
59865   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59866     for ac_func in qfpclass
59867 do :
59868   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59869 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59870   cat >>confdefs.h <<_ACEOF
59871 #define HAVE_QFPCLASS 1
59872 _ACEOF
59873
59874 fi
59875 done
59876
59877   else
59878
59879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59881   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59882     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59883   $as_echo_n "(cached) " >&6
59884 else
59885
59886
59887       ac_ext=cpp
59888 ac_cpp='$CXXCPP $CPPFLAGS'
59889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59892
59893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59894 /* end confdefs.h.  */
59895 #include <math.h>
59896                       #ifdef HAVE_IEEEFP_H
59897                       #include <ieeefp.h>
59898                       #endif
59899
59900 int
59901 main ()
59902 {
59903  _qfpclass(0);
59904   ;
59905   return 0;
59906 }
59907 _ACEOF
59908 if ac_fn_cxx_try_compile "$LINENO"; then :
59909   glibcxx_cv_func__qfpclass_use=yes
59910 else
59911   glibcxx_cv_func__qfpclass_use=no
59912 fi
59913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59914       ac_ext=c
59915 ac_cpp='$CPP $CPPFLAGS'
59916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59919
59920
59921 fi
59922
59923   fi
59924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59926
59927     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59928       for ac_func in _qfpclass
59929 do :
59930   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59931 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59932   cat >>confdefs.h <<_ACEOF
59933 #define HAVE__QFPCLASS 1
59934 _ACEOF
59935
59936 fi
59937 done
59938
59939     fi
59940   fi
59941
59942
59943
59944
59945
59946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59947 $as_echo_n "checking for hypot declaration... " >&6; }
59948   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59949     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59950   $as_echo_n "(cached) " >&6
59951 else
59952
59953
59954       ac_ext=cpp
59955 ac_cpp='$CXXCPP $CPPFLAGS'
59956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59959
59960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59961 /* end confdefs.h.  */
59962 #include <math.h>
59963 int
59964 main ()
59965 {
59966  hypot(0, 0);
59967   ;
59968   return 0;
59969 }
59970 _ACEOF
59971 if ac_fn_cxx_try_compile "$LINENO"; then :
59972   glibcxx_cv_func_hypot_use=yes
59973 else
59974   glibcxx_cv_func_hypot_use=no
59975 fi
59976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59977       ac_ext=c
59978 ac_cpp='$CPP $CPPFLAGS'
59979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59982
59983
59984 fi
59985
59986   fi
59987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59989
59990   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59991     for ac_func in hypot
59992 do :
59993   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59994 if test "x$ac_cv_func_hypot" = x""yes; then :
59995   cat >>confdefs.h <<_ACEOF
59996 #define HAVE_HYPOT 1
59997 _ACEOF
59998
59999 fi
60000 done
60001
60002   else
60003
60004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60005 $as_echo_n "checking for _hypot declaration... " >&6; }
60006   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60007     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60008   $as_echo_n "(cached) " >&6
60009 else
60010
60011
60012       ac_ext=cpp
60013 ac_cpp='$CXXCPP $CPPFLAGS'
60014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60017
60018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60019 /* end confdefs.h.  */
60020 #include <math.h>
60021 int
60022 main ()
60023 {
60024  _hypot(0, 0);
60025   ;
60026   return 0;
60027 }
60028 _ACEOF
60029 if ac_fn_cxx_try_compile "$LINENO"; then :
60030   glibcxx_cv_func__hypot_use=yes
60031 else
60032   glibcxx_cv_func__hypot_use=no
60033 fi
60034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60035       ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60040
60041
60042 fi
60043
60044   fi
60045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60047
60048     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60049       for ac_func in _hypot
60050 do :
60051   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60052 if test "x$ac_cv_func__hypot" = x""yes; then :
60053   cat >>confdefs.h <<_ACEOF
60054 #define HAVE__HYPOT 1
60055 _ACEOF
60056
60057 fi
60058 done
60059
60060     fi
60061   fi
60062
60063
60064
60065
60066
60067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60068 $as_echo_n "checking for float trig functions... " >&6; }
60069   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60070   $as_echo_n "(cached) " >&6
60071 else
60072
60073
60074     ac_ext=cpp
60075 ac_cpp='$CXXCPP $CPPFLAGS'
60076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60079
60080     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60081 /* end confdefs.h.  */
60082 #include <math.h>
60083 int
60084 main ()
60085 {
60086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60087   ;
60088   return 0;
60089 }
60090 _ACEOF
60091 if ac_fn_cxx_try_compile "$LINENO"; then :
60092   glibcxx_cv_func_float_trig_use=yes
60093 else
60094   glibcxx_cv_func_float_trig_use=no
60095 fi
60096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60097     ac_ext=c
60098 ac_cpp='$CPP $CPPFLAGS'
60099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60102
60103 fi
60104
60105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60107   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60108     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60109 do :
60110   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60112 eval as_val=\$$as_ac_var
60113    if test "x$as_val" = x""yes; then :
60114   cat >>confdefs.h <<_ACEOF
60115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60116 _ACEOF
60117
60118 fi
60119 done
60120
60121   else
60122     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60123 $as_echo_n "checking for _float trig functions... " >&6; }
60124     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60125   $as_echo_n "(cached) " >&6
60126 else
60127
60128
60129       ac_ext=cpp
60130 ac_cpp='$CXXCPP $CPPFLAGS'
60131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60134
60135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h.  */
60137 #include <math.h>
60138 int
60139 main ()
60140 {
60141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60142   ;
60143   return 0;
60144 }
60145 _ACEOF
60146 if ac_fn_cxx_try_compile "$LINENO"; then :
60147   glibcxx_cv_func__float_trig_use=yes
60148 else
60149   glibcxx_cv_func__float_trig_use=no
60150 fi
60151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60152       ac_ext=c
60153 ac_cpp='$CPP $CPPFLAGS'
60154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60157
60158 fi
60159
60160     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60162     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60163       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60164 do :
60165   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60167 eval as_val=\$$as_ac_var
60168    if test "x$as_val" = x""yes; then :
60169   cat >>confdefs.h <<_ACEOF
60170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60171 _ACEOF
60172
60173 fi
60174 done
60175
60176     fi
60177   fi
60178
60179
60180
60181
60182
60183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60184 $as_echo_n "checking for float round functions... " >&6; }
60185   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60186   $as_echo_n "(cached) " >&6
60187 else
60188
60189
60190     ac_ext=cpp
60191 ac_cpp='$CXXCPP $CPPFLAGS'
60192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60195
60196     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60197 /* end confdefs.h.  */
60198 #include <math.h>
60199 int
60200 main ()
60201 {
60202 ceilf (0); floorf (0);
60203   ;
60204   return 0;
60205 }
60206 _ACEOF
60207 if ac_fn_cxx_try_compile "$LINENO"; then :
60208   glibcxx_cv_func_float_round_use=yes
60209 else
60210   glibcxx_cv_func_float_round_use=no
60211 fi
60212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60213     ac_ext=c
60214 ac_cpp='$CPP $CPPFLAGS'
60215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60218
60219 fi
60220
60221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60222 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60223   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60224     for ac_func in ceilf floorf
60225 do :
60226   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60228 eval as_val=\$$as_ac_var
60229    if test "x$as_val" = x""yes; then :
60230   cat >>confdefs.h <<_ACEOF
60231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60232 _ACEOF
60233
60234 fi
60235 done
60236
60237   else
60238     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60239 $as_echo_n "checking for _float round functions... " >&6; }
60240     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60241   $as_echo_n "(cached) " >&6
60242 else
60243
60244
60245       ac_ext=cpp
60246 ac_cpp='$CXXCPP $CPPFLAGS'
60247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60250
60251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60252 /* end confdefs.h.  */
60253 #include <math.h>
60254 int
60255 main ()
60256 {
60257 _ceilf (0); _floorf (0);
60258   ;
60259   return 0;
60260 }
60261 _ACEOF
60262 if ac_fn_cxx_try_compile "$LINENO"; then :
60263   glibcxx_cv_func__float_round_use=yes
60264 else
60265   glibcxx_cv_func__float_round_use=no
60266 fi
60267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60268       ac_ext=c
60269 ac_cpp='$CPP $CPPFLAGS'
60270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60273
60274 fi
60275
60276     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60278     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60279       for ac_func in _ceilf _floorf
60280 do :
60281   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60283 eval as_val=\$$as_ac_var
60284    if test "x$as_val" = x""yes; then :
60285   cat >>confdefs.h <<_ACEOF
60286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60287 _ACEOF
60288
60289 fi
60290 done
60291
60292     fi
60293   fi
60294
60295
60296
60297
60298
60299
60300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60301 $as_echo_n "checking for expf declaration... " >&6; }
60302   if test x${glibcxx_cv_func_expf_use+set} != xset; then
60303     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60304   $as_echo_n "(cached) " >&6
60305 else
60306
60307
60308       ac_ext=cpp
60309 ac_cpp='$CXXCPP $CPPFLAGS'
60310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60313
60314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60315 /* end confdefs.h.  */
60316 #include <math.h>
60317                       #ifdef HAVE_IEEEFP_H
60318                       #include <ieeefp.h>
60319                       #endif
60320
60321 int
60322 main ()
60323 {
60324  expf(0);
60325   ;
60326   return 0;
60327 }
60328 _ACEOF
60329 if ac_fn_cxx_try_compile "$LINENO"; then :
60330   glibcxx_cv_func_expf_use=yes
60331 else
60332   glibcxx_cv_func_expf_use=no
60333 fi
60334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60335       ac_ext=c
60336 ac_cpp='$CPP $CPPFLAGS'
60337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60340
60341
60342 fi
60343
60344   fi
60345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60346 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60347
60348   if test x$glibcxx_cv_func_expf_use = x"yes"; then
60349     for ac_func in expf
60350 do :
60351   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60352 if test "x$ac_cv_func_expf" = x""yes; then :
60353   cat >>confdefs.h <<_ACEOF
60354 #define HAVE_EXPF 1
60355 _ACEOF
60356
60357 fi
60358 done
60359
60360   else
60361
60362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60363 $as_echo_n "checking for _expf declaration... " >&6; }
60364   if test x${glibcxx_cv_func__expf_use+set} != xset; then
60365     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60366   $as_echo_n "(cached) " >&6
60367 else
60368
60369
60370       ac_ext=cpp
60371 ac_cpp='$CXXCPP $CPPFLAGS'
60372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60375
60376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60377 /* end confdefs.h.  */
60378 #include <math.h>
60379                       #ifdef HAVE_IEEEFP_H
60380                       #include <ieeefp.h>
60381                       #endif
60382
60383 int
60384 main ()
60385 {
60386  _expf(0);
60387   ;
60388   return 0;
60389 }
60390 _ACEOF
60391 if ac_fn_cxx_try_compile "$LINENO"; then :
60392   glibcxx_cv_func__expf_use=yes
60393 else
60394   glibcxx_cv_func__expf_use=no
60395 fi
60396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60397       ac_ext=c
60398 ac_cpp='$CPP $CPPFLAGS'
60399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60402
60403
60404 fi
60405
60406   fi
60407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60408 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60409
60410     if test x$glibcxx_cv_func__expf_use = x"yes"; then
60411       for ac_func in _expf
60412 do :
60413   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60414 if test "x$ac_cv_func__expf" = x""yes; then :
60415   cat >>confdefs.h <<_ACEOF
60416 #define HAVE__EXPF 1
60417 _ACEOF
60418
60419 fi
60420 done
60421
60422     fi
60423   fi
60424
60425
60426
60427
60428
60429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60430 $as_echo_n "checking for isnanf declaration... " >&6; }
60431   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60432     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60433   $as_echo_n "(cached) " >&6
60434 else
60435
60436
60437       ac_ext=cpp
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60442
60443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60444 /* end confdefs.h.  */
60445 #include <math.h>
60446                       #ifdef HAVE_IEEEFP_H
60447                       #include <ieeefp.h>
60448                       #endif
60449
60450 int
60451 main ()
60452 {
60453  isnanf(0);
60454   ;
60455   return 0;
60456 }
60457 _ACEOF
60458 if ac_fn_cxx_try_compile "$LINENO"; then :
60459   glibcxx_cv_func_isnanf_use=yes
60460 else
60461   glibcxx_cv_func_isnanf_use=no
60462 fi
60463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60464       ac_ext=c
60465 ac_cpp='$CPP $CPPFLAGS'
60466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60469
60470
60471 fi
60472
60473   fi
60474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60475 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60476
60477   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60478     for ac_func in isnanf
60479 do :
60480   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60481 if test "x$ac_cv_func_isnanf" = x""yes; then :
60482   cat >>confdefs.h <<_ACEOF
60483 #define HAVE_ISNANF 1
60484 _ACEOF
60485
60486 fi
60487 done
60488
60489   else
60490
60491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60492 $as_echo_n "checking for _isnanf declaration... " >&6; }
60493   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60494     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60495   $as_echo_n "(cached) " >&6
60496 else
60497
60498
60499       ac_ext=cpp
60500 ac_cpp='$CXXCPP $CPPFLAGS'
60501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60504
60505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60506 /* end confdefs.h.  */
60507 #include <math.h>
60508                       #ifdef HAVE_IEEEFP_H
60509                       #include <ieeefp.h>
60510                       #endif
60511
60512 int
60513 main ()
60514 {
60515  _isnanf(0);
60516   ;
60517   return 0;
60518 }
60519 _ACEOF
60520 if ac_fn_cxx_try_compile "$LINENO"; then :
60521   glibcxx_cv_func__isnanf_use=yes
60522 else
60523   glibcxx_cv_func__isnanf_use=no
60524 fi
60525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60526       ac_ext=c
60527 ac_cpp='$CPP $CPPFLAGS'
60528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60531
60532
60533 fi
60534
60535   fi
60536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60537 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60538
60539     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60540       for ac_func in _isnanf
60541 do :
60542   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60543 if test "x$ac_cv_func__isnanf" = x""yes; then :
60544   cat >>confdefs.h <<_ACEOF
60545 #define HAVE__ISNANF 1
60546 _ACEOF
60547
60548 fi
60549 done
60550
60551     fi
60552   fi
60553
60554
60555
60556
60557
60558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60559 $as_echo_n "checking for isinff declaration... " >&6; }
60560   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60561     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60562   $as_echo_n "(cached) " >&6
60563 else
60564
60565
60566       ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60571
60572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h.  */
60574 #include <math.h>
60575                       #ifdef HAVE_IEEEFP_H
60576                       #include <ieeefp.h>
60577                       #endif
60578
60579 int
60580 main ()
60581 {
60582  isinff(0);
60583   ;
60584   return 0;
60585 }
60586 _ACEOF
60587 if ac_fn_cxx_try_compile "$LINENO"; then :
60588   glibcxx_cv_func_isinff_use=yes
60589 else
60590   glibcxx_cv_func_isinff_use=no
60591 fi
60592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60593       ac_ext=c
60594 ac_cpp='$CPP $CPPFLAGS'
60595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60598
60599
60600 fi
60601
60602   fi
60603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60604 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60605
60606   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60607     for ac_func in isinff
60608 do :
60609   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60610 if test "x$ac_cv_func_isinff" = x""yes; then :
60611   cat >>confdefs.h <<_ACEOF
60612 #define HAVE_ISINFF 1
60613 _ACEOF
60614
60615 fi
60616 done
60617
60618   else
60619
60620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60621 $as_echo_n "checking for _isinff declaration... " >&6; }
60622   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60623     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60624   $as_echo_n "(cached) " >&6
60625 else
60626
60627
60628       ac_ext=cpp
60629 ac_cpp='$CXXCPP $CPPFLAGS'
60630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60633
60634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60635 /* end confdefs.h.  */
60636 #include <math.h>
60637                       #ifdef HAVE_IEEEFP_H
60638                       #include <ieeefp.h>
60639                       #endif
60640
60641 int
60642 main ()
60643 {
60644  _isinff(0);
60645   ;
60646   return 0;
60647 }
60648 _ACEOF
60649 if ac_fn_cxx_try_compile "$LINENO"; then :
60650   glibcxx_cv_func__isinff_use=yes
60651 else
60652   glibcxx_cv_func__isinff_use=no
60653 fi
60654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60655       ac_ext=c
60656 ac_cpp='$CPP $CPPFLAGS'
60657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60660
60661
60662 fi
60663
60664   fi
60665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60666 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60667
60668     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60669       for ac_func in _isinff
60670 do :
60671   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60672 if test "x$ac_cv_func__isinff" = x""yes; then :
60673   cat >>confdefs.h <<_ACEOF
60674 #define HAVE__ISINFF 1
60675 _ACEOF
60676
60677 fi
60678 done
60679
60680     fi
60681   fi
60682
60683
60684
60685
60686
60687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60688 $as_echo_n "checking for atan2f declaration... " >&6; }
60689   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60690     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60691   $as_echo_n "(cached) " >&6
60692 else
60693
60694
60695       ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60700
60701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h.  */
60703 #include <math.h>
60704 int
60705 main ()
60706 {
60707  atan2f(0, 0);
60708   ;
60709   return 0;
60710 }
60711 _ACEOF
60712 if ac_fn_cxx_try_compile "$LINENO"; then :
60713   glibcxx_cv_func_atan2f_use=yes
60714 else
60715   glibcxx_cv_func_atan2f_use=no
60716 fi
60717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60718       ac_ext=c
60719 ac_cpp='$CPP $CPPFLAGS'
60720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60723
60724
60725 fi
60726
60727   fi
60728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60729 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60730
60731   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60732     for ac_func in atan2f
60733 do :
60734   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60735 if test "x$ac_cv_func_atan2f" = x""yes; then :
60736   cat >>confdefs.h <<_ACEOF
60737 #define HAVE_ATAN2F 1
60738 _ACEOF
60739
60740 fi
60741 done
60742
60743   else
60744
60745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60746 $as_echo_n "checking for _atan2f declaration... " >&6; }
60747   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60748     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60749   $as_echo_n "(cached) " >&6
60750 else
60751
60752
60753       ac_ext=cpp
60754 ac_cpp='$CXXCPP $CPPFLAGS'
60755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60758
60759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60760 /* end confdefs.h.  */
60761 #include <math.h>
60762 int
60763 main ()
60764 {
60765  _atan2f(0, 0);
60766   ;
60767   return 0;
60768 }
60769 _ACEOF
60770 if ac_fn_cxx_try_compile "$LINENO"; then :
60771   glibcxx_cv_func__atan2f_use=yes
60772 else
60773   glibcxx_cv_func__atan2f_use=no
60774 fi
60775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60776       ac_ext=c
60777 ac_cpp='$CPP $CPPFLAGS'
60778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60781
60782
60783 fi
60784
60785   fi
60786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60787 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60788
60789     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60790       for ac_func in _atan2f
60791 do :
60792   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60793 if test "x$ac_cv_func__atan2f" = x""yes; then :
60794   cat >>confdefs.h <<_ACEOF
60795 #define HAVE__ATAN2F 1
60796 _ACEOF
60797
60798 fi
60799 done
60800
60801     fi
60802   fi
60803
60804
60805
60806
60807
60808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60809 $as_echo_n "checking for fabsf declaration... " >&6; }
60810   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60811     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60812   $as_echo_n "(cached) " >&6
60813 else
60814
60815
60816       ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60821
60822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h.  */
60824 #include <math.h>
60825                       #ifdef HAVE_IEEEFP_H
60826                       #include <ieeefp.h>
60827                       #endif
60828
60829 int
60830 main ()
60831 {
60832  fabsf(0);
60833   ;
60834   return 0;
60835 }
60836 _ACEOF
60837 if ac_fn_cxx_try_compile "$LINENO"; then :
60838   glibcxx_cv_func_fabsf_use=yes
60839 else
60840   glibcxx_cv_func_fabsf_use=no
60841 fi
60842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60843       ac_ext=c
60844 ac_cpp='$CPP $CPPFLAGS'
60845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60848
60849
60850 fi
60851
60852   fi
60853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60854 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60855
60856   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60857     for ac_func in fabsf
60858 do :
60859   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60860 if test "x$ac_cv_func_fabsf" = x""yes; then :
60861   cat >>confdefs.h <<_ACEOF
60862 #define HAVE_FABSF 1
60863 _ACEOF
60864
60865 fi
60866 done
60867
60868   else
60869
60870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60871 $as_echo_n "checking for _fabsf declaration... " >&6; }
60872   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60873     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60874   $as_echo_n "(cached) " >&6
60875 else
60876
60877
60878       ac_ext=cpp
60879 ac_cpp='$CXXCPP $CPPFLAGS'
60880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60883
60884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60885 /* end confdefs.h.  */
60886 #include <math.h>
60887                       #ifdef HAVE_IEEEFP_H
60888                       #include <ieeefp.h>
60889                       #endif
60890
60891 int
60892 main ()
60893 {
60894  _fabsf(0);
60895   ;
60896   return 0;
60897 }
60898 _ACEOF
60899 if ac_fn_cxx_try_compile "$LINENO"; then :
60900   glibcxx_cv_func__fabsf_use=yes
60901 else
60902   glibcxx_cv_func__fabsf_use=no
60903 fi
60904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60905       ac_ext=c
60906 ac_cpp='$CPP $CPPFLAGS'
60907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60910
60911
60912 fi
60913
60914   fi
60915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60916 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60917
60918     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60919       for ac_func in _fabsf
60920 do :
60921   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60922 if test "x$ac_cv_func__fabsf" = x""yes; then :
60923   cat >>confdefs.h <<_ACEOF
60924 #define HAVE__FABSF 1
60925 _ACEOF
60926
60927 fi
60928 done
60929
60930     fi
60931   fi
60932
60933
60934
60935
60936
60937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60938 $as_echo_n "checking for fmodf declaration... " >&6; }
60939   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60940     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60941   $as_echo_n "(cached) " >&6
60942 else
60943
60944
60945       ac_ext=cpp
60946 ac_cpp='$CXXCPP $CPPFLAGS'
60947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60950
60951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60952 /* end confdefs.h.  */
60953 #include <math.h>
60954 int
60955 main ()
60956 {
60957  fmodf(0, 0);
60958   ;
60959   return 0;
60960 }
60961 _ACEOF
60962 if ac_fn_cxx_try_compile "$LINENO"; then :
60963   glibcxx_cv_func_fmodf_use=yes
60964 else
60965   glibcxx_cv_func_fmodf_use=no
60966 fi
60967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60968       ac_ext=c
60969 ac_cpp='$CPP $CPPFLAGS'
60970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60973
60974
60975 fi
60976
60977   fi
60978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60979 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60980
60981   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60982     for ac_func in fmodf
60983 do :
60984   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60985 if test "x$ac_cv_func_fmodf" = x""yes; then :
60986   cat >>confdefs.h <<_ACEOF
60987 #define HAVE_FMODF 1
60988 _ACEOF
60989
60990 fi
60991 done
60992
60993   else
60994
60995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60996 $as_echo_n "checking for _fmodf declaration... " >&6; }
60997   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60998     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60999   $as_echo_n "(cached) " >&6
61000 else
61001
61002
61003       ac_ext=cpp
61004 ac_cpp='$CXXCPP $CPPFLAGS'
61005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61008
61009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61010 /* end confdefs.h.  */
61011 #include <math.h>
61012 int
61013 main ()
61014 {
61015  _fmodf(0, 0);
61016   ;
61017   return 0;
61018 }
61019 _ACEOF
61020 if ac_fn_cxx_try_compile "$LINENO"; then :
61021   glibcxx_cv_func__fmodf_use=yes
61022 else
61023   glibcxx_cv_func__fmodf_use=no
61024 fi
61025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61026       ac_ext=c
61027 ac_cpp='$CPP $CPPFLAGS'
61028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61031
61032
61033 fi
61034
61035   fi
61036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61037 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61038
61039     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61040       for ac_func in _fmodf
61041 do :
61042   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61043 if test "x$ac_cv_func__fmodf" = x""yes; then :
61044   cat >>confdefs.h <<_ACEOF
61045 #define HAVE__FMODF 1
61046 _ACEOF
61047
61048 fi
61049 done
61050
61051     fi
61052   fi
61053
61054
61055
61056
61057
61058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61059 $as_echo_n "checking for frexpf declaration... " >&6; }
61060   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61061     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61062   $as_echo_n "(cached) " >&6
61063 else
61064
61065
61066       ac_ext=cpp
61067 ac_cpp='$CXXCPP $CPPFLAGS'
61068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61071
61072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61073 /* end confdefs.h.  */
61074 #include <math.h>
61075 int
61076 main ()
61077 {
61078  frexpf(0, 0);
61079   ;
61080   return 0;
61081 }
61082 _ACEOF
61083 if ac_fn_cxx_try_compile "$LINENO"; then :
61084   glibcxx_cv_func_frexpf_use=yes
61085 else
61086   glibcxx_cv_func_frexpf_use=no
61087 fi
61088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61089       ac_ext=c
61090 ac_cpp='$CPP $CPPFLAGS'
61091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61094
61095
61096 fi
61097
61098   fi
61099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61100 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61101
61102   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61103     for ac_func in frexpf
61104 do :
61105   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61106 if test "x$ac_cv_func_frexpf" = x""yes; then :
61107   cat >>confdefs.h <<_ACEOF
61108 #define HAVE_FREXPF 1
61109 _ACEOF
61110
61111 fi
61112 done
61113
61114   else
61115
61116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61117 $as_echo_n "checking for _frexpf declaration... " >&6; }
61118   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61119     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61120   $as_echo_n "(cached) " >&6
61121 else
61122
61123
61124       ac_ext=cpp
61125 ac_cpp='$CXXCPP $CPPFLAGS'
61126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61129
61130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61131 /* end confdefs.h.  */
61132 #include <math.h>
61133 int
61134 main ()
61135 {
61136  _frexpf(0, 0);
61137   ;
61138   return 0;
61139 }
61140 _ACEOF
61141 if ac_fn_cxx_try_compile "$LINENO"; then :
61142   glibcxx_cv_func__frexpf_use=yes
61143 else
61144   glibcxx_cv_func__frexpf_use=no
61145 fi
61146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61147       ac_ext=c
61148 ac_cpp='$CPP $CPPFLAGS'
61149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61152
61153
61154 fi
61155
61156   fi
61157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61158 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61159
61160     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61161       for ac_func in _frexpf
61162 do :
61163   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61164 if test "x$ac_cv_func__frexpf" = x""yes; then :
61165   cat >>confdefs.h <<_ACEOF
61166 #define HAVE__FREXPF 1
61167 _ACEOF
61168
61169 fi
61170 done
61171
61172     fi
61173   fi
61174
61175
61176
61177
61178
61179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61180 $as_echo_n "checking for hypotf declaration... " >&6; }
61181   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61182     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61183   $as_echo_n "(cached) " >&6
61184 else
61185
61186
61187       ac_ext=cpp
61188 ac_cpp='$CXXCPP $CPPFLAGS'
61189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61192
61193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61194 /* end confdefs.h.  */
61195 #include <math.h>
61196 int
61197 main ()
61198 {
61199  hypotf(0, 0);
61200   ;
61201   return 0;
61202 }
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205   glibcxx_cv_func_hypotf_use=yes
61206 else
61207   glibcxx_cv_func_hypotf_use=no
61208 fi
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210       ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61215
61216
61217 fi
61218
61219   fi
61220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61221 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61222
61223   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61224     for ac_func in hypotf
61225 do :
61226   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61227 if test "x$ac_cv_func_hypotf" = x""yes; then :
61228   cat >>confdefs.h <<_ACEOF
61229 #define HAVE_HYPOTF 1
61230 _ACEOF
61231
61232 fi
61233 done
61234
61235   else
61236
61237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61238 $as_echo_n "checking for _hypotf declaration... " >&6; }
61239   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61240     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61241   $as_echo_n "(cached) " >&6
61242 else
61243
61244
61245       ac_ext=cpp
61246 ac_cpp='$CXXCPP $CPPFLAGS'
61247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61250
61251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61252 /* end confdefs.h.  */
61253 #include <math.h>
61254 int
61255 main ()
61256 {
61257  _hypotf(0, 0);
61258   ;
61259   return 0;
61260 }
61261 _ACEOF
61262 if ac_fn_cxx_try_compile "$LINENO"; then :
61263   glibcxx_cv_func__hypotf_use=yes
61264 else
61265   glibcxx_cv_func__hypotf_use=no
61266 fi
61267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61268       ac_ext=c
61269 ac_cpp='$CPP $CPPFLAGS'
61270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61273
61274
61275 fi
61276
61277   fi
61278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61279 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61280
61281     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61282       for ac_func in _hypotf
61283 do :
61284   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61285 if test "x$ac_cv_func__hypotf" = x""yes; then :
61286   cat >>confdefs.h <<_ACEOF
61287 #define HAVE__HYPOTF 1
61288 _ACEOF
61289
61290 fi
61291 done
61292
61293     fi
61294   fi
61295
61296
61297
61298
61299
61300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61301 $as_echo_n "checking for ldexpf declaration... " >&6; }
61302   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61303     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61304   $as_echo_n "(cached) " >&6
61305 else
61306
61307
61308       ac_ext=cpp
61309 ac_cpp='$CXXCPP $CPPFLAGS'
61310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61313
61314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h.  */
61316 #include <math.h>
61317 int
61318 main ()
61319 {
61320  ldexpf(0, 0);
61321   ;
61322   return 0;
61323 }
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326   glibcxx_cv_func_ldexpf_use=yes
61327 else
61328   glibcxx_cv_func_ldexpf_use=no
61329 fi
61330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61331       ac_ext=c
61332 ac_cpp='$CPP $CPPFLAGS'
61333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61336
61337
61338 fi
61339
61340   fi
61341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61342 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61343
61344   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61345     for ac_func in ldexpf
61346 do :
61347   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61348 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61349   cat >>confdefs.h <<_ACEOF
61350 #define HAVE_LDEXPF 1
61351 _ACEOF
61352
61353 fi
61354 done
61355
61356   else
61357
61358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61359 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61360   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61361     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61362   $as_echo_n "(cached) " >&6
61363 else
61364
61365
61366       ac_ext=cpp
61367 ac_cpp='$CXXCPP $CPPFLAGS'
61368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61371
61372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61373 /* end confdefs.h.  */
61374 #include <math.h>
61375 int
61376 main ()
61377 {
61378  _ldexpf(0, 0);
61379   ;
61380   return 0;
61381 }
61382 _ACEOF
61383 if ac_fn_cxx_try_compile "$LINENO"; then :
61384   glibcxx_cv_func__ldexpf_use=yes
61385 else
61386   glibcxx_cv_func__ldexpf_use=no
61387 fi
61388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61389       ac_ext=c
61390 ac_cpp='$CPP $CPPFLAGS'
61391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61394
61395
61396 fi
61397
61398   fi
61399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61400 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61401
61402     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61403       for ac_func in _ldexpf
61404 do :
61405   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61406 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61407   cat >>confdefs.h <<_ACEOF
61408 #define HAVE__LDEXPF 1
61409 _ACEOF
61410
61411 fi
61412 done
61413
61414     fi
61415   fi
61416
61417
61418
61419
61420
61421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61422 $as_echo_n "checking for logf declaration... " >&6; }
61423   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61424     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61425   $as_echo_n "(cached) " >&6
61426 else
61427
61428
61429       ac_ext=cpp
61430 ac_cpp='$CXXCPP $CPPFLAGS'
61431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61434
61435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61436 /* end confdefs.h.  */
61437 #include <math.h>
61438                       #ifdef HAVE_IEEEFP_H
61439                       #include <ieeefp.h>
61440                       #endif
61441
61442 int
61443 main ()
61444 {
61445  logf(0);
61446   ;
61447   return 0;
61448 }
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451   glibcxx_cv_func_logf_use=yes
61452 else
61453   glibcxx_cv_func_logf_use=no
61454 fi
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456       ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61461
61462
61463 fi
61464
61465   fi
61466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61467 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61468
61469   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61470     for ac_func in logf
61471 do :
61472   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61473 if test "x$ac_cv_func_logf" = x""yes; then :
61474   cat >>confdefs.h <<_ACEOF
61475 #define HAVE_LOGF 1
61476 _ACEOF
61477
61478 fi
61479 done
61480
61481   else
61482
61483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61484 $as_echo_n "checking for _logf declaration... " >&6; }
61485   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61486     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61487   $as_echo_n "(cached) " >&6
61488 else
61489
61490
61491       ac_ext=cpp
61492 ac_cpp='$CXXCPP $CPPFLAGS'
61493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61496
61497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61498 /* end confdefs.h.  */
61499 #include <math.h>
61500                       #ifdef HAVE_IEEEFP_H
61501                       #include <ieeefp.h>
61502                       #endif
61503
61504 int
61505 main ()
61506 {
61507  _logf(0);
61508   ;
61509   return 0;
61510 }
61511 _ACEOF
61512 if ac_fn_cxx_try_compile "$LINENO"; then :
61513   glibcxx_cv_func__logf_use=yes
61514 else
61515   glibcxx_cv_func__logf_use=no
61516 fi
61517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61518       ac_ext=c
61519 ac_cpp='$CPP $CPPFLAGS'
61520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61523
61524
61525 fi
61526
61527   fi
61528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61529 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61530
61531     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61532       for ac_func in _logf
61533 do :
61534   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61535 if test "x$ac_cv_func__logf" = x""yes; then :
61536   cat >>confdefs.h <<_ACEOF
61537 #define HAVE__LOGF 1
61538 _ACEOF
61539
61540 fi
61541 done
61542
61543     fi
61544   fi
61545
61546
61547
61548
61549
61550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61551 $as_echo_n "checking for log10f declaration... " >&6; }
61552   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61553     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61554   $as_echo_n "(cached) " >&6
61555 else
61556
61557
61558       ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61563
61564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h.  */
61566 #include <math.h>
61567                       #ifdef HAVE_IEEEFP_H
61568                       #include <ieeefp.h>
61569                       #endif
61570
61571 int
61572 main ()
61573 {
61574  log10f(0);
61575   ;
61576   return 0;
61577 }
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580   glibcxx_cv_func_log10f_use=yes
61581 else
61582   glibcxx_cv_func_log10f_use=no
61583 fi
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585       ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61590
61591
61592 fi
61593
61594   fi
61595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61596 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61597
61598   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61599     for ac_func in log10f
61600 do :
61601   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61602 if test "x$ac_cv_func_log10f" = x""yes; then :
61603   cat >>confdefs.h <<_ACEOF
61604 #define HAVE_LOG10F 1
61605 _ACEOF
61606
61607 fi
61608 done
61609
61610   else
61611
61612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61613 $as_echo_n "checking for _log10f declaration... " >&6; }
61614   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61615     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61616   $as_echo_n "(cached) " >&6
61617 else
61618
61619
61620       ac_ext=cpp
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61625
61626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61627 /* end confdefs.h.  */
61628 #include <math.h>
61629                       #ifdef HAVE_IEEEFP_H
61630                       #include <ieeefp.h>
61631                       #endif
61632
61633 int
61634 main ()
61635 {
61636  _log10f(0);
61637   ;
61638   return 0;
61639 }
61640 _ACEOF
61641 if ac_fn_cxx_try_compile "$LINENO"; then :
61642   glibcxx_cv_func__log10f_use=yes
61643 else
61644   glibcxx_cv_func__log10f_use=no
61645 fi
61646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61647       ac_ext=c
61648 ac_cpp='$CPP $CPPFLAGS'
61649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61652
61653
61654 fi
61655
61656   fi
61657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61658 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61659
61660     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61661       for ac_func in _log10f
61662 do :
61663   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61664 if test "x$ac_cv_func__log10f" = x""yes; then :
61665   cat >>confdefs.h <<_ACEOF
61666 #define HAVE__LOG10F 1
61667 _ACEOF
61668
61669 fi
61670 done
61671
61672     fi
61673   fi
61674
61675
61676
61677
61678
61679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61680 $as_echo_n "checking for modff declaration... " >&6; }
61681   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61682     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61683   $as_echo_n "(cached) " >&6
61684 else
61685
61686
61687       ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61692
61693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h.  */
61695 #include <math.h>
61696 int
61697 main ()
61698 {
61699  modff(0, 0);
61700   ;
61701   return 0;
61702 }
61703 _ACEOF
61704 if ac_fn_cxx_try_compile "$LINENO"; then :
61705   glibcxx_cv_func_modff_use=yes
61706 else
61707   glibcxx_cv_func_modff_use=no
61708 fi
61709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61710       ac_ext=c
61711 ac_cpp='$CPP $CPPFLAGS'
61712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61715
61716
61717 fi
61718
61719   fi
61720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61721 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61722
61723   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61724     for ac_func in modff
61725 do :
61726   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61727 if test "x$ac_cv_func_modff" = x""yes; then :
61728   cat >>confdefs.h <<_ACEOF
61729 #define HAVE_MODFF 1
61730 _ACEOF
61731
61732 fi
61733 done
61734
61735   else
61736
61737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61738 $as_echo_n "checking for _modff declaration... " >&6; }
61739   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61740     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61741   $as_echo_n "(cached) " >&6
61742 else
61743
61744
61745       ac_ext=cpp
61746 ac_cpp='$CXXCPP $CPPFLAGS'
61747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61750
61751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61752 /* end confdefs.h.  */
61753 #include <math.h>
61754 int
61755 main ()
61756 {
61757  _modff(0, 0);
61758   ;
61759   return 0;
61760 }
61761 _ACEOF
61762 if ac_fn_cxx_try_compile "$LINENO"; then :
61763   glibcxx_cv_func__modff_use=yes
61764 else
61765   glibcxx_cv_func__modff_use=no
61766 fi
61767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61768       ac_ext=c
61769 ac_cpp='$CPP $CPPFLAGS'
61770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61773
61774
61775 fi
61776
61777   fi
61778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61779 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61780
61781     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61782       for ac_func in _modff
61783 do :
61784   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61785 if test "x$ac_cv_func__modff" = x""yes; then :
61786   cat >>confdefs.h <<_ACEOF
61787 #define HAVE__MODFF 1
61788 _ACEOF
61789
61790 fi
61791 done
61792
61793     fi
61794   fi
61795
61796
61797
61798
61799
61800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61801 $as_echo_n "checking for modf declaration... " >&6; }
61802   if test x${glibcxx_cv_func_modf_use+set} != xset; then
61803     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61804   $as_echo_n "(cached) " >&6
61805 else
61806
61807
61808       ac_ext=cpp
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61813
61814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h.  */
61816 #include <math.h>
61817 int
61818 main ()
61819 {
61820  modf(0, 0);
61821   ;
61822   return 0;
61823 }
61824 _ACEOF
61825 if ac_fn_cxx_try_compile "$LINENO"; then :
61826   glibcxx_cv_func_modf_use=yes
61827 else
61828   glibcxx_cv_func_modf_use=no
61829 fi
61830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61831       ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61836
61837
61838 fi
61839
61840   fi
61841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61842 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61843
61844   if test x$glibcxx_cv_func_modf_use = x"yes"; then
61845     for ac_func in modf
61846 do :
61847   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61848 if test "x$ac_cv_func_modf" = x""yes; then :
61849   cat >>confdefs.h <<_ACEOF
61850 #define HAVE_MODF 1
61851 _ACEOF
61852
61853 fi
61854 done
61855
61856   else
61857
61858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61859 $as_echo_n "checking for _modf declaration... " >&6; }
61860   if test x${glibcxx_cv_func__modf_use+set} != xset; then
61861     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61862   $as_echo_n "(cached) " >&6
61863 else
61864
61865
61866       ac_ext=cpp
61867 ac_cpp='$CXXCPP $CPPFLAGS'
61868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61871
61872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61873 /* end confdefs.h.  */
61874 #include <math.h>
61875 int
61876 main ()
61877 {
61878  _modf(0, 0);
61879   ;
61880   return 0;
61881 }
61882 _ACEOF
61883 if ac_fn_cxx_try_compile "$LINENO"; then :
61884   glibcxx_cv_func__modf_use=yes
61885 else
61886   glibcxx_cv_func__modf_use=no
61887 fi
61888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61889       ac_ext=c
61890 ac_cpp='$CPP $CPPFLAGS'
61891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61894
61895
61896 fi
61897
61898   fi
61899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61900 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61901
61902     if test x$glibcxx_cv_func__modf_use = x"yes"; then
61903       for ac_func in _modf
61904 do :
61905   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61906 if test "x$ac_cv_func__modf" = x""yes; then :
61907   cat >>confdefs.h <<_ACEOF
61908 #define HAVE__MODF 1
61909 _ACEOF
61910
61911 fi
61912 done
61913
61914     fi
61915   fi
61916
61917
61918
61919
61920
61921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61922 $as_echo_n "checking for powf declaration... " >&6; }
61923   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61924     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61925   $as_echo_n "(cached) " >&6
61926 else
61927
61928
61929       ac_ext=cpp
61930 ac_cpp='$CXXCPP $CPPFLAGS'
61931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61934
61935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61936 /* end confdefs.h.  */
61937 #include <math.h>
61938 int
61939 main ()
61940 {
61941  powf(0, 0);
61942   ;
61943   return 0;
61944 }
61945 _ACEOF
61946 if ac_fn_cxx_try_compile "$LINENO"; then :
61947   glibcxx_cv_func_powf_use=yes
61948 else
61949   glibcxx_cv_func_powf_use=no
61950 fi
61951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61952       ac_ext=c
61953 ac_cpp='$CPP $CPPFLAGS'
61954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61957
61958
61959 fi
61960
61961   fi
61962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61963 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61964
61965   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61966     for ac_func in powf
61967 do :
61968   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61969 if test "x$ac_cv_func_powf" = x""yes; then :
61970   cat >>confdefs.h <<_ACEOF
61971 #define HAVE_POWF 1
61972 _ACEOF
61973
61974 fi
61975 done
61976
61977   else
61978
61979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61980 $as_echo_n "checking for _powf declaration... " >&6; }
61981   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61982     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61983   $as_echo_n "(cached) " >&6
61984 else
61985
61986
61987       ac_ext=cpp
61988 ac_cpp='$CXXCPP $CPPFLAGS'
61989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61992
61993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61994 /* end confdefs.h.  */
61995 #include <math.h>
61996 int
61997 main ()
61998 {
61999  _powf(0, 0);
62000   ;
62001   return 0;
62002 }
62003 _ACEOF
62004 if ac_fn_cxx_try_compile "$LINENO"; then :
62005   glibcxx_cv_func__powf_use=yes
62006 else
62007   glibcxx_cv_func__powf_use=no
62008 fi
62009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62010       ac_ext=c
62011 ac_cpp='$CPP $CPPFLAGS'
62012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62015
62016
62017 fi
62018
62019   fi
62020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62021 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62022
62023     if test x$glibcxx_cv_func__powf_use = x"yes"; then
62024       for ac_func in _powf
62025 do :
62026   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62027 if test "x$ac_cv_func__powf" = x""yes; then :
62028   cat >>confdefs.h <<_ACEOF
62029 #define HAVE__POWF 1
62030 _ACEOF
62031
62032 fi
62033 done
62034
62035     fi
62036   fi
62037
62038
62039
62040
62041
62042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62043 $as_echo_n "checking for sqrtf declaration... " >&6; }
62044   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62045     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62046   $as_echo_n "(cached) " >&6
62047 else
62048
62049
62050       ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62055
62056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h.  */
62058 #include <math.h>
62059                       #ifdef HAVE_IEEEFP_H
62060                       #include <ieeefp.h>
62061                       #endif
62062
62063 int
62064 main ()
62065 {
62066  sqrtf(0);
62067   ;
62068   return 0;
62069 }
62070 _ACEOF
62071 if ac_fn_cxx_try_compile "$LINENO"; then :
62072   glibcxx_cv_func_sqrtf_use=yes
62073 else
62074   glibcxx_cv_func_sqrtf_use=no
62075 fi
62076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62077       ac_ext=c
62078 ac_cpp='$CPP $CPPFLAGS'
62079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62082
62083
62084 fi
62085
62086   fi
62087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62088 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62089
62090   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62091     for ac_func in sqrtf
62092 do :
62093   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62094 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62095   cat >>confdefs.h <<_ACEOF
62096 #define HAVE_SQRTF 1
62097 _ACEOF
62098
62099 fi
62100 done
62101
62102   else
62103
62104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62105 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62106   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62107     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62108   $as_echo_n "(cached) " >&6
62109 else
62110
62111
62112       ac_ext=cpp
62113 ac_cpp='$CXXCPP $CPPFLAGS'
62114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62117
62118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62119 /* end confdefs.h.  */
62120 #include <math.h>
62121                       #ifdef HAVE_IEEEFP_H
62122                       #include <ieeefp.h>
62123                       #endif
62124
62125 int
62126 main ()
62127 {
62128  _sqrtf(0);
62129   ;
62130   return 0;
62131 }
62132 _ACEOF
62133 if ac_fn_cxx_try_compile "$LINENO"; then :
62134   glibcxx_cv_func__sqrtf_use=yes
62135 else
62136   glibcxx_cv_func__sqrtf_use=no
62137 fi
62138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62139       ac_ext=c
62140 ac_cpp='$CPP $CPPFLAGS'
62141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62144
62145
62146 fi
62147
62148   fi
62149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62150 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62151
62152     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62153       for ac_func in _sqrtf
62154 do :
62155   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62156 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62157   cat >>confdefs.h <<_ACEOF
62158 #define HAVE__SQRTF 1
62159 _ACEOF
62160
62161 fi
62162 done
62163
62164     fi
62165   fi
62166
62167
62168
62169
62170
62171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62172 $as_echo_n "checking for sincosf declaration... " >&6; }
62173   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62174     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62175   $as_echo_n "(cached) " >&6
62176 else
62177
62178
62179       ac_ext=cpp
62180 ac_cpp='$CXXCPP $CPPFLAGS'
62181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62184
62185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62186 /* end confdefs.h.  */
62187 #include <math.h>
62188 int
62189 main ()
62190 {
62191  sincosf(0, 0, 0);
62192   ;
62193   return 0;
62194 }
62195 _ACEOF
62196 if ac_fn_cxx_try_compile "$LINENO"; then :
62197   glibcxx_cv_func_sincosf_use=yes
62198 else
62199   glibcxx_cv_func_sincosf_use=no
62200 fi
62201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62202       ac_ext=c
62203 ac_cpp='$CPP $CPPFLAGS'
62204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62207
62208
62209 fi
62210
62211   fi
62212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62213 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62214
62215   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62216     for ac_func in sincosf
62217 do :
62218   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62219 if test "x$ac_cv_func_sincosf" = x""yes; then :
62220   cat >>confdefs.h <<_ACEOF
62221 #define HAVE_SINCOSF 1
62222 _ACEOF
62223
62224 fi
62225 done
62226
62227   else
62228
62229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62230 $as_echo_n "checking for _sincosf declaration... " >&6; }
62231   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62232     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62233   $as_echo_n "(cached) " >&6
62234 else
62235
62236
62237       ac_ext=cpp
62238 ac_cpp='$CXXCPP $CPPFLAGS'
62239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62242
62243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62244 /* end confdefs.h.  */
62245 #include <math.h>
62246 int
62247 main ()
62248 {
62249  _sincosf(0, 0, 0);
62250   ;
62251   return 0;
62252 }
62253 _ACEOF
62254 if ac_fn_cxx_try_compile "$LINENO"; then :
62255   glibcxx_cv_func__sincosf_use=yes
62256 else
62257   glibcxx_cv_func__sincosf_use=no
62258 fi
62259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62260       ac_ext=c
62261 ac_cpp='$CPP $CPPFLAGS'
62262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62265
62266
62267 fi
62268
62269   fi
62270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62271 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62272
62273     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62274       for ac_func in _sincosf
62275 do :
62276   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62277 if test "x$ac_cv_func__sincosf" = x""yes; then :
62278   cat >>confdefs.h <<_ACEOF
62279 #define HAVE__SINCOSF 1
62280 _ACEOF
62281
62282 fi
62283 done
62284
62285     fi
62286   fi
62287
62288
62289
62290
62291
62292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62293 $as_echo_n "checking for finitef declaration... " >&6; }
62294   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62295     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62296   $as_echo_n "(cached) " >&6
62297 else
62298
62299
62300       ac_ext=cpp
62301 ac_cpp='$CXXCPP $CPPFLAGS'
62302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62305
62306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62307 /* end confdefs.h.  */
62308 #include <math.h>
62309                       #ifdef HAVE_IEEEFP_H
62310                       #include <ieeefp.h>
62311                       #endif
62312
62313 int
62314 main ()
62315 {
62316  finitef(0);
62317   ;
62318   return 0;
62319 }
62320 _ACEOF
62321 if ac_fn_cxx_try_compile "$LINENO"; then :
62322   glibcxx_cv_func_finitef_use=yes
62323 else
62324   glibcxx_cv_func_finitef_use=no
62325 fi
62326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62327       ac_ext=c
62328 ac_cpp='$CPP $CPPFLAGS'
62329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62332
62333
62334 fi
62335
62336   fi
62337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62338 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62339
62340   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62341     for ac_func in finitef
62342 do :
62343   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62344 if test "x$ac_cv_func_finitef" = x""yes; then :
62345   cat >>confdefs.h <<_ACEOF
62346 #define HAVE_FINITEF 1
62347 _ACEOF
62348
62349 fi
62350 done
62351
62352   else
62353
62354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62355 $as_echo_n "checking for _finitef declaration... " >&6; }
62356   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62357     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62358   $as_echo_n "(cached) " >&6
62359 else
62360
62361
62362       ac_ext=cpp
62363 ac_cpp='$CXXCPP $CPPFLAGS'
62364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62367
62368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62369 /* end confdefs.h.  */
62370 #include <math.h>
62371                       #ifdef HAVE_IEEEFP_H
62372                       #include <ieeefp.h>
62373                       #endif
62374
62375 int
62376 main ()
62377 {
62378  _finitef(0);
62379   ;
62380   return 0;
62381 }
62382 _ACEOF
62383 if ac_fn_cxx_try_compile "$LINENO"; then :
62384   glibcxx_cv_func__finitef_use=yes
62385 else
62386   glibcxx_cv_func__finitef_use=no
62387 fi
62388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62389       ac_ext=c
62390 ac_cpp='$CPP $CPPFLAGS'
62391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62394
62395
62396 fi
62397
62398   fi
62399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62400 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62401
62402     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62403       for ac_func in _finitef
62404 do :
62405   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62406 if test "x$ac_cv_func__finitef" = x""yes; then :
62407   cat >>confdefs.h <<_ACEOF
62408 #define HAVE__FINITEF 1
62409 _ACEOF
62410
62411 fi
62412 done
62413
62414     fi
62415   fi
62416
62417
62418
62419
62420
62421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62422 $as_echo_n "checking for long double trig functions... " >&6; }
62423   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62424   $as_echo_n "(cached) " >&6
62425 else
62426
62427
62428     ac_ext=cpp
62429 ac_cpp='$CXXCPP $CPPFLAGS'
62430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62433
62434     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62435 /* end confdefs.h.  */
62436 #include <math.h>
62437 int
62438 main ()
62439 {
62440 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62441   ;
62442   return 0;
62443 }
62444 _ACEOF
62445 if ac_fn_cxx_try_compile "$LINENO"; then :
62446   glibcxx_cv_func_long_double_trig_use=yes
62447 else
62448   glibcxx_cv_func_long_double_trig_use=no
62449 fi
62450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62451     ac_ext=c
62452 ac_cpp='$CPP $CPPFLAGS'
62453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62456
62457 fi
62458
62459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62460 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62461   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62462     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62463 do :
62464   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62466 eval as_val=\$$as_ac_var
62467    if test "x$as_val" = x""yes; then :
62468   cat >>confdefs.h <<_ACEOF
62469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62470 _ACEOF
62471
62472 fi
62473 done
62474
62475   else
62476     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62477 $as_echo_n "checking for _long double trig functions... " >&6; }
62478     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62479   $as_echo_n "(cached) " >&6
62480 else
62481
62482
62483       ac_ext=cpp
62484 ac_cpp='$CXXCPP $CPPFLAGS'
62485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62488
62489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62490 /* end confdefs.h.  */
62491 #include <math.h>
62492 int
62493 main ()
62494 {
62495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62496   ;
62497   return 0;
62498 }
62499 _ACEOF
62500 if ac_fn_cxx_try_compile "$LINENO"; then :
62501   glibcxx_cv_func__long_double_trig_use=yes
62502 else
62503   glibcxx_cv_func__long_double_trig_use=no
62504 fi
62505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62506       ac_ext=c
62507 ac_cpp='$CPP $CPPFLAGS'
62508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62511
62512 fi
62513
62514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62515 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62516     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62517       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62518 do :
62519   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62521 eval as_val=\$$as_ac_var
62522    if test "x$as_val" = x""yes; then :
62523   cat >>confdefs.h <<_ACEOF
62524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62525 _ACEOF
62526
62527 fi
62528 done
62529
62530     fi
62531   fi
62532
62533
62534
62535
62536
62537     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62538 $as_echo_n "checking for long double round functions... " >&6; }
62539   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62540   $as_echo_n "(cached) " >&6
62541 else
62542
62543
62544     ac_ext=cpp
62545 ac_cpp='$CXXCPP $CPPFLAGS'
62546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62549
62550     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62551 /* end confdefs.h.  */
62552 #include <math.h>
62553 int
62554 main ()
62555 {
62556 ceill (0); floorl (0);
62557   ;
62558   return 0;
62559 }
62560 _ACEOF
62561 if ac_fn_cxx_try_compile "$LINENO"; then :
62562   glibcxx_cv_func_long_double_round_use=yes
62563 else
62564   glibcxx_cv_func_long_double_round_use=no
62565 fi
62566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62567     ac_ext=c
62568 ac_cpp='$CPP $CPPFLAGS'
62569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62572
62573 fi
62574
62575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62576 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62577   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62578     for ac_func in ceill floorl
62579 do :
62580   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62582 eval as_val=\$$as_ac_var
62583    if test "x$as_val" = x""yes; then :
62584   cat >>confdefs.h <<_ACEOF
62585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62586 _ACEOF
62587
62588 fi
62589 done
62590
62591   else
62592     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62593 $as_echo_n "checking for _long double round functions... " >&6; }
62594     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62595   $as_echo_n "(cached) " >&6
62596 else
62597
62598
62599       ac_ext=cpp
62600 ac_cpp='$CXXCPP $CPPFLAGS'
62601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62604
62605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62606 /* end confdefs.h.  */
62607 #include <math.h>
62608 int
62609 main ()
62610 {
62611 _ceill (0); _floorl (0);
62612   ;
62613   return 0;
62614 }
62615 _ACEOF
62616 if ac_fn_cxx_try_compile "$LINENO"; then :
62617   glibcxx_cv_func__long_double_round_use=yes
62618 else
62619   glibcxx_cv_func__long_double_round_use=no
62620 fi
62621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62622       ac_ext=c
62623 ac_cpp='$CPP $CPPFLAGS'
62624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62627
62628 fi
62629
62630     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62631 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62632     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62633       for ac_func in _ceill _floorl
62634 do :
62635   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62637 eval as_val=\$$as_ac_var
62638    if test "x$as_val" = x""yes; then :
62639   cat >>confdefs.h <<_ACEOF
62640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62641 _ACEOF
62642
62643 fi
62644 done
62645
62646     fi
62647   fi
62648
62649
62650
62651
62652
62653
62654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62655 $as_echo_n "checking for isnanl declaration... " >&6; }
62656   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62657     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62658   $as_echo_n "(cached) " >&6
62659 else
62660
62661
62662       ac_ext=cpp
62663 ac_cpp='$CXXCPP $CPPFLAGS'
62664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62667
62668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62669 /* end confdefs.h.  */
62670 #include <math.h>
62671                       #ifdef HAVE_IEEEFP_H
62672                       #include <ieeefp.h>
62673                       #endif
62674
62675 int
62676 main ()
62677 {
62678  isnanl(0);
62679   ;
62680   return 0;
62681 }
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684   glibcxx_cv_func_isnanl_use=yes
62685 else
62686   glibcxx_cv_func_isnanl_use=no
62687 fi
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689       ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62694
62695
62696 fi
62697
62698   fi
62699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62700 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62701
62702   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62703     for ac_func in isnanl
62704 do :
62705   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62706 if test "x$ac_cv_func_isnanl" = x""yes; then :
62707   cat >>confdefs.h <<_ACEOF
62708 #define HAVE_ISNANL 1
62709 _ACEOF
62710
62711 fi
62712 done
62713
62714   else
62715
62716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62717 $as_echo_n "checking for _isnanl declaration... " >&6; }
62718   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62719     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62720   $as_echo_n "(cached) " >&6
62721 else
62722
62723
62724       ac_ext=cpp
62725 ac_cpp='$CXXCPP $CPPFLAGS'
62726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62729
62730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62731 /* end confdefs.h.  */
62732 #include <math.h>
62733                       #ifdef HAVE_IEEEFP_H
62734                       #include <ieeefp.h>
62735                       #endif
62736
62737 int
62738 main ()
62739 {
62740  _isnanl(0);
62741   ;
62742   return 0;
62743 }
62744 _ACEOF
62745 if ac_fn_cxx_try_compile "$LINENO"; then :
62746   glibcxx_cv_func__isnanl_use=yes
62747 else
62748   glibcxx_cv_func__isnanl_use=no
62749 fi
62750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62751       ac_ext=c
62752 ac_cpp='$CPP $CPPFLAGS'
62753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62756
62757
62758 fi
62759
62760   fi
62761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62762 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62763
62764     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62765       for ac_func in _isnanl
62766 do :
62767   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62768 if test "x$ac_cv_func__isnanl" = x""yes; then :
62769   cat >>confdefs.h <<_ACEOF
62770 #define HAVE__ISNANL 1
62771 _ACEOF
62772
62773 fi
62774 done
62775
62776     fi
62777   fi
62778
62779
62780
62781
62782
62783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62784 $as_echo_n "checking for isinfl declaration... " >&6; }
62785   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62786     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62787   $as_echo_n "(cached) " >&6
62788 else
62789
62790
62791       ac_ext=cpp
62792 ac_cpp='$CXXCPP $CPPFLAGS'
62793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62796
62797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h.  */
62799 #include <math.h>
62800                       #ifdef HAVE_IEEEFP_H
62801                       #include <ieeefp.h>
62802                       #endif
62803
62804 int
62805 main ()
62806 {
62807  isinfl(0);
62808   ;
62809   return 0;
62810 }
62811 _ACEOF
62812 if ac_fn_cxx_try_compile "$LINENO"; then :
62813   glibcxx_cv_func_isinfl_use=yes
62814 else
62815   glibcxx_cv_func_isinfl_use=no
62816 fi
62817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62818       ac_ext=c
62819 ac_cpp='$CPP $CPPFLAGS'
62820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62823
62824
62825 fi
62826
62827   fi
62828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62829 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62830
62831   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62832     for ac_func in isinfl
62833 do :
62834   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62835 if test "x$ac_cv_func_isinfl" = x""yes; then :
62836   cat >>confdefs.h <<_ACEOF
62837 #define HAVE_ISINFL 1
62838 _ACEOF
62839
62840 fi
62841 done
62842
62843   else
62844
62845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62846 $as_echo_n "checking for _isinfl declaration... " >&6; }
62847   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62848     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62849   $as_echo_n "(cached) " >&6
62850 else
62851
62852
62853       ac_ext=cpp
62854 ac_cpp='$CXXCPP $CPPFLAGS'
62855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62858
62859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62860 /* end confdefs.h.  */
62861 #include <math.h>
62862                       #ifdef HAVE_IEEEFP_H
62863                       #include <ieeefp.h>
62864                       #endif
62865
62866 int
62867 main ()
62868 {
62869  _isinfl(0);
62870   ;
62871   return 0;
62872 }
62873 _ACEOF
62874 if ac_fn_cxx_try_compile "$LINENO"; then :
62875   glibcxx_cv_func__isinfl_use=yes
62876 else
62877   glibcxx_cv_func__isinfl_use=no
62878 fi
62879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62880       ac_ext=c
62881 ac_cpp='$CPP $CPPFLAGS'
62882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62885
62886
62887 fi
62888
62889   fi
62890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62891 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62892
62893     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62894       for ac_func in _isinfl
62895 do :
62896   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62897 if test "x$ac_cv_func__isinfl" = x""yes; then :
62898   cat >>confdefs.h <<_ACEOF
62899 #define HAVE__ISINFL 1
62900 _ACEOF
62901
62902 fi
62903 done
62904
62905     fi
62906   fi
62907
62908
62909
62910
62911
62912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62913 $as_echo_n "checking for atan2l declaration... " >&6; }
62914   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62915     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62916   $as_echo_n "(cached) " >&6
62917 else
62918
62919
62920       ac_ext=cpp
62921 ac_cpp='$CXXCPP $CPPFLAGS'
62922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62925
62926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62927 /* end confdefs.h.  */
62928 #include <math.h>
62929 int
62930 main ()
62931 {
62932  atan2l(0, 0);
62933   ;
62934   return 0;
62935 }
62936 _ACEOF
62937 if ac_fn_cxx_try_compile "$LINENO"; then :
62938   glibcxx_cv_func_atan2l_use=yes
62939 else
62940   glibcxx_cv_func_atan2l_use=no
62941 fi
62942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62943       ac_ext=c
62944 ac_cpp='$CPP $CPPFLAGS'
62945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62948
62949
62950 fi
62951
62952   fi
62953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62955
62956   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62957     for ac_func in atan2l
62958 do :
62959   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62960 if test "x$ac_cv_func_atan2l" = x""yes; then :
62961   cat >>confdefs.h <<_ACEOF
62962 #define HAVE_ATAN2L 1
62963 _ACEOF
62964
62965 fi
62966 done
62967
62968   else
62969
62970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62971 $as_echo_n "checking for _atan2l declaration... " >&6; }
62972   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62973     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62974   $as_echo_n "(cached) " >&6
62975 else
62976
62977
62978       ac_ext=cpp
62979 ac_cpp='$CXXCPP $CPPFLAGS'
62980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62983
62984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62985 /* end confdefs.h.  */
62986 #include <math.h>
62987 int
62988 main ()
62989 {
62990  _atan2l(0, 0);
62991   ;
62992   return 0;
62993 }
62994 _ACEOF
62995 if ac_fn_cxx_try_compile "$LINENO"; then :
62996   glibcxx_cv_func__atan2l_use=yes
62997 else
62998   glibcxx_cv_func__atan2l_use=no
62999 fi
63000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63001       ac_ext=c
63002 ac_cpp='$CPP $CPPFLAGS'
63003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63006
63007
63008 fi
63009
63010   fi
63011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63012 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63013
63014     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63015       for ac_func in _atan2l
63016 do :
63017   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63018 if test "x$ac_cv_func__atan2l" = x""yes; then :
63019   cat >>confdefs.h <<_ACEOF
63020 #define HAVE__ATAN2L 1
63021 _ACEOF
63022
63023 fi
63024 done
63025
63026     fi
63027   fi
63028
63029
63030
63031
63032
63033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63034 $as_echo_n "checking for expl declaration... " >&6; }
63035   if test x${glibcxx_cv_func_expl_use+set} != xset; then
63036     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63037   $as_echo_n "(cached) " >&6
63038 else
63039
63040
63041       ac_ext=cpp
63042 ac_cpp='$CXXCPP $CPPFLAGS'
63043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63046
63047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63048 /* end confdefs.h.  */
63049 #include <math.h>
63050                       #ifdef HAVE_IEEEFP_H
63051                       #include <ieeefp.h>
63052                       #endif
63053
63054 int
63055 main ()
63056 {
63057  expl(0);
63058   ;
63059   return 0;
63060 }
63061 _ACEOF
63062 if ac_fn_cxx_try_compile "$LINENO"; then :
63063   glibcxx_cv_func_expl_use=yes
63064 else
63065   glibcxx_cv_func_expl_use=no
63066 fi
63067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63068       ac_ext=c
63069 ac_cpp='$CPP $CPPFLAGS'
63070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63073
63074
63075 fi
63076
63077   fi
63078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63079 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63080
63081   if test x$glibcxx_cv_func_expl_use = x"yes"; then
63082     for ac_func in expl
63083 do :
63084   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63085 if test "x$ac_cv_func_expl" = x""yes; then :
63086   cat >>confdefs.h <<_ACEOF
63087 #define HAVE_EXPL 1
63088 _ACEOF
63089
63090 fi
63091 done
63092
63093   else
63094
63095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63096 $as_echo_n "checking for _expl declaration... " >&6; }
63097   if test x${glibcxx_cv_func__expl_use+set} != xset; then
63098     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63099   $as_echo_n "(cached) " >&6
63100 else
63101
63102
63103       ac_ext=cpp
63104 ac_cpp='$CXXCPP $CPPFLAGS'
63105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63108
63109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63110 /* end confdefs.h.  */
63111 #include <math.h>
63112                       #ifdef HAVE_IEEEFP_H
63113                       #include <ieeefp.h>
63114                       #endif
63115
63116 int
63117 main ()
63118 {
63119  _expl(0);
63120   ;
63121   return 0;
63122 }
63123 _ACEOF
63124 if ac_fn_cxx_try_compile "$LINENO"; then :
63125   glibcxx_cv_func__expl_use=yes
63126 else
63127   glibcxx_cv_func__expl_use=no
63128 fi
63129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63130       ac_ext=c
63131 ac_cpp='$CPP $CPPFLAGS'
63132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63135
63136
63137 fi
63138
63139   fi
63140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63141 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63142
63143     if test x$glibcxx_cv_func__expl_use = x"yes"; then
63144       for ac_func in _expl
63145 do :
63146   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63147 if test "x$ac_cv_func__expl" = x""yes; then :
63148   cat >>confdefs.h <<_ACEOF
63149 #define HAVE__EXPL 1
63150 _ACEOF
63151
63152 fi
63153 done
63154
63155     fi
63156   fi
63157
63158
63159
63160
63161
63162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63163 $as_echo_n "checking for fabsl declaration... " >&6; }
63164   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63165     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63166   $as_echo_n "(cached) " >&6
63167 else
63168
63169
63170       ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63175
63176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h.  */
63178 #include <math.h>
63179                       #ifdef HAVE_IEEEFP_H
63180                       #include <ieeefp.h>
63181                       #endif
63182
63183 int
63184 main ()
63185 {
63186  fabsl(0);
63187   ;
63188   return 0;
63189 }
63190 _ACEOF
63191 if ac_fn_cxx_try_compile "$LINENO"; then :
63192   glibcxx_cv_func_fabsl_use=yes
63193 else
63194   glibcxx_cv_func_fabsl_use=no
63195 fi
63196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63197       ac_ext=c
63198 ac_cpp='$CPP $CPPFLAGS'
63199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63202
63203
63204 fi
63205
63206   fi
63207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63208 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63209
63210   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63211     for ac_func in fabsl
63212 do :
63213   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63214 if test "x$ac_cv_func_fabsl" = x""yes; then :
63215   cat >>confdefs.h <<_ACEOF
63216 #define HAVE_FABSL 1
63217 _ACEOF
63218
63219 fi
63220 done
63221
63222   else
63223
63224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63225 $as_echo_n "checking for _fabsl declaration... " >&6; }
63226   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63227     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63228   $as_echo_n "(cached) " >&6
63229 else
63230
63231
63232       ac_ext=cpp
63233 ac_cpp='$CXXCPP $CPPFLAGS'
63234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63237
63238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63239 /* end confdefs.h.  */
63240 #include <math.h>
63241                       #ifdef HAVE_IEEEFP_H
63242                       #include <ieeefp.h>
63243                       #endif
63244
63245 int
63246 main ()
63247 {
63248  _fabsl(0);
63249   ;
63250   return 0;
63251 }
63252 _ACEOF
63253 if ac_fn_cxx_try_compile "$LINENO"; then :
63254   glibcxx_cv_func__fabsl_use=yes
63255 else
63256   glibcxx_cv_func__fabsl_use=no
63257 fi
63258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63259       ac_ext=c
63260 ac_cpp='$CPP $CPPFLAGS'
63261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63264
63265
63266 fi
63267
63268   fi
63269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63270 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63271
63272     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63273       for ac_func in _fabsl
63274 do :
63275   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63276 if test "x$ac_cv_func__fabsl" = x""yes; then :
63277   cat >>confdefs.h <<_ACEOF
63278 #define HAVE__FABSL 1
63279 _ACEOF
63280
63281 fi
63282 done
63283
63284     fi
63285   fi
63286
63287
63288
63289
63290
63291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63292 $as_echo_n "checking for fmodl declaration... " >&6; }
63293   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63294     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63295   $as_echo_n "(cached) " >&6
63296 else
63297
63298
63299       ac_ext=cpp
63300 ac_cpp='$CXXCPP $CPPFLAGS'
63301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63304
63305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63306 /* end confdefs.h.  */
63307 #include <math.h>
63308 int
63309 main ()
63310 {
63311  fmodl(0, 0);
63312   ;
63313   return 0;
63314 }
63315 _ACEOF
63316 if ac_fn_cxx_try_compile "$LINENO"; then :
63317   glibcxx_cv_func_fmodl_use=yes
63318 else
63319   glibcxx_cv_func_fmodl_use=no
63320 fi
63321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63322       ac_ext=c
63323 ac_cpp='$CPP $CPPFLAGS'
63324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63327
63328
63329 fi
63330
63331   fi
63332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63333 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63334
63335   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63336     for ac_func in fmodl
63337 do :
63338   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63339 if test "x$ac_cv_func_fmodl" = x""yes; then :
63340   cat >>confdefs.h <<_ACEOF
63341 #define HAVE_FMODL 1
63342 _ACEOF
63343
63344 fi
63345 done
63346
63347   else
63348
63349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63350 $as_echo_n "checking for _fmodl declaration... " >&6; }
63351   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63352     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63353   $as_echo_n "(cached) " >&6
63354 else
63355
63356
63357       ac_ext=cpp
63358 ac_cpp='$CXXCPP $CPPFLAGS'
63359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63362
63363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63364 /* end confdefs.h.  */
63365 #include <math.h>
63366 int
63367 main ()
63368 {
63369  _fmodl(0, 0);
63370   ;
63371   return 0;
63372 }
63373 _ACEOF
63374 if ac_fn_cxx_try_compile "$LINENO"; then :
63375   glibcxx_cv_func__fmodl_use=yes
63376 else
63377   glibcxx_cv_func__fmodl_use=no
63378 fi
63379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63380       ac_ext=c
63381 ac_cpp='$CPP $CPPFLAGS'
63382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63385
63386
63387 fi
63388
63389   fi
63390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63391 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63392
63393     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63394       for ac_func in _fmodl
63395 do :
63396   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63397 if test "x$ac_cv_func__fmodl" = x""yes; then :
63398   cat >>confdefs.h <<_ACEOF
63399 #define HAVE__FMODL 1
63400 _ACEOF
63401
63402 fi
63403 done
63404
63405     fi
63406   fi
63407
63408
63409
63410
63411
63412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63413 $as_echo_n "checking for frexpl declaration... " >&6; }
63414   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63415     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63416   $as_echo_n "(cached) " >&6
63417 else
63418
63419
63420       ac_ext=cpp
63421 ac_cpp='$CXXCPP $CPPFLAGS'
63422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63425
63426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63427 /* end confdefs.h.  */
63428 #include <math.h>
63429 int
63430 main ()
63431 {
63432  frexpl(0, 0);
63433   ;
63434   return 0;
63435 }
63436 _ACEOF
63437 if ac_fn_cxx_try_compile "$LINENO"; then :
63438   glibcxx_cv_func_frexpl_use=yes
63439 else
63440   glibcxx_cv_func_frexpl_use=no
63441 fi
63442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63443       ac_ext=c
63444 ac_cpp='$CPP $CPPFLAGS'
63445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63448
63449
63450 fi
63451
63452   fi
63453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63454 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63455
63456   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63457     for ac_func in frexpl
63458 do :
63459   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63460 if test "x$ac_cv_func_frexpl" = x""yes; then :
63461   cat >>confdefs.h <<_ACEOF
63462 #define HAVE_FREXPL 1
63463 _ACEOF
63464
63465 fi
63466 done
63467
63468   else
63469
63470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63471 $as_echo_n "checking for _frexpl declaration... " >&6; }
63472   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63473     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63474   $as_echo_n "(cached) " >&6
63475 else
63476
63477
63478       ac_ext=cpp
63479 ac_cpp='$CXXCPP $CPPFLAGS'
63480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63483
63484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63485 /* end confdefs.h.  */
63486 #include <math.h>
63487 int
63488 main ()
63489 {
63490  _frexpl(0, 0);
63491   ;
63492   return 0;
63493 }
63494 _ACEOF
63495 if ac_fn_cxx_try_compile "$LINENO"; then :
63496   glibcxx_cv_func__frexpl_use=yes
63497 else
63498   glibcxx_cv_func__frexpl_use=no
63499 fi
63500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63501       ac_ext=c
63502 ac_cpp='$CPP $CPPFLAGS'
63503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63506
63507
63508 fi
63509
63510   fi
63511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63512 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63513
63514     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63515       for ac_func in _frexpl
63516 do :
63517   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63518 if test "x$ac_cv_func__frexpl" = x""yes; then :
63519   cat >>confdefs.h <<_ACEOF
63520 #define HAVE__FREXPL 1
63521 _ACEOF
63522
63523 fi
63524 done
63525
63526     fi
63527   fi
63528
63529
63530
63531
63532
63533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63534 $as_echo_n "checking for hypotl declaration... " >&6; }
63535   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63536     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63537   $as_echo_n "(cached) " >&6
63538 else
63539
63540
63541       ac_ext=cpp
63542 ac_cpp='$CXXCPP $CPPFLAGS'
63543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63546
63547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63548 /* end confdefs.h.  */
63549 #include <math.h>
63550 int
63551 main ()
63552 {
63553  hypotl(0, 0);
63554   ;
63555   return 0;
63556 }
63557 _ACEOF
63558 if ac_fn_cxx_try_compile "$LINENO"; then :
63559   glibcxx_cv_func_hypotl_use=yes
63560 else
63561   glibcxx_cv_func_hypotl_use=no
63562 fi
63563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63564       ac_ext=c
63565 ac_cpp='$CPP $CPPFLAGS'
63566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63569
63570
63571 fi
63572
63573   fi
63574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63575 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63576
63577   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63578     for ac_func in hypotl
63579 do :
63580   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63581 if test "x$ac_cv_func_hypotl" = x""yes; then :
63582   cat >>confdefs.h <<_ACEOF
63583 #define HAVE_HYPOTL 1
63584 _ACEOF
63585
63586 fi
63587 done
63588
63589   else
63590
63591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63592 $as_echo_n "checking for _hypotl declaration... " >&6; }
63593   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63594     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63595   $as_echo_n "(cached) " >&6
63596 else
63597
63598
63599       ac_ext=cpp
63600 ac_cpp='$CXXCPP $CPPFLAGS'
63601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63604
63605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63606 /* end confdefs.h.  */
63607 #include <math.h>
63608 int
63609 main ()
63610 {
63611  _hypotl(0, 0);
63612   ;
63613   return 0;
63614 }
63615 _ACEOF
63616 if ac_fn_cxx_try_compile "$LINENO"; then :
63617   glibcxx_cv_func__hypotl_use=yes
63618 else
63619   glibcxx_cv_func__hypotl_use=no
63620 fi
63621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63622       ac_ext=c
63623 ac_cpp='$CPP $CPPFLAGS'
63624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63627
63628
63629 fi
63630
63631   fi
63632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63633 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63634
63635     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63636       for ac_func in _hypotl
63637 do :
63638   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63639 if test "x$ac_cv_func__hypotl" = x""yes; then :
63640   cat >>confdefs.h <<_ACEOF
63641 #define HAVE__HYPOTL 1
63642 _ACEOF
63643
63644 fi
63645 done
63646
63647     fi
63648   fi
63649
63650
63651
63652
63653
63654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63655 $as_echo_n "checking for ldexpl declaration... " >&6; }
63656   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63657     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63658   $as_echo_n "(cached) " >&6
63659 else
63660
63661
63662       ac_ext=cpp
63663 ac_cpp='$CXXCPP $CPPFLAGS'
63664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63667
63668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63669 /* end confdefs.h.  */
63670 #include <math.h>
63671 int
63672 main ()
63673 {
63674  ldexpl(0, 0);
63675   ;
63676   return 0;
63677 }
63678 _ACEOF
63679 if ac_fn_cxx_try_compile "$LINENO"; then :
63680   glibcxx_cv_func_ldexpl_use=yes
63681 else
63682   glibcxx_cv_func_ldexpl_use=no
63683 fi
63684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63685       ac_ext=c
63686 ac_cpp='$CPP $CPPFLAGS'
63687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63690
63691
63692 fi
63693
63694   fi
63695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63696 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63697
63698   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63699     for ac_func in ldexpl
63700 do :
63701   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63702 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63703   cat >>confdefs.h <<_ACEOF
63704 #define HAVE_LDEXPL 1
63705 _ACEOF
63706
63707 fi
63708 done
63709
63710   else
63711
63712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63713 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63714   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63715     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63716   $as_echo_n "(cached) " >&6
63717 else
63718
63719
63720       ac_ext=cpp
63721 ac_cpp='$CXXCPP $CPPFLAGS'
63722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63725
63726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63727 /* end confdefs.h.  */
63728 #include <math.h>
63729 int
63730 main ()
63731 {
63732  _ldexpl(0, 0);
63733   ;
63734   return 0;
63735 }
63736 _ACEOF
63737 if ac_fn_cxx_try_compile "$LINENO"; then :
63738   glibcxx_cv_func__ldexpl_use=yes
63739 else
63740   glibcxx_cv_func__ldexpl_use=no
63741 fi
63742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63743       ac_ext=c
63744 ac_cpp='$CPP $CPPFLAGS'
63745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63748
63749
63750 fi
63751
63752   fi
63753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63754 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63755
63756     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63757       for ac_func in _ldexpl
63758 do :
63759   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63760 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63761   cat >>confdefs.h <<_ACEOF
63762 #define HAVE__LDEXPL 1
63763 _ACEOF
63764
63765 fi
63766 done
63767
63768     fi
63769   fi
63770
63771
63772
63773
63774
63775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63776 $as_echo_n "checking for logl declaration... " >&6; }
63777   if test x${glibcxx_cv_func_logl_use+set} != xset; then
63778     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63779   $as_echo_n "(cached) " >&6
63780 else
63781
63782
63783       ac_ext=cpp
63784 ac_cpp='$CXXCPP $CPPFLAGS'
63785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63788
63789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63790 /* end confdefs.h.  */
63791 #include <math.h>
63792                       #ifdef HAVE_IEEEFP_H
63793                       #include <ieeefp.h>
63794                       #endif
63795
63796 int
63797 main ()
63798 {
63799  logl(0);
63800   ;
63801   return 0;
63802 }
63803 _ACEOF
63804 if ac_fn_cxx_try_compile "$LINENO"; then :
63805   glibcxx_cv_func_logl_use=yes
63806 else
63807   glibcxx_cv_func_logl_use=no
63808 fi
63809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63810       ac_ext=c
63811 ac_cpp='$CPP $CPPFLAGS'
63812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63815
63816
63817 fi
63818
63819   fi
63820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63821 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63822
63823   if test x$glibcxx_cv_func_logl_use = x"yes"; then
63824     for ac_func in logl
63825 do :
63826   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63827 if test "x$ac_cv_func_logl" = x""yes; then :
63828   cat >>confdefs.h <<_ACEOF
63829 #define HAVE_LOGL 1
63830 _ACEOF
63831
63832 fi
63833 done
63834
63835   else
63836
63837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63838 $as_echo_n "checking for _logl declaration... " >&6; }
63839   if test x${glibcxx_cv_func__logl_use+set} != xset; then
63840     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63841   $as_echo_n "(cached) " >&6
63842 else
63843
63844
63845       ac_ext=cpp
63846 ac_cpp='$CXXCPP $CPPFLAGS'
63847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63850
63851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63852 /* end confdefs.h.  */
63853 #include <math.h>
63854                       #ifdef HAVE_IEEEFP_H
63855                       #include <ieeefp.h>
63856                       #endif
63857
63858 int
63859 main ()
63860 {
63861  _logl(0);
63862   ;
63863   return 0;
63864 }
63865 _ACEOF
63866 if ac_fn_cxx_try_compile "$LINENO"; then :
63867   glibcxx_cv_func__logl_use=yes
63868 else
63869   glibcxx_cv_func__logl_use=no
63870 fi
63871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63872       ac_ext=c
63873 ac_cpp='$CPP $CPPFLAGS'
63874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63877
63878
63879 fi
63880
63881   fi
63882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63883 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63884
63885     if test x$glibcxx_cv_func__logl_use = x"yes"; then
63886       for ac_func in _logl
63887 do :
63888   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63889 if test "x$ac_cv_func__logl" = x""yes; then :
63890   cat >>confdefs.h <<_ACEOF
63891 #define HAVE__LOGL 1
63892 _ACEOF
63893
63894 fi
63895 done
63896
63897     fi
63898   fi
63899
63900
63901
63902
63903
63904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63905 $as_echo_n "checking for log10l declaration... " >&6; }
63906   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63907     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63908   $as_echo_n "(cached) " >&6
63909 else
63910
63911
63912       ac_ext=cpp
63913 ac_cpp='$CXXCPP $CPPFLAGS'
63914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63917
63918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63919 /* end confdefs.h.  */
63920 #include <math.h>
63921                       #ifdef HAVE_IEEEFP_H
63922                       #include <ieeefp.h>
63923                       #endif
63924
63925 int
63926 main ()
63927 {
63928  log10l(0);
63929   ;
63930   return 0;
63931 }
63932 _ACEOF
63933 if ac_fn_cxx_try_compile "$LINENO"; then :
63934   glibcxx_cv_func_log10l_use=yes
63935 else
63936   glibcxx_cv_func_log10l_use=no
63937 fi
63938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63939       ac_ext=c
63940 ac_cpp='$CPP $CPPFLAGS'
63941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63944
63945
63946 fi
63947
63948   fi
63949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63950 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63951
63952   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63953     for ac_func in log10l
63954 do :
63955   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63956 if test "x$ac_cv_func_log10l" = x""yes; then :
63957   cat >>confdefs.h <<_ACEOF
63958 #define HAVE_LOG10L 1
63959 _ACEOF
63960
63961 fi
63962 done
63963
63964   else
63965
63966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63967 $as_echo_n "checking for _log10l declaration... " >&6; }
63968   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63969     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63970   $as_echo_n "(cached) " >&6
63971 else
63972
63973
63974       ac_ext=cpp
63975 ac_cpp='$CXXCPP $CPPFLAGS'
63976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63979
63980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63981 /* end confdefs.h.  */
63982 #include <math.h>
63983                       #ifdef HAVE_IEEEFP_H
63984                       #include <ieeefp.h>
63985                       #endif
63986
63987 int
63988 main ()
63989 {
63990  _log10l(0);
63991   ;
63992   return 0;
63993 }
63994 _ACEOF
63995 if ac_fn_cxx_try_compile "$LINENO"; then :
63996   glibcxx_cv_func__log10l_use=yes
63997 else
63998   glibcxx_cv_func__log10l_use=no
63999 fi
64000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64001       ac_ext=c
64002 ac_cpp='$CPP $CPPFLAGS'
64003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64006
64007
64008 fi
64009
64010   fi
64011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64012 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64013
64014     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64015       for ac_func in _log10l
64016 do :
64017   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64018 if test "x$ac_cv_func__log10l" = x""yes; then :
64019   cat >>confdefs.h <<_ACEOF
64020 #define HAVE__LOG10L 1
64021 _ACEOF
64022
64023 fi
64024 done
64025
64026     fi
64027   fi
64028
64029
64030
64031
64032
64033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64034 $as_echo_n "checking for modfl declaration... " >&6; }
64035   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64036     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64037   $as_echo_n "(cached) " >&6
64038 else
64039
64040
64041       ac_ext=cpp
64042 ac_cpp='$CXXCPP $CPPFLAGS'
64043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64046
64047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64048 /* end confdefs.h.  */
64049 #include <math.h>
64050 int
64051 main ()
64052 {
64053  modfl(0, 0);
64054   ;
64055   return 0;
64056 }
64057 _ACEOF
64058 if ac_fn_cxx_try_compile "$LINENO"; then :
64059   glibcxx_cv_func_modfl_use=yes
64060 else
64061   glibcxx_cv_func_modfl_use=no
64062 fi
64063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64064       ac_ext=c
64065 ac_cpp='$CPP $CPPFLAGS'
64066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64069
64070
64071 fi
64072
64073   fi
64074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64075 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64076
64077   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64078     for ac_func in modfl
64079 do :
64080   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64081 if test "x$ac_cv_func_modfl" = x""yes; then :
64082   cat >>confdefs.h <<_ACEOF
64083 #define HAVE_MODFL 1
64084 _ACEOF
64085
64086 fi
64087 done
64088
64089   else
64090
64091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64092 $as_echo_n "checking for _modfl declaration... " >&6; }
64093   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64094     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64095   $as_echo_n "(cached) " >&6
64096 else
64097
64098
64099       ac_ext=cpp
64100 ac_cpp='$CXXCPP $CPPFLAGS'
64101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64104
64105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64106 /* end confdefs.h.  */
64107 #include <math.h>
64108 int
64109 main ()
64110 {
64111  _modfl(0, 0);
64112   ;
64113   return 0;
64114 }
64115 _ACEOF
64116 if ac_fn_cxx_try_compile "$LINENO"; then :
64117   glibcxx_cv_func__modfl_use=yes
64118 else
64119   glibcxx_cv_func__modfl_use=no
64120 fi
64121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64122       ac_ext=c
64123 ac_cpp='$CPP $CPPFLAGS'
64124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64127
64128
64129 fi
64130
64131   fi
64132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64133 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64134
64135     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64136       for ac_func in _modfl
64137 do :
64138   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64139 if test "x$ac_cv_func__modfl" = x""yes; then :
64140   cat >>confdefs.h <<_ACEOF
64141 #define HAVE__MODFL 1
64142 _ACEOF
64143
64144 fi
64145 done
64146
64147     fi
64148   fi
64149
64150
64151
64152
64153
64154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64155 $as_echo_n "checking for powl declaration... " >&6; }
64156   if test x${glibcxx_cv_func_powl_use+set} != xset; then
64157     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64158   $as_echo_n "(cached) " >&6
64159 else
64160
64161
64162       ac_ext=cpp
64163 ac_cpp='$CXXCPP $CPPFLAGS'
64164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64167
64168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64169 /* end confdefs.h.  */
64170 #include <math.h>
64171 int
64172 main ()
64173 {
64174  powl(0, 0);
64175   ;
64176   return 0;
64177 }
64178 _ACEOF
64179 if ac_fn_cxx_try_compile "$LINENO"; then :
64180   glibcxx_cv_func_powl_use=yes
64181 else
64182   glibcxx_cv_func_powl_use=no
64183 fi
64184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64185       ac_ext=c
64186 ac_cpp='$CPP $CPPFLAGS'
64187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64190
64191
64192 fi
64193
64194   fi
64195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64196 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64197
64198   if test x$glibcxx_cv_func_powl_use = x"yes"; then
64199     for ac_func in powl
64200 do :
64201   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64202 if test "x$ac_cv_func_powl" = x""yes; then :
64203   cat >>confdefs.h <<_ACEOF
64204 #define HAVE_POWL 1
64205 _ACEOF
64206
64207 fi
64208 done
64209
64210   else
64211
64212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64213 $as_echo_n "checking for _powl declaration... " >&6; }
64214   if test x${glibcxx_cv_func__powl_use+set} != xset; then
64215     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64216   $as_echo_n "(cached) " >&6
64217 else
64218
64219
64220       ac_ext=cpp
64221 ac_cpp='$CXXCPP $CPPFLAGS'
64222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64225
64226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64227 /* end confdefs.h.  */
64228 #include <math.h>
64229 int
64230 main ()
64231 {
64232  _powl(0, 0);
64233   ;
64234   return 0;
64235 }
64236 _ACEOF
64237 if ac_fn_cxx_try_compile "$LINENO"; then :
64238   glibcxx_cv_func__powl_use=yes
64239 else
64240   glibcxx_cv_func__powl_use=no
64241 fi
64242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64243       ac_ext=c
64244 ac_cpp='$CPP $CPPFLAGS'
64245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64248
64249
64250 fi
64251
64252   fi
64253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64254 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64255
64256     if test x$glibcxx_cv_func__powl_use = x"yes"; then
64257       for ac_func in _powl
64258 do :
64259   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64260 if test "x$ac_cv_func__powl" = x""yes; then :
64261   cat >>confdefs.h <<_ACEOF
64262 #define HAVE__POWL 1
64263 _ACEOF
64264
64265 fi
64266 done
64267
64268     fi
64269   fi
64270
64271
64272
64273
64274
64275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64276 $as_echo_n "checking for sqrtl declaration... " >&6; }
64277   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64278     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64279   $as_echo_n "(cached) " >&6
64280 else
64281
64282
64283       ac_ext=cpp
64284 ac_cpp='$CXXCPP $CPPFLAGS'
64285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64288
64289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64290 /* end confdefs.h.  */
64291 #include <math.h>
64292                       #ifdef HAVE_IEEEFP_H
64293                       #include <ieeefp.h>
64294                       #endif
64295
64296 int
64297 main ()
64298 {
64299  sqrtl(0);
64300   ;
64301   return 0;
64302 }
64303 _ACEOF
64304 if ac_fn_cxx_try_compile "$LINENO"; then :
64305   glibcxx_cv_func_sqrtl_use=yes
64306 else
64307   glibcxx_cv_func_sqrtl_use=no
64308 fi
64309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64310       ac_ext=c
64311 ac_cpp='$CPP $CPPFLAGS'
64312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64315
64316
64317 fi
64318
64319   fi
64320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64321 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64322
64323   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64324     for ac_func in sqrtl
64325 do :
64326   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64327 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64328   cat >>confdefs.h <<_ACEOF
64329 #define HAVE_SQRTL 1
64330 _ACEOF
64331
64332 fi
64333 done
64334
64335   else
64336
64337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64338 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64339   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64340     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64341   $as_echo_n "(cached) " >&6
64342 else
64343
64344
64345       ac_ext=cpp
64346 ac_cpp='$CXXCPP $CPPFLAGS'
64347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64350
64351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64352 /* end confdefs.h.  */
64353 #include <math.h>
64354                       #ifdef HAVE_IEEEFP_H
64355                       #include <ieeefp.h>
64356                       #endif
64357
64358 int
64359 main ()
64360 {
64361  _sqrtl(0);
64362   ;
64363   return 0;
64364 }
64365 _ACEOF
64366 if ac_fn_cxx_try_compile "$LINENO"; then :
64367   glibcxx_cv_func__sqrtl_use=yes
64368 else
64369   glibcxx_cv_func__sqrtl_use=no
64370 fi
64371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64372       ac_ext=c
64373 ac_cpp='$CPP $CPPFLAGS'
64374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64377
64378
64379 fi
64380
64381   fi
64382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64383 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64384
64385     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64386       for ac_func in _sqrtl
64387 do :
64388   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64389 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64390   cat >>confdefs.h <<_ACEOF
64391 #define HAVE__SQRTL 1
64392 _ACEOF
64393
64394 fi
64395 done
64396
64397     fi
64398   fi
64399
64400
64401
64402
64403
64404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64405 $as_echo_n "checking for sincosl declaration... " >&6; }
64406   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64407     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64408   $as_echo_n "(cached) " >&6
64409 else
64410
64411
64412       ac_ext=cpp
64413 ac_cpp='$CXXCPP $CPPFLAGS'
64414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64417
64418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64419 /* end confdefs.h.  */
64420 #include <math.h>
64421 int
64422 main ()
64423 {
64424  sincosl(0, 0, 0);
64425   ;
64426   return 0;
64427 }
64428 _ACEOF
64429 if ac_fn_cxx_try_compile "$LINENO"; then :
64430   glibcxx_cv_func_sincosl_use=yes
64431 else
64432   glibcxx_cv_func_sincosl_use=no
64433 fi
64434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64435       ac_ext=c
64436 ac_cpp='$CPP $CPPFLAGS'
64437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64440
64441
64442 fi
64443
64444   fi
64445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64446 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64447
64448   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64449     for ac_func in sincosl
64450 do :
64451   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64452 if test "x$ac_cv_func_sincosl" = x""yes; then :
64453   cat >>confdefs.h <<_ACEOF
64454 #define HAVE_SINCOSL 1
64455 _ACEOF
64456
64457 fi
64458 done
64459
64460   else
64461
64462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64463 $as_echo_n "checking for _sincosl declaration... " >&6; }
64464   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64465     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64466   $as_echo_n "(cached) " >&6
64467 else
64468
64469
64470       ac_ext=cpp
64471 ac_cpp='$CXXCPP $CPPFLAGS'
64472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64475
64476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64477 /* end confdefs.h.  */
64478 #include <math.h>
64479 int
64480 main ()
64481 {
64482  _sincosl(0, 0, 0);
64483   ;
64484   return 0;
64485 }
64486 _ACEOF
64487 if ac_fn_cxx_try_compile "$LINENO"; then :
64488   glibcxx_cv_func__sincosl_use=yes
64489 else
64490   glibcxx_cv_func__sincosl_use=no
64491 fi
64492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64493       ac_ext=c
64494 ac_cpp='$CPP $CPPFLAGS'
64495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64498
64499
64500 fi
64501
64502   fi
64503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64504 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64505
64506     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64507       for ac_func in _sincosl
64508 do :
64509   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64510 if test "x$ac_cv_func__sincosl" = x""yes; then :
64511   cat >>confdefs.h <<_ACEOF
64512 #define HAVE__SINCOSL 1
64513 _ACEOF
64514
64515 fi
64516 done
64517
64518     fi
64519   fi
64520
64521
64522
64523
64524
64525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64526 $as_echo_n "checking for finitel declaration... " >&6; }
64527   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64528     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64529   $as_echo_n "(cached) " >&6
64530 else
64531
64532
64533       ac_ext=cpp
64534 ac_cpp='$CXXCPP $CPPFLAGS'
64535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64538
64539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64540 /* end confdefs.h.  */
64541 #include <math.h>
64542                       #ifdef HAVE_IEEEFP_H
64543                       #include <ieeefp.h>
64544                       #endif
64545
64546 int
64547 main ()
64548 {
64549  finitel(0);
64550   ;
64551   return 0;
64552 }
64553 _ACEOF
64554 if ac_fn_cxx_try_compile "$LINENO"; then :
64555   glibcxx_cv_func_finitel_use=yes
64556 else
64557   glibcxx_cv_func_finitel_use=no
64558 fi
64559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64560       ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64565
64566
64567 fi
64568
64569   fi
64570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64571 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64572
64573   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64574     for ac_func in finitel
64575 do :
64576   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64577 if test "x$ac_cv_func_finitel" = x""yes; then :
64578   cat >>confdefs.h <<_ACEOF
64579 #define HAVE_FINITEL 1
64580 _ACEOF
64581
64582 fi
64583 done
64584
64585   else
64586
64587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64588 $as_echo_n "checking for _finitel declaration... " >&6; }
64589   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64590     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64591   $as_echo_n "(cached) " >&6
64592 else
64593
64594
64595       ac_ext=cpp
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64600
64601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64602 /* end confdefs.h.  */
64603 #include <math.h>
64604                       #ifdef HAVE_IEEEFP_H
64605                       #include <ieeefp.h>
64606                       #endif
64607
64608 int
64609 main ()
64610 {
64611  _finitel(0);
64612   ;
64613   return 0;
64614 }
64615 _ACEOF
64616 if ac_fn_cxx_try_compile "$LINENO"; then :
64617   glibcxx_cv_func__finitel_use=yes
64618 else
64619   glibcxx_cv_func__finitel_use=no
64620 fi
64621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64622       ac_ext=c
64623 ac_cpp='$CPP $CPPFLAGS'
64624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64627
64628
64629 fi
64630
64631   fi
64632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64633 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64634
64635     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64636       for ac_func in _finitel
64637 do :
64638   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64639 if test "x$ac_cv_func__finitel" = x""yes; then :
64640   cat >>confdefs.h <<_ACEOF
64641 #define HAVE__FINITEL 1
64642 _ACEOF
64643
64644 fi
64645 done
64646
64647     fi
64648   fi
64649
64650
64651
64652
64653   LIBS="$ac_save_LIBS"
64654   CXXFLAGS="$ac_save_CXXFLAGS"
64655
64656
64657   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64658   ac_save_CXXFLAGS="$CXXFLAGS"
64659   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64660
64661
64662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64663 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64664   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64665     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64666   $as_echo_n "(cached) " >&6
64667 else
64668
64669
64670       ac_ext=cpp
64671 ac_cpp='$CXXCPP $CPPFLAGS'
64672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64675
64676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64677 /* end confdefs.h.  */
64678 #include <stdlib.h>
64679 int
64680 main ()
64681 {
64682  at_quick_exit(0);
64683   ;
64684   return 0;
64685 }
64686 _ACEOF
64687 if ac_fn_cxx_try_compile "$LINENO"; then :
64688   glibcxx_cv_func_at_quick_exit_use=yes
64689 else
64690   glibcxx_cv_func_at_quick_exit_use=no
64691 fi
64692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64693       ac_ext=c
64694 ac_cpp='$CPP $CPPFLAGS'
64695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64698
64699
64700 fi
64701
64702   fi
64703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64704 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64705   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64706     for ac_func in at_quick_exit
64707 do :
64708   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64709 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64710   cat >>confdefs.h <<_ACEOF
64711 #define HAVE_AT_QUICK_EXIT 1
64712 _ACEOF
64713
64714 fi
64715 done
64716
64717   fi
64718
64719
64720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64721 $as_echo_n "checking for quick_exit declaration... " >&6; }
64722   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64723     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64724   $as_echo_n "(cached) " >&6
64725 else
64726
64727
64728       ac_ext=cpp
64729 ac_cpp='$CXXCPP $CPPFLAGS'
64730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64733
64734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64735 /* end confdefs.h.  */
64736 #include <stdlib.h>
64737 int
64738 main ()
64739 {
64740  quick_exit(0);
64741   ;
64742   return 0;
64743 }
64744 _ACEOF
64745 if ac_fn_cxx_try_compile "$LINENO"; then :
64746   glibcxx_cv_func_quick_exit_use=yes
64747 else
64748   glibcxx_cv_func_quick_exit_use=no
64749 fi
64750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64751       ac_ext=c
64752 ac_cpp='$CPP $CPPFLAGS'
64753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64756
64757
64758 fi
64759
64760   fi
64761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64762 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64763   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64764     for ac_func in quick_exit
64765 do :
64766   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64767 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64768   cat >>confdefs.h <<_ACEOF
64769 #define HAVE_QUICK_EXIT 1
64770 _ACEOF
64771
64772 fi
64773 done
64774
64775   fi
64776
64777
64778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64779 $as_echo_n "checking for strtold declaration... " >&6; }
64780   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64781     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64782   $as_echo_n "(cached) " >&6
64783 else
64784
64785
64786       ac_ext=cpp
64787 ac_cpp='$CXXCPP $CPPFLAGS'
64788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64791
64792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64793 /* end confdefs.h.  */
64794 #include <stdlib.h>
64795 int
64796 main ()
64797 {
64798  strtold(0, 0);
64799   ;
64800   return 0;
64801 }
64802 _ACEOF
64803 if ac_fn_cxx_try_compile "$LINENO"; then :
64804   glibcxx_cv_func_strtold_use=yes
64805 else
64806   glibcxx_cv_func_strtold_use=no
64807 fi
64808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64809       ac_ext=c
64810 ac_cpp='$CPP $CPPFLAGS'
64811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64814
64815
64816 fi
64817
64818   fi
64819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64820 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64821   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64822     for ac_func in strtold
64823 do :
64824   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64825 if test "x$ac_cv_func_strtold" = x""yes; then :
64826   cat >>confdefs.h <<_ACEOF
64827 #define HAVE_STRTOLD 1
64828 _ACEOF
64829
64830 fi
64831 done
64832
64833   fi
64834
64835
64836
64837
64838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64839 $as_echo_n "checking for strtof declaration... " >&6; }
64840   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64841     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64842   $as_echo_n "(cached) " >&6
64843 else
64844
64845
64846       ac_ext=cpp
64847 ac_cpp='$CXXCPP $CPPFLAGS'
64848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64851
64852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64853 /* end confdefs.h.  */
64854 #include <stdlib.h>
64855 int
64856 main ()
64857 {
64858  strtof(0, 0);
64859   ;
64860   return 0;
64861 }
64862 _ACEOF
64863 if ac_fn_cxx_try_compile "$LINENO"; then :
64864   glibcxx_cv_func_strtof_use=yes
64865 else
64866   glibcxx_cv_func_strtof_use=no
64867 fi
64868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64869       ac_ext=c
64870 ac_cpp='$CPP $CPPFLAGS'
64871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64874
64875
64876 fi
64877
64878   fi
64879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64880 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64881   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64882     for ac_func in strtof
64883 do :
64884   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64885 if test "x$ac_cv_func_strtof" = x""yes; then :
64886   cat >>confdefs.h <<_ACEOF
64887 #define HAVE_STRTOF 1
64888 _ACEOF
64889
64890 fi
64891 done
64892
64893   fi
64894
64895
64896
64897
64898   CXXFLAGS="$ac_save_CXXFLAGS"
64899
64900     ;;
64901   *-solaris*)
64902     case "$target" in
64903       *-solaris2.9 | *-solaris2.10)
64904
64905   # If we're not using GNU ld, then there's no point in even trying these
64906   # tests.  Check for that first.  We should have already tested for gld
64907   # by now (in libtool), but require it now just to be safe...
64908   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64909   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64910
64911
64912
64913   # The name set by libtool depends on the version of libtool.  Shame on us
64914   # for depending on an impl detail, but c'est la vie.  Older versions used
64915   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64916   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64917   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
64918   # set (hence we're using an older libtool), then set it.
64919   if test x${with_gnu_ld+set} != xset; then
64920     if test x${ac_cv_prog_gnu_ld+set} != xset; then
64921       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
64922       with_gnu_ld=no
64923     else
64924       with_gnu_ld=$ac_cv_prog_gnu_ld
64925     fi
64926   fi
64927
64928   # Start by getting the version number.  I think the libtool test already
64929   # does some of this, but throws away the result.
64930   glibcxx_ld_is_gold=no
64931   if test x"$with_gnu_ld" = x"yes"; then
64932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64933 $as_echo_n "checking for ld version... " >&6; }
64934
64935     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64936       glibcxx_ld_is_gold=yes
64937     fi
64938     ldver=`$LD --version 2>/dev/null |
64939            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'`
64940
64941     glibcxx_gnu_ld_version=`echo $ldver | \
64942            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64944 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64945   fi
64946
64947   # Set --gc-sections.
64948   glibcxx_have_gc_sections=no
64949   if test "$glibcxx_ld_is_gold" = "yes"; then
64950     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64951       glibcxx_have_gc_sections=yes
64952     fi
64953   else
64954     glibcxx_gcsections_min_ld=21602
64955     if test x"$with_gnu_ld" = x"yes" &&
64956         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64957       glibcxx_have_gc_sections=yes
64958     fi
64959   fi
64960   if test "$glibcxx_have_gc_sections" = "yes"; then
64961     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
64962     # NB: This flag only works reliably after 2.16.1. Configure tests
64963     # for this are difficult, so hard wire a value that should work.
64964
64965     ac_test_CFLAGS="${CFLAGS+set}"
64966     ac_save_CFLAGS="$CFLAGS"
64967     CFLAGS='-Wl,--gc-sections'
64968
64969     # Check for -Wl,--gc-sections
64970     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64971 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64972     if test x$gcc_no_link = xyes; then
64973   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64974 fi
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h.  */
64977  int one(void) { return 1; }
64978      int two(void) { return 2; }
64979
64980 int
64981 main ()
64982 {
64983  two();
64984   ;
64985   return 0;
64986 }
64987 _ACEOF
64988 if ac_fn_c_try_link "$LINENO"; then :
64989   ac_gcsections=yes
64990 else
64991   ac_gcsections=no
64992 fi
64993 rm -f core conftest.err conftest.$ac_objext \
64994     conftest$ac_exeext conftest.$ac_ext
64995     if test "$ac_gcsections" = "yes"; then
64996       rm -f conftest.c
64997       touch conftest.c
64998       if $CC -c conftest.c; then
64999         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65000            grep "Warning: gc-sections option ignored" > /dev/null; then
65001           ac_gcsections=no
65002         fi
65003       fi
65004       rm -f conftest.c conftest.o conftest
65005     fi
65006     if test "$ac_gcsections" = "yes"; then
65007       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65008     fi
65009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65010 $as_echo "$ac_gcsections" >&6; }
65011
65012     if test "$ac_test_CFLAGS" = set; then
65013       CFLAGS="$ac_save_CFLAGS"
65014     else
65015       # this is the suspicious part
65016       CFLAGS=''
65017     fi
65018   fi
65019
65020   # Set -z,relro.
65021   # Note this is only for shared objects.
65022   ac_ld_relro=no
65023   if test x"$with_gnu_ld" = x"yes"; then
65024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65026     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65027     if test -n "$cxx_z_relo"; then
65028       OPT_LDFLAGS="-Wl,-z,relro"
65029       ac_ld_relro=yes
65030     fi
65031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65032 $as_echo "$ac_ld_relro" >&6; }
65033   fi
65034
65035   # Set linker optimization flags.
65036   if test x"$with_gnu_ld" = x"yes"; then
65037     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65038   fi
65039
65040
65041
65042
65043          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
65044
65045          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65046
65047          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
65048
65049          # All of the dependencies for wide character support are here, so
65050          # turn it on.
65051          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
65052
65053         ;;
65054     esac
65055     case "$target" in
65056       *-*-solaris2.10)
65057       # These two C99 functions are present only in Solaris >= 10
65058       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
65059
65060       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
65061
65062      ;;
65063     esac
65064     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65065
65066     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65067
65068     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
65069
65070     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
65071
65072     ;;
65073   *-tpf)
65074     SECTION_FLAGS='-ffunction-sections -fdata-sections'
65075     SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
65076
65077     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65078
65079     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65080
65081     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65082
65083     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65084
65085     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65086
65087     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65088
65089     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65090
65091     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65092
65093     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
65094
65095     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
65096
65097     if test x"long_double_math_on_this_cpu" = x"yes"; then
65098       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65099
65100       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
65101
65102       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65103
65104       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65105
65106     fi
65107     ;;
65108   *-*vms*)
65109     # Check for available headers.
65110     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
65111
65112   ac_test_CXXFLAGS="${CXXFLAGS+set}"
65113   ac_save_CXXFLAGS="$CXXFLAGS"
65114   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65115
65116     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65117 $as_echo_n "checking for sin in -lm... " >&6; }
65118 if test "${ac_cv_lib_m_sin+set}" = set; then :
65119   $as_echo_n "(cached) " >&6
65120 else
65121   ac_check_lib_save_LIBS=$LIBS
65122 LIBS="-lm  $LIBS"
65123 if test x$gcc_no_link = xyes; then
65124   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65125 fi
65126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65127 /* end confdefs.h.  */
65128
65129 /* Override any GCC internal prototype to avoid an error.
65130    Use char because int might match the return type of a GCC
65131    builtin and then its argument prototype would still apply.  */
65132 #ifdef __cplusplus
65133 extern "C"
65134 #endif
65135 char sin ();
65136 int
65137 main ()
65138 {
65139 return sin ();
65140   ;
65141   return 0;
65142 }
65143 _ACEOF
65144 if ac_fn_c_try_link "$LINENO"; then :
65145   ac_cv_lib_m_sin=yes
65146 else
65147   ac_cv_lib_m_sin=no
65148 fi
65149 rm -f core conftest.err conftest.$ac_objext \
65150     conftest$ac_exeext conftest.$ac_ext
65151 LIBS=$ac_check_lib_save_LIBS
65152 fi
65153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65154 $as_echo "$ac_cv_lib_m_sin" >&6; }
65155 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65156   libm="-lm"
65157 fi
65158
65159   ac_save_LIBS="$LIBS"
65160   LIBS="$LIBS $libm"
65161
65162
65163
65164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65165 $as_echo_n "checking for isinf declaration... " >&6; }
65166   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65167     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65168   $as_echo_n "(cached) " >&6
65169 else
65170
65171
65172       ac_ext=cpp
65173 ac_cpp='$CXXCPP $CPPFLAGS'
65174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65177
65178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179 /* end confdefs.h.  */
65180 #include <math.h>
65181                       #ifdef HAVE_IEEEFP_H
65182                       #include <ieeefp.h>
65183                       #endif
65184
65185 int
65186 main ()
65187 {
65188  isinf(0);
65189   ;
65190   return 0;
65191 }
65192 _ACEOF
65193 if ac_fn_cxx_try_compile "$LINENO"; then :
65194   glibcxx_cv_func_isinf_use=yes
65195 else
65196   glibcxx_cv_func_isinf_use=no
65197 fi
65198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65199       ac_ext=c
65200 ac_cpp='$CPP $CPPFLAGS'
65201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65204
65205
65206 fi
65207
65208   fi
65209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65210 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65211
65212   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65213     for ac_func in isinf
65214 do :
65215   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65216 if test "x$ac_cv_func_isinf" = x""yes; then :
65217   cat >>confdefs.h <<_ACEOF
65218 #define HAVE_ISINF 1
65219 _ACEOF
65220
65221 fi
65222 done
65223
65224   else
65225
65226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65227 $as_echo_n "checking for _isinf declaration... " >&6; }
65228   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65229     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65230   $as_echo_n "(cached) " >&6
65231 else
65232
65233
65234       ac_ext=cpp
65235 ac_cpp='$CXXCPP $CPPFLAGS'
65236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65239
65240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65241 /* end confdefs.h.  */
65242 #include <math.h>
65243                       #ifdef HAVE_IEEEFP_H
65244                       #include <ieeefp.h>
65245                       #endif
65246
65247 int
65248 main ()
65249 {
65250  _isinf(0);
65251   ;
65252   return 0;
65253 }
65254 _ACEOF
65255 if ac_fn_cxx_try_compile "$LINENO"; then :
65256   glibcxx_cv_func__isinf_use=yes
65257 else
65258   glibcxx_cv_func__isinf_use=no
65259 fi
65260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65261       ac_ext=c
65262 ac_cpp='$CPP $CPPFLAGS'
65263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65266
65267
65268 fi
65269
65270   fi
65271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65272 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65273
65274     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65275       for ac_func in _isinf
65276 do :
65277   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65278 if test "x$ac_cv_func__isinf" = x""yes; then :
65279   cat >>confdefs.h <<_ACEOF
65280 #define HAVE__ISINF 1
65281 _ACEOF
65282
65283 fi
65284 done
65285
65286     fi
65287   fi
65288
65289
65290
65291
65292
65293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65294 $as_echo_n "checking for isnan declaration... " >&6; }
65295   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65296     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65297   $as_echo_n "(cached) " >&6
65298 else
65299
65300
65301       ac_ext=cpp
65302 ac_cpp='$CXXCPP $CPPFLAGS'
65303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65306
65307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65308 /* end confdefs.h.  */
65309 #include <math.h>
65310                       #ifdef HAVE_IEEEFP_H
65311                       #include <ieeefp.h>
65312                       #endif
65313
65314 int
65315 main ()
65316 {
65317  isnan(0);
65318   ;
65319   return 0;
65320 }
65321 _ACEOF
65322 if ac_fn_cxx_try_compile "$LINENO"; then :
65323   glibcxx_cv_func_isnan_use=yes
65324 else
65325   glibcxx_cv_func_isnan_use=no
65326 fi
65327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65328       ac_ext=c
65329 ac_cpp='$CPP $CPPFLAGS'
65330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65333
65334
65335 fi
65336
65337   fi
65338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65339 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65340
65341   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65342     for ac_func in isnan
65343 do :
65344   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65345 if test "x$ac_cv_func_isnan" = x""yes; then :
65346   cat >>confdefs.h <<_ACEOF
65347 #define HAVE_ISNAN 1
65348 _ACEOF
65349
65350 fi
65351 done
65352
65353   else
65354
65355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65356 $as_echo_n "checking for _isnan declaration... " >&6; }
65357   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65358     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65359   $as_echo_n "(cached) " >&6
65360 else
65361
65362
65363       ac_ext=cpp
65364 ac_cpp='$CXXCPP $CPPFLAGS'
65365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65368
65369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65370 /* end confdefs.h.  */
65371 #include <math.h>
65372                       #ifdef HAVE_IEEEFP_H
65373                       #include <ieeefp.h>
65374                       #endif
65375
65376 int
65377 main ()
65378 {
65379  _isnan(0);
65380   ;
65381   return 0;
65382 }
65383 _ACEOF
65384 if ac_fn_cxx_try_compile "$LINENO"; then :
65385   glibcxx_cv_func__isnan_use=yes
65386 else
65387   glibcxx_cv_func__isnan_use=no
65388 fi
65389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65390       ac_ext=c
65391 ac_cpp='$CPP $CPPFLAGS'
65392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65395
65396
65397 fi
65398
65399   fi
65400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65401 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65402
65403     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65404       for ac_func in _isnan
65405 do :
65406   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65407 if test "x$ac_cv_func__isnan" = x""yes; then :
65408   cat >>confdefs.h <<_ACEOF
65409 #define HAVE__ISNAN 1
65410 _ACEOF
65411
65412 fi
65413 done
65414
65415     fi
65416   fi
65417
65418
65419
65420
65421
65422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65423 $as_echo_n "checking for finite declaration... " >&6; }
65424   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65425     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65426   $as_echo_n "(cached) " >&6
65427 else
65428
65429
65430       ac_ext=cpp
65431 ac_cpp='$CXXCPP $CPPFLAGS'
65432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65435
65436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65437 /* end confdefs.h.  */
65438 #include <math.h>
65439                       #ifdef HAVE_IEEEFP_H
65440                       #include <ieeefp.h>
65441                       #endif
65442
65443 int
65444 main ()
65445 {
65446  finite(0);
65447   ;
65448   return 0;
65449 }
65450 _ACEOF
65451 if ac_fn_cxx_try_compile "$LINENO"; then :
65452   glibcxx_cv_func_finite_use=yes
65453 else
65454   glibcxx_cv_func_finite_use=no
65455 fi
65456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65457       ac_ext=c
65458 ac_cpp='$CPP $CPPFLAGS'
65459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65462
65463
65464 fi
65465
65466   fi
65467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65468 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65469
65470   if test x$glibcxx_cv_func_finite_use = x"yes"; then
65471     for ac_func in finite
65472 do :
65473   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65474 if test "x$ac_cv_func_finite" = x""yes; then :
65475   cat >>confdefs.h <<_ACEOF
65476 #define HAVE_FINITE 1
65477 _ACEOF
65478
65479 fi
65480 done
65481
65482   else
65483
65484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65485 $as_echo_n "checking for _finite declaration... " >&6; }
65486   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65487     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65488   $as_echo_n "(cached) " >&6
65489 else
65490
65491
65492       ac_ext=cpp
65493 ac_cpp='$CXXCPP $CPPFLAGS'
65494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65497
65498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65499 /* end confdefs.h.  */
65500 #include <math.h>
65501                       #ifdef HAVE_IEEEFP_H
65502                       #include <ieeefp.h>
65503                       #endif
65504
65505 int
65506 main ()
65507 {
65508  _finite(0);
65509   ;
65510   return 0;
65511 }
65512 _ACEOF
65513 if ac_fn_cxx_try_compile "$LINENO"; then :
65514   glibcxx_cv_func__finite_use=yes
65515 else
65516   glibcxx_cv_func__finite_use=no
65517 fi
65518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65519       ac_ext=c
65520 ac_cpp='$CPP $CPPFLAGS'
65521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65524
65525
65526 fi
65527
65528   fi
65529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65530 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65531
65532     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65533       for ac_func in _finite
65534 do :
65535   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65536 if test "x$ac_cv_func__finite" = x""yes; then :
65537   cat >>confdefs.h <<_ACEOF
65538 #define HAVE__FINITE 1
65539 _ACEOF
65540
65541 fi
65542 done
65543
65544     fi
65545   fi
65546
65547
65548
65549
65550
65551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65552 $as_echo_n "checking for sincos declaration... " >&6; }
65553   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65554     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65555   $as_echo_n "(cached) " >&6
65556 else
65557
65558
65559       ac_ext=cpp
65560 ac_cpp='$CXXCPP $CPPFLAGS'
65561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65564
65565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65566 /* end confdefs.h.  */
65567 #include <math.h>
65568 int
65569 main ()
65570 {
65571  sincos(0, 0, 0);
65572   ;
65573   return 0;
65574 }
65575 _ACEOF
65576 if ac_fn_cxx_try_compile "$LINENO"; then :
65577   glibcxx_cv_func_sincos_use=yes
65578 else
65579   glibcxx_cv_func_sincos_use=no
65580 fi
65581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65582       ac_ext=c
65583 ac_cpp='$CPP $CPPFLAGS'
65584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65587
65588
65589 fi
65590
65591   fi
65592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65593 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65594
65595   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65596     for ac_func in sincos
65597 do :
65598   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65599 if test "x$ac_cv_func_sincos" = x""yes; then :
65600   cat >>confdefs.h <<_ACEOF
65601 #define HAVE_SINCOS 1
65602 _ACEOF
65603
65604 fi
65605 done
65606
65607   else
65608
65609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65610 $as_echo_n "checking for _sincos declaration... " >&6; }
65611   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65612     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65613   $as_echo_n "(cached) " >&6
65614 else
65615
65616
65617       ac_ext=cpp
65618 ac_cpp='$CXXCPP $CPPFLAGS'
65619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65622
65623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65624 /* end confdefs.h.  */
65625 #include <math.h>
65626 int
65627 main ()
65628 {
65629  _sincos(0, 0, 0);
65630   ;
65631   return 0;
65632 }
65633 _ACEOF
65634 if ac_fn_cxx_try_compile "$LINENO"; then :
65635   glibcxx_cv_func__sincos_use=yes
65636 else
65637   glibcxx_cv_func__sincos_use=no
65638 fi
65639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65640       ac_ext=c
65641 ac_cpp='$CPP $CPPFLAGS'
65642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65645
65646
65647 fi
65648
65649   fi
65650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65651 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65652
65653     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65654       for ac_func in _sincos
65655 do :
65656   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65657 if test "x$ac_cv_func__sincos" = x""yes; then :
65658   cat >>confdefs.h <<_ACEOF
65659 #define HAVE__SINCOS 1
65660 _ACEOF
65661
65662 fi
65663 done
65664
65665     fi
65666   fi
65667
65668
65669
65670
65671
65672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65673 $as_echo_n "checking for fpclass declaration... " >&6; }
65674   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65675     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65676   $as_echo_n "(cached) " >&6
65677 else
65678
65679
65680       ac_ext=cpp
65681 ac_cpp='$CXXCPP $CPPFLAGS'
65682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65685
65686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65687 /* end confdefs.h.  */
65688 #include <math.h>
65689                       #ifdef HAVE_IEEEFP_H
65690                       #include <ieeefp.h>
65691                       #endif
65692
65693 int
65694 main ()
65695 {
65696  fpclass(0);
65697   ;
65698   return 0;
65699 }
65700 _ACEOF
65701 if ac_fn_cxx_try_compile "$LINENO"; then :
65702   glibcxx_cv_func_fpclass_use=yes
65703 else
65704   glibcxx_cv_func_fpclass_use=no
65705 fi
65706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65707       ac_ext=c
65708 ac_cpp='$CPP $CPPFLAGS'
65709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65712
65713
65714 fi
65715
65716   fi
65717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65718 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65719
65720   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65721     for ac_func in fpclass
65722 do :
65723   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65724 if test "x$ac_cv_func_fpclass" = x""yes; then :
65725   cat >>confdefs.h <<_ACEOF
65726 #define HAVE_FPCLASS 1
65727 _ACEOF
65728
65729 fi
65730 done
65731
65732   else
65733
65734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65735 $as_echo_n "checking for _fpclass declaration... " >&6; }
65736   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65737     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65738   $as_echo_n "(cached) " >&6
65739 else
65740
65741
65742       ac_ext=cpp
65743 ac_cpp='$CXXCPP $CPPFLAGS'
65744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65747
65748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65749 /* end confdefs.h.  */
65750 #include <math.h>
65751                       #ifdef HAVE_IEEEFP_H
65752                       #include <ieeefp.h>
65753                       #endif
65754
65755 int
65756 main ()
65757 {
65758  _fpclass(0);
65759   ;
65760   return 0;
65761 }
65762 _ACEOF
65763 if ac_fn_cxx_try_compile "$LINENO"; then :
65764   glibcxx_cv_func__fpclass_use=yes
65765 else
65766   glibcxx_cv_func__fpclass_use=no
65767 fi
65768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65769       ac_ext=c
65770 ac_cpp='$CPP $CPPFLAGS'
65771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65774
65775
65776 fi
65777
65778   fi
65779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65780 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65781
65782     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65783       for ac_func in _fpclass
65784 do :
65785   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65786 if test "x$ac_cv_func__fpclass" = x""yes; then :
65787   cat >>confdefs.h <<_ACEOF
65788 #define HAVE__FPCLASS 1
65789 _ACEOF
65790
65791 fi
65792 done
65793
65794     fi
65795   fi
65796
65797
65798
65799
65800
65801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65802 $as_echo_n "checking for qfpclass declaration... " >&6; }
65803   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65804     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65805   $as_echo_n "(cached) " >&6
65806 else
65807
65808
65809       ac_ext=cpp
65810 ac_cpp='$CXXCPP $CPPFLAGS'
65811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65814
65815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65816 /* end confdefs.h.  */
65817 #include <math.h>
65818                       #ifdef HAVE_IEEEFP_H
65819                       #include <ieeefp.h>
65820                       #endif
65821
65822 int
65823 main ()
65824 {
65825  qfpclass(0);
65826   ;
65827   return 0;
65828 }
65829 _ACEOF
65830 if ac_fn_cxx_try_compile "$LINENO"; then :
65831   glibcxx_cv_func_qfpclass_use=yes
65832 else
65833   glibcxx_cv_func_qfpclass_use=no
65834 fi
65835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65836       ac_ext=c
65837 ac_cpp='$CPP $CPPFLAGS'
65838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65841
65842
65843 fi
65844
65845   fi
65846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65847 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65848
65849   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65850     for ac_func in qfpclass
65851 do :
65852   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65853 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65854   cat >>confdefs.h <<_ACEOF
65855 #define HAVE_QFPCLASS 1
65856 _ACEOF
65857
65858 fi
65859 done
65860
65861   else
65862
65863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65864 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65865   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65866     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65867   $as_echo_n "(cached) " >&6
65868 else
65869
65870
65871       ac_ext=cpp
65872 ac_cpp='$CXXCPP $CPPFLAGS'
65873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65876
65877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65878 /* end confdefs.h.  */
65879 #include <math.h>
65880                       #ifdef HAVE_IEEEFP_H
65881                       #include <ieeefp.h>
65882                       #endif
65883
65884 int
65885 main ()
65886 {
65887  _qfpclass(0);
65888   ;
65889   return 0;
65890 }
65891 _ACEOF
65892 if ac_fn_cxx_try_compile "$LINENO"; then :
65893   glibcxx_cv_func__qfpclass_use=yes
65894 else
65895   glibcxx_cv_func__qfpclass_use=no
65896 fi
65897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65898       ac_ext=c
65899 ac_cpp='$CPP $CPPFLAGS'
65900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65903
65904
65905 fi
65906
65907   fi
65908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65909 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65910
65911     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65912       for ac_func in _qfpclass
65913 do :
65914   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65915 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65916   cat >>confdefs.h <<_ACEOF
65917 #define HAVE__QFPCLASS 1
65918 _ACEOF
65919
65920 fi
65921 done
65922
65923     fi
65924   fi
65925
65926
65927
65928
65929
65930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65931 $as_echo_n "checking for hypot declaration... " >&6; }
65932   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65933     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65934   $as_echo_n "(cached) " >&6
65935 else
65936
65937
65938       ac_ext=cpp
65939 ac_cpp='$CXXCPP $CPPFLAGS'
65940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65943
65944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65945 /* end confdefs.h.  */
65946 #include <math.h>
65947 int
65948 main ()
65949 {
65950  hypot(0, 0);
65951   ;
65952   return 0;
65953 }
65954 _ACEOF
65955 if ac_fn_cxx_try_compile "$LINENO"; then :
65956   glibcxx_cv_func_hypot_use=yes
65957 else
65958   glibcxx_cv_func_hypot_use=no
65959 fi
65960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65961       ac_ext=c
65962 ac_cpp='$CPP $CPPFLAGS'
65963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65966
65967
65968 fi
65969
65970   fi
65971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65972 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65973
65974   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65975     for ac_func in hypot
65976 do :
65977   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65978 if test "x$ac_cv_func_hypot" = x""yes; then :
65979   cat >>confdefs.h <<_ACEOF
65980 #define HAVE_HYPOT 1
65981 _ACEOF
65982
65983 fi
65984 done
65985
65986   else
65987
65988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65989 $as_echo_n "checking for _hypot declaration... " >&6; }
65990   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65991     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65992   $as_echo_n "(cached) " >&6
65993 else
65994
65995
65996       ac_ext=cpp
65997 ac_cpp='$CXXCPP $CPPFLAGS'
65998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66001
66002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66003 /* end confdefs.h.  */
66004 #include <math.h>
66005 int
66006 main ()
66007 {
66008  _hypot(0, 0);
66009   ;
66010   return 0;
66011 }
66012 _ACEOF
66013 if ac_fn_cxx_try_compile "$LINENO"; then :
66014   glibcxx_cv_func__hypot_use=yes
66015 else
66016   glibcxx_cv_func__hypot_use=no
66017 fi
66018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66019       ac_ext=c
66020 ac_cpp='$CPP $CPPFLAGS'
66021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66024
66025
66026 fi
66027
66028   fi
66029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66030 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66031
66032     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66033       for ac_func in _hypot
66034 do :
66035   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66036 if test "x$ac_cv_func__hypot" = x""yes; then :
66037   cat >>confdefs.h <<_ACEOF
66038 #define HAVE__HYPOT 1
66039 _ACEOF
66040
66041 fi
66042 done
66043
66044     fi
66045   fi
66046
66047
66048
66049
66050
66051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66052 $as_echo_n "checking for float trig functions... " >&6; }
66053   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66054   $as_echo_n "(cached) " >&6
66055 else
66056
66057
66058     ac_ext=cpp
66059 ac_cpp='$CXXCPP $CPPFLAGS'
66060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66063
66064     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66065 /* end confdefs.h.  */
66066 #include <math.h>
66067 int
66068 main ()
66069 {
66070 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66071   ;
66072   return 0;
66073 }
66074 _ACEOF
66075 if ac_fn_cxx_try_compile "$LINENO"; then :
66076   glibcxx_cv_func_float_trig_use=yes
66077 else
66078   glibcxx_cv_func_float_trig_use=no
66079 fi
66080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66081     ac_ext=c
66082 ac_cpp='$CPP $CPPFLAGS'
66083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66086
66087 fi
66088
66089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66090 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66091   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66092     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66093 do :
66094   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66096 eval as_val=\$$as_ac_var
66097    if test "x$as_val" = x""yes; then :
66098   cat >>confdefs.h <<_ACEOF
66099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66100 _ACEOF
66101
66102 fi
66103 done
66104
66105   else
66106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66107 $as_echo_n "checking for _float trig functions... " >&6; }
66108     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66109   $as_echo_n "(cached) " >&6
66110 else
66111
66112
66113       ac_ext=cpp
66114 ac_cpp='$CXXCPP $CPPFLAGS'
66115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66118
66119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66120 /* end confdefs.h.  */
66121 #include <math.h>
66122 int
66123 main ()
66124 {
66125 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66126   ;
66127   return 0;
66128 }
66129 _ACEOF
66130 if ac_fn_cxx_try_compile "$LINENO"; then :
66131   glibcxx_cv_func__float_trig_use=yes
66132 else
66133   glibcxx_cv_func__float_trig_use=no
66134 fi
66135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66136       ac_ext=c
66137 ac_cpp='$CPP $CPPFLAGS'
66138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66141
66142 fi
66143
66144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66145 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66146     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66147       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66148 do :
66149   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66151 eval as_val=\$$as_ac_var
66152    if test "x$as_val" = x""yes; then :
66153   cat >>confdefs.h <<_ACEOF
66154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66155 _ACEOF
66156
66157 fi
66158 done
66159
66160     fi
66161   fi
66162
66163
66164
66165
66166
66167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66168 $as_echo_n "checking for float round functions... " >&6; }
66169   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66170   $as_echo_n "(cached) " >&6
66171 else
66172
66173
66174     ac_ext=cpp
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66179
66180     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66181 /* end confdefs.h.  */
66182 #include <math.h>
66183 int
66184 main ()
66185 {
66186 ceilf (0); floorf (0);
66187   ;
66188   return 0;
66189 }
66190 _ACEOF
66191 if ac_fn_cxx_try_compile "$LINENO"; then :
66192   glibcxx_cv_func_float_round_use=yes
66193 else
66194   glibcxx_cv_func_float_round_use=no
66195 fi
66196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66197     ac_ext=c
66198 ac_cpp='$CPP $CPPFLAGS'
66199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66202
66203 fi
66204
66205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66206 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66207   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66208     for ac_func in ceilf floorf
66209 do :
66210   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66212 eval as_val=\$$as_ac_var
66213    if test "x$as_val" = x""yes; then :
66214   cat >>confdefs.h <<_ACEOF
66215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66216 _ACEOF
66217
66218 fi
66219 done
66220
66221   else
66222     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66223 $as_echo_n "checking for _float round functions... " >&6; }
66224     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66225   $as_echo_n "(cached) " >&6
66226 else
66227
66228
66229       ac_ext=cpp
66230 ac_cpp='$CXXCPP $CPPFLAGS'
66231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66234
66235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66236 /* end confdefs.h.  */
66237 #include <math.h>
66238 int
66239 main ()
66240 {
66241 _ceilf (0); _floorf (0);
66242   ;
66243   return 0;
66244 }
66245 _ACEOF
66246 if ac_fn_cxx_try_compile "$LINENO"; then :
66247   glibcxx_cv_func__float_round_use=yes
66248 else
66249   glibcxx_cv_func__float_round_use=no
66250 fi
66251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66252       ac_ext=c
66253 ac_cpp='$CPP $CPPFLAGS'
66254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66257
66258 fi
66259
66260     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66261 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66262     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66263       for ac_func in _ceilf _floorf
66264 do :
66265   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66267 eval as_val=\$$as_ac_var
66268    if test "x$as_val" = x""yes; then :
66269   cat >>confdefs.h <<_ACEOF
66270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66271 _ACEOF
66272
66273 fi
66274 done
66275
66276     fi
66277   fi
66278
66279
66280
66281
66282
66283
66284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66285 $as_echo_n "checking for expf declaration... " >&6; }
66286   if test x${glibcxx_cv_func_expf_use+set} != xset; then
66287     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66288   $as_echo_n "(cached) " >&6
66289 else
66290
66291
66292       ac_ext=cpp
66293 ac_cpp='$CXXCPP $CPPFLAGS'
66294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66297
66298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66299 /* end confdefs.h.  */
66300 #include <math.h>
66301                       #ifdef HAVE_IEEEFP_H
66302                       #include <ieeefp.h>
66303                       #endif
66304
66305 int
66306 main ()
66307 {
66308  expf(0);
66309   ;
66310   return 0;
66311 }
66312 _ACEOF
66313 if ac_fn_cxx_try_compile "$LINENO"; then :
66314   glibcxx_cv_func_expf_use=yes
66315 else
66316   glibcxx_cv_func_expf_use=no
66317 fi
66318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66319       ac_ext=c
66320 ac_cpp='$CPP $CPPFLAGS'
66321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66324
66325
66326 fi
66327
66328   fi
66329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66330 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66331
66332   if test x$glibcxx_cv_func_expf_use = x"yes"; then
66333     for ac_func in expf
66334 do :
66335   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66336 if test "x$ac_cv_func_expf" = x""yes; then :
66337   cat >>confdefs.h <<_ACEOF
66338 #define HAVE_EXPF 1
66339 _ACEOF
66340
66341 fi
66342 done
66343
66344   else
66345
66346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66347 $as_echo_n "checking for _expf declaration... " >&6; }
66348   if test x${glibcxx_cv_func__expf_use+set} != xset; then
66349     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66350   $as_echo_n "(cached) " >&6
66351 else
66352
66353
66354       ac_ext=cpp
66355 ac_cpp='$CXXCPP $CPPFLAGS'
66356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66359
66360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66361 /* end confdefs.h.  */
66362 #include <math.h>
66363                       #ifdef HAVE_IEEEFP_H
66364                       #include <ieeefp.h>
66365                       #endif
66366
66367 int
66368 main ()
66369 {
66370  _expf(0);
66371   ;
66372   return 0;
66373 }
66374 _ACEOF
66375 if ac_fn_cxx_try_compile "$LINENO"; then :
66376   glibcxx_cv_func__expf_use=yes
66377 else
66378   glibcxx_cv_func__expf_use=no
66379 fi
66380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66381       ac_ext=c
66382 ac_cpp='$CPP $CPPFLAGS'
66383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66386
66387
66388 fi
66389
66390   fi
66391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66392 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66393
66394     if test x$glibcxx_cv_func__expf_use = x"yes"; then
66395       for ac_func in _expf
66396 do :
66397   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66398 if test "x$ac_cv_func__expf" = x""yes; then :
66399   cat >>confdefs.h <<_ACEOF
66400 #define HAVE__EXPF 1
66401 _ACEOF
66402
66403 fi
66404 done
66405
66406     fi
66407   fi
66408
66409
66410
66411
66412
66413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66414 $as_echo_n "checking for isnanf declaration... " >&6; }
66415   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66416     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66417   $as_echo_n "(cached) " >&6
66418 else
66419
66420
66421       ac_ext=cpp
66422 ac_cpp='$CXXCPP $CPPFLAGS'
66423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66426
66427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66428 /* end confdefs.h.  */
66429 #include <math.h>
66430                       #ifdef HAVE_IEEEFP_H
66431                       #include <ieeefp.h>
66432                       #endif
66433
66434 int
66435 main ()
66436 {
66437  isnanf(0);
66438   ;
66439   return 0;
66440 }
66441 _ACEOF
66442 if ac_fn_cxx_try_compile "$LINENO"; then :
66443   glibcxx_cv_func_isnanf_use=yes
66444 else
66445   glibcxx_cv_func_isnanf_use=no
66446 fi
66447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66448       ac_ext=c
66449 ac_cpp='$CPP $CPPFLAGS'
66450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66453
66454
66455 fi
66456
66457   fi
66458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66459 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66460
66461   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66462     for ac_func in isnanf
66463 do :
66464   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66465 if test "x$ac_cv_func_isnanf" = x""yes; then :
66466   cat >>confdefs.h <<_ACEOF
66467 #define HAVE_ISNANF 1
66468 _ACEOF
66469
66470 fi
66471 done
66472
66473   else
66474
66475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66476 $as_echo_n "checking for _isnanf declaration... " >&6; }
66477   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66478     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66479   $as_echo_n "(cached) " >&6
66480 else
66481
66482
66483       ac_ext=cpp
66484 ac_cpp='$CXXCPP $CPPFLAGS'
66485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66488
66489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66490 /* end confdefs.h.  */
66491 #include <math.h>
66492                       #ifdef HAVE_IEEEFP_H
66493                       #include <ieeefp.h>
66494                       #endif
66495
66496 int
66497 main ()
66498 {
66499  _isnanf(0);
66500   ;
66501   return 0;
66502 }
66503 _ACEOF
66504 if ac_fn_cxx_try_compile "$LINENO"; then :
66505   glibcxx_cv_func__isnanf_use=yes
66506 else
66507   glibcxx_cv_func__isnanf_use=no
66508 fi
66509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66510       ac_ext=c
66511 ac_cpp='$CPP $CPPFLAGS'
66512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66515
66516
66517 fi
66518
66519   fi
66520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66521 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66522
66523     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66524       for ac_func in _isnanf
66525 do :
66526   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66527 if test "x$ac_cv_func__isnanf" = x""yes; then :
66528   cat >>confdefs.h <<_ACEOF
66529 #define HAVE__ISNANF 1
66530 _ACEOF
66531
66532 fi
66533 done
66534
66535     fi
66536   fi
66537
66538
66539
66540
66541
66542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66543 $as_echo_n "checking for isinff declaration... " >&6; }
66544   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66545     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66546   $as_echo_n "(cached) " >&6
66547 else
66548
66549
66550       ac_ext=cpp
66551 ac_cpp='$CXXCPP $CPPFLAGS'
66552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66555
66556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66557 /* end confdefs.h.  */
66558 #include <math.h>
66559                       #ifdef HAVE_IEEEFP_H
66560                       #include <ieeefp.h>
66561                       #endif
66562
66563 int
66564 main ()
66565 {
66566  isinff(0);
66567   ;
66568   return 0;
66569 }
66570 _ACEOF
66571 if ac_fn_cxx_try_compile "$LINENO"; then :
66572   glibcxx_cv_func_isinff_use=yes
66573 else
66574   glibcxx_cv_func_isinff_use=no
66575 fi
66576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66577       ac_ext=c
66578 ac_cpp='$CPP $CPPFLAGS'
66579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66582
66583
66584 fi
66585
66586   fi
66587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66588 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66589
66590   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66591     for ac_func in isinff
66592 do :
66593   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66594 if test "x$ac_cv_func_isinff" = x""yes; then :
66595   cat >>confdefs.h <<_ACEOF
66596 #define HAVE_ISINFF 1
66597 _ACEOF
66598
66599 fi
66600 done
66601
66602   else
66603
66604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66605 $as_echo_n "checking for _isinff declaration... " >&6; }
66606   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66607     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66608   $as_echo_n "(cached) " >&6
66609 else
66610
66611
66612       ac_ext=cpp
66613 ac_cpp='$CXXCPP $CPPFLAGS'
66614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66617
66618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66619 /* end confdefs.h.  */
66620 #include <math.h>
66621                       #ifdef HAVE_IEEEFP_H
66622                       #include <ieeefp.h>
66623                       #endif
66624
66625 int
66626 main ()
66627 {
66628  _isinff(0);
66629   ;
66630   return 0;
66631 }
66632 _ACEOF
66633 if ac_fn_cxx_try_compile "$LINENO"; then :
66634   glibcxx_cv_func__isinff_use=yes
66635 else
66636   glibcxx_cv_func__isinff_use=no
66637 fi
66638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66639       ac_ext=c
66640 ac_cpp='$CPP $CPPFLAGS'
66641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66644
66645
66646 fi
66647
66648   fi
66649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66650 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66651
66652     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66653       for ac_func in _isinff
66654 do :
66655   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66656 if test "x$ac_cv_func__isinff" = x""yes; then :
66657   cat >>confdefs.h <<_ACEOF
66658 #define HAVE__ISINFF 1
66659 _ACEOF
66660
66661 fi
66662 done
66663
66664     fi
66665   fi
66666
66667
66668
66669
66670
66671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66672 $as_echo_n "checking for atan2f declaration... " >&6; }
66673   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66674     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66675   $as_echo_n "(cached) " >&6
66676 else
66677
66678
66679       ac_ext=cpp
66680 ac_cpp='$CXXCPP $CPPFLAGS'
66681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66684
66685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66686 /* end confdefs.h.  */
66687 #include <math.h>
66688 int
66689 main ()
66690 {
66691  atan2f(0, 0);
66692   ;
66693   return 0;
66694 }
66695 _ACEOF
66696 if ac_fn_cxx_try_compile "$LINENO"; then :
66697   glibcxx_cv_func_atan2f_use=yes
66698 else
66699   glibcxx_cv_func_atan2f_use=no
66700 fi
66701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66702       ac_ext=c
66703 ac_cpp='$CPP $CPPFLAGS'
66704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66707
66708
66709 fi
66710
66711   fi
66712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66713 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66714
66715   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66716     for ac_func in atan2f
66717 do :
66718   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66719 if test "x$ac_cv_func_atan2f" = x""yes; then :
66720   cat >>confdefs.h <<_ACEOF
66721 #define HAVE_ATAN2F 1
66722 _ACEOF
66723
66724 fi
66725 done
66726
66727   else
66728
66729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66730 $as_echo_n "checking for _atan2f declaration... " >&6; }
66731   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66732     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66733   $as_echo_n "(cached) " >&6
66734 else
66735
66736
66737       ac_ext=cpp
66738 ac_cpp='$CXXCPP $CPPFLAGS'
66739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66742
66743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66744 /* end confdefs.h.  */
66745 #include <math.h>
66746 int
66747 main ()
66748 {
66749  _atan2f(0, 0);
66750   ;
66751   return 0;
66752 }
66753 _ACEOF
66754 if ac_fn_cxx_try_compile "$LINENO"; then :
66755   glibcxx_cv_func__atan2f_use=yes
66756 else
66757   glibcxx_cv_func__atan2f_use=no
66758 fi
66759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66760       ac_ext=c
66761 ac_cpp='$CPP $CPPFLAGS'
66762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765
66766
66767 fi
66768
66769   fi
66770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66771 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66772
66773     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66774       for ac_func in _atan2f
66775 do :
66776   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66777 if test "x$ac_cv_func__atan2f" = x""yes; then :
66778   cat >>confdefs.h <<_ACEOF
66779 #define HAVE__ATAN2F 1
66780 _ACEOF
66781
66782 fi
66783 done
66784
66785     fi
66786   fi
66787
66788
66789
66790
66791
66792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66793 $as_echo_n "checking for fabsf declaration... " >&6; }
66794   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66795     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66796   $as_echo_n "(cached) " >&6
66797 else
66798
66799
66800       ac_ext=cpp
66801 ac_cpp='$CXXCPP $CPPFLAGS'
66802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66805
66806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66807 /* end confdefs.h.  */
66808 #include <math.h>
66809                       #ifdef HAVE_IEEEFP_H
66810                       #include <ieeefp.h>
66811                       #endif
66812
66813 int
66814 main ()
66815 {
66816  fabsf(0);
66817   ;
66818   return 0;
66819 }
66820 _ACEOF
66821 if ac_fn_cxx_try_compile "$LINENO"; then :
66822   glibcxx_cv_func_fabsf_use=yes
66823 else
66824   glibcxx_cv_func_fabsf_use=no
66825 fi
66826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66827       ac_ext=c
66828 ac_cpp='$CPP $CPPFLAGS'
66829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66832
66833
66834 fi
66835
66836   fi
66837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66838 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66839
66840   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66841     for ac_func in fabsf
66842 do :
66843   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66844 if test "x$ac_cv_func_fabsf" = x""yes; then :
66845   cat >>confdefs.h <<_ACEOF
66846 #define HAVE_FABSF 1
66847 _ACEOF
66848
66849 fi
66850 done
66851
66852   else
66853
66854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66855 $as_echo_n "checking for _fabsf declaration... " >&6; }
66856   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66857     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66858   $as_echo_n "(cached) " >&6
66859 else
66860
66861
66862       ac_ext=cpp
66863 ac_cpp='$CXXCPP $CPPFLAGS'
66864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66867
66868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66869 /* end confdefs.h.  */
66870 #include <math.h>
66871                       #ifdef HAVE_IEEEFP_H
66872                       #include <ieeefp.h>
66873                       #endif
66874
66875 int
66876 main ()
66877 {
66878  _fabsf(0);
66879   ;
66880   return 0;
66881 }
66882 _ACEOF
66883 if ac_fn_cxx_try_compile "$LINENO"; then :
66884   glibcxx_cv_func__fabsf_use=yes
66885 else
66886   glibcxx_cv_func__fabsf_use=no
66887 fi
66888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66889       ac_ext=c
66890 ac_cpp='$CPP $CPPFLAGS'
66891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66894
66895
66896 fi
66897
66898   fi
66899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66900 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66901
66902     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66903       for ac_func in _fabsf
66904 do :
66905   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66906 if test "x$ac_cv_func__fabsf" = x""yes; then :
66907   cat >>confdefs.h <<_ACEOF
66908 #define HAVE__FABSF 1
66909 _ACEOF
66910
66911 fi
66912 done
66913
66914     fi
66915   fi
66916
66917
66918
66919
66920
66921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66922 $as_echo_n "checking for fmodf declaration... " >&6; }
66923   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66924     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66925   $as_echo_n "(cached) " >&6
66926 else
66927
66928
66929       ac_ext=cpp
66930 ac_cpp='$CXXCPP $CPPFLAGS'
66931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66934
66935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66936 /* end confdefs.h.  */
66937 #include <math.h>
66938 int
66939 main ()
66940 {
66941  fmodf(0, 0);
66942   ;
66943   return 0;
66944 }
66945 _ACEOF
66946 if ac_fn_cxx_try_compile "$LINENO"; then :
66947   glibcxx_cv_func_fmodf_use=yes
66948 else
66949   glibcxx_cv_func_fmodf_use=no
66950 fi
66951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66952       ac_ext=c
66953 ac_cpp='$CPP $CPPFLAGS'
66954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66957
66958
66959 fi
66960
66961   fi
66962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66963 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66964
66965   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66966     for ac_func in fmodf
66967 do :
66968   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66969 if test "x$ac_cv_func_fmodf" = x""yes; then :
66970   cat >>confdefs.h <<_ACEOF
66971 #define HAVE_FMODF 1
66972 _ACEOF
66973
66974 fi
66975 done
66976
66977   else
66978
66979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66980 $as_echo_n "checking for _fmodf declaration... " >&6; }
66981   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66982     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66983   $as_echo_n "(cached) " >&6
66984 else
66985
66986
66987       ac_ext=cpp
66988 ac_cpp='$CXXCPP $CPPFLAGS'
66989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66992
66993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66994 /* end confdefs.h.  */
66995 #include <math.h>
66996 int
66997 main ()
66998 {
66999  _fmodf(0, 0);
67000   ;
67001   return 0;
67002 }
67003 _ACEOF
67004 if ac_fn_cxx_try_compile "$LINENO"; then :
67005   glibcxx_cv_func__fmodf_use=yes
67006 else
67007   glibcxx_cv_func__fmodf_use=no
67008 fi
67009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67010       ac_ext=c
67011 ac_cpp='$CPP $CPPFLAGS'
67012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67015
67016
67017 fi
67018
67019   fi
67020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67021 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67022
67023     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67024       for ac_func in _fmodf
67025 do :
67026   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67027 if test "x$ac_cv_func__fmodf" = x""yes; then :
67028   cat >>confdefs.h <<_ACEOF
67029 #define HAVE__FMODF 1
67030 _ACEOF
67031
67032 fi
67033 done
67034
67035     fi
67036   fi
67037
67038
67039
67040
67041
67042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67043 $as_echo_n "checking for frexpf declaration... " >&6; }
67044   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67045     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67046   $as_echo_n "(cached) " >&6
67047 else
67048
67049
67050       ac_ext=cpp
67051 ac_cpp='$CXXCPP $CPPFLAGS'
67052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67055
67056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67057 /* end confdefs.h.  */
67058 #include <math.h>
67059 int
67060 main ()
67061 {
67062  frexpf(0, 0);
67063   ;
67064   return 0;
67065 }
67066 _ACEOF
67067 if ac_fn_cxx_try_compile "$LINENO"; then :
67068   glibcxx_cv_func_frexpf_use=yes
67069 else
67070   glibcxx_cv_func_frexpf_use=no
67071 fi
67072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67073       ac_ext=c
67074 ac_cpp='$CPP $CPPFLAGS'
67075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67078
67079
67080 fi
67081
67082   fi
67083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67084 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67085
67086   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67087     for ac_func in frexpf
67088 do :
67089   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67090 if test "x$ac_cv_func_frexpf" = x""yes; then :
67091   cat >>confdefs.h <<_ACEOF
67092 #define HAVE_FREXPF 1
67093 _ACEOF
67094
67095 fi
67096 done
67097
67098   else
67099
67100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67101 $as_echo_n "checking for _frexpf declaration... " >&6; }
67102   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67103     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67104   $as_echo_n "(cached) " >&6
67105 else
67106
67107
67108       ac_ext=cpp
67109 ac_cpp='$CXXCPP $CPPFLAGS'
67110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67113
67114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67115 /* end confdefs.h.  */
67116 #include <math.h>
67117 int
67118 main ()
67119 {
67120  _frexpf(0, 0);
67121   ;
67122   return 0;
67123 }
67124 _ACEOF
67125 if ac_fn_cxx_try_compile "$LINENO"; then :
67126   glibcxx_cv_func__frexpf_use=yes
67127 else
67128   glibcxx_cv_func__frexpf_use=no
67129 fi
67130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67131       ac_ext=c
67132 ac_cpp='$CPP $CPPFLAGS'
67133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67136
67137
67138 fi
67139
67140   fi
67141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67142 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67143
67144     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67145       for ac_func in _frexpf
67146 do :
67147   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67148 if test "x$ac_cv_func__frexpf" = x""yes; then :
67149   cat >>confdefs.h <<_ACEOF
67150 #define HAVE__FREXPF 1
67151 _ACEOF
67152
67153 fi
67154 done
67155
67156     fi
67157   fi
67158
67159
67160
67161
67162
67163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67164 $as_echo_n "checking for hypotf declaration... " >&6; }
67165   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67166     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67167   $as_echo_n "(cached) " >&6
67168 else
67169
67170
67171       ac_ext=cpp
67172 ac_cpp='$CXXCPP $CPPFLAGS'
67173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67176
67177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67178 /* end confdefs.h.  */
67179 #include <math.h>
67180 int
67181 main ()
67182 {
67183  hypotf(0, 0);
67184   ;
67185   return 0;
67186 }
67187 _ACEOF
67188 if ac_fn_cxx_try_compile "$LINENO"; then :
67189   glibcxx_cv_func_hypotf_use=yes
67190 else
67191   glibcxx_cv_func_hypotf_use=no
67192 fi
67193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67194       ac_ext=c
67195 ac_cpp='$CPP $CPPFLAGS'
67196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67199
67200
67201 fi
67202
67203   fi
67204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67205 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67206
67207   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67208     for ac_func in hypotf
67209 do :
67210   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67211 if test "x$ac_cv_func_hypotf" = x""yes; then :
67212   cat >>confdefs.h <<_ACEOF
67213 #define HAVE_HYPOTF 1
67214 _ACEOF
67215
67216 fi
67217 done
67218
67219   else
67220
67221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67222 $as_echo_n "checking for _hypotf declaration... " >&6; }
67223   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67224     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67225   $as_echo_n "(cached) " >&6
67226 else
67227
67228
67229       ac_ext=cpp
67230 ac_cpp='$CXXCPP $CPPFLAGS'
67231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67234
67235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67236 /* end confdefs.h.  */
67237 #include <math.h>
67238 int
67239 main ()
67240 {
67241  _hypotf(0, 0);
67242   ;
67243   return 0;
67244 }
67245 _ACEOF
67246 if ac_fn_cxx_try_compile "$LINENO"; then :
67247   glibcxx_cv_func__hypotf_use=yes
67248 else
67249   glibcxx_cv_func__hypotf_use=no
67250 fi
67251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67252       ac_ext=c
67253 ac_cpp='$CPP $CPPFLAGS'
67254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67257
67258
67259 fi
67260
67261   fi
67262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67263 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67264
67265     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67266       for ac_func in _hypotf
67267 do :
67268   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67269 if test "x$ac_cv_func__hypotf" = x""yes; then :
67270   cat >>confdefs.h <<_ACEOF
67271 #define HAVE__HYPOTF 1
67272 _ACEOF
67273
67274 fi
67275 done
67276
67277     fi
67278   fi
67279
67280
67281
67282
67283
67284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67285 $as_echo_n "checking for ldexpf declaration... " >&6; }
67286   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67287     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67288   $as_echo_n "(cached) " >&6
67289 else
67290
67291
67292       ac_ext=cpp
67293 ac_cpp='$CXXCPP $CPPFLAGS'
67294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67297
67298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67299 /* end confdefs.h.  */
67300 #include <math.h>
67301 int
67302 main ()
67303 {
67304  ldexpf(0, 0);
67305   ;
67306   return 0;
67307 }
67308 _ACEOF
67309 if ac_fn_cxx_try_compile "$LINENO"; then :
67310   glibcxx_cv_func_ldexpf_use=yes
67311 else
67312   glibcxx_cv_func_ldexpf_use=no
67313 fi
67314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67315       ac_ext=c
67316 ac_cpp='$CPP $CPPFLAGS'
67317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67320
67321
67322 fi
67323
67324   fi
67325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67326 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67327
67328   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67329     for ac_func in ldexpf
67330 do :
67331   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67332 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67333   cat >>confdefs.h <<_ACEOF
67334 #define HAVE_LDEXPF 1
67335 _ACEOF
67336
67337 fi
67338 done
67339
67340   else
67341
67342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67343 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67344   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67345     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67346   $as_echo_n "(cached) " >&6
67347 else
67348
67349
67350       ac_ext=cpp
67351 ac_cpp='$CXXCPP $CPPFLAGS'
67352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67355
67356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67357 /* end confdefs.h.  */
67358 #include <math.h>
67359 int
67360 main ()
67361 {
67362  _ldexpf(0, 0);
67363   ;
67364   return 0;
67365 }
67366 _ACEOF
67367 if ac_fn_cxx_try_compile "$LINENO"; then :
67368   glibcxx_cv_func__ldexpf_use=yes
67369 else
67370   glibcxx_cv_func__ldexpf_use=no
67371 fi
67372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67373       ac_ext=c
67374 ac_cpp='$CPP $CPPFLAGS'
67375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67378
67379
67380 fi
67381
67382   fi
67383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67384 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67385
67386     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67387       for ac_func in _ldexpf
67388 do :
67389   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67390 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67391   cat >>confdefs.h <<_ACEOF
67392 #define HAVE__LDEXPF 1
67393 _ACEOF
67394
67395 fi
67396 done
67397
67398     fi
67399   fi
67400
67401
67402
67403
67404
67405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67406 $as_echo_n "checking for logf declaration... " >&6; }
67407   if test x${glibcxx_cv_func_logf_use+set} != xset; then
67408     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67409   $as_echo_n "(cached) " >&6
67410 else
67411
67412
67413       ac_ext=cpp
67414 ac_cpp='$CXXCPP $CPPFLAGS'
67415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67418
67419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67420 /* end confdefs.h.  */
67421 #include <math.h>
67422                       #ifdef HAVE_IEEEFP_H
67423                       #include <ieeefp.h>
67424                       #endif
67425
67426 int
67427 main ()
67428 {
67429  logf(0);
67430   ;
67431   return 0;
67432 }
67433 _ACEOF
67434 if ac_fn_cxx_try_compile "$LINENO"; then :
67435   glibcxx_cv_func_logf_use=yes
67436 else
67437   glibcxx_cv_func_logf_use=no
67438 fi
67439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67440       ac_ext=c
67441 ac_cpp='$CPP $CPPFLAGS'
67442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67445
67446
67447 fi
67448
67449   fi
67450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67451 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67452
67453   if test x$glibcxx_cv_func_logf_use = x"yes"; then
67454     for ac_func in logf
67455 do :
67456   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67457 if test "x$ac_cv_func_logf" = x""yes; then :
67458   cat >>confdefs.h <<_ACEOF
67459 #define HAVE_LOGF 1
67460 _ACEOF
67461
67462 fi
67463 done
67464
67465   else
67466
67467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67468 $as_echo_n "checking for _logf declaration... " >&6; }
67469   if test x${glibcxx_cv_func__logf_use+set} != xset; then
67470     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67471   $as_echo_n "(cached) " >&6
67472 else
67473
67474
67475       ac_ext=cpp
67476 ac_cpp='$CXXCPP $CPPFLAGS'
67477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67480
67481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67482 /* end confdefs.h.  */
67483 #include <math.h>
67484                       #ifdef HAVE_IEEEFP_H
67485                       #include <ieeefp.h>
67486                       #endif
67487
67488 int
67489 main ()
67490 {
67491  _logf(0);
67492   ;
67493   return 0;
67494 }
67495 _ACEOF
67496 if ac_fn_cxx_try_compile "$LINENO"; then :
67497   glibcxx_cv_func__logf_use=yes
67498 else
67499   glibcxx_cv_func__logf_use=no
67500 fi
67501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67502       ac_ext=c
67503 ac_cpp='$CPP $CPPFLAGS'
67504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67507
67508
67509 fi
67510
67511   fi
67512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67513 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67514
67515     if test x$glibcxx_cv_func__logf_use = x"yes"; then
67516       for ac_func in _logf
67517 do :
67518   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67519 if test "x$ac_cv_func__logf" = x""yes; then :
67520   cat >>confdefs.h <<_ACEOF
67521 #define HAVE__LOGF 1
67522 _ACEOF
67523
67524 fi
67525 done
67526
67527     fi
67528   fi
67529
67530
67531
67532
67533
67534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67535 $as_echo_n "checking for log10f declaration... " >&6; }
67536   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67537     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67538   $as_echo_n "(cached) " >&6
67539 else
67540
67541
67542       ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67547
67548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h.  */
67550 #include <math.h>
67551                       #ifdef HAVE_IEEEFP_H
67552                       #include <ieeefp.h>
67553                       #endif
67554
67555 int
67556 main ()
67557 {
67558  log10f(0);
67559   ;
67560   return 0;
67561 }
67562 _ACEOF
67563 if ac_fn_cxx_try_compile "$LINENO"; then :
67564   glibcxx_cv_func_log10f_use=yes
67565 else
67566   glibcxx_cv_func_log10f_use=no
67567 fi
67568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67569       ac_ext=c
67570 ac_cpp='$CPP $CPPFLAGS'
67571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67574
67575
67576 fi
67577
67578   fi
67579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67580 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67581
67582   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67583     for ac_func in log10f
67584 do :
67585   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67586 if test "x$ac_cv_func_log10f" = x""yes; then :
67587   cat >>confdefs.h <<_ACEOF
67588 #define HAVE_LOG10F 1
67589 _ACEOF
67590
67591 fi
67592 done
67593
67594   else
67595
67596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67597 $as_echo_n "checking for _log10f declaration... " >&6; }
67598   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67599     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67600   $as_echo_n "(cached) " >&6
67601 else
67602
67603
67604       ac_ext=cpp
67605 ac_cpp='$CXXCPP $CPPFLAGS'
67606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67609
67610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67611 /* end confdefs.h.  */
67612 #include <math.h>
67613                       #ifdef HAVE_IEEEFP_H
67614                       #include <ieeefp.h>
67615                       #endif
67616
67617 int
67618 main ()
67619 {
67620  _log10f(0);
67621   ;
67622   return 0;
67623 }
67624 _ACEOF
67625 if ac_fn_cxx_try_compile "$LINENO"; then :
67626   glibcxx_cv_func__log10f_use=yes
67627 else
67628   glibcxx_cv_func__log10f_use=no
67629 fi
67630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67631       ac_ext=c
67632 ac_cpp='$CPP $CPPFLAGS'
67633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67636
67637
67638 fi
67639
67640   fi
67641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67642 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67643
67644     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67645       for ac_func in _log10f
67646 do :
67647   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67648 if test "x$ac_cv_func__log10f" = x""yes; then :
67649   cat >>confdefs.h <<_ACEOF
67650 #define HAVE__LOG10F 1
67651 _ACEOF
67652
67653 fi
67654 done
67655
67656     fi
67657   fi
67658
67659
67660
67661
67662
67663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67664 $as_echo_n "checking for modff declaration... " >&6; }
67665   if test x${glibcxx_cv_func_modff_use+set} != xset; then
67666     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67667   $as_echo_n "(cached) " >&6
67668 else
67669
67670
67671       ac_ext=cpp
67672 ac_cpp='$CXXCPP $CPPFLAGS'
67673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67676
67677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67678 /* end confdefs.h.  */
67679 #include <math.h>
67680 int
67681 main ()
67682 {
67683  modff(0, 0);
67684   ;
67685   return 0;
67686 }
67687 _ACEOF
67688 if ac_fn_cxx_try_compile "$LINENO"; then :
67689   glibcxx_cv_func_modff_use=yes
67690 else
67691   glibcxx_cv_func_modff_use=no
67692 fi
67693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67694       ac_ext=c
67695 ac_cpp='$CPP $CPPFLAGS'
67696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67699
67700
67701 fi
67702
67703   fi
67704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67705 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67706
67707   if test x$glibcxx_cv_func_modff_use = x"yes"; then
67708     for ac_func in modff
67709 do :
67710   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67711 if test "x$ac_cv_func_modff" = x""yes; then :
67712   cat >>confdefs.h <<_ACEOF
67713 #define HAVE_MODFF 1
67714 _ACEOF
67715
67716 fi
67717 done
67718
67719   else
67720
67721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67722 $as_echo_n "checking for _modff declaration... " >&6; }
67723   if test x${glibcxx_cv_func__modff_use+set} != xset; then
67724     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67725   $as_echo_n "(cached) " >&6
67726 else
67727
67728
67729       ac_ext=cpp
67730 ac_cpp='$CXXCPP $CPPFLAGS'
67731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67734
67735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67736 /* end confdefs.h.  */
67737 #include <math.h>
67738 int
67739 main ()
67740 {
67741  _modff(0, 0);
67742   ;
67743   return 0;
67744 }
67745 _ACEOF
67746 if ac_fn_cxx_try_compile "$LINENO"; then :
67747   glibcxx_cv_func__modff_use=yes
67748 else
67749   glibcxx_cv_func__modff_use=no
67750 fi
67751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67752       ac_ext=c
67753 ac_cpp='$CPP $CPPFLAGS'
67754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67757
67758
67759 fi
67760
67761   fi
67762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67763 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67764
67765     if test x$glibcxx_cv_func__modff_use = x"yes"; then
67766       for ac_func in _modff
67767 do :
67768   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67769 if test "x$ac_cv_func__modff" = x""yes; then :
67770   cat >>confdefs.h <<_ACEOF
67771 #define HAVE__MODFF 1
67772 _ACEOF
67773
67774 fi
67775 done
67776
67777     fi
67778   fi
67779
67780
67781
67782
67783
67784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67785 $as_echo_n "checking for modf declaration... " >&6; }
67786   if test x${glibcxx_cv_func_modf_use+set} != xset; then
67787     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67788   $as_echo_n "(cached) " >&6
67789 else
67790
67791
67792       ac_ext=cpp
67793 ac_cpp='$CXXCPP $CPPFLAGS'
67794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67797
67798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67799 /* end confdefs.h.  */
67800 #include <math.h>
67801 int
67802 main ()
67803 {
67804  modf(0, 0);
67805   ;
67806   return 0;
67807 }
67808 _ACEOF
67809 if ac_fn_cxx_try_compile "$LINENO"; then :
67810   glibcxx_cv_func_modf_use=yes
67811 else
67812   glibcxx_cv_func_modf_use=no
67813 fi
67814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67815       ac_ext=c
67816 ac_cpp='$CPP $CPPFLAGS'
67817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67820
67821
67822 fi
67823
67824   fi
67825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67826 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67827
67828   if test x$glibcxx_cv_func_modf_use = x"yes"; then
67829     for ac_func in modf
67830 do :
67831   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67832 if test "x$ac_cv_func_modf" = x""yes; then :
67833   cat >>confdefs.h <<_ACEOF
67834 #define HAVE_MODF 1
67835 _ACEOF
67836
67837 fi
67838 done
67839
67840   else
67841
67842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67843 $as_echo_n "checking for _modf declaration... " >&6; }
67844   if test x${glibcxx_cv_func__modf_use+set} != xset; then
67845     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67846   $as_echo_n "(cached) " >&6
67847 else
67848
67849
67850       ac_ext=cpp
67851 ac_cpp='$CXXCPP $CPPFLAGS'
67852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67855
67856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67857 /* end confdefs.h.  */
67858 #include <math.h>
67859 int
67860 main ()
67861 {
67862  _modf(0, 0);
67863   ;
67864   return 0;
67865 }
67866 _ACEOF
67867 if ac_fn_cxx_try_compile "$LINENO"; then :
67868   glibcxx_cv_func__modf_use=yes
67869 else
67870   glibcxx_cv_func__modf_use=no
67871 fi
67872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67873       ac_ext=c
67874 ac_cpp='$CPP $CPPFLAGS'
67875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67878
67879
67880 fi
67881
67882   fi
67883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67884 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67885
67886     if test x$glibcxx_cv_func__modf_use = x"yes"; then
67887       for ac_func in _modf
67888 do :
67889   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67890 if test "x$ac_cv_func__modf" = x""yes; then :
67891   cat >>confdefs.h <<_ACEOF
67892 #define HAVE__MODF 1
67893 _ACEOF
67894
67895 fi
67896 done
67897
67898     fi
67899   fi
67900
67901
67902
67903
67904
67905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67906 $as_echo_n "checking for powf declaration... " >&6; }
67907   if test x${glibcxx_cv_func_powf_use+set} != xset; then
67908     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67909   $as_echo_n "(cached) " >&6
67910 else
67911
67912
67913       ac_ext=cpp
67914 ac_cpp='$CXXCPP $CPPFLAGS'
67915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67918
67919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67920 /* end confdefs.h.  */
67921 #include <math.h>
67922 int
67923 main ()
67924 {
67925  powf(0, 0);
67926   ;
67927   return 0;
67928 }
67929 _ACEOF
67930 if ac_fn_cxx_try_compile "$LINENO"; then :
67931   glibcxx_cv_func_powf_use=yes
67932 else
67933   glibcxx_cv_func_powf_use=no
67934 fi
67935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67936       ac_ext=c
67937 ac_cpp='$CPP $CPPFLAGS'
67938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67941
67942
67943 fi
67944
67945   fi
67946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67947 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67948
67949   if test x$glibcxx_cv_func_powf_use = x"yes"; then
67950     for ac_func in powf
67951 do :
67952   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67953 if test "x$ac_cv_func_powf" = x""yes; then :
67954   cat >>confdefs.h <<_ACEOF
67955 #define HAVE_POWF 1
67956 _ACEOF
67957
67958 fi
67959 done
67960
67961   else
67962
67963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67964 $as_echo_n "checking for _powf declaration... " >&6; }
67965   if test x${glibcxx_cv_func__powf_use+set} != xset; then
67966     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67967   $as_echo_n "(cached) " >&6
67968 else
67969
67970
67971       ac_ext=cpp
67972 ac_cpp='$CXXCPP $CPPFLAGS'
67973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67976
67977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67978 /* end confdefs.h.  */
67979 #include <math.h>
67980 int
67981 main ()
67982 {
67983  _powf(0, 0);
67984   ;
67985   return 0;
67986 }
67987 _ACEOF
67988 if ac_fn_cxx_try_compile "$LINENO"; then :
67989   glibcxx_cv_func__powf_use=yes
67990 else
67991   glibcxx_cv_func__powf_use=no
67992 fi
67993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67994       ac_ext=c
67995 ac_cpp='$CPP $CPPFLAGS'
67996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67999
68000
68001 fi
68002
68003   fi
68004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68005 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68006
68007     if test x$glibcxx_cv_func__powf_use = x"yes"; then
68008       for ac_func in _powf
68009 do :
68010   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68011 if test "x$ac_cv_func__powf" = x""yes; then :
68012   cat >>confdefs.h <<_ACEOF
68013 #define HAVE__POWF 1
68014 _ACEOF
68015
68016 fi
68017 done
68018
68019     fi
68020   fi
68021
68022
68023
68024
68025
68026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68027 $as_echo_n "checking for sqrtf declaration... " >&6; }
68028   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68029     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68030   $as_echo_n "(cached) " >&6
68031 else
68032
68033
68034       ac_ext=cpp
68035 ac_cpp='$CXXCPP $CPPFLAGS'
68036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68039
68040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68041 /* end confdefs.h.  */
68042 #include <math.h>
68043                       #ifdef HAVE_IEEEFP_H
68044                       #include <ieeefp.h>
68045                       #endif
68046
68047 int
68048 main ()
68049 {
68050  sqrtf(0);
68051   ;
68052   return 0;
68053 }
68054 _ACEOF
68055 if ac_fn_cxx_try_compile "$LINENO"; then :
68056   glibcxx_cv_func_sqrtf_use=yes
68057 else
68058   glibcxx_cv_func_sqrtf_use=no
68059 fi
68060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68061       ac_ext=c
68062 ac_cpp='$CPP $CPPFLAGS'
68063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68066
68067
68068 fi
68069
68070   fi
68071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68072 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68073
68074   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68075     for ac_func in sqrtf
68076 do :
68077   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68078 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68079   cat >>confdefs.h <<_ACEOF
68080 #define HAVE_SQRTF 1
68081 _ACEOF
68082
68083 fi
68084 done
68085
68086   else
68087
68088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68089 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68090   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68091     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68092   $as_echo_n "(cached) " >&6
68093 else
68094
68095
68096       ac_ext=cpp
68097 ac_cpp='$CXXCPP $CPPFLAGS'
68098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68101
68102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68103 /* end confdefs.h.  */
68104 #include <math.h>
68105                       #ifdef HAVE_IEEEFP_H
68106                       #include <ieeefp.h>
68107                       #endif
68108
68109 int
68110 main ()
68111 {
68112  _sqrtf(0);
68113   ;
68114   return 0;
68115 }
68116 _ACEOF
68117 if ac_fn_cxx_try_compile "$LINENO"; then :
68118   glibcxx_cv_func__sqrtf_use=yes
68119 else
68120   glibcxx_cv_func__sqrtf_use=no
68121 fi
68122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68123       ac_ext=c
68124 ac_cpp='$CPP $CPPFLAGS'
68125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68128
68129
68130 fi
68131
68132   fi
68133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68134 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68135
68136     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68137       for ac_func in _sqrtf
68138 do :
68139   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68140 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68141   cat >>confdefs.h <<_ACEOF
68142 #define HAVE__SQRTF 1
68143 _ACEOF
68144
68145 fi
68146 done
68147
68148     fi
68149   fi
68150
68151
68152
68153
68154
68155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68156 $as_echo_n "checking for sincosf declaration... " >&6; }
68157   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68158     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68159   $as_echo_n "(cached) " >&6
68160 else
68161
68162
68163       ac_ext=cpp
68164 ac_cpp='$CXXCPP $CPPFLAGS'
68165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68168
68169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68170 /* end confdefs.h.  */
68171 #include <math.h>
68172 int
68173 main ()
68174 {
68175  sincosf(0, 0, 0);
68176   ;
68177   return 0;
68178 }
68179 _ACEOF
68180 if ac_fn_cxx_try_compile "$LINENO"; then :
68181   glibcxx_cv_func_sincosf_use=yes
68182 else
68183   glibcxx_cv_func_sincosf_use=no
68184 fi
68185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68186       ac_ext=c
68187 ac_cpp='$CPP $CPPFLAGS'
68188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68191
68192
68193 fi
68194
68195   fi
68196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68197 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68198
68199   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68200     for ac_func in sincosf
68201 do :
68202   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68203 if test "x$ac_cv_func_sincosf" = x""yes; then :
68204   cat >>confdefs.h <<_ACEOF
68205 #define HAVE_SINCOSF 1
68206 _ACEOF
68207
68208 fi
68209 done
68210
68211   else
68212
68213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68214 $as_echo_n "checking for _sincosf declaration... " >&6; }
68215   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68216     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68217   $as_echo_n "(cached) " >&6
68218 else
68219
68220
68221       ac_ext=cpp
68222 ac_cpp='$CXXCPP $CPPFLAGS'
68223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68226
68227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68228 /* end confdefs.h.  */
68229 #include <math.h>
68230 int
68231 main ()
68232 {
68233  _sincosf(0, 0, 0);
68234   ;
68235   return 0;
68236 }
68237 _ACEOF
68238 if ac_fn_cxx_try_compile "$LINENO"; then :
68239   glibcxx_cv_func__sincosf_use=yes
68240 else
68241   glibcxx_cv_func__sincosf_use=no
68242 fi
68243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68244       ac_ext=c
68245 ac_cpp='$CPP $CPPFLAGS'
68246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68249
68250
68251 fi
68252
68253   fi
68254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68255 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68256
68257     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68258       for ac_func in _sincosf
68259 do :
68260   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68261 if test "x$ac_cv_func__sincosf" = x""yes; then :
68262   cat >>confdefs.h <<_ACEOF
68263 #define HAVE__SINCOSF 1
68264 _ACEOF
68265
68266 fi
68267 done
68268
68269     fi
68270   fi
68271
68272
68273
68274
68275
68276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68277 $as_echo_n "checking for finitef declaration... " >&6; }
68278   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68279     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68280   $as_echo_n "(cached) " >&6
68281 else
68282
68283
68284       ac_ext=cpp
68285 ac_cpp='$CXXCPP $CPPFLAGS'
68286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68289
68290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68291 /* end confdefs.h.  */
68292 #include <math.h>
68293                       #ifdef HAVE_IEEEFP_H
68294                       #include <ieeefp.h>
68295                       #endif
68296
68297 int
68298 main ()
68299 {
68300  finitef(0);
68301   ;
68302   return 0;
68303 }
68304 _ACEOF
68305 if ac_fn_cxx_try_compile "$LINENO"; then :
68306   glibcxx_cv_func_finitef_use=yes
68307 else
68308   glibcxx_cv_func_finitef_use=no
68309 fi
68310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68311       ac_ext=c
68312 ac_cpp='$CPP $CPPFLAGS'
68313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68316
68317
68318 fi
68319
68320   fi
68321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68322 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68323
68324   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68325     for ac_func in finitef
68326 do :
68327   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68328 if test "x$ac_cv_func_finitef" = x""yes; then :
68329   cat >>confdefs.h <<_ACEOF
68330 #define HAVE_FINITEF 1
68331 _ACEOF
68332
68333 fi
68334 done
68335
68336   else
68337
68338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68339 $as_echo_n "checking for _finitef declaration... " >&6; }
68340   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68341     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68342   $as_echo_n "(cached) " >&6
68343 else
68344
68345
68346       ac_ext=cpp
68347 ac_cpp='$CXXCPP $CPPFLAGS'
68348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68351
68352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68353 /* end confdefs.h.  */
68354 #include <math.h>
68355                       #ifdef HAVE_IEEEFP_H
68356                       #include <ieeefp.h>
68357                       #endif
68358
68359 int
68360 main ()
68361 {
68362  _finitef(0);
68363   ;
68364   return 0;
68365 }
68366 _ACEOF
68367 if ac_fn_cxx_try_compile "$LINENO"; then :
68368   glibcxx_cv_func__finitef_use=yes
68369 else
68370   glibcxx_cv_func__finitef_use=no
68371 fi
68372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68373       ac_ext=c
68374 ac_cpp='$CPP $CPPFLAGS'
68375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68378
68379
68380 fi
68381
68382   fi
68383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68384 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68385
68386     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68387       for ac_func in _finitef
68388 do :
68389   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68390 if test "x$ac_cv_func__finitef" = x""yes; then :
68391   cat >>confdefs.h <<_ACEOF
68392 #define HAVE__FINITEF 1
68393 _ACEOF
68394
68395 fi
68396 done
68397
68398     fi
68399   fi
68400
68401
68402
68403
68404
68405     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68406 $as_echo_n "checking for long double trig functions... " >&6; }
68407   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68408   $as_echo_n "(cached) " >&6
68409 else
68410
68411
68412     ac_ext=cpp
68413 ac_cpp='$CXXCPP $CPPFLAGS'
68414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68417
68418     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68419 /* end confdefs.h.  */
68420 #include <math.h>
68421 int
68422 main ()
68423 {
68424 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68425   ;
68426   return 0;
68427 }
68428 _ACEOF
68429 if ac_fn_cxx_try_compile "$LINENO"; then :
68430   glibcxx_cv_func_long_double_trig_use=yes
68431 else
68432   glibcxx_cv_func_long_double_trig_use=no
68433 fi
68434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68435     ac_ext=c
68436 ac_cpp='$CPP $CPPFLAGS'
68437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68440
68441 fi
68442
68443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68444 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68445   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68446     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68447 do :
68448   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68450 eval as_val=\$$as_ac_var
68451    if test "x$as_val" = x""yes; then :
68452   cat >>confdefs.h <<_ACEOF
68453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68454 _ACEOF
68455
68456 fi
68457 done
68458
68459   else
68460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68461 $as_echo_n "checking for _long double trig functions... " >&6; }
68462     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68463   $as_echo_n "(cached) " >&6
68464 else
68465
68466
68467       ac_ext=cpp
68468 ac_cpp='$CXXCPP $CPPFLAGS'
68469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68472
68473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68474 /* end confdefs.h.  */
68475 #include <math.h>
68476 int
68477 main ()
68478 {
68479 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68480   ;
68481   return 0;
68482 }
68483 _ACEOF
68484 if ac_fn_cxx_try_compile "$LINENO"; then :
68485   glibcxx_cv_func__long_double_trig_use=yes
68486 else
68487   glibcxx_cv_func__long_double_trig_use=no
68488 fi
68489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68490       ac_ext=c
68491 ac_cpp='$CPP $CPPFLAGS'
68492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68495
68496 fi
68497
68498     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68499 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68500     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68501       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68502 do :
68503   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68505 eval as_val=\$$as_ac_var
68506    if test "x$as_val" = x""yes; then :
68507   cat >>confdefs.h <<_ACEOF
68508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68509 _ACEOF
68510
68511 fi
68512 done
68513
68514     fi
68515   fi
68516
68517
68518
68519
68520
68521     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68522 $as_echo_n "checking for long double round functions... " >&6; }
68523   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68524   $as_echo_n "(cached) " >&6
68525 else
68526
68527
68528     ac_ext=cpp
68529 ac_cpp='$CXXCPP $CPPFLAGS'
68530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68533
68534     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68535 /* end confdefs.h.  */
68536 #include <math.h>
68537 int
68538 main ()
68539 {
68540 ceill (0); floorl (0);
68541   ;
68542   return 0;
68543 }
68544 _ACEOF
68545 if ac_fn_cxx_try_compile "$LINENO"; then :
68546   glibcxx_cv_func_long_double_round_use=yes
68547 else
68548   glibcxx_cv_func_long_double_round_use=no
68549 fi
68550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68551     ac_ext=c
68552 ac_cpp='$CPP $CPPFLAGS'
68553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68556
68557 fi
68558
68559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68560 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68561   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68562     for ac_func in ceill floorl
68563 do :
68564   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68566 eval as_val=\$$as_ac_var
68567    if test "x$as_val" = x""yes; then :
68568   cat >>confdefs.h <<_ACEOF
68569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68570 _ACEOF
68571
68572 fi
68573 done
68574
68575   else
68576     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68577 $as_echo_n "checking for _long double round functions... " >&6; }
68578     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68579   $as_echo_n "(cached) " >&6
68580 else
68581
68582
68583       ac_ext=cpp
68584 ac_cpp='$CXXCPP $CPPFLAGS'
68585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68588
68589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68590 /* end confdefs.h.  */
68591 #include <math.h>
68592 int
68593 main ()
68594 {
68595 _ceill (0); _floorl (0);
68596   ;
68597   return 0;
68598 }
68599 _ACEOF
68600 if ac_fn_cxx_try_compile "$LINENO"; then :
68601   glibcxx_cv_func__long_double_round_use=yes
68602 else
68603   glibcxx_cv_func__long_double_round_use=no
68604 fi
68605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68606       ac_ext=c
68607 ac_cpp='$CPP $CPPFLAGS'
68608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68611
68612 fi
68613
68614     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68615 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68616     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68617       for ac_func in _ceill _floorl
68618 do :
68619   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68620 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68621 eval as_val=\$$as_ac_var
68622    if test "x$as_val" = x""yes; then :
68623   cat >>confdefs.h <<_ACEOF
68624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68625 _ACEOF
68626
68627 fi
68628 done
68629
68630     fi
68631   fi
68632
68633
68634
68635
68636
68637
68638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68639 $as_echo_n "checking for isnanl declaration... " >&6; }
68640   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68641     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68642   $as_echo_n "(cached) " >&6
68643 else
68644
68645
68646       ac_ext=cpp
68647 ac_cpp='$CXXCPP $CPPFLAGS'
68648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68651
68652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68653 /* end confdefs.h.  */
68654 #include <math.h>
68655                       #ifdef HAVE_IEEEFP_H
68656                       #include <ieeefp.h>
68657                       #endif
68658
68659 int
68660 main ()
68661 {
68662  isnanl(0);
68663   ;
68664   return 0;
68665 }
68666 _ACEOF
68667 if ac_fn_cxx_try_compile "$LINENO"; then :
68668   glibcxx_cv_func_isnanl_use=yes
68669 else
68670   glibcxx_cv_func_isnanl_use=no
68671 fi
68672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68673       ac_ext=c
68674 ac_cpp='$CPP $CPPFLAGS'
68675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68678
68679
68680 fi
68681
68682   fi
68683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68684 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68685
68686   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68687     for ac_func in isnanl
68688 do :
68689   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68690 if test "x$ac_cv_func_isnanl" = x""yes; then :
68691   cat >>confdefs.h <<_ACEOF
68692 #define HAVE_ISNANL 1
68693 _ACEOF
68694
68695 fi
68696 done
68697
68698   else
68699
68700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68701 $as_echo_n "checking for _isnanl declaration... " >&6; }
68702   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68703     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68704   $as_echo_n "(cached) " >&6
68705 else
68706
68707
68708       ac_ext=cpp
68709 ac_cpp='$CXXCPP $CPPFLAGS'
68710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68713
68714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68715 /* end confdefs.h.  */
68716 #include <math.h>
68717                       #ifdef HAVE_IEEEFP_H
68718                       #include <ieeefp.h>
68719                       #endif
68720
68721 int
68722 main ()
68723 {
68724  _isnanl(0);
68725   ;
68726   return 0;
68727 }
68728 _ACEOF
68729 if ac_fn_cxx_try_compile "$LINENO"; then :
68730   glibcxx_cv_func__isnanl_use=yes
68731 else
68732   glibcxx_cv_func__isnanl_use=no
68733 fi
68734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68735       ac_ext=c
68736 ac_cpp='$CPP $CPPFLAGS'
68737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68740
68741
68742 fi
68743
68744   fi
68745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68746 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68747
68748     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68749       for ac_func in _isnanl
68750 do :
68751   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68752 if test "x$ac_cv_func__isnanl" = x""yes; then :
68753   cat >>confdefs.h <<_ACEOF
68754 #define HAVE__ISNANL 1
68755 _ACEOF
68756
68757 fi
68758 done
68759
68760     fi
68761   fi
68762
68763
68764
68765
68766
68767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68768 $as_echo_n "checking for isinfl declaration... " >&6; }
68769   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68770     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68771   $as_echo_n "(cached) " >&6
68772 else
68773
68774
68775       ac_ext=cpp
68776 ac_cpp='$CXXCPP $CPPFLAGS'
68777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68780
68781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68782 /* end confdefs.h.  */
68783 #include <math.h>
68784                       #ifdef HAVE_IEEEFP_H
68785                       #include <ieeefp.h>
68786                       #endif
68787
68788 int
68789 main ()
68790 {
68791  isinfl(0);
68792   ;
68793   return 0;
68794 }
68795 _ACEOF
68796 if ac_fn_cxx_try_compile "$LINENO"; then :
68797   glibcxx_cv_func_isinfl_use=yes
68798 else
68799   glibcxx_cv_func_isinfl_use=no
68800 fi
68801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68802       ac_ext=c
68803 ac_cpp='$CPP $CPPFLAGS'
68804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68807
68808
68809 fi
68810
68811   fi
68812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68813 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68814
68815   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68816     for ac_func in isinfl
68817 do :
68818   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68819 if test "x$ac_cv_func_isinfl" = x""yes; then :
68820   cat >>confdefs.h <<_ACEOF
68821 #define HAVE_ISINFL 1
68822 _ACEOF
68823
68824 fi
68825 done
68826
68827   else
68828
68829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68830 $as_echo_n "checking for _isinfl declaration... " >&6; }
68831   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68832     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68833   $as_echo_n "(cached) " >&6
68834 else
68835
68836
68837       ac_ext=cpp
68838 ac_cpp='$CXXCPP $CPPFLAGS'
68839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68842
68843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68844 /* end confdefs.h.  */
68845 #include <math.h>
68846                       #ifdef HAVE_IEEEFP_H
68847                       #include <ieeefp.h>
68848                       #endif
68849
68850 int
68851 main ()
68852 {
68853  _isinfl(0);
68854   ;
68855   return 0;
68856 }
68857 _ACEOF
68858 if ac_fn_cxx_try_compile "$LINENO"; then :
68859   glibcxx_cv_func__isinfl_use=yes
68860 else
68861   glibcxx_cv_func__isinfl_use=no
68862 fi
68863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68864       ac_ext=c
68865 ac_cpp='$CPP $CPPFLAGS'
68866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68869
68870
68871 fi
68872
68873   fi
68874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68875 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68876
68877     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68878       for ac_func in _isinfl
68879 do :
68880   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68881 if test "x$ac_cv_func__isinfl" = x""yes; then :
68882   cat >>confdefs.h <<_ACEOF
68883 #define HAVE__ISINFL 1
68884 _ACEOF
68885
68886 fi
68887 done
68888
68889     fi
68890   fi
68891
68892
68893
68894
68895
68896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68897 $as_echo_n "checking for atan2l declaration... " >&6; }
68898   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68899     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68900   $as_echo_n "(cached) " >&6
68901 else
68902
68903
68904       ac_ext=cpp
68905 ac_cpp='$CXXCPP $CPPFLAGS'
68906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68909
68910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68911 /* end confdefs.h.  */
68912 #include <math.h>
68913 int
68914 main ()
68915 {
68916  atan2l(0, 0);
68917   ;
68918   return 0;
68919 }
68920 _ACEOF
68921 if ac_fn_cxx_try_compile "$LINENO"; then :
68922   glibcxx_cv_func_atan2l_use=yes
68923 else
68924   glibcxx_cv_func_atan2l_use=no
68925 fi
68926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68927       ac_ext=c
68928 ac_cpp='$CPP $CPPFLAGS'
68929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68932
68933
68934 fi
68935
68936   fi
68937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68938 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68939
68940   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68941     for ac_func in atan2l
68942 do :
68943   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68944 if test "x$ac_cv_func_atan2l" = x""yes; then :
68945   cat >>confdefs.h <<_ACEOF
68946 #define HAVE_ATAN2L 1
68947 _ACEOF
68948
68949 fi
68950 done
68951
68952   else
68953
68954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68955 $as_echo_n "checking for _atan2l declaration... " >&6; }
68956   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68957     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68958   $as_echo_n "(cached) " >&6
68959 else
68960
68961
68962       ac_ext=cpp
68963 ac_cpp='$CXXCPP $CPPFLAGS'
68964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68967
68968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68969 /* end confdefs.h.  */
68970 #include <math.h>
68971 int
68972 main ()
68973 {
68974  _atan2l(0, 0);
68975   ;
68976   return 0;
68977 }
68978 _ACEOF
68979 if ac_fn_cxx_try_compile "$LINENO"; then :
68980   glibcxx_cv_func__atan2l_use=yes
68981 else
68982   glibcxx_cv_func__atan2l_use=no
68983 fi
68984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68985       ac_ext=c
68986 ac_cpp='$CPP $CPPFLAGS'
68987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68990
68991
68992 fi
68993
68994   fi
68995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68996 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68997
68998     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68999       for ac_func in _atan2l
69000 do :
69001   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69002 if test "x$ac_cv_func__atan2l" = x""yes; then :
69003   cat >>confdefs.h <<_ACEOF
69004 #define HAVE__ATAN2L 1
69005 _ACEOF
69006
69007 fi
69008 done
69009
69010     fi
69011   fi
69012
69013
69014
69015
69016
69017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69018 $as_echo_n "checking for expl declaration... " >&6; }
69019   if test x${glibcxx_cv_func_expl_use+set} != xset; then
69020     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69021   $as_echo_n "(cached) " >&6
69022 else
69023
69024
69025       ac_ext=cpp
69026 ac_cpp='$CXXCPP $CPPFLAGS'
69027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69030
69031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69032 /* end confdefs.h.  */
69033 #include <math.h>
69034                       #ifdef HAVE_IEEEFP_H
69035                       #include <ieeefp.h>
69036                       #endif
69037
69038 int
69039 main ()
69040 {
69041  expl(0);
69042   ;
69043   return 0;
69044 }
69045 _ACEOF
69046 if ac_fn_cxx_try_compile "$LINENO"; then :
69047   glibcxx_cv_func_expl_use=yes
69048 else
69049   glibcxx_cv_func_expl_use=no
69050 fi
69051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69052       ac_ext=c
69053 ac_cpp='$CPP $CPPFLAGS'
69054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69057
69058
69059 fi
69060
69061   fi
69062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69063 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69064
69065   if test x$glibcxx_cv_func_expl_use = x"yes"; then
69066     for ac_func in expl
69067 do :
69068   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69069 if test "x$ac_cv_func_expl" = x""yes; then :
69070   cat >>confdefs.h <<_ACEOF
69071 #define HAVE_EXPL 1
69072 _ACEOF
69073
69074 fi
69075 done
69076
69077   else
69078
69079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69080 $as_echo_n "checking for _expl declaration... " >&6; }
69081   if test x${glibcxx_cv_func__expl_use+set} != xset; then
69082     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69083   $as_echo_n "(cached) " >&6
69084 else
69085
69086
69087       ac_ext=cpp
69088 ac_cpp='$CXXCPP $CPPFLAGS'
69089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69092
69093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69094 /* end confdefs.h.  */
69095 #include <math.h>
69096                       #ifdef HAVE_IEEEFP_H
69097                       #include <ieeefp.h>
69098                       #endif
69099
69100 int
69101 main ()
69102 {
69103  _expl(0);
69104   ;
69105   return 0;
69106 }
69107 _ACEOF
69108 if ac_fn_cxx_try_compile "$LINENO"; then :
69109   glibcxx_cv_func__expl_use=yes
69110 else
69111   glibcxx_cv_func__expl_use=no
69112 fi
69113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69114       ac_ext=c
69115 ac_cpp='$CPP $CPPFLAGS'
69116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69119
69120
69121 fi
69122
69123   fi
69124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69125 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69126
69127     if test x$glibcxx_cv_func__expl_use = x"yes"; then
69128       for ac_func in _expl
69129 do :
69130   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69131 if test "x$ac_cv_func__expl" = x""yes; then :
69132   cat >>confdefs.h <<_ACEOF
69133 #define HAVE__EXPL 1
69134 _ACEOF
69135
69136 fi
69137 done
69138
69139     fi
69140   fi
69141
69142
69143
69144
69145
69146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69147 $as_echo_n "checking for fabsl declaration... " >&6; }
69148   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69149     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69150   $as_echo_n "(cached) " >&6
69151 else
69152
69153
69154       ac_ext=cpp
69155 ac_cpp='$CXXCPP $CPPFLAGS'
69156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69159
69160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69161 /* end confdefs.h.  */
69162 #include <math.h>
69163                       #ifdef HAVE_IEEEFP_H
69164                       #include <ieeefp.h>
69165                       #endif
69166
69167 int
69168 main ()
69169 {
69170  fabsl(0);
69171   ;
69172   return 0;
69173 }
69174 _ACEOF
69175 if ac_fn_cxx_try_compile "$LINENO"; then :
69176   glibcxx_cv_func_fabsl_use=yes
69177 else
69178   glibcxx_cv_func_fabsl_use=no
69179 fi
69180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69181       ac_ext=c
69182 ac_cpp='$CPP $CPPFLAGS'
69183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69186
69187
69188 fi
69189
69190   fi
69191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69192 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69193
69194   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69195     for ac_func in fabsl
69196 do :
69197   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69198 if test "x$ac_cv_func_fabsl" = x""yes; then :
69199   cat >>confdefs.h <<_ACEOF
69200 #define HAVE_FABSL 1
69201 _ACEOF
69202
69203 fi
69204 done
69205
69206   else
69207
69208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69209 $as_echo_n "checking for _fabsl declaration... " >&6; }
69210   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69211     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69212   $as_echo_n "(cached) " >&6
69213 else
69214
69215
69216       ac_ext=cpp
69217 ac_cpp='$CXXCPP $CPPFLAGS'
69218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69221
69222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69223 /* end confdefs.h.  */
69224 #include <math.h>
69225                       #ifdef HAVE_IEEEFP_H
69226                       #include <ieeefp.h>
69227                       #endif
69228
69229 int
69230 main ()
69231 {
69232  _fabsl(0);
69233   ;
69234   return 0;
69235 }
69236 _ACEOF
69237 if ac_fn_cxx_try_compile "$LINENO"; then :
69238   glibcxx_cv_func__fabsl_use=yes
69239 else
69240   glibcxx_cv_func__fabsl_use=no
69241 fi
69242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69243       ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69248
69249
69250 fi
69251
69252   fi
69253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69254 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69255
69256     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69257       for ac_func in _fabsl
69258 do :
69259   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69260 if test "x$ac_cv_func__fabsl" = x""yes; then :
69261   cat >>confdefs.h <<_ACEOF
69262 #define HAVE__FABSL 1
69263 _ACEOF
69264
69265 fi
69266 done
69267
69268     fi
69269   fi
69270
69271
69272
69273
69274
69275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69276 $as_echo_n "checking for fmodl declaration... " >&6; }
69277   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69278     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69279   $as_echo_n "(cached) " >&6
69280 else
69281
69282
69283       ac_ext=cpp
69284 ac_cpp='$CXXCPP $CPPFLAGS'
69285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69288
69289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69290 /* end confdefs.h.  */
69291 #include <math.h>
69292 int
69293 main ()
69294 {
69295  fmodl(0, 0);
69296   ;
69297   return 0;
69298 }
69299 _ACEOF
69300 if ac_fn_cxx_try_compile "$LINENO"; then :
69301   glibcxx_cv_func_fmodl_use=yes
69302 else
69303   glibcxx_cv_func_fmodl_use=no
69304 fi
69305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69306       ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311
69312
69313 fi
69314
69315   fi
69316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69317 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69318
69319   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69320     for ac_func in fmodl
69321 do :
69322   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69323 if test "x$ac_cv_func_fmodl" = x""yes; then :
69324   cat >>confdefs.h <<_ACEOF
69325 #define HAVE_FMODL 1
69326 _ACEOF
69327
69328 fi
69329 done
69330
69331   else
69332
69333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69334 $as_echo_n "checking for _fmodl declaration... " >&6; }
69335   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69336     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69337   $as_echo_n "(cached) " >&6
69338 else
69339
69340
69341       ac_ext=cpp
69342 ac_cpp='$CXXCPP $CPPFLAGS'
69343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69346
69347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69348 /* end confdefs.h.  */
69349 #include <math.h>
69350 int
69351 main ()
69352 {
69353  _fmodl(0, 0);
69354   ;
69355   return 0;
69356 }
69357 _ACEOF
69358 if ac_fn_cxx_try_compile "$LINENO"; then :
69359   glibcxx_cv_func__fmodl_use=yes
69360 else
69361   glibcxx_cv_func__fmodl_use=no
69362 fi
69363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69364       ac_ext=c
69365 ac_cpp='$CPP $CPPFLAGS'
69366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69369
69370
69371 fi
69372
69373   fi
69374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69375 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69376
69377     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69378       for ac_func in _fmodl
69379 do :
69380   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69381 if test "x$ac_cv_func__fmodl" = x""yes; then :
69382   cat >>confdefs.h <<_ACEOF
69383 #define HAVE__FMODL 1
69384 _ACEOF
69385
69386 fi
69387 done
69388
69389     fi
69390   fi
69391
69392
69393
69394
69395
69396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69397 $as_echo_n "checking for frexpl declaration... " >&6; }
69398   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69399     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69400   $as_echo_n "(cached) " >&6
69401 else
69402
69403
69404       ac_ext=cpp
69405 ac_cpp='$CXXCPP $CPPFLAGS'
69406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69409
69410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69411 /* end confdefs.h.  */
69412 #include <math.h>
69413 int
69414 main ()
69415 {
69416  frexpl(0, 0);
69417   ;
69418   return 0;
69419 }
69420 _ACEOF
69421 if ac_fn_cxx_try_compile "$LINENO"; then :
69422   glibcxx_cv_func_frexpl_use=yes
69423 else
69424   glibcxx_cv_func_frexpl_use=no
69425 fi
69426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69427       ac_ext=c
69428 ac_cpp='$CPP $CPPFLAGS'
69429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69432
69433
69434 fi
69435
69436   fi
69437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69438 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69439
69440   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69441     for ac_func in frexpl
69442 do :
69443   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69444 if test "x$ac_cv_func_frexpl" = x""yes; then :
69445   cat >>confdefs.h <<_ACEOF
69446 #define HAVE_FREXPL 1
69447 _ACEOF
69448
69449 fi
69450 done
69451
69452   else
69453
69454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69455 $as_echo_n "checking for _frexpl declaration... " >&6; }
69456   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69457     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69458   $as_echo_n "(cached) " >&6
69459 else
69460
69461
69462       ac_ext=cpp
69463 ac_cpp='$CXXCPP $CPPFLAGS'
69464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69467
69468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69469 /* end confdefs.h.  */
69470 #include <math.h>
69471 int
69472 main ()
69473 {
69474  _frexpl(0, 0);
69475   ;
69476   return 0;
69477 }
69478 _ACEOF
69479 if ac_fn_cxx_try_compile "$LINENO"; then :
69480   glibcxx_cv_func__frexpl_use=yes
69481 else
69482   glibcxx_cv_func__frexpl_use=no
69483 fi
69484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69485       ac_ext=c
69486 ac_cpp='$CPP $CPPFLAGS'
69487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69490
69491
69492 fi
69493
69494   fi
69495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69496 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69497
69498     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69499       for ac_func in _frexpl
69500 do :
69501   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69502 if test "x$ac_cv_func__frexpl" = x""yes; then :
69503   cat >>confdefs.h <<_ACEOF
69504 #define HAVE__FREXPL 1
69505 _ACEOF
69506
69507 fi
69508 done
69509
69510     fi
69511   fi
69512
69513
69514
69515
69516
69517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69518 $as_echo_n "checking for hypotl declaration... " >&6; }
69519   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69520     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69521   $as_echo_n "(cached) " >&6
69522 else
69523
69524
69525       ac_ext=cpp
69526 ac_cpp='$CXXCPP $CPPFLAGS'
69527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69530
69531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69532 /* end confdefs.h.  */
69533 #include <math.h>
69534 int
69535 main ()
69536 {
69537  hypotl(0, 0);
69538   ;
69539   return 0;
69540 }
69541 _ACEOF
69542 if ac_fn_cxx_try_compile "$LINENO"; then :
69543   glibcxx_cv_func_hypotl_use=yes
69544 else
69545   glibcxx_cv_func_hypotl_use=no
69546 fi
69547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69548       ac_ext=c
69549 ac_cpp='$CPP $CPPFLAGS'
69550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69553
69554
69555 fi
69556
69557   fi
69558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69559 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69560
69561   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69562     for ac_func in hypotl
69563 do :
69564   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69565 if test "x$ac_cv_func_hypotl" = x""yes; then :
69566   cat >>confdefs.h <<_ACEOF
69567 #define HAVE_HYPOTL 1
69568 _ACEOF
69569
69570 fi
69571 done
69572
69573   else
69574
69575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69576 $as_echo_n "checking for _hypotl declaration... " >&6; }
69577   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69578     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69579   $as_echo_n "(cached) " >&6
69580 else
69581
69582
69583       ac_ext=cpp
69584 ac_cpp='$CXXCPP $CPPFLAGS'
69585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69588
69589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69590 /* end confdefs.h.  */
69591 #include <math.h>
69592 int
69593 main ()
69594 {
69595  _hypotl(0, 0);
69596   ;
69597   return 0;
69598 }
69599 _ACEOF
69600 if ac_fn_cxx_try_compile "$LINENO"; then :
69601   glibcxx_cv_func__hypotl_use=yes
69602 else
69603   glibcxx_cv_func__hypotl_use=no
69604 fi
69605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69606       ac_ext=c
69607 ac_cpp='$CPP $CPPFLAGS'
69608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69611
69612
69613 fi
69614
69615   fi
69616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69617 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69618
69619     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69620       for ac_func in _hypotl
69621 do :
69622   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69623 if test "x$ac_cv_func__hypotl" = x""yes; then :
69624   cat >>confdefs.h <<_ACEOF
69625 #define HAVE__HYPOTL 1
69626 _ACEOF
69627
69628 fi
69629 done
69630
69631     fi
69632   fi
69633
69634
69635
69636
69637
69638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69639 $as_echo_n "checking for ldexpl declaration... " >&6; }
69640   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69641     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69642   $as_echo_n "(cached) " >&6
69643 else
69644
69645
69646       ac_ext=cpp
69647 ac_cpp='$CXXCPP $CPPFLAGS'
69648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69651
69652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69653 /* end confdefs.h.  */
69654 #include <math.h>
69655 int
69656 main ()
69657 {
69658  ldexpl(0, 0);
69659   ;
69660   return 0;
69661 }
69662 _ACEOF
69663 if ac_fn_cxx_try_compile "$LINENO"; then :
69664   glibcxx_cv_func_ldexpl_use=yes
69665 else
69666   glibcxx_cv_func_ldexpl_use=no
69667 fi
69668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69669       ac_ext=c
69670 ac_cpp='$CPP $CPPFLAGS'
69671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69674
69675
69676 fi
69677
69678   fi
69679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69680 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69681
69682   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69683     for ac_func in ldexpl
69684 do :
69685   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69686 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69687   cat >>confdefs.h <<_ACEOF
69688 #define HAVE_LDEXPL 1
69689 _ACEOF
69690
69691 fi
69692 done
69693
69694   else
69695
69696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69697 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69698   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69699     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69700   $as_echo_n "(cached) " >&6
69701 else
69702
69703
69704       ac_ext=cpp
69705 ac_cpp='$CXXCPP $CPPFLAGS'
69706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69709
69710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69711 /* end confdefs.h.  */
69712 #include <math.h>
69713 int
69714 main ()
69715 {
69716  _ldexpl(0, 0);
69717   ;
69718   return 0;
69719 }
69720 _ACEOF
69721 if ac_fn_cxx_try_compile "$LINENO"; then :
69722   glibcxx_cv_func__ldexpl_use=yes
69723 else
69724   glibcxx_cv_func__ldexpl_use=no
69725 fi
69726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69727       ac_ext=c
69728 ac_cpp='$CPP $CPPFLAGS'
69729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69732
69733
69734 fi
69735
69736   fi
69737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69738 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69739
69740     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69741       for ac_func in _ldexpl
69742 do :
69743   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69744 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69745   cat >>confdefs.h <<_ACEOF
69746 #define HAVE__LDEXPL 1
69747 _ACEOF
69748
69749 fi
69750 done
69751
69752     fi
69753   fi
69754
69755
69756
69757
69758
69759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69760 $as_echo_n "checking for logl declaration... " >&6; }
69761   if test x${glibcxx_cv_func_logl_use+set} != xset; then
69762     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69763   $as_echo_n "(cached) " >&6
69764 else
69765
69766
69767       ac_ext=cpp
69768 ac_cpp='$CXXCPP $CPPFLAGS'
69769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69772
69773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69774 /* end confdefs.h.  */
69775 #include <math.h>
69776                       #ifdef HAVE_IEEEFP_H
69777                       #include <ieeefp.h>
69778                       #endif
69779
69780 int
69781 main ()
69782 {
69783  logl(0);
69784   ;
69785   return 0;
69786 }
69787 _ACEOF
69788 if ac_fn_cxx_try_compile "$LINENO"; then :
69789   glibcxx_cv_func_logl_use=yes
69790 else
69791   glibcxx_cv_func_logl_use=no
69792 fi
69793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69794       ac_ext=c
69795 ac_cpp='$CPP $CPPFLAGS'
69796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69799
69800
69801 fi
69802
69803   fi
69804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69805 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69806
69807   if test x$glibcxx_cv_func_logl_use = x"yes"; then
69808     for ac_func in logl
69809 do :
69810   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69811 if test "x$ac_cv_func_logl" = x""yes; then :
69812   cat >>confdefs.h <<_ACEOF
69813 #define HAVE_LOGL 1
69814 _ACEOF
69815
69816 fi
69817 done
69818
69819   else
69820
69821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69822 $as_echo_n "checking for _logl declaration... " >&6; }
69823   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69824     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69825   $as_echo_n "(cached) " >&6
69826 else
69827
69828
69829       ac_ext=cpp
69830 ac_cpp='$CXXCPP $CPPFLAGS'
69831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69834
69835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69836 /* end confdefs.h.  */
69837 #include <math.h>
69838                       #ifdef HAVE_IEEEFP_H
69839                       #include <ieeefp.h>
69840                       #endif
69841
69842 int
69843 main ()
69844 {
69845  _logl(0);
69846   ;
69847   return 0;
69848 }
69849 _ACEOF
69850 if ac_fn_cxx_try_compile "$LINENO"; then :
69851   glibcxx_cv_func__logl_use=yes
69852 else
69853   glibcxx_cv_func__logl_use=no
69854 fi
69855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69856       ac_ext=c
69857 ac_cpp='$CPP $CPPFLAGS'
69858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69861
69862
69863 fi
69864
69865   fi
69866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69867 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69868
69869     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69870       for ac_func in _logl
69871 do :
69872   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69873 if test "x$ac_cv_func__logl" = x""yes; then :
69874   cat >>confdefs.h <<_ACEOF
69875 #define HAVE__LOGL 1
69876 _ACEOF
69877
69878 fi
69879 done
69880
69881     fi
69882   fi
69883
69884
69885
69886
69887
69888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69889 $as_echo_n "checking for log10l declaration... " >&6; }
69890   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69891     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69892   $as_echo_n "(cached) " >&6
69893 else
69894
69895
69896       ac_ext=cpp
69897 ac_cpp='$CXXCPP $CPPFLAGS'
69898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69901
69902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69903 /* end confdefs.h.  */
69904 #include <math.h>
69905                       #ifdef HAVE_IEEEFP_H
69906                       #include <ieeefp.h>
69907                       #endif
69908
69909 int
69910 main ()
69911 {
69912  log10l(0);
69913   ;
69914   return 0;
69915 }
69916 _ACEOF
69917 if ac_fn_cxx_try_compile "$LINENO"; then :
69918   glibcxx_cv_func_log10l_use=yes
69919 else
69920   glibcxx_cv_func_log10l_use=no
69921 fi
69922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69923       ac_ext=c
69924 ac_cpp='$CPP $CPPFLAGS'
69925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69928
69929
69930 fi
69931
69932   fi
69933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69934 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69935
69936   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69937     for ac_func in log10l
69938 do :
69939   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69940 if test "x$ac_cv_func_log10l" = x""yes; then :
69941   cat >>confdefs.h <<_ACEOF
69942 #define HAVE_LOG10L 1
69943 _ACEOF
69944
69945 fi
69946 done
69947
69948   else
69949
69950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69951 $as_echo_n "checking for _log10l declaration... " >&6; }
69952   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69953     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69954   $as_echo_n "(cached) " >&6
69955 else
69956
69957
69958       ac_ext=cpp
69959 ac_cpp='$CXXCPP $CPPFLAGS'
69960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69963
69964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69965 /* end confdefs.h.  */
69966 #include <math.h>
69967                       #ifdef HAVE_IEEEFP_H
69968                       #include <ieeefp.h>
69969                       #endif
69970
69971 int
69972 main ()
69973 {
69974  _log10l(0);
69975   ;
69976   return 0;
69977 }
69978 _ACEOF
69979 if ac_fn_cxx_try_compile "$LINENO"; then :
69980   glibcxx_cv_func__log10l_use=yes
69981 else
69982   glibcxx_cv_func__log10l_use=no
69983 fi
69984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69985       ac_ext=c
69986 ac_cpp='$CPP $CPPFLAGS'
69987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69990
69991
69992 fi
69993
69994   fi
69995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69996 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69997
69998     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69999       for ac_func in _log10l
70000 do :
70001   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70002 if test "x$ac_cv_func__log10l" = x""yes; then :
70003   cat >>confdefs.h <<_ACEOF
70004 #define HAVE__LOG10L 1
70005 _ACEOF
70006
70007 fi
70008 done
70009
70010     fi
70011   fi
70012
70013
70014
70015
70016
70017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70018 $as_echo_n "checking for modfl declaration... " >&6; }
70019   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70020     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70021   $as_echo_n "(cached) " >&6
70022 else
70023
70024
70025       ac_ext=cpp
70026 ac_cpp='$CXXCPP $CPPFLAGS'
70027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70030
70031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70032 /* end confdefs.h.  */
70033 #include <math.h>
70034 int
70035 main ()
70036 {
70037  modfl(0, 0);
70038   ;
70039   return 0;
70040 }
70041 _ACEOF
70042 if ac_fn_cxx_try_compile "$LINENO"; then :
70043   glibcxx_cv_func_modfl_use=yes
70044 else
70045   glibcxx_cv_func_modfl_use=no
70046 fi
70047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70048       ac_ext=c
70049 ac_cpp='$CPP $CPPFLAGS'
70050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70053
70054
70055 fi
70056
70057   fi
70058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70059 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70060
70061   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70062     for ac_func in modfl
70063 do :
70064   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70065 if test "x$ac_cv_func_modfl" = x""yes; then :
70066   cat >>confdefs.h <<_ACEOF
70067 #define HAVE_MODFL 1
70068 _ACEOF
70069
70070 fi
70071 done
70072
70073   else
70074
70075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70076 $as_echo_n "checking for _modfl declaration... " >&6; }
70077   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70078     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70079   $as_echo_n "(cached) " >&6
70080 else
70081
70082
70083       ac_ext=cpp
70084 ac_cpp='$CXXCPP $CPPFLAGS'
70085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70088
70089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70090 /* end confdefs.h.  */
70091 #include <math.h>
70092 int
70093 main ()
70094 {
70095  _modfl(0, 0);
70096   ;
70097   return 0;
70098 }
70099 _ACEOF
70100 if ac_fn_cxx_try_compile "$LINENO"; then :
70101   glibcxx_cv_func__modfl_use=yes
70102 else
70103   glibcxx_cv_func__modfl_use=no
70104 fi
70105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70106       ac_ext=c
70107 ac_cpp='$CPP $CPPFLAGS'
70108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70111
70112
70113 fi
70114
70115   fi
70116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70117 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70118
70119     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70120       for ac_func in _modfl
70121 do :
70122   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70123 if test "x$ac_cv_func__modfl" = x""yes; then :
70124   cat >>confdefs.h <<_ACEOF
70125 #define HAVE__MODFL 1
70126 _ACEOF
70127
70128 fi
70129 done
70130
70131     fi
70132   fi
70133
70134
70135
70136
70137
70138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70139 $as_echo_n "checking for powl declaration... " >&6; }
70140   if test x${glibcxx_cv_func_powl_use+set} != xset; then
70141     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70142   $as_echo_n "(cached) " >&6
70143 else
70144
70145
70146       ac_ext=cpp
70147 ac_cpp='$CXXCPP $CPPFLAGS'
70148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70151
70152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70153 /* end confdefs.h.  */
70154 #include <math.h>
70155 int
70156 main ()
70157 {
70158  powl(0, 0);
70159   ;
70160   return 0;
70161 }
70162 _ACEOF
70163 if ac_fn_cxx_try_compile "$LINENO"; then :
70164   glibcxx_cv_func_powl_use=yes
70165 else
70166   glibcxx_cv_func_powl_use=no
70167 fi
70168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70169       ac_ext=c
70170 ac_cpp='$CPP $CPPFLAGS'
70171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70174
70175
70176 fi
70177
70178   fi
70179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70180 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70181
70182   if test x$glibcxx_cv_func_powl_use = x"yes"; then
70183     for ac_func in powl
70184 do :
70185   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70186 if test "x$ac_cv_func_powl" = x""yes; then :
70187   cat >>confdefs.h <<_ACEOF
70188 #define HAVE_POWL 1
70189 _ACEOF
70190
70191 fi
70192 done
70193
70194   else
70195
70196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70197 $as_echo_n "checking for _powl declaration... " >&6; }
70198   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70199     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70200   $as_echo_n "(cached) " >&6
70201 else
70202
70203
70204       ac_ext=cpp
70205 ac_cpp='$CXXCPP $CPPFLAGS'
70206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70209
70210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70211 /* end confdefs.h.  */
70212 #include <math.h>
70213 int
70214 main ()
70215 {
70216  _powl(0, 0);
70217   ;
70218   return 0;
70219 }
70220 _ACEOF
70221 if ac_fn_cxx_try_compile "$LINENO"; then :
70222   glibcxx_cv_func__powl_use=yes
70223 else
70224   glibcxx_cv_func__powl_use=no
70225 fi
70226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70227       ac_ext=c
70228 ac_cpp='$CPP $CPPFLAGS'
70229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70232
70233
70234 fi
70235
70236   fi
70237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70238 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70239
70240     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70241       for ac_func in _powl
70242 do :
70243   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70244 if test "x$ac_cv_func__powl" = x""yes; then :
70245   cat >>confdefs.h <<_ACEOF
70246 #define HAVE__POWL 1
70247 _ACEOF
70248
70249 fi
70250 done
70251
70252     fi
70253   fi
70254
70255
70256
70257
70258
70259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70260 $as_echo_n "checking for sqrtl declaration... " >&6; }
70261   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70262     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70263   $as_echo_n "(cached) " >&6
70264 else
70265
70266
70267       ac_ext=cpp
70268 ac_cpp='$CXXCPP $CPPFLAGS'
70269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70272
70273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70274 /* end confdefs.h.  */
70275 #include <math.h>
70276                       #ifdef HAVE_IEEEFP_H
70277                       #include <ieeefp.h>
70278                       #endif
70279
70280 int
70281 main ()
70282 {
70283  sqrtl(0);
70284   ;
70285   return 0;
70286 }
70287 _ACEOF
70288 if ac_fn_cxx_try_compile "$LINENO"; then :
70289   glibcxx_cv_func_sqrtl_use=yes
70290 else
70291   glibcxx_cv_func_sqrtl_use=no
70292 fi
70293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70294       ac_ext=c
70295 ac_cpp='$CPP $CPPFLAGS'
70296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70299
70300
70301 fi
70302
70303   fi
70304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70305 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70306
70307   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70308     for ac_func in sqrtl
70309 do :
70310   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70311 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70312   cat >>confdefs.h <<_ACEOF
70313 #define HAVE_SQRTL 1
70314 _ACEOF
70315
70316 fi
70317 done
70318
70319   else
70320
70321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70322 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70323   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70324     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70325   $as_echo_n "(cached) " >&6
70326 else
70327
70328
70329       ac_ext=cpp
70330 ac_cpp='$CXXCPP $CPPFLAGS'
70331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70334
70335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70336 /* end confdefs.h.  */
70337 #include <math.h>
70338                       #ifdef HAVE_IEEEFP_H
70339                       #include <ieeefp.h>
70340                       #endif
70341
70342 int
70343 main ()
70344 {
70345  _sqrtl(0);
70346   ;
70347   return 0;
70348 }
70349 _ACEOF
70350 if ac_fn_cxx_try_compile "$LINENO"; then :
70351   glibcxx_cv_func__sqrtl_use=yes
70352 else
70353   glibcxx_cv_func__sqrtl_use=no
70354 fi
70355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70356       ac_ext=c
70357 ac_cpp='$CPP $CPPFLAGS'
70358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70361
70362
70363 fi
70364
70365   fi
70366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70367 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70368
70369     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70370       for ac_func in _sqrtl
70371 do :
70372   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70373 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70374   cat >>confdefs.h <<_ACEOF
70375 #define HAVE__SQRTL 1
70376 _ACEOF
70377
70378 fi
70379 done
70380
70381     fi
70382   fi
70383
70384
70385
70386
70387
70388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70389 $as_echo_n "checking for sincosl declaration... " >&6; }
70390   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70391     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70392   $as_echo_n "(cached) " >&6
70393 else
70394
70395
70396       ac_ext=cpp
70397 ac_cpp='$CXXCPP $CPPFLAGS'
70398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70401
70402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70403 /* end confdefs.h.  */
70404 #include <math.h>
70405 int
70406 main ()
70407 {
70408  sincosl(0, 0, 0);
70409   ;
70410   return 0;
70411 }
70412 _ACEOF
70413 if ac_fn_cxx_try_compile "$LINENO"; then :
70414   glibcxx_cv_func_sincosl_use=yes
70415 else
70416   glibcxx_cv_func_sincosl_use=no
70417 fi
70418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70419       ac_ext=c
70420 ac_cpp='$CPP $CPPFLAGS'
70421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70424
70425
70426 fi
70427
70428   fi
70429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70430 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70431
70432   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70433     for ac_func in sincosl
70434 do :
70435   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70436 if test "x$ac_cv_func_sincosl" = x""yes; then :
70437   cat >>confdefs.h <<_ACEOF
70438 #define HAVE_SINCOSL 1
70439 _ACEOF
70440
70441 fi
70442 done
70443
70444   else
70445
70446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70447 $as_echo_n "checking for _sincosl declaration... " >&6; }
70448   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70449     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70450   $as_echo_n "(cached) " >&6
70451 else
70452
70453
70454       ac_ext=cpp
70455 ac_cpp='$CXXCPP $CPPFLAGS'
70456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70459
70460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70461 /* end confdefs.h.  */
70462 #include <math.h>
70463 int
70464 main ()
70465 {
70466  _sincosl(0, 0, 0);
70467   ;
70468   return 0;
70469 }
70470 _ACEOF
70471 if ac_fn_cxx_try_compile "$LINENO"; then :
70472   glibcxx_cv_func__sincosl_use=yes
70473 else
70474   glibcxx_cv_func__sincosl_use=no
70475 fi
70476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70477       ac_ext=c
70478 ac_cpp='$CPP $CPPFLAGS'
70479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70482
70483
70484 fi
70485
70486   fi
70487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70488 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70489
70490     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70491       for ac_func in _sincosl
70492 do :
70493   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70494 if test "x$ac_cv_func__sincosl" = x""yes; then :
70495   cat >>confdefs.h <<_ACEOF
70496 #define HAVE__SINCOSL 1
70497 _ACEOF
70498
70499 fi
70500 done
70501
70502     fi
70503   fi
70504
70505
70506
70507
70508
70509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70510 $as_echo_n "checking for finitel declaration... " >&6; }
70511   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70512     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70513   $as_echo_n "(cached) " >&6
70514 else
70515
70516
70517       ac_ext=cpp
70518 ac_cpp='$CXXCPP $CPPFLAGS'
70519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70522
70523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70524 /* end confdefs.h.  */
70525 #include <math.h>
70526                       #ifdef HAVE_IEEEFP_H
70527                       #include <ieeefp.h>
70528                       #endif
70529
70530 int
70531 main ()
70532 {
70533  finitel(0);
70534   ;
70535   return 0;
70536 }
70537 _ACEOF
70538 if ac_fn_cxx_try_compile "$LINENO"; then :
70539   glibcxx_cv_func_finitel_use=yes
70540 else
70541   glibcxx_cv_func_finitel_use=no
70542 fi
70543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70544       ac_ext=c
70545 ac_cpp='$CPP $CPPFLAGS'
70546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70549
70550
70551 fi
70552
70553   fi
70554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70555 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70556
70557   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70558     for ac_func in finitel
70559 do :
70560   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70561 if test "x$ac_cv_func_finitel" = x""yes; then :
70562   cat >>confdefs.h <<_ACEOF
70563 #define HAVE_FINITEL 1
70564 _ACEOF
70565
70566 fi
70567 done
70568
70569   else
70570
70571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70572 $as_echo_n "checking for _finitel declaration... " >&6; }
70573   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70574     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70575   $as_echo_n "(cached) " >&6
70576 else
70577
70578
70579       ac_ext=cpp
70580 ac_cpp='$CXXCPP $CPPFLAGS'
70581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70584
70585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70586 /* end confdefs.h.  */
70587 #include <math.h>
70588                       #ifdef HAVE_IEEEFP_H
70589                       #include <ieeefp.h>
70590                       #endif
70591
70592 int
70593 main ()
70594 {
70595  _finitel(0);
70596   ;
70597   return 0;
70598 }
70599 _ACEOF
70600 if ac_fn_cxx_try_compile "$LINENO"; then :
70601   glibcxx_cv_func__finitel_use=yes
70602 else
70603   glibcxx_cv_func__finitel_use=no
70604 fi
70605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70606       ac_ext=c
70607 ac_cpp='$CPP $CPPFLAGS'
70608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70611
70612
70613 fi
70614
70615   fi
70616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70617 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70618
70619     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70620       for ac_func in _finitel
70621 do :
70622   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70623 if test "x$ac_cv_func__finitel" = x""yes; then :
70624   cat >>confdefs.h <<_ACEOF
70625 #define HAVE__FINITEL 1
70626 _ACEOF
70627
70628 fi
70629 done
70630
70631     fi
70632   fi
70633
70634
70635
70636
70637   LIBS="$ac_save_LIBS"
70638   CXXFLAGS="$ac_save_CXXFLAGS"
70639
70640
70641   ac_test_CXXFLAGS="${CXXFLAGS+set}"
70642   ac_save_CXXFLAGS="$CXXFLAGS"
70643   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70644
70645
70646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70647 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70648   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70649     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70650   $as_echo_n "(cached) " >&6
70651 else
70652
70653
70654       ac_ext=cpp
70655 ac_cpp='$CXXCPP $CPPFLAGS'
70656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70659
70660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70661 /* end confdefs.h.  */
70662 #include <stdlib.h>
70663 int
70664 main ()
70665 {
70666  at_quick_exit(0);
70667   ;
70668   return 0;
70669 }
70670 _ACEOF
70671 if ac_fn_cxx_try_compile "$LINENO"; then :
70672   glibcxx_cv_func_at_quick_exit_use=yes
70673 else
70674   glibcxx_cv_func_at_quick_exit_use=no
70675 fi
70676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70677       ac_ext=c
70678 ac_cpp='$CPP $CPPFLAGS'
70679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70682
70683
70684 fi
70685
70686   fi
70687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70688 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70689   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70690     for ac_func in at_quick_exit
70691 do :
70692   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70693 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70694   cat >>confdefs.h <<_ACEOF
70695 #define HAVE_AT_QUICK_EXIT 1
70696 _ACEOF
70697
70698 fi
70699 done
70700
70701   fi
70702
70703
70704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70705 $as_echo_n "checking for quick_exit declaration... " >&6; }
70706   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70707     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70708   $as_echo_n "(cached) " >&6
70709 else
70710
70711
70712       ac_ext=cpp
70713 ac_cpp='$CXXCPP $CPPFLAGS'
70714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70717
70718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70719 /* end confdefs.h.  */
70720 #include <stdlib.h>
70721 int
70722 main ()
70723 {
70724  quick_exit(0);
70725   ;
70726   return 0;
70727 }
70728 _ACEOF
70729 if ac_fn_cxx_try_compile "$LINENO"; then :
70730   glibcxx_cv_func_quick_exit_use=yes
70731 else
70732   glibcxx_cv_func_quick_exit_use=no
70733 fi
70734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70735       ac_ext=c
70736 ac_cpp='$CPP $CPPFLAGS'
70737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70740
70741
70742 fi
70743
70744   fi
70745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70746 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70747   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70748     for ac_func in quick_exit
70749 do :
70750   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70751 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70752   cat >>confdefs.h <<_ACEOF
70753 #define HAVE_QUICK_EXIT 1
70754 _ACEOF
70755
70756 fi
70757 done
70758
70759   fi
70760
70761
70762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70763 $as_echo_n "checking for strtold declaration... " >&6; }
70764   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70765     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70766   $as_echo_n "(cached) " >&6
70767 else
70768
70769
70770       ac_ext=cpp
70771 ac_cpp='$CXXCPP $CPPFLAGS'
70772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70775
70776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70777 /* end confdefs.h.  */
70778 #include <stdlib.h>
70779 int
70780 main ()
70781 {
70782  strtold(0, 0);
70783   ;
70784   return 0;
70785 }
70786 _ACEOF
70787 if ac_fn_cxx_try_compile "$LINENO"; then :
70788   glibcxx_cv_func_strtold_use=yes
70789 else
70790   glibcxx_cv_func_strtold_use=no
70791 fi
70792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70793       ac_ext=c
70794 ac_cpp='$CPP $CPPFLAGS'
70795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70798
70799
70800 fi
70801
70802   fi
70803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70804 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70805   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70806     for ac_func in strtold
70807 do :
70808   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70809 if test "x$ac_cv_func_strtold" = x""yes; then :
70810   cat >>confdefs.h <<_ACEOF
70811 #define HAVE_STRTOLD 1
70812 _ACEOF
70813
70814 fi
70815 done
70816
70817   fi
70818
70819
70820
70821
70822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70823 $as_echo_n "checking for strtof declaration... " >&6; }
70824   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70825     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70826   $as_echo_n "(cached) " >&6
70827 else
70828
70829
70830       ac_ext=cpp
70831 ac_cpp='$CXXCPP $CPPFLAGS'
70832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70835
70836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70837 /* end confdefs.h.  */
70838 #include <stdlib.h>
70839 int
70840 main ()
70841 {
70842  strtof(0, 0);
70843   ;
70844   return 0;
70845 }
70846 _ACEOF
70847 if ac_fn_cxx_try_compile "$LINENO"; then :
70848   glibcxx_cv_func_strtof_use=yes
70849 else
70850   glibcxx_cv_func_strtof_use=no
70851 fi
70852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70853       ac_ext=c
70854 ac_cpp='$CPP $CPPFLAGS'
70855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70858
70859
70860 fi
70861
70862   fi
70863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70864 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70865   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70866     for ac_func in strtof
70867 do :
70868   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70869 if test "x$ac_cv_func_strtof" = x""yes; then :
70870   cat >>confdefs.h <<_ACEOF
70871 #define HAVE_STRTOF 1
70872 _ACEOF
70873
70874 fi
70875 done
70876
70877   fi
70878
70879
70880
70881
70882   CXXFLAGS="$ac_save_CXXFLAGS"
70883
70884     ;;
70885   *-vxworks)
70886     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70887
70888     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70889
70890     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70891
70892     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70893
70894     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70895
70896     $as_echo "#define HAVE_COSF 1" >>confdefs.h
70897
70898     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70899
70900     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70901
70902     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70903
70904     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70905
70906     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70907
70908     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70909
70910     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70911
70912     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70913
70914     $as_echo "#define HAVE_POWF 1" >>confdefs.h
70915
70916     $as_echo "#define HAVE_SINF 1" >>confdefs.h
70917
70918     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70919
70920     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70921
70922     $as_echo "#define HAVE_TANF 1" >>confdefs.h
70923
70924     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70925
70926     ;;
70927   *)
70928     as_fn_error "No support for this host/target combination." "$LINENO" 5
70929    ;;
70930 esac
70931
70932   fi
70933
70934   # At some point, we should differentiate between architectures
70935   # like x86, which have long double versions, and alpha/powerpc/etc.,
70936   # which don't. For the time being, punt.
70937   if test x"long_double_math_on_this_cpu" = x"yes"; then
70938     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70939
70940     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70941
70942     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70943
70944     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70945
70946     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70947
70948     $as_echo "#define HAVE_COSL 1" >>confdefs.h
70949
70950     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70951
70952     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70953
70954     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70955
70956     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70957
70958     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70959
70960     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70961
70962     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70963
70964     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70965
70966     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70967
70968     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70969
70970     $as_echo "#define HAVE_POWL 1" >>confdefs.h
70971
70972     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70973
70974     $as_echo "#define HAVE_SINL 1" >>confdefs.h
70975
70976     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70977
70978     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70979
70980     $as_echo "#define HAVE_TANL 1" >>confdefs.h
70981
70982     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70983
70984   fi
70985 fi
70986
70987 # Check for _Unwind_GetIPInfo.
70988
70989
70990 # Check whether --with-system-libunwind was given.
70991 if test "${with_system_libunwind+set}" = set; then :
70992   withval=$with_system_libunwind;
70993 fi
70994
70995   # If system-libunwind was not specifically set, pick a default setting.
70996   if test x$with_system_libunwind = x; then
70997     case ${target} in
70998       ia64-*-hpux*) with_system_libunwind=yes ;;
70999       *) with_system_libunwind=no ;;
71000     esac
71001   fi
71002   # Based on system-libunwind and target, do we have ipinfo?
71003   if  test x$with_system_libunwind = xyes; then
71004     case ${target} in
71005       ia64-*-*) have_unwind_getipinfo=no ;;
71006       *) have_unwind_getipinfo=yes ;;
71007     esac
71008   else
71009     # Darwin before version 9 does not have _Unwind_GetIPInfo.
71010
71011     case ${target} in
71012       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
71013       *) have_unwind_getipinfo=yes ;;
71014     esac
71015
71016   fi
71017
71018   if test x$have_unwind_getipinfo = xyes; then
71019
71020 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
71021
71022   fi
71023
71024
71025  # Check whether --enable-linux-futex was given.
71026 if test "${enable_linux_futex+set}" = set; then :
71027   enableval=$enable_linux_futex;
71028       case "$enableval" in
71029        yes|no|default) ;;
71030        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
71031                           esac
71032
71033 else
71034   enable_linux_futex=default
71035 fi
71036
71037
71038 case "$target" in
71039   *-linux*)
71040     case "$enable_linux_futex" in
71041       default)
71042         # If headers don't have gettid/futex syscalls definition, then
71043         # default to no, otherwise there will be compile time failures.
71044         # Otherwise, default to yes.  If we don't detect we are
71045         # compiled/linked against NPTL and not cross-compiling, check
71046         # if programs are run by default against NPTL and if not, issue
71047         # a warning.
71048         enable_linux_futex=no
71049         if test x$gcc_no_link = xyes; then
71050   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71051 fi
71052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71053 /* end confdefs.h.  */
71054 #include <sys/syscall.h>
71055            int lk;
71056 int
71057 main ()
71058 {
71059 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71060   ;
71061   return 0;
71062 }
71063 _ACEOF
71064 if ac_fn_c_try_link "$LINENO"; then :
71065   save_LIBS="$LIBS"
71066            LIBS="-lpthread $LIBS"
71067            if test x$gcc_no_link = xyes; then
71068   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71069 fi
71070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71071 /* end confdefs.h.  */
71072 #ifndef _GNU_SOURCE
71073              #define _GNU_SOURCE 1
71074              #endif
71075              #include <pthread.h>
71076              pthread_t th; void *status;
71077 int
71078 main ()
71079 {
71080 pthread_tryjoin_np (th, &status);
71081   ;
71082   return 0;
71083 }
71084 _ACEOF
71085 if ac_fn_c_try_link "$LINENO"; then :
71086   enable_linux_futex=yes
71087 else
71088   if test x$cross_compiling = xno; then
71089                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
71090                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
71091                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
71092 If so, please configure with --disable-linux-futex" >&5
71093 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
71094 If so, please configure with --disable-linux-futex" >&2;}
71095                fi
71096              fi
71097              enable_linux_futex=yes
71098 fi
71099 rm -f core conftest.err conftest.$ac_objext \
71100     conftest$ac_exeext conftest.$ac_ext
71101            LIBS="$save_LIBS"
71102 fi
71103 rm -f core conftest.err conftest.$ac_objext \
71104     conftest$ac_exeext conftest.$ac_ext
71105         ;;
71106       yes)
71107         if test x$gcc_no_link = xyes; then
71108   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71109 fi
71110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71111 /* end confdefs.h.  */
71112 #include <sys/syscall.h>
71113            int lk;
71114 int
71115 main ()
71116 {
71117 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71118   ;
71119   return 0;
71120 }
71121 _ACEOF
71122 if ac_fn_c_try_link "$LINENO"; then :
71123
71124 else
71125   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
71126 fi
71127 rm -f core conftest.err conftest.$ac_objext \
71128     conftest$ac_exeext conftest.$ac_ext
71129         ;;
71130     esac
71131     ;;
71132   *)
71133     enable_linux_futex=no
71134     ;;
71135 esac
71136 if test x$enable_linux_futex = xyes; then
71137
71138 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
71139
71140 fi
71141
71142
71143
71144
71145 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
71146
71147 acx_cv_header_stdint=stddef.h
71148 acx_cv_header_stdint_kind="(already complete)"
71149 for i in stdint.h $inttype_headers; do
71150   unset ac_cv_type_uintptr_t
71151   unset ac_cv_type_uintmax_t
71152   unset ac_cv_type_int_least32_t
71153   unset ac_cv_type_int_fast32_t
71154   unset ac_cv_type_uint64_t
71155   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71156   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71157 #include <$i>
71158 "
71159 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71160   acx_cv_header_stdint=$i
71161 else
71162   continue
71163 fi
71164
71165   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71166 #include <$i>
71167 "
71168 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71169
71170 else
71171   acx_cv_header_stdint_kind="(mostly complete)"
71172 fi
71173
71174   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71175 #include <$i>
71176 "
71177 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71178
71179 else
71180   acx_cv_header_stdint_kind="(mostly complete)"
71181 fi
71182
71183   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71184 #include <$i>
71185 "
71186 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71187
71188 else
71189   acx_cv_header_stdint_kind="(mostly complete)"
71190 fi
71191
71192   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71193 #include <$i>
71194 "
71195 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71196
71197 else
71198   acx_cv_header_stdint_kind="(lacks uint64_t)"
71199 fi
71200
71201   break
71202 done
71203 if test "$acx_cv_header_stdint" = stddef.h; then
71204   acx_cv_header_stdint_kind="(lacks uintmax_t)"
71205   for i in stdint.h $inttype_headers; do
71206     unset ac_cv_type_uintptr_t
71207     unset ac_cv_type_uint32_t
71208     unset ac_cv_type_uint64_t
71209     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71210     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71211 #include <$i>
71212 "
71213 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71214   acx_cv_header_stdint=$i
71215 else
71216   continue
71217 fi
71218
71219     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71220 #include <$i>
71221 "
71222 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71223
71224 fi
71225
71226     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71227 #include <$i>
71228 "
71229 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71230
71231 fi
71232
71233     break
71234   done
71235 fi
71236 if test "$acx_cv_header_stdint" = stddef.h; then
71237   acx_cv_header_stdint_kind="(u_intXX_t style)"
71238   for i in sys/types.h $inttype_headers; do
71239     unset ac_cv_type_u_int32_t
71240     unset ac_cv_type_u_int64_t
71241     $as_echo_n "looking for u_intXX_t types in $i, " >&6
71242     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71243 #include <$i>
71244 "
71245 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71246   acx_cv_header_stdint=$i
71247 else
71248   continue
71249 fi
71250
71251     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71252 #include <$i>
71253 "
71254 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71255
71256 fi
71257
71258     break
71259   done
71260 fi
71261 if test "$acx_cv_header_stdint" = stddef.h; then
71262   acx_cv_header_stdint_kind="(using manual detection)"
71263 fi
71264
71265 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71266 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71267 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71268 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71269 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71270
71271 # ----------------- Summarize what we found so far
71272
71273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71274 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71275
71276 case `$as_basename -- include/gstdint.h ||
71277 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71278          Xinclude/gstdint.h : 'X\(//\)$' \| \
71279          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71280 $as_echo X/include/gstdint.h |
71281     sed '/^.*\/\([^/][^/]*\)\/*$/{
71282             s//\1/
71283             q
71284           }
71285           /^X\/\(\/\/\)$/{
71286             s//\1/
71287             q
71288           }
71289           /^X\/\(\/\).*/{
71290             s//\1/
71291             q
71292           }
71293           s/.*/./; q'` in
71294   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71295 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71296   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71297 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71298   *) ;;
71299 esac
71300
71301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71302 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71303
71304 # ----------------- done included file, check C basic types --------
71305
71306 # Lacking an uintptr_t?  Test size of void *
71307 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71308   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71311 # This bug is HP SR number 8606223364.
71312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71313 $as_echo_n "checking size of void *... " >&6; }
71314 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71315   $as_echo_n "(cached) " >&6
71316 else
71317   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
71318
71319 else
71320   if test "$ac_cv_type_void_p" = yes; then
71321      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71323 { as_fn_set_status 77
71324 as_fn_error "cannot compute sizeof (void *)
71325 See \`config.log' for more details." "$LINENO" 5; }; }
71326    else
71327      ac_cv_sizeof_void_p=0
71328    fi
71329 fi
71330
71331 fi
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71333 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71334
71335
71336
71337 cat >>confdefs.h <<_ACEOF
71338 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71339 _ACEOF
71340
71341  ;;
71342 esac
71343
71344 # Lacking an uint64_t?  Test size of long
71345 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71346   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71349 # This bug is HP SR number 8606223364.
71350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71351 $as_echo_n "checking size of long... " >&6; }
71352 if test "${ac_cv_sizeof_long+set}" = set; then :
71353   $as_echo_n "(cached) " >&6
71354 else
71355   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
71356
71357 else
71358   if test "$ac_cv_type_long" = yes; then
71359      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71361 { as_fn_set_status 77
71362 as_fn_error "cannot compute sizeof (long)
71363 See \`config.log' for more details." "$LINENO" 5; }; }
71364    else
71365      ac_cv_sizeof_long=0
71366    fi
71367 fi
71368
71369 fi
71370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71371 $as_echo "$ac_cv_sizeof_long" >&6; }
71372
71373
71374
71375 cat >>confdefs.h <<_ACEOF
71376 #define SIZEOF_LONG $ac_cv_sizeof_long
71377 _ACEOF
71378
71379  ;;
71380 esac
71381
71382 if test $acx_cv_header_stdint = stddef.h; then
71383   # Lacking a good header?  Test size of everything and deduce all types.
71384   # The cast to long int works around a bug in the HP C Compiler
71385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71387 # This bug is HP SR number 8606223364.
71388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71389 $as_echo_n "checking size of int... " >&6; }
71390 if test "${ac_cv_sizeof_int+set}" = set; then :
71391   $as_echo_n "(cached) " >&6
71392 else
71393   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
71394
71395 else
71396   if test "$ac_cv_type_int" = yes; then
71397      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71399 { as_fn_set_status 77
71400 as_fn_error "cannot compute sizeof (int)
71401 See \`config.log' for more details." "$LINENO" 5; }; }
71402    else
71403      ac_cv_sizeof_int=0
71404    fi
71405 fi
71406
71407 fi
71408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71409 $as_echo "$ac_cv_sizeof_int" >&6; }
71410
71411
71412
71413 cat >>confdefs.h <<_ACEOF
71414 #define SIZEOF_INT $ac_cv_sizeof_int
71415 _ACEOF
71416
71417
71418   # The cast to long int works around a bug in the HP C Compiler
71419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71421 # This bug is HP SR number 8606223364.
71422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71423 $as_echo_n "checking size of short... " >&6; }
71424 if test "${ac_cv_sizeof_short+set}" = set; then :
71425   $as_echo_n "(cached) " >&6
71426 else
71427   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
71428
71429 else
71430   if test "$ac_cv_type_short" = yes; then
71431      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71433 { as_fn_set_status 77
71434 as_fn_error "cannot compute sizeof (short)
71435 See \`config.log' for more details." "$LINENO" 5; }; }
71436    else
71437      ac_cv_sizeof_short=0
71438    fi
71439 fi
71440
71441 fi
71442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71443 $as_echo "$ac_cv_sizeof_short" >&6; }
71444
71445
71446
71447 cat >>confdefs.h <<_ACEOF
71448 #define SIZEOF_SHORT $ac_cv_sizeof_short
71449 _ACEOF
71450
71451
71452   # The cast to long int works around a bug in the HP C Compiler
71453 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71454 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71455 # This bug is HP SR number 8606223364.
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71457 $as_echo_n "checking size of char... " >&6; }
71458 if test "${ac_cv_sizeof_char+set}" = set; then :
71459   $as_echo_n "(cached) " >&6
71460 else
71461   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
71462
71463 else
71464   if test "$ac_cv_type_char" = yes; then
71465      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71467 { as_fn_set_status 77
71468 as_fn_error "cannot compute sizeof (char)
71469 See \`config.log' for more details." "$LINENO" 5; }; }
71470    else
71471      ac_cv_sizeof_char=0
71472    fi
71473 fi
71474
71475 fi
71476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71477 $as_echo "$ac_cv_sizeof_char" >&6; }
71478
71479
71480
71481 cat >>confdefs.h <<_ACEOF
71482 #define SIZEOF_CHAR $ac_cv_sizeof_char
71483 _ACEOF
71484
71485
71486
71487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71488 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71489   case "$ac_cv_sizeof_char" in
71490     1) acx_cv_type_int8_t=char ;;
71491     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71492   esac
71493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71494 $as_echo "$acx_cv_type_int8_t" >&6; }
71495
71496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71497 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71498   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71499     2:*) acx_cv_type_int16_t=int ;;
71500     *:2) acx_cv_type_int16_t=short ;;
71501     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71502   esac
71503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71504 $as_echo "$acx_cv_type_int16_t" >&6; }
71505
71506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71507 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71508   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71509     4:*) acx_cv_type_int32_t=int ;;
71510     *:4) acx_cv_type_int32_t=long ;;
71511     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71512   esac
71513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71514 $as_echo "$acx_cv_type_int32_t" >&6; }
71515 fi
71516
71517 # These tests are here to make the output prettier
71518
71519 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71520   case "$ac_cv_sizeof_long" in
71521     8) acx_cv_type_int64_t=long ;;
71522   esac
71523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71524 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71526 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71527 fi
71528
71529 # Now we can use the above types
71530
71531 if test "$ac_cv_type_uintptr_t" != yes; then
71532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71533 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71534   case $ac_cv_sizeof_void_p in
71535     2) acx_cv_type_intptr_t=int16_t ;;
71536     4) acx_cv_type_intptr_t=int32_t ;;
71537     8) acx_cv_type_intptr_t=int64_t ;;
71538     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71539   esac
71540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71541 $as_echo "$acx_cv_type_intptr_t" >&6; }
71542 fi
71543
71544 # ----------------- done all checks, emit header -------------
71545 ac_config_commands="$ac_config_commands include/gstdint.h"
71546
71547
71548
71549
71550
71551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71552 $as_echo_n "checking for GNU c++filt... " >&6; }
71553 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71554   $as_echo_n "(cached) " >&6
71555 else
71556   if test -z "$CXXFILT"; then
71557   ac_path_CXXFILT_found=false
71558   # Loop through the user's path and test for each of PROGNAME-LIST
71559   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71560 for as_dir in $PATH
71561 do
71562   IFS=$as_save_IFS
71563   test -z "$as_dir" && as_dir=.
71564     for ac_prog in c++filt gc++filt; do
71565     for ac_exec_ext in '' $ac_executable_extensions; do
71566       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71567       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71568 # Check for GNU $ac_path_CXXFILT
71569 case `"$ac_path_CXXFILT" --version 2>&1` in
71570 *GNU*)
71571   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71572 esac
71573
71574       $ac_path_CXXFILT_found && break 3
71575     done
71576   done
71577   done
71578 IFS=$as_save_IFS
71579   if test -z "$ac_cv_path_CXXFILT"; then
71580     :
71581   fi
71582 else
71583   ac_cv_path_CXXFILT=$CXXFILT
71584 fi
71585
71586 fi
71587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71588 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71589   CXXFILT=$ac_cv_path_CXXFILT
71590
71591
71592
71593  # Check whether --enable-symvers was given.
71594 if test "${enable_symvers+set}" = set; then :
71595   enableval=$enable_symvers;
71596       case "$enableval" in
71597        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71598        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71599                         esac
71600
71601 else
71602   enable_symvers=yes
71603 fi
71604
71605
71606
71607 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71608 # don't know enough about $LD to do tricks...
71609
71610 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71611 # with extern "C++" in version scripts.
71612
71613
71614 # Turn a 'yes' into a suitable default.
71615 if test x$enable_symvers = xyes ; then
71616   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71617     enable_symvers=no
71618   else
71619     if test $with_gnu_ld = yes ; then
71620       case ${target_os} in
71621         hpux*)
71622           enable_symvers=no ;;
71623         *)
71624           enable_symvers=gnu ;;
71625       esac
71626     else
71627       case ${target_os} in
71628         darwin*)
71629           enable_symvers=darwin ;;
71630         # Sun symbol versioning exists since Solaris 2.5.
71631         solaris2.[5-9]* | solaris2.1[0-9]*)
71632           # make_sunver.pl needs GNU c++filt to support extern "C++" in
71633           # version scripts, so disable symbol versioning if none can be
71634           # found.
71635           if test -z "$ac_cv_path_CXXFILT"; then
71636             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71637 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71638             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
71639 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
71640             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71641 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71642             enable_symvers=no
71643           else
71644             enable_symvers=sun
71645           fi
71646           ;;
71647         *)
71648           enable_symvers=no ;;
71649       esac
71650     fi
71651   fi
71652 fi
71653
71654 # Check to see if 'darwin' or 'darwin-export' can win.
71655 if test x$enable_symvers = xdarwin-export ; then
71656     enable_symvers=darwin
71657 fi
71658
71659 # Check if 'sun' was requested on non-Solaris 2 platforms.
71660 if test x$enable_symvers = xsun ; then
71661   case ${target_os} in
71662     solaris2*)
71663       # All fine.
71664       ;;
71665     *)
71666       # Unlikely to work.
71667       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71668 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71669       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71670 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71671       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71672 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71673       enable_symvers=no
71674       ;;
71675   esac
71676 fi
71677
71678 # Check to see if 'gnu' can win.
71679 if test $enable_symvers = gnu ||
71680   test $enable_symvers = gnu-versioned-namespace ||
71681   test $enable_symvers = sun; then
71682   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71684 $as_echo_n "checking for shared libgcc... " >&6; }
71685   ac_save_CFLAGS="$CFLAGS"
71686   CFLAGS=' -lgcc_s'
71687   if test x$gcc_no_link = xyes; then
71688   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71689 fi
71690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71691 /* end confdefs.h.  */
71692
71693 int
71694 main ()
71695 {
71696 return 0;
71697   ;
71698   return 0;
71699 }
71700 _ACEOF
71701 if ac_fn_c_try_link "$LINENO"; then :
71702   glibcxx_shared_libgcc=yes
71703 else
71704   glibcxx_shared_libgcc=no
71705 fi
71706 rm -f core conftest.err conftest.$ac_objext \
71707     conftest$ac_exeext conftest.$ac_ext
71708   CFLAGS="$ac_save_CFLAGS"
71709   if test $glibcxx_shared_libgcc = no; then
71710     cat > conftest.c <<EOF
71711 int main (void) { return 0; }
71712 EOF
71713     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71714                              -shared -shared-libgcc -o conftest.so \
71715                              conftest.c -v 2>&1 >/dev/null \
71716                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71717     rm -f conftest.c conftest.so
71718     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71719       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71720       if test x$gcc_no_link = xyes; then
71721   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71722 fi
71723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71724 /* end confdefs.h.  */
71725
71726 int
71727 main ()
71728 {
71729 return 0;
71730   ;
71731   return 0;
71732 }
71733 _ACEOF
71734 if ac_fn_c_try_link "$LINENO"; then :
71735   glibcxx_shared_libgcc=yes
71736 fi
71737 rm -f core conftest.err conftest.$ac_objext \
71738     conftest$ac_exeext conftest.$ac_ext
71739       CFLAGS="$ac_save_CFLAGS"
71740     fi
71741   fi
71742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71743 $as_echo "$glibcxx_shared_libgcc" >&6; }
71744
71745   # For GNU ld, we need at least this version.  The format is described in
71746   # GLIBCXX_CHECK_LINKER_FEATURES above.
71747   glibcxx_min_gnu_ld_version=21400
71748
71749   # If no shared libgcc, can't win.
71750   if test $glibcxx_shared_libgcc != yes; then
71751       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71752 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71753       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71754 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71755       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71756 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71757       enable_symvers=no
71758   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71759     : All interesting versions of Sun ld support sun style symbol versioning.
71760   elif test $with_gnu_ld != yes ; then
71761     # just fail for now
71762     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71763 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71764     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71765 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71766     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71767 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71768     enable_symvers=no
71769   elif test $glibcxx_ld_is_gold = yes ; then
71770     : All versions of gold support symbol versioning.
71771   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71772     # The right tools, the right setup, but too old.  Fallbacks?
71773     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71774 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71775     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71776 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71777     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71778 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71779     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71780 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71781     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71782 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71783     enable_symvers=no
71784   fi
71785 fi
71786
71787 # For libtool versioning info, format is CURRENT:REVISION:AGE
71788 libtool_VERSION=6:20:0
71789
71790 # Everything parsed; figure out what files and settings to use.
71791 case $enable_symvers in
71792   no)
71793     SYMVER_FILE=config/abi/pre/none.ver
71794     ;;
71795   gnu)
71796     SYMVER_FILE=config/abi/pre/gnu.ver
71797
71798 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71799
71800     ;;
71801   gnu-versioned-namespace)
71802     libtool_VERSION=7:0:0
71803     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71804
71805 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71806
71807     ;;
71808   darwin)
71809     SYMVER_FILE=config/abi/pre/gnu.ver
71810
71811 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71812
71813     ;;
71814   sun)
71815     SYMVER_FILE=config/abi/pre/gnu.ver
71816
71817 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71818
71819     ;;
71820 esac
71821
71822 if test x$enable_symvers != xno ; then
71823
71824 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71825
71826 fi
71827
71828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71829 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71830 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71831   $as_echo_n "(cached) " >&6
71832 else
71833
71834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71835 /* end confdefs.h.  */
71836 void foo (void); __asm (".symver foo, bar@SYMVER");
71837 int
71838 main ()
71839 {
71840
71841   ;
71842   return 0;
71843 }
71844 _ACEOF
71845 if ac_fn_c_try_compile "$LINENO"; then :
71846   glibcxx_cv_have_as_symver_directive=yes
71847 else
71848   glibcxx_cv_have_as_symver_directive=no
71849 fi
71850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71851 fi
71852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71853 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71854 if test $glibcxx_cv_have_as_symver_directive = yes; then
71855
71856 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71857
71858 fi
71859
71860
71861
71862
71863
71864
71865
71866
71867 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71868 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71869
71870 if test $enable_symvers != no ; then
71871    case ${target_os} in
71872      # The Solaris 2 runtime linker doesn't support the GNU extension of
71873      # binding the same symbol to different versions
71874      solaris2*)
71875        ;;
71876      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71877      *)
71878
71879 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71880
71881        ;;
71882     esac
71883 fi
71884
71885 # Now, set up compatibility support, if any.
71886 # In addition, need this to deal with std::size_t mangling in
71887 # src/compatibility.cc.  In a perfect world, could use
71888 # typeid(std::size_t).name()[0] to do direct substitution.
71889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71890 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71891 ac_save_CFLAGS="$CFLAGS"
71892 CFLAGS="-Werror"
71893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71894 /* end confdefs.h.  */
71895
71896 int
71897 main ()
71898 {
71899 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71900   ;
71901   return 0;
71902 }
71903 _ACEOF
71904 if ac_fn_c_try_compile "$LINENO"; then :
71905   glibcxx_size_t_is_i=yes
71906 else
71907   glibcxx_size_t_is_i=no
71908 fi
71909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71910 CFLAGS=$ac_save_CFLAGS
71911 if test "$glibcxx_size_t_is_i" = yes; then
71912
71913 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71914
71915 fi
71916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71917 $as_echo "$glibcxx_size_t_is_i" >&6; }
71918
71919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71920 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71921 ac_save_CFLAGS="$CFLAGS"
71922 CFLAGS="-Werror"
71923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71924 /* end confdefs.h.  */
71925
71926 int
71927 main ()
71928 {
71929 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71930   ;
71931   return 0;
71932 }
71933 _ACEOF
71934 if ac_fn_c_try_compile "$LINENO"; then :
71935   glibcxx_ptrdiff_t_is_i=yes
71936 else
71937   glibcxx_ptrdiff_t_is_i=no
71938 fi
71939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71940 CFLAGS=$ac_save_CFLAGS
71941 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71942
71943 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71944
71945 fi
71946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71947 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71948
71949
71950
71951
71952  # Check whether --enable-libstdcxx-visibility was given.
71953 if test "${enable_libstdcxx_visibility+set}" = set; then :
71954   enableval=$enable_libstdcxx_visibility;
71955       case "$enableval" in
71956        yes|no) ;;
71957        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71958       esac
71959
71960 else
71961   enable_libstdcxx_visibility=yes
71962 fi
71963
71964
71965
71966 if test x$enable_libstdcxx_visibility = xyes ; then
71967       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71968 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71969 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71970   $as_echo_n "(cached) " >&6
71971 else
71972
71973   save_CFLAGS="$CFLAGS"
71974   CFLAGS="$CFLAGS -Werror"
71975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71976 /* end confdefs.h.  */
71977 void __attribute__((visibility("hidden"))) foo(void) { }
71978 int
71979 main ()
71980 {
71981
71982   ;
71983   return 0;
71984 }
71985 _ACEOF
71986 if ac_fn_c_try_compile "$LINENO"; then :
71987   glibcxx_cv_have_attribute_visibility=yes
71988 else
71989   glibcxx_cv_have_attribute_visibility=no
71990 fi
71991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71992   CFLAGS="$save_CFLAGS"
71993 fi
71994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71995 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71996   if test $glibcxx_cv_have_attribute_visibility = no; then
71997     enable_libstdcxx_visibility=no
71998   fi
71999 fi
72000
72001
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
72003 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
72004
72005
72006 ac_ldbl_compat=no
72007 case "$target" in
72008   powerpc*-*-linux* | \
72009   sparc*-*-linux* | \
72010   s390*-*-linux* | \
72011   alpha*-*-linux*)
72012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72013 /* end confdefs.h.  */
72014
72015 int
72016 main ()
72017 {
72018
72019 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
72020 #error no need for long double compatibility
72021 #endif
72022
72023   ;
72024   return 0;
72025 }
72026 _ACEOF
72027 if ac_fn_c_try_compile "$LINENO"; then :
72028   ac_ldbl_compat=yes
72029 else
72030   ac_ldbl_compat=no
72031 fi
72032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72033   if test "$ac_ldbl_compat" = yes; then
72034
72035 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
72036
72037     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
72038   fi
72039 esac
72040
72041
72042 # Check if assembler supports disabling hardware capability support.
72043
72044   test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
72045
72046   # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
72047   # with a different meaning.
72048   case ${target_os} in
72049     solaris2*)
72050       ac_save_CFLAGS="$CFLAGS"
72051       CFLAGS="$CFLAGS -Wa,-nH"
72052
72053       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
72054 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
72055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72056 /* end confdefs.h.  */
72057
72058 int
72059 main ()
72060 {
72061 return 0;
72062   ;
72063   return 0;
72064 }
72065 _ACEOF
72066 if ac_fn_c_try_compile "$LINENO"; then :
72067   ac_hwcap_flags=yes
72068 else
72069   ac_hwcap_flags=no
72070 fi
72071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72072       if test "$ac_hwcap_flags" = "yes"; then
72073         HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
72074       fi
72075       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
72076 $as_echo "$ac_hwcap_flags" >&6; }
72077
72078       CFLAGS="$ac_save_CFLAGS"
72079       ;;
72080   esac
72081
72082
72083
72084
72085 # Check if assembler supports rdrand opcode.
72086
72087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
72088 $as_echo_n "checking for rdrand support in assembler... " >&6; }
72089   if test "${ac_cv_x86_rdrand+set}" = set; then :
72090   $as_echo_n "(cached) " >&6
72091 else
72092
72093   ac_cv_x86_rdrand=no
72094   case "$target" in
72095     i?86-*-* | \
72096     x86_64-*-*)
72097     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72098 /* end confdefs.h.  */
72099
72100 int
72101 main ()
72102 {
72103 asm("rdrand %eax");
72104   ;
72105   return 0;
72106 }
72107 _ACEOF
72108 if ac_fn_c_try_compile "$LINENO"; then :
72109   ac_cv_x86_rdrand=yes
72110 else
72111   ac_cv_x86_rdrand=no
72112 fi
72113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72114   esac
72115
72116 fi
72117
72118   if test $ac_cv_x86_rdrand = yes; then
72119
72120 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
72121
72122   fi
72123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
72124 $as_echo "$ac_cv_x86_rdrand" >&6; }
72125
72126
72127 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72128
72129   if $GLIBCXX_IS_NATIVE ; then
72130     # Do checks for resource limit functions.
72131
72132   setrlimit_have_headers=yes
72133   for ac_header in unistd.h sys/time.h sys/resource.h
72134 do :
72135   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
72136 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
72137 eval as_val=\$$as_ac_Header
72138    if test "x$as_val" = x""yes; then :
72139   cat >>confdefs.h <<_ACEOF
72140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72141 _ACEOF
72142
72143 else
72144   setrlimit_have_headers=no
72145 fi
72146
72147 done
72148
72149   # If don't have the headers, then we can't run the tests now, and we
72150   # won't be seeing any of these during testsuite compilation.
72151   if test $setrlimit_have_headers = yes; then
72152     # Can't do these in a loop, else the resulting syntax is wrong.
72153
72154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72155 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157 /* end confdefs.h.  */
72158 #include <unistd.h>
72159      #include <sys/time.h>
72160      #include <sys/resource.h>
72161
72162 int
72163 main ()
72164 {
72165  int f = RLIMIT_DATA ;
72166   ;
72167   return 0;
72168 }
72169 _ACEOF
72170 if ac_fn_c_try_compile "$LINENO"; then :
72171   glibcxx_mresult=1
72172 else
72173   glibcxx_mresult=0
72174 fi
72175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72176
72177 cat >>confdefs.h <<_ACEOF
72178 #define HAVE_LIMIT_DATA $glibcxx_mresult
72179 _ACEOF
72180
72181   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72183 $as_echo "$res" >&6; }
72184
72185
72186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72187 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72189 /* end confdefs.h.  */
72190 #include <unistd.h>
72191      #include <sys/time.h>
72192      #include <sys/resource.h>
72193
72194 int
72195 main ()
72196 {
72197  int f = RLIMIT_RSS ;
72198   ;
72199   return 0;
72200 }
72201 _ACEOF
72202 if ac_fn_c_try_compile "$LINENO"; then :
72203   glibcxx_mresult=1
72204 else
72205   glibcxx_mresult=0
72206 fi
72207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72208
72209 cat >>confdefs.h <<_ACEOF
72210 #define HAVE_LIMIT_RSS $glibcxx_mresult
72211 _ACEOF
72212
72213   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72215 $as_echo "$res" >&6; }
72216
72217
72218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72219 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72221 /* end confdefs.h.  */
72222 #include <unistd.h>
72223      #include <sys/time.h>
72224      #include <sys/resource.h>
72225
72226 int
72227 main ()
72228 {
72229  int f = RLIMIT_VMEM ;
72230   ;
72231   return 0;
72232 }
72233 _ACEOF
72234 if ac_fn_c_try_compile "$LINENO"; then :
72235   glibcxx_mresult=1
72236 else
72237   glibcxx_mresult=0
72238 fi
72239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72240
72241 cat >>confdefs.h <<_ACEOF
72242 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72243 _ACEOF
72244
72245   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72247 $as_echo "$res" >&6; }
72248
72249
72250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72251 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72253 /* end confdefs.h.  */
72254 #include <unistd.h>
72255      #include <sys/time.h>
72256      #include <sys/resource.h>
72257
72258 int
72259 main ()
72260 {
72261  int f = RLIMIT_AS ;
72262   ;
72263   return 0;
72264 }
72265 _ACEOF
72266 if ac_fn_c_try_compile "$LINENO"; then :
72267   glibcxx_mresult=1
72268 else
72269   glibcxx_mresult=0
72270 fi
72271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72272
72273 cat >>confdefs.h <<_ACEOF
72274 #define HAVE_LIMIT_AS $glibcxx_mresult
72275 _ACEOF
72276
72277   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72279 $as_echo "$res" >&6; }
72280
72281
72282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72283 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72285 /* end confdefs.h.  */
72286 #include <unistd.h>
72287      #include <sys/time.h>
72288      #include <sys/resource.h>
72289
72290 int
72291 main ()
72292 {
72293  int f = RLIMIT_FSIZE ;
72294   ;
72295   return 0;
72296 }
72297 _ACEOF
72298 if ac_fn_c_try_compile "$LINENO"; then :
72299   glibcxx_mresult=1
72300 else
72301   glibcxx_mresult=0
72302 fi
72303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72304
72305 cat >>confdefs.h <<_ACEOF
72306 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72307 _ACEOF
72308
72309   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72311 $as_echo "$res" >&6; }
72312
72313
72314     # Check for rlimit, setrlimit.
72315     if test "${glibcxx_cv_setrlimit+set}" = set; then :
72316   $as_echo_n "(cached) " >&6
72317 else
72318
72319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72320 /* end confdefs.h.  */
72321 #include <unistd.h>
72322          #include <sys/time.h>
72323          #include <sys/resource.h>
72324
72325 int
72326 main ()
72327 {
72328 struct rlimit r;
72329          setrlimit(0, &r);
72330   ;
72331   return 0;
72332 }
72333 _ACEOF
72334 if ac_fn_c_try_compile "$LINENO"; then :
72335   glibcxx_cv_setrlimit=yes
72336 else
72337   glibcxx_cv_setrlimit=no
72338 fi
72339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72340
72341 fi
72342
72343   fi
72344
72345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72346 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72347   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72348     ac_res_limits=yes
72349
72350 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72351
72352   else
72353     ac_res_limits=no
72354   fi
72355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72356 $as_echo "$ac_res_limits" >&6; }
72357
72358
72359     # Look for setenv, so that extended locale tests can be performed.
72360
72361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72362 $as_echo_n "checking for setenv declaration... " >&6; }
72363   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72364     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72365   $as_echo_n "(cached) " >&6
72366 else
72367
72368
72369       ac_ext=cpp
72370 ac_cpp='$CXXCPP $CPPFLAGS'
72371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72374
72375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72376 /* end confdefs.h.  */
72377 #include <stdlib.h>
72378 int
72379 main ()
72380 {
72381  setenv(0, 0, 0);
72382   ;
72383   return 0;
72384 }
72385 _ACEOF
72386 if ac_fn_cxx_try_compile "$LINENO"; then :
72387   glibcxx_cv_func_setenv_use=yes
72388 else
72389   glibcxx_cv_func_setenv_use=no
72390 fi
72391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72392       ac_ext=c
72393 ac_cpp='$CPP $CPPFLAGS'
72394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72397
72398
72399 fi
72400
72401   fi
72402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72403 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72404   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72405     for ac_func in setenv
72406 do :
72407   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72408 if test "x$ac_cv_func_setenv" = x""yes; then :
72409   cat >>confdefs.h <<_ACEOF
72410 #define HAVE_SETENV 1
72411 _ACEOF
72412
72413 fi
72414 done
72415
72416   fi
72417
72418   fi
72419
72420   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72421      test $enable_symvers != no; then
72422     case "$host" in
72423       *-*-cygwin*)
72424         enable_abi_check=no ;;
72425       *)
72426         enable_abi_check=yes ;;
72427     esac
72428   else
72429     # Only build this as native, since automake does not understand
72430     # CXX_FOR_BUILD.
72431     enable_abi_check=no
72432   fi
72433
72434   # Export file names for ABI checking.
72435   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72436
72437   baseline_subdir_switch="$abi_baseline_subdir_switch"
72438
72439
72440
72441 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
72442
72443    # Check whether --enable-libstdcxx-threads was given.
72444 if test "${enable_libstdcxx_threads+set}" = set; then :
72445   enableval=$enable_libstdcxx_threads;
72446       case "$enableval" in
72447        yes|no) ;;
72448        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72449       esac
72450
72451 else
72452   enable_libstdcxx_threads=auto
72453 fi
72454
72455
72456
72457   if test x$enable_libstdcxx_threads = xauto ||
72458      test x$enable_libstdcxx_threads = xyes; then
72459
72460
72461   ac_ext=cpp
72462 ac_cpp='$CXXCPP $CPPFLAGS'
72463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72466
72467
72468   ac_save_CXXFLAGS="$CXXFLAGS"
72469   CXXFLAGS="$CXXFLAGS -fno-exceptions \
72470         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72471
72472   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72473   case $target_thread_file in
72474     posix)
72475       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72476   esac
72477
72478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72479 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72480
72481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72482 /* end confdefs.h.  */
72483 #include <unistd.h>
72484 int
72485 main ()
72486 {
72487
72488       // In case of POSIX threads check _POSIX_TIMEOUTS.
72489       #if (defined(_PTHREADS) \
72490           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72491       #error
72492       #endif
72493
72494   ;
72495   return 0;
72496 }
72497 _ACEOF
72498 if ac_fn_cxx_try_compile "$LINENO"; then :
72499   ac_gthread_use_mutex_timedlock=1
72500 else
72501   ac_gthread_use_mutex_timedlock=0
72502 fi
72503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72504
72505
72506 cat >>confdefs.h <<_ACEOF
72507 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72508 _ACEOF
72509
72510
72511   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72512   else res_mutex_timedlock=no ; fi
72513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72514 $as_echo "$res_mutex_timedlock" >&6; }
72515
72516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72517 $as_echo_n "checking for gthreads library... " >&6; }
72518
72519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72520 /* end confdefs.h.  */
72521 #include "gthr.h"
72522 int
72523 main ()
72524 {
72525
72526       #ifndef __GTHREADS_CXX0X
72527       #error
72528       #endif
72529
72530   ;
72531   return 0;
72532 }
72533 _ACEOF
72534 if ac_fn_cxx_try_compile "$LINENO"; then :
72535   case $target_os in
72536           # gthreads support breaks symbol versioning on Solaris 9 (PR
72537           # libstdc++/52189).
72538           solaris2.9*)
72539             if test x$enable_symvers = xno; then
72540               ac_has_gthreads=yes
72541             elif test x$enable_libstdcxx_threads = xyes; then
72542               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72543 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72544               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72545 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72546               ac_has_gthreads=yes
72547             else
72548               ac_has_gthreads=no
72549             fi
72550             ;;
72551           *)
72552             ac_has_gthreads=yes
72553             ;;
72554         esac
72555 else
72556   ac_has_gthreads=no
72557 fi
72558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72559   else
72560     ac_has_gthreads=no
72561   fi
72562
72563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72564 $as_echo "$ac_has_gthreads" >&6; }
72565
72566   if test x"$ac_has_gthreads" = x"yes"; then
72567
72568 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72569
72570   fi
72571
72572   CXXFLAGS="$ac_save_CXXFLAGS"
72573   ac_ext=c
72574 ac_cpp='$CPP $CPPFLAGS'
72575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72578
72579
72580
72581 # Define documentation rules conditionally.
72582
72583 # See if makeinfo has been installed and is modern enough
72584 # that we can use it.
72585
72586   # Extract the first word of "makeinfo", so it can be a program name with args.
72587 set dummy makeinfo; ac_word=$2
72588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72589 $as_echo_n "checking for $ac_word... " >&6; }
72590 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72591   $as_echo_n "(cached) " >&6
72592 else
72593   if test -n "$MAKEINFO"; then
72594   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72595 else
72596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72597 for as_dir in $PATH
72598 do
72599   IFS=$as_save_IFS
72600   test -z "$as_dir" && as_dir=.
72601     for ac_exec_ext in '' $ac_executable_extensions; do
72602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72603     ac_cv_prog_MAKEINFO="makeinfo"
72604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72605     break 2
72606   fi
72607 done
72608   done
72609 IFS=$as_save_IFS
72610
72611 fi
72612 fi
72613 MAKEINFO=$ac_cv_prog_MAKEINFO
72614 if test -n "$MAKEINFO"; then
72615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72616 $as_echo "$MAKEINFO" >&6; }
72617 else
72618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72619 $as_echo "no" >&6; }
72620 fi
72621
72622
72623   if test -n "$MAKEINFO"; then
72624     # Found it, now check the version.
72625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72626 $as_echo_n "checking for modern makeinfo... " >&6; }
72627 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72628   $as_echo_n "(cached) " >&6
72629 else
72630   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72631                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72632
72633                     case $ac_prog_version in
72634                       '')  gcc_cv_prog_makeinfo_modern=no;;
72635                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
72636                       *)   gcc_cv_prog_makeinfo_modern=no;;
72637                     esac
72638
72639 fi
72640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72641 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72642   else
72643     gcc_cv_prog_makeinfo_modern=no
72644   fi
72645   if test $gcc_cv_prog_makeinfo_modern = no; then
72646     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72647   fi
72648
72649  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72650   BUILD_INFO_TRUE=
72651   BUILD_INFO_FALSE='#'
72652 else
72653   BUILD_INFO_TRUE='#'
72654   BUILD_INFO_FALSE=
72655 fi
72656
72657
72658 # Check for doxygen
72659 # Extract the first word of "doxygen", so it can be a program name with args.
72660 set dummy doxygen; ac_word=$2
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72662 $as_echo_n "checking for $ac_word... " >&6; }
72663 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72664   $as_echo_n "(cached) " >&6
72665 else
72666   if test -n "$DOXYGEN"; then
72667   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72668 else
72669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72670 for as_dir in $PATH
72671 do
72672   IFS=$as_save_IFS
72673   test -z "$as_dir" && as_dir=.
72674     for ac_exec_ext in '' $ac_executable_extensions; do
72675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72676     ac_cv_prog_DOXYGEN="yes"
72677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72678     break 2
72679   fi
72680 done
72681   done
72682 IFS=$as_save_IFS
72683
72684   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72685 fi
72686 fi
72687 DOXYGEN=$ac_cv_prog_DOXYGEN
72688 if test -n "$DOXYGEN"; then
72689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72690 $as_echo "$DOXYGEN" >&6; }
72691 else
72692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72693 $as_echo "no" >&6; }
72694 fi
72695
72696
72697 # Extract the first word of "dot", so it can be a program name with args.
72698 set dummy dot; ac_word=$2
72699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72700 $as_echo_n "checking for $ac_word... " >&6; }
72701 if test "${ac_cv_prog_DOT+set}" = set; then :
72702   $as_echo_n "(cached) " >&6
72703 else
72704   if test -n "$DOT"; then
72705   ac_cv_prog_DOT="$DOT" # Let the user override the test.
72706 else
72707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72708 for as_dir in $PATH
72709 do
72710   IFS=$as_save_IFS
72711   test -z "$as_dir" && as_dir=.
72712     for ac_exec_ext in '' $ac_executable_extensions; do
72713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72714     ac_cv_prog_DOT="yes"
72715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72716     break 2
72717   fi
72718 done
72719   done
72720 IFS=$as_save_IFS
72721
72722   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72723 fi
72724 fi
72725 DOT=$ac_cv_prog_DOT
72726 if test -n "$DOT"; then
72727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72728 $as_echo "$DOT" >&6; }
72729 else
72730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72731 $as_echo "no" >&6; }
72732 fi
72733
72734
72735
72736 # Check for docbook
72737 # Extract the first word of "xsltproc", so it can be a program name with args.
72738 set dummy xsltproc; ac_word=$2
72739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72740 $as_echo_n "checking for $ac_word... " >&6; }
72741 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72742   $as_echo_n "(cached) " >&6
72743 else
72744   if test -n "$XSLTPROC"; then
72745   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72746 else
72747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72748 for as_dir in $PATH
72749 do
72750   IFS=$as_save_IFS
72751   test -z "$as_dir" && as_dir=.
72752     for ac_exec_ext in '' $ac_executable_extensions; do
72753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72754     ac_cv_prog_XSLTPROC="yes"
72755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72756     break 2
72757   fi
72758 done
72759   done
72760 IFS=$as_save_IFS
72761
72762   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72763 fi
72764 fi
72765 XSLTPROC=$ac_cv_prog_XSLTPROC
72766 if test -n "$XSLTPROC"; then
72767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72768 $as_echo "$XSLTPROC" >&6; }
72769 else
72770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72771 $as_echo "no" >&6; }
72772 fi
72773
72774
72775 # Extract the first word of "xmllint", so it can be a program name with args.
72776 set dummy xmllint; ac_word=$2
72777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72778 $as_echo_n "checking for $ac_word... " >&6; }
72779 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72780   $as_echo_n "(cached) " >&6
72781 else
72782   if test -n "$XMLLINT"; then
72783   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72784 else
72785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72786 for as_dir in $PATH
72787 do
72788   IFS=$as_save_IFS
72789   test -z "$as_dir" && as_dir=.
72790     for ac_exec_ext in '' $ac_executable_extensions; do
72791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72792     ac_cv_prog_XMLLINT="yes"
72793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72794     break 2
72795   fi
72796 done
72797   done
72798 IFS=$as_save_IFS
72799
72800   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72801 fi
72802 fi
72803 XMLLINT=$ac_cv_prog_XMLLINT
72804 if test -n "$XMLLINT"; then
72805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72806 $as_echo "$XMLLINT" >&6; }
72807 else
72808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72809 $as_echo "no" >&6; }
72810 fi
72811
72812
72813
72814
72815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72816 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72817 glibcxx_stylesheets=no
72818 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
72819   glibcxx_stylesheets=yes
72820 fi
72821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72822 $as_echo "$glibcxx_stylesheets" >&6; }
72823
72824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72825 $as_echo_n "checking for local stylesheet directory... " >&6; }
72826 glibcxx_local_stylesheets=no
72827 if test x"$glibcxx_stylesheets" = x"yes"; then
72828   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72829     glibcxx_local_stylesheets=yes
72830     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72831   fi
72832   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72833     glibcxx_local_stylesheets=yes
72834     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72835   fi
72836   if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72837     glibcxx_local_stylesheets=yes
72838     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72839   fi
72840 fi
72841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72842 $as_echo "$glibcxx_local_stylesheets" >&6; }
72843
72844 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72845
72846   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72847 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72848 else
72849   glibcxx_stylesheets=no
72850 fi
72851
72852 # Check for epub3 dependencies.
72853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72854 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72855 glibcxx_epub_stylesheets=no
72856 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72857    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72858       glibcxx_epub_stylesheets=yes
72859    fi
72860 fi
72861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72862 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72863  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72864   BUILD_EPUB_TRUE=
72865   BUILD_EPUB_FALSE='#'
72866 else
72867   BUILD_EPUB_TRUE='#'
72868   BUILD_EPUB_FALSE=
72869 fi
72870
72871
72872
72873
72874 # Check for xml/html dependencies.
72875  if test $ac_cv_prog_DOXYGEN = "yes" &&
72876                test $ac_cv_prog_DOT = "yes" &&
72877                test $ac_cv_prog_XSLTPROC = "yes" &&
72878                test $ac_cv_prog_XMLLINT = "yes" &&
72879                test $glibcxx_stylesheets = "yes"; then
72880   BUILD_XML_TRUE=
72881   BUILD_XML_FALSE='#'
72882 else
72883   BUILD_XML_TRUE='#'
72884   BUILD_XML_FALSE=
72885 fi
72886
72887
72888  if test $ac_cv_prog_DOXYGEN = "yes" &&
72889                test $ac_cv_prog_DOT = "yes" &&
72890                test $ac_cv_prog_XSLTPROC = "yes" &&
72891                test $ac_cv_prog_XMLLINT = "yes" &&
72892                test $glibcxx_stylesheets = "yes"; then
72893   BUILD_HTML_TRUE=
72894   BUILD_HTML_FALSE='#'
72895 else
72896   BUILD_HTML_TRUE='#'
72897   BUILD_HTML_FALSE=
72898 fi
72899
72900
72901 # Check for man dependencies.
72902  if test $ac_cv_prog_DOXYGEN = "yes" &&
72903                test $ac_cv_prog_DOT = "yes"; then
72904   BUILD_MAN_TRUE=
72905   BUILD_MAN_FALSE='#'
72906 else
72907   BUILD_MAN_TRUE='#'
72908   BUILD_MAN_FALSE=
72909 fi
72910
72911
72912 # Check for pdf dependencies.
72913 # Extract the first word of "dblatex", so it can be a program name with args.
72914 set dummy dblatex; ac_word=$2
72915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72916 $as_echo_n "checking for $ac_word... " >&6; }
72917 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72918   $as_echo_n "(cached) " >&6
72919 else
72920   if test -n "$DBLATEX"; then
72921   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72922 else
72923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72924 for as_dir in $PATH
72925 do
72926   IFS=$as_save_IFS
72927   test -z "$as_dir" && as_dir=.
72928     for ac_exec_ext in '' $ac_executable_extensions; do
72929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72930     ac_cv_prog_DBLATEX="yes"
72931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72932     break 2
72933   fi
72934 done
72935   done
72936 IFS=$as_save_IFS
72937
72938   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72939 fi
72940 fi
72941 DBLATEX=$ac_cv_prog_DBLATEX
72942 if test -n "$DBLATEX"; then
72943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72944 $as_echo "$DBLATEX" >&6; }
72945 else
72946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72947 $as_echo "no" >&6; }
72948 fi
72949
72950
72951 # Extract the first word of "pdflatex", so it can be a program name with args.
72952 set dummy pdflatex; ac_word=$2
72953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72954 $as_echo_n "checking for $ac_word... " >&6; }
72955 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72956   $as_echo_n "(cached) " >&6
72957 else
72958   if test -n "$PDFLATEX"; then
72959   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72960 else
72961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72962 for as_dir in $PATH
72963 do
72964   IFS=$as_save_IFS
72965   test -z "$as_dir" && as_dir=.
72966     for ac_exec_ext in '' $ac_executable_extensions; do
72967   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72968     ac_cv_prog_PDFLATEX="yes"
72969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72970     break 2
72971   fi
72972 done
72973   done
72974 IFS=$as_save_IFS
72975
72976   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72977 fi
72978 fi
72979 PDFLATEX=$ac_cv_prog_PDFLATEX
72980 if test -n "$PDFLATEX"; then
72981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72982 $as_echo "$PDFLATEX" >&6; }
72983 else
72984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72985 $as_echo "no" >&6; }
72986 fi
72987
72988
72989  if test $ac_cv_prog_DBLATEX = "yes" &&
72990                test $ac_cv_prog_PDFLATEX = "yes"; then
72991   BUILD_PDF_TRUE=
72992   BUILD_PDF_FALSE='#'
72993 else
72994   BUILD_PDF_TRUE='#'
72995   BUILD_PDF_FALSE=
72996 fi
72997
72998
72999
73000 # Propagate the target-specific source directories through the build chain.
73001 ATOMICITY_SRCDIR=config/${atomicity_dir}
73002 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
73003 ATOMIC_FLAGS=${atomic_flags}
73004 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
73005 OS_INC_SRCDIR=config/${os_include_dir}
73006 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
73007 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
73008 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
73009 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
73010
73011
73012
73013
73014
73015
73016
73017
73018
73019
73020
73021 # Determine cross-compile flags and AM_CONDITIONALs.
73022 #AC_SUBST(GLIBCXX_IS_NATIVE)
73023 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
73024     if test $is_hosted = yes; then
73025   GLIBCXX_HOSTED_TRUE=
73026   GLIBCXX_HOSTED_FALSE='#'
73027 else
73028   GLIBCXX_HOSTED_TRUE='#'
73029   GLIBCXX_HOSTED_FALSE=
73030 fi
73031
73032
73033     if test $enable_libstdcxx_pch = yes; then
73034   GLIBCXX_BUILD_PCH_TRUE=
73035   GLIBCXX_BUILD_PCH_FALSE='#'
73036 else
73037   GLIBCXX_BUILD_PCH_TRUE='#'
73038   GLIBCXX_BUILD_PCH_FALSE=
73039 fi
73040
73041
73042     if test $enable_cheaders = c; then
73043   GLIBCXX_C_HEADERS_C_TRUE=
73044   GLIBCXX_C_HEADERS_C_FALSE='#'
73045 else
73046   GLIBCXX_C_HEADERS_C_TRUE='#'
73047   GLIBCXX_C_HEADERS_C_FALSE=
73048 fi
73049
73050
73051     if test $enable_cheaders = c_std; then
73052   GLIBCXX_C_HEADERS_C_STD_TRUE=
73053   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
73054 else
73055   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
73056   GLIBCXX_C_HEADERS_C_STD_FALSE=
73057 fi
73058
73059
73060     if test $enable_cheaders = c_global; then
73061   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
73062   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
73063 else
73064   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
73065   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
73066 fi
73067
73068
73069     if test $c_compatibility = yes; then
73070   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
73071   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
73072 else
73073   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
73074   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
73075 fi
73076
73077
73078     if test $enable_libstdcxx_debug = yes; then
73079   GLIBCXX_BUILD_DEBUG_TRUE=
73080   GLIBCXX_BUILD_DEBUG_FALSE='#'
73081 else
73082   GLIBCXX_BUILD_DEBUG_TRUE='#'
73083   GLIBCXX_BUILD_DEBUG_FALSE=
73084 fi
73085
73086
73087     if test $enable_extern_template = yes; then
73088   ENABLE_EXTERN_TEMPLATE_TRUE=
73089   ENABLE_EXTERN_TEMPLATE_FALSE='#'
73090 else
73091   ENABLE_EXTERN_TEMPLATE_TRUE='#'
73092   ENABLE_EXTERN_TEMPLATE_FALSE=
73093 fi
73094
73095
73096     if test $python_mod_dir != no; then
73097   ENABLE_PYTHONDIR_TRUE=
73098   ENABLE_PYTHONDIR_FALSE='#'
73099 else
73100   ENABLE_PYTHONDIR_TRUE='#'
73101   ENABLE_PYTHONDIR_FALSE=
73102 fi
73103
73104
73105     if test $enable_werror = yes; then
73106   ENABLE_WERROR_TRUE=
73107   ENABLE_WERROR_FALSE='#'
73108 else
73109   ENABLE_WERROR_TRUE='#'
73110   ENABLE_WERROR_FALSE=
73111 fi
73112
73113
73114     if test $enable_vtable_verify = yes; then
73115   ENABLE_VTABLE_VERIFY_TRUE=
73116   ENABLE_VTABLE_VERIFY_FALSE='#'
73117 else
73118   ENABLE_VTABLE_VERIFY_TRUE='#'
73119   ENABLE_VTABLE_VERIFY_FALSE=
73120 fi
73121
73122
73123     if test $enable_symvers != no; then
73124   ENABLE_SYMVERS_TRUE=
73125   ENABLE_SYMVERS_FALSE='#'
73126 else
73127   ENABLE_SYMVERS_TRUE='#'
73128   ENABLE_SYMVERS_FALSE=
73129 fi
73130
73131
73132     if test $enable_symvers = gnu; then
73133   ENABLE_SYMVERS_GNU_TRUE=
73134   ENABLE_SYMVERS_GNU_FALSE='#'
73135 else
73136   ENABLE_SYMVERS_GNU_TRUE='#'
73137   ENABLE_SYMVERS_GNU_FALSE=
73138 fi
73139
73140
73141     if test $enable_symvers = gnu-versioned-namespace; then
73142   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
73143   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
73144 else
73145   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
73146   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
73147 fi
73148
73149
73150     if test $enable_symvers = darwin; then
73151   ENABLE_SYMVERS_DARWIN_TRUE=
73152   ENABLE_SYMVERS_DARWIN_FALSE='#'
73153 else
73154   ENABLE_SYMVERS_DARWIN_TRUE='#'
73155   ENABLE_SYMVERS_DARWIN_FALSE=
73156 fi
73157
73158
73159     if test $enable_symvers = sun; then
73160   ENABLE_SYMVERS_SUN_TRUE=
73161   ENABLE_SYMVERS_SUN_FALSE='#'
73162 else
73163   ENABLE_SYMVERS_SUN_TRUE='#'
73164   ENABLE_SYMVERS_SUN_FALSE=
73165 fi
73166
73167
73168     if test $enable_libstdcxx_visibility = yes; then
73169   ENABLE_VISIBILITY_TRUE=
73170   ENABLE_VISIBILITY_FALSE='#'
73171 else
73172   ENABLE_VISIBILITY_TRUE='#'
73173   ENABLE_VISIBILITY_FALSE=
73174 fi
73175
73176
73177     if test $ac_ldbl_compat = yes; then
73178   GLIBCXX_LDBL_COMPAT_TRUE=
73179   GLIBCXX_LDBL_COMPAT_FALSE='#'
73180 else
73181   GLIBCXX_LDBL_COMPAT_TRUE='#'
73182   GLIBCXX_LDBL_COMPAT_FALSE=
73183 fi
73184
73185
73186
73187
73188 cat >confcache <<\_ACEOF
73189 # This file is a shell script that caches the results of configure
73190 # tests run on this system so they can be shared between configure
73191 # scripts and configure runs, see configure's option --config-cache.
73192 # It is not useful on other systems.  If it contains results you don't
73193 # want to keep, you may remove or edit it.
73194 #
73195 # config.status only pays attention to the cache file if you give it
73196 # the --recheck option to rerun configure.
73197 #
73198 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73199 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73200 # following values.
73201
73202 _ACEOF
73203
73204 # The following way of writing the cache mishandles newlines in values,
73205 # but we know of no workaround that is simple, portable, and efficient.
73206 # So, we kill variables containing newlines.
73207 # Ultrix sh set writes to stderr and can't be redirected directly,
73208 # and sets the high bit in the cache file unless we assign to the vars.
73209 (
73210   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73211     eval ac_val=\$$ac_var
73212     case $ac_val in #(
73213     *${as_nl}*)
73214       case $ac_var in #(
73215       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73216 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73217       esac
73218       case $ac_var in #(
73219       _ | IFS | as_nl) ;; #(
73220       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73221       *) { eval $ac_var=; unset $ac_var;} ;;
73222       esac ;;
73223     esac
73224   done
73225
73226   (set) 2>&1 |
73227     case $as_nl`(ac_space=' '; set) 2>&1` in #(
73228     *${as_nl}ac_space=\ *)
73229       # `set' does not quote correctly, so add quotes: double-quote
73230       # substitution turns \\\\ into \\, and sed turns \\ into \.
73231       sed -n \
73232         "s/'/'\\\\''/g;
73233           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73234       ;; #(
73235     *)
73236       # `set' quotes correctly as required by POSIX, so do not add quotes.
73237       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73238       ;;
73239     esac |
73240     sort
73241 ) |
73242   sed '
73243      /^ac_cv_env_/b end
73244      t clear
73245      :clear
73246      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73247      t end
73248      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73249      :end' >>confcache
73250 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73251   if test -w "$cache_file"; then
73252     test "x$cache_file" != "x/dev/null" &&
73253       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73254 $as_echo "$as_me: updating cache $cache_file" >&6;}
73255     cat confcache >$cache_file
73256   else
73257     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73258 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73259   fi
73260 fi
73261 rm -f confcache
73262
73263 if test ${multilib} = yes; then
73264   multilib_arg="--enable-multilib"
73265 else
73266   multilib_arg=
73267 fi
73268
73269 # Export all the install information.
73270
73271   glibcxx_toolexecdir=no
73272   glibcxx_toolexeclibdir=no
73273   glibcxx_prefixdir=$prefix
73274
73275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73276 $as_echo_n "checking for gxx-include-dir... " >&6; }
73277
73278 # Check whether --with-gxx-include-dir was given.
73279 if test "${with_gxx_include_dir+set}" = set; then :
73280   withval=$with_gxx_include_dir; case "$withval" in
73281       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73282       no)  gxx_include_dir=no ;;
73283       *)   gxx_include_dir=$withval ;;
73284      esac
73285 else
73286   gxx_include_dir=no
73287 fi
73288
73289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73290 $as_echo "$gxx_include_dir" >&6; }
73291
73292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73293 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73294   # Check whether --enable-version-specific-runtime-libs was given.
73295 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73296   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73297       yes) version_specific_libs=yes ;;
73298       no)  version_specific_libs=no ;;
73299       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73300      esac
73301 else
73302   version_specific_libs=no
73303 fi
73304
73305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73306 $as_echo "$version_specific_libs" >&6; }
73307
73308   # Default case for install directory for include files.
73309   if test $version_specific_libs = no && test $gxx_include_dir = no; then
73310     gxx_include_dir='include/c++/${gcc_version}'
73311     if test -n "$with_cross_host" &&
73312        test x"$with_cross_host" != x"no"; then
73313       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73314     else
73315       gxx_include_dir='${prefix}/'"$gxx_include_dir"
73316     fi
73317   fi
73318
73319   # Version-specific runtime libs processing.
73320   if test $version_specific_libs = yes; then
73321     # Need the gcc compiler version to know where to install libraries
73322     # and header files if --enable-version-specific-runtime-libs option
73323     # is selected.  FIXME: these variables are misnamed, there are
73324     # no executables installed in _toolexecdir or _toolexeclibdir.
73325     if test x"$gxx_include_dir" = x"no"; then
73326       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73327     fi
73328     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73329     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73330   fi
73331
73332   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73333   # Install a library built with a cross compiler in tooldir, not libdir.
73334   if test x"$glibcxx_toolexecdir" = x"no"; then
73335     if test -n "$with_cross_host" &&
73336        test x"$with_cross_host" != x"no"; then
73337       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73338       glibcxx_toolexeclibdir='${toolexecdir}/lib'
73339     else
73340       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73341       glibcxx_toolexeclibdir='${libdir}'
73342     fi
73343     multi_os_directory=`$CXX -print-multi-os-directory`
73344     case $multi_os_directory in
73345       .) ;; # Avoid trailing /.
73346       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73347     esac
73348   fi
73349
73350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73351 $as_echo_n "checking for install location... " >&6; }
73352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73353 $as_echo "$gxx_include_dir" >&6; }
73354
73355
73356
73357
73358
73359
73360
73361 # Export all the include and flag information to Makefiles.
73362
73363   # Used for every C++ compile we perform.
73364   GLIBCXX_INCLUDES="\
73365 -I$glibcxx_builddir/include/$host_alias \
73366 -I$glibcxx_builddir/include \
73367 -I$glibcxx_srcdir/libsupc++"
73368
73369   # For Canadian crosses, pick this up too.
73370   if test $CANADIAN = yes; then
73371     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73372   fi
73373
73374   # Stuff in the actual top level.  Currently only used by libsupc++ to
73375   # get unwind* headers from the libgcc dir.
73376   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73377   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73378
73379   # Now, export this to all the little Makefiles....
73380
73381
73382
73383
73384   # Optimization flags that are probably a good idea for thrill-seekers. Just
73385   # uncomment the lines below and make, everything else is ready to go...
73386   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73387   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73388
73389
73390   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73391
73392
73393
73394 ac_config_files="$ac_config_files Makefile"
73395
73396 ac_config_files="$ac_config_files scripts/testsuite_flags"
73397
73398 ac_config_files="$ac_config_files scripts/extract_symvers"
73399
73400 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73401
73402
73403 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73404 # that multilib installs will end up installed in the correct place.
73405 # The testsuite needs it for multilib-aware ABI baseline files.
73406 # To work around this not being passed down from config-ml.in ->
73407 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73408 # append it here.  Only modify Makefiles that have just been created.
73409 #
73410 # Also, get rid of this simulated-VPATH thing that automake does.
73411 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
73412
73413
73414 ac_config_commands="$ac_config_commands generate-headers"
73415
73416
73417 cat >confcache <<\_ACEOF
73418 # This file is a shell script that caches the results of configure
73419 # tests run on this system so they can be shared between configure
73420 # scripts and configure runs, see configure's option --config-cache.
73421 # It is not useful on other systems.  If it contains results you don't
73422 # want to keep, you may remove or edit it.
73423 #
73424 # config.status only pays attention to the cache file if you give it
73425 # the --recheck option to rerun configure.
73426 #
73427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73429 # following values.
73430
73431 _ACEOF
73432
73433 # The following way of writing the cache mishandles newlines in values,
73434 # but we know of no workaround that is simple, portable, and efficient.
73435 # So, we kill variables containing newlines.
73436 # Ultrix sh set writes to stderr and can't be redirected directly,
73437 # and sets the high bit in the cache file unless we assign to the vars.
73438 (
73439   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73440     eval ac_val=\$$ac_var
73441     case $ac_val in #(
73442     *${as_nl}*)
73443       case $ac_var in #(
73444       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73446       esac
73447       case $ac_var in #(
73448       _ | IFS | as_nl) ;; #(
73449       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73450       *) { eval $ac_var=; unset $ac_var;} ;;
73451       esac ;;
73452     esac
73453   done
73454
73455   (set) 2>&1 |
73456     case $as_nl`(ac_space=' '; set) 2>&1` in #(
73457     *${as_nl}ac_space=\ *)
73458       # `set' does not quote correctly, so add quotes: double-quote
73459       # substitution turns \\\\ into \\, and sed turns \\ into \.
73460       sed -n \
73461         "s/'/'\\\\''/g;
73462           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73463       ;; #(
73464     *)
73465       # `set' quotes correctly as required by POSIX, so do not add quotes.
73466       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73467       ;;
73468     esac |
73469     sort
73470 ) |
73471   sed '
73472      /^ac_cv_env_/b end
73473      t clear
73474      :clear
73475      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73476      t end
73477      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73478      :end' >>confcache
73479 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73480   if test -w "$cache_file"; then
73481     test "x$cache_file" != "x/dev/null" &&
73482       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73483 $as_echo "$as_me: updating cache $cache_file" >&6;}
73484     cat confcache >$cache_file
73485   else
73486     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73487 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73488   fi
73489 fi
73490 rm -f confcache
73491
73492 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73493 # Let make expand exec_prefix.
73494 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73495
73496 DEFS=-DHAVE_CONFIG_H
73497
73498 ac_libobjs=
73499 ac_ltlibobjs=
73500 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73501   # 1. Remove the extension, and $U if already installed.
73502   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73503   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73504   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
73505   #    will be set to the directory where LIBOBJS objects are built.
73506   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73507   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73508 done
73509 LIBOBJS=$ac_libobjs
73510
73511 LTLIBOBJS=$ac_ltlibobjs
73512
73513
73514  if test -n "$EXEEXT"; then
73515   am__EXEEXT_TRUE=
73516   am__EXEEXT_FALSE='#'
73517 else
73518   am__EXEEXT_TRUE='#'
73519   am__EXEEXT_FALSE=
73520 fi
73521
73522 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73523   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73525 fi
73526 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73527   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73529 fi
73530 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73531   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73533 fi
73534 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73535   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73537 fi
73538 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73539   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73541 fi
73542 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73543   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73545 fi
73546 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73547   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73549 fi
73550 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73551   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73553 fi
73554 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73555   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73557 fi
73558 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73559   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73561 fi
73562 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73563   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73565 fi
73566 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73567   as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73569 fi
73570 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73571   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73573 fi
73574 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73575   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73577 fi
73578 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73579   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73581 fi
73582 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73583   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73585 fi
73586 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73587   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73589 fi
73590 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73591   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73593 fi
73594 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73595   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73597 fi
73598 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73599   as_fn_error "conditional \"BUILD_INFO\" was never defined.
73600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73601 fi
73602 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73603   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73605 fi
73606 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73607   as_fn_error "conditional \"BUILD_XML\" was never defined.
73608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73609 fi
73610 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73611   as_fn_error "conditional \"BUILD_HTML\" was never defined.
73612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73613 fi
73614 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73615   as_fn_error "conditional \"BUILD_MAN\" was never defined.
73616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73617 fi
73618 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73619   as_fn_error "conditional \"BUILD_PDF\" was never defined.
73620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73621 fi
73622
73623 : ${CONFIG_STATUS=./config.status}
73624 ac_write_fail=0
73625 ac_clean_files_save=$ac_clean_files
73626 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73627 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73628 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73629 as_write_fail=0
73630 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73631 #! $SHELL
73632 # Generated by $as_me.
73633 # Run this file to recreate the current configuration.
73634 # Compiler output produced by configure, useful for debugging
73635 # configure, is in config.log if it exists.
73636
73637 debug=false
73638 ac_cs_recheck=false
73639 ac_cs_silent=false
73640
73641 SHELL=\${CONFIG_SHELL-$SHELL}
73642 export SHELL
73643 _ASEOF
73644 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73645 ## -------------------- ##
73646 ## M4sh Initialization. ##
73647 ## -------------------- ##
73648
73649 # Be more Bourne compatible
73650 DUALCASE=1; export DUALCASE # for MKS sh
73651 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73652   emulate sh
73653   NULLCMD=:
73654   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73655   # is contrary to our usage.  Disable this feature.
73656   alias -g '${1+"$@"}'='"$@"'
73657   setopt NO_GLOB_SUBST
73658 else
73659   case `(set -o) 2>/dev/null` in #(
73660   *posix*) :
73661     set -o posix ;; #(
73662   *) :
73663      ;;
73664 esac
73665 fi
73666
73667
73668 as_nl='
73669 '
73670 export as_nl
73671 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73672 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73674 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73675 # Prefer a ksh shell builtin over an external printf program on Solaris,
73676 # but without wasting forks for bash or zsh.
73677 if test -z "$BASH_VERSION$ZSH_VERSION" \
73678     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73679   as_echo='print -r --'
73680   as_echo_n='print -rn --'
73681 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73682   as_echo='printf %s\n'
73683   as_echo_n='printf %s'
73684 else
73685   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73686     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73687     as_echo_n='/usr/ucb/echo -n'
73688   else
73689     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73690     as_echo_n_body='eval
73691       arg=$1;
73692       case $arg in #(
73693       *"$as_nl"*)
73694         expr "X$arg" : "X\\(.*\\)$as_nl";
73695         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73696       esac;
73697       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73698     '
73699     export as_echo_n_body
73700     as_echo_n='sh -c $as_echo_n_body as_echo'
73701   fi
73702   export as_echo_body
73703   as_echo='sh -c $as_echo_body as_echo'
73704 fi
73705
73706 # The user is always right.
73707 if test "${PATH_SEPARATOR+set}" != set; then
73708   PATH_SEPARATOR=:
73709   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73710     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73711       PATH_SEPARATOR=';'
73712   }
73713 fi
73714
73715
73716 # IFS
73717 # We need space, tab and new line, in precisely that order.  Quoting is
73718 # there to prevent editors from complaining about space-tab.
73719 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73720 # splitting by setting IFS to empty value.)
73721 IFS=" ""        $as_nl"
73722
73723 # Find who we are.  Look in the path if we contain no directory separator.
73724 case $0 in #((
73725   *[\\/]* ) as_myself=$0 ;;
73726   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73727 for as_dir in $PATH
73728 do
73729   IFS=$as_save_IFS
73730   test -z "$as_dir" && as_dir=.
73731     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73732   done
73733 IFS=$as_save_IFS
73734
73735      ;;
73736 esac
73737 # We did not find ourselves, most probably we were run as `sh COMMAND'
73738 # in which case we are not to be found in the path.
73739 if test "x$as_myself" = x; then
73740   as_myself=$0
73741 fi
73742 if test ! -f "$as_myself"; then
73743   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73744   exit 1
73745 fi
73746
73747 # Unset variables that we do not need and which cause bugs (e.g. in
73748 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
73749 # suppresses any "Segmentation fault" message there.  '((' could
73750 # trigger a bug in pdksh 5.2.14.
73751 for as_var in BASH_ENV ENV MAIL MAILPATH
73752 do eval test x\${$as_var+set} = xset \
73753   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73754 done
73755 PS1='$ '
73756 PS2='> '
73757 PS4='+ '
73758
73759 # NLS nuisances.
73760 LC_ALL=C
73761 export LC_ALL
73762 LANGUAGE=C
73763 export LANGUAGE
73764
73765 # CDPATH.
73766 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73767
73768
73769 # as_fn_error ERROR [LINENO LOG_FD]
73770 # ---------------------------------
73771 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73772 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73773 # script with status $?, using 1 if that was 0.
73774 as_fn_error ()
73775 {
73776   as_status=$?; test $as_status -eq 0 && as_status=1
73777   if test "$3"; then
73778     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73779     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73780   fi
73781   $as_echo "$as_me: error: $1" >&2
73782   as_fn_exit $as_status
73783 } # as_fn_error
73784
73785
73786 # as_fn_set_status STATUS
73787 # -----------------------
73788 # Set $? to STATUS, without forking.
73789 as_fn_set_status ()
73790 {
73791   return $1
73792 } # as_fn_set_status
73793
73794 # as_fn_exit STATUS
73795 # -----------------
73796 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73797 as_fn_exit ()
73798 {
73799   set +e
73800   as_fn_set_status $1
73801   exit $1
73802 } # as_fn_exit
73803
73804 # as_fn_unset VAR
73805 # ---------------
73806 # Portably unset VAR.
73807 as_fn_unset ()
73808 {
73809   { eval $1=; unset $1;}
73810 }
73811 as_unset=as_fn_unset
73812 # as_fn_append VAR VALUE
73813 # ----------------------
73814 # Append the text in VALUE to the end of the definition contained in VAR. Take
73815 # advantage of any shell optimizations that allow amortized linear growth over
73816 # repeated appends, instead of the typical quadratic growth present in naive
73817 # implementations.
73818 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73819   eval 'as_fn_append ()
73820   {
73821     eval $1+=\$2
73822   }'
73823 else
73824   as_fn_append ()
73825   {
73826     eval $1=\$$1\$2
73827   }
73828 fi # as_fn_append
73829
73830 # as_fn_arith ARG...
73831 # ------------------
73832 # Perform arithmetic evaluation on the ARGs, and store the result in the
73833 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73834 # must be portable across $(()) and expr.
73835 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73836   eval 'as_fn_arith ()
73837   {
73838     as_val=$(( $* ))
73839   }'
73840 else
73841   as_fn_arith ()
73842   {
73843     as_val=`expr "$@" || test $? -eq 1`
73844   }
73845 fi # as_fn_arith
73846
73847
73848 if expr a : '\(a\)' >/dev/null 2>&1 &&
73849    test "X`expr 00001 : '.*\(...\)'`" = X001; then
73850   as_expr=expr
73851 else
73852   as_expr=false
73853 fi
73854
73855 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73856   as_basename=basename
73857 else
73858   as_basename=false
73859 fi
73860
73861 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73862   as_dirname=dirname
73863 else
73864   as_dirname=false
73865 fi
73866
73867 as_me=`$as_basename -- "$0" ||
73868 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73869          X"$0" : 'X\(//\)$' \| \
73870          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73871 $as_echo X/"$0" |
73872     sed '/^.*\/\([^/][^/]*\)\/*$/{
73873             s//\1/
73874             q
73875           }
73876           /^X\/\(\/\/\)$/{
73877             s//\1/
73878             q
73879           }
73880           /^X\/\(\/\).*/{
73881             s//\1/
73882             q
73883           }
73884           s/.*/./; q'`
73885
73886 # Avoid depending upon Character Ranges.
73887 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73888 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73889 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73890 as_cr_digits='0123456789'
73891 as_cr_alnum=$as_cr_Letters$as_cr_digits
73892
73893 ECHO_C= ECHO_N= ECHO_T=
73894 case `echo -n x` in #(((((
73895 -n*)
73896   case `echo 'xy\c'` in
73897   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
73898   xy)  ECHO_C='\c';;
73899   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
73900        ECHO_T=' ';;
73901   esac;;
73902 *)
73903   ECHO_N='-n';;
73904 esac
73905
73906 rm -f conf$$ conf$$.exe conf$$.file
73907 if test -d conf$$.dir; then
73908   rm -f conf$$.dir/conf$$.file
73909 else
73910   rm -f conf$$.dir
73911   mkdir conf$$.dir 2>/dev/null
73912 fi
73913 if (echo >conf$$.file) 2>/dev/null; then
73914   if ln -s conf$$.file conf$$ 2>/dev/null; then
73915     as_ln_s='ln -s'
73916     # ... but there are two gotchas:
73917     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73918     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73919     # In both cases, we have to default to `cp -p'.
73920     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73921       as_ln_s='cp -p'
73922   elif ln conf$$.file conf$$ 2>/dev/null; then
73923     as_ln_s=ln
73924   else
73925     as_ln_s='cp -p'
73926   fi
73927 else
73928   as_ln_s='cp -p'
73929 fi
73930 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73931 rmdir conf$$.dir 2>/dev/null
73932
73933
73934 # as_fn_mkdir_p
73935 # -------------
73936 # Create "$as_dir" as a directory, including parents if necessary.
73937 as_fn_mkdir_p ()
73938 {
73939
73940   case $as_dir in #(
73941   -*) as_dir=./$as_dir;;
73942   esac
73943   test -d "$as_dir" || eval $as_mkdir_p || {
73944     as_dirs=
73945     while :; do
73946       case $as_dir in #(
73947       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73948       *) as_qdir=$as_dir;;
73949       esac
73950       as_dirs="'$as_qdir' $as_dirs"
73951       as_dir=`$as_dirname -- "$as_dir" ||
73952 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73953          X"$as_dir" : 'X\(//\)[^/]' \| \
73954          X"$as_dir" : 'X\(//\)$' \| \
73955          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73956 $as_echo X"$as_dir" |
73957     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73958             s//\1/
73959             q
73960           }
73961           /^X\(\/\/\)[^/].*/{
73962             s//\1/
73963             q
73964           }
73965           /^X\(\/\/\)$/{
73966             s//\1/
73967             q
73968           }
73969           /^X\(\/\).*/{
73970             s//\1/
73971             q
73972           }
73973           s/.*/./; q'`
73974       test -d "$as_dir" && break
73975     done
73976     test -z "$as_dirs" || eval "mkdir $as_dirs"
73977   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73978
73979
73980 } # as_fn_mkdir_p
73981 if mkdir -p . 2>/dev/null; then
73982   as_mkdir_p='mkdir -p "$as_dir"'
73983 else
73984   test -d ./-p && rmdir ./-p
73985   as_mkdir_p=false
73986 fi
73987
73988 if test -x / >/dev/null 2>&1; then
73989   as_test_x='test -x'
73990 else
73991   if ls -dL / >/dev/null 2>&1; then
73992     as_ls_L_option=L
73993   else
73994     as_ls_L_option=
73995   fi
73996   as_test_x='
73997     eval sh -c '\''
73998       if test -d "$1"; then
73999         test -d "$1/.";
74000       else
74001         case $1 in #(
74002         -*)set "./$1";;
74003         esac;
74004         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
74005         ???[sx]*):;;*)false;;esac;fi
74006     '\'' sh
74007   '
74008 fi
74009 as_executable_p=$as_test_x
74010
74011 # Sed expression to map a string onto a valid CPP name.
74012 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
74013
74014 # Sed expression to map a string onto a valid variable name.
74015 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
74016
74017
74018 exec 6>&1
74019 ## ----------------------------------- ##
74020 ## Main body of $CONFIG_STATUS script. ##
74021 ## ----------------------------------- ##
74022 _ASEOF
74023 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
74024
74025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74026 # Save the log message, to keep $0 and so on meaningful, and to
74027 # report actual input values of CONFIG_FILES etc. instead of their
74028 # values after options handling.
74029 ac_log="
74030 This file was extended by package-unused $as_me version-unused, which was
74031 generated by GNU Autoconf 2.64.  Invocation command line was
74032
74033   CONFIG_FILES    = $CONFIG_FILES
74034   CONFIG_HEADERS  = $CONFIG_HEADERS
74035   CONFIG_LINKS    = $CONFIG_LINKS
74036   CONFIG_COMMANDS = $CONFIG_COMMANDS
74037   $ $0 $@
74038
74039 on `(hostname || uname -n) 2>/dev/null | sed 1q`
74040 "
74041
74042 _ACEOF
74043
74044 case $ac_config_files in *"
74045 "*) set x $ac_config_files; shift; ac_config_files=$*;;
74046 esac
74047
74048 case $ac_config_headers in *"
74049 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
74050 esac
74051
74052
74053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74054 # Files that config.status was made for.
74055 config_files="$ac_config_files"
74056 config_headers="$ac_config_headers"
74057 config_commands="$ac_config_commands"
74058
74059 _ACEOF
74060
74061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74062 ac_cs_usage="\
74063 \`$as_me' instantiates files and other configuration actions
74064 from templates according to the current configuration.  Unless the files
74065 and actions are specified as TAGs, all are instantiated by default.
74066
74067 Usage: $0 [OPTION]... [TAG]...
74068
74069   -h, --help       print this help, then exit
74070   -V, --version    print version number and configuration settings, then exit
74071   -q, --quiet, --silent
74072                    do not print progress messages
74073   -d, --debug      don't remove temporary files
74074       --recheck    update $as_me by reconfiguring in the same conditions
74075       --file=FILE[:TEMPLATE]
74076                    instantiate the configuration file FILE
74077       --header=FILE[:TEMPLATE]
74078                    instantiate the configuration header FILE
74079
74080 Configuration files:
74081 $config_files
74082
74083 Configuration headers:
74084 $config_headers
74085
74086 Configuration commands:
74087 $config_commands
74088
74089 Report bugs to the package provider."
74090
74091 _ACEOF
74092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74093 ac_cs_version="\\
74094 package-unused config.status version-unused
74095 configured by $0, generated by GNU Autoconf 2.64,
74096   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
74097
74098 Copyright (C) 2009 Free Software Foundation, Inc.
74099 This config.status script is free software; the Free Software Foundation
74100 gives unlimited permission to copy, distribute and modify it."
74101
74102 ac_pwd='$ac_pwd'
74103 srcdir='$srcdir'
74104 INSTALL='$INSTALL'
74105 MKDIR_P='$MKDIR_P'
74106 AWK='$AWK'
74107 test -n "\$AWK" || AWK=awk
74108 _ACEOF
74109
74110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74111 # The default lists apply if the user does not specify any file.
74112 ac_need_defaults=:
74113 while test $# != 0
74114 do
74115   case $1 in
74116   --*=*)
74117     ac_option=`expr "X$1" : 'X\([^=]*\)='`
74118     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
74119     ac_shift=:
74120     ;;
74121   *)
74122     ac_option=$1
74123     ac_optarg=$2
74124     ac_shift=shift
74125     ;;
74126   esac
74127
74128   case $ac_option in
74129   # Handling of the options.
74130   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74131     ac_cs_recheck=: ;;
74132   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
74133     $as_echo "$ac_cs_version"; exit ;;
74134   --debug | --debu | --deb | --de | --d | -d )
74135     debug=: ;;
74136   --file | --fil | --fi | --f )
74137     $ac_shift
74138     case $ac_optarg in
74139     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74140     esac
74141     as_fn_append CONFIG_FILES " '$ac_optarg'"
74142     ac_need_defaults=false;;
74143   --header | --heade | --head | --hea )
74144     $ac_shift
74145     case $ac_optarg in
74146     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74147     esac
74148     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
74149     ac_need_defaults=false;;
74150   --he | --h)
74151     # Conflict between --help and --header
74152     as_fn_error "ambiguous option: \`$1'
74153 Try \`$0 --help' for more information.";;
74154   --help | --hel | -h )
74155     $as_echo "$ac_cs_usage"; exit ;;
74156   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74157   | -silent | --silent | --silen | --sile | --sil | --si | --s)
74158     ac_cs_silent=: ;;
74159
74160   # This is an error.
74161   -*) as_fn_error "unrecognized option: \`$1'
74162 Try \`$0 --help' for more information." ;;
74163
74164   *) as_fn_append ac_config_targets " $1"
74165      ac_need_defaults=false ;;
74166
74167   esac
74168   shift
74169 done
74170
74171 ac_configure_extra_args=
74172
74173 if $ac_cs_silent; then
74174   exec 6>/dev/null
74175   ac_configure_extra_args="$ac_configure_extra_args --silent"
74176 fi
74177
74178 _ACEOF
74179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74180 if \$ac_cs_recheck; then
74181   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74182   shift
74183   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74184   CONFIG_SHELL='$SHELL'
74185   export CONFIG_SHELL
74186   exec "\$@"
74187 fi
74188
74189 _ACEOF
74190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74191 exec 5>>config.log
74192 {
74193   echo
74194   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74195 ## Running $as_me. ##
74196 _ASBOX
74197   $as_echo "$ac_log"
74198 } >&5
74199
74200 _ACEOF
74201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74202 #
74203 # INIT-COMMANDS
74204 #
74205
74206 srcdir="$srcdir"
74207 host="$host"
74208 target="$target"
74209 with_multisubdir="$with_multisubdir"
74210 with_multisrctop="$with_multisrctop"
74211 with_target_subdir="$with_target_subdir"
74212 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74213 multi_basedir="$multi_basedir"
74214 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74215 CC="$CC"
74216 CXX="$CXX"
74217 GFORTRAN="$GFORTRAN"
74218 GCJ="$GCJ"
74219
74220
74221 # The HP-UX ksh and POSIX shell print the target directory to stdout
74222 # if CDPATH is set.
74223 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74224
74225 sed_quote_subst='$sed_quote_subst'
74226 double_quote_subst='$double_quote_subst'
74227 delay_variable_subst='$delay_variable_subst'
74228 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74229 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74230 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74231 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74232 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74233 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74234 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74235 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74236 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74237 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74238 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74239 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74240 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74241 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74242 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74243 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74244 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74245 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74246 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74247 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74248 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74249 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74250 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74251 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74252 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74253 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74254 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74255 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74256 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74257 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74258 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74259 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74260 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74261 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74262 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74263 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74264 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74265 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74266 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74267 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74268 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74269 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74270 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74271 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74272 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74273 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74274 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74275 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74276 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"`'
74277 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74278 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74279 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74280 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74281 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74282 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74283 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74284 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74285 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74286 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74287 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74288 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74289 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74290 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74291 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74292 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74293 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74294 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74295 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74296 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74297 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74298 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74299 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74300 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74301 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74302 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74303 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74304 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74305 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74306 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74307 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74308 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74309 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74310 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74311 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74312 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74313 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74314 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74315 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74316 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74317 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74318 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74319 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74320 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74321 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74322 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74323 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74324 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74325 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74326 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74327 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74328 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74329 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74330 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74331 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74332 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74333 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74334 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74335 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74336 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74337 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74338 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74339 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74340 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74341 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74342 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74343 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74344 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74345 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74346 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74347 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74348 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74349 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74350 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74351 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74352 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74353 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74354 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74355 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74356 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74357 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74358 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74359 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74360 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74361 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74362 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74363 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74364 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74365 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74366 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74367 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74368 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74369 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74370 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74371 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74372 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74373 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74374 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74375 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74376 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74377 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74378 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74379 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74380 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74381 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74382 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74383 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74384 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74385 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74386 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74387 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74388 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74389 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74390 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74391 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74392 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74393 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74394 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74395 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74396 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74397 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74398 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74399 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74400 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74401 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74402 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74403
74404 LTCC='$LTCC'
74405 LTCFLAGS='$LTCFLAGS'
74406 compiler='$compiler_DEFAULT'
74407
74408 # A function that is used when there is no print builtin or printf.
74409 func_fallback_echo ()
74410 {
74411   eval 'cat <<_LTECHO_EOF
74412 \$1
74413 _LTECHO_EOF'
74414 }
74415
74416 # Quote evaled strings.
74417 for var in SHELL \
74418 ECHO \
74419 SED \
74420 GREP \
74421 EGREP \
74422 FGREP \
74423 LD \
74424 NM \
74425 LN_S \
74426 lt_SP2NL \
74427 lt_NL2SP \
74428 reload_flag \
74429 OBJDUMP \
74430 deplibs_check_method \
74431 file_magic_cmd \
74432 AR \
74433 AR_FLAGS \
74434 STRIP \
74435 RANLIB \
74436 CC \
74437 CFLAGS \
74438 compiler \
74439 lt_cv_sys_global_symbol_pipe \
74440 lt_cv_sys_global_symbol_to_cdecl \
74441 lt_cv_sys_global_symbol_to_c_name_address \
74442 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74443 lt_prog_compiler_no_builtin_flag \
74444 lt_prog_compiler_wl \
74445 lt_prog_compiler_pic \
74446 lt_prog_compiler_static \
74447 lt_cv_prog_compiler_c_o \
74448 need_locks \
74449 DSYMUTIL \
74450 NMEDIT \
74451 LIPO \
74452 OTOOL \
74453 OTOOL64 \
74454 shrext_cmds \
74455 export_dynamic_flag_spec \
74456 whole_archive_flag_spec \
74457 compiler_needs_object \
74458 with_gnu_ld \
74459 allow_undefined_flag \
74460 no_undefined_flag \
74461 hardcode_libdir_flag_spec \
74462 hardcode_libdir_flag_spec_ld \
74463 hardcode_libdir_separator \
74464 fix_srcfile_path \
74465 exclude_expsyms \
74466 include_expsyms \
74467 file_list_spec \
74468 variables_saved_for_relink \
74469 libname_spec \
74470 library_names_spec \
74471 soname_spec \
74472 install_override_mode \
74473 finish_eval \
74474 old_striplib \
74475 striplib \
74476 compiler_lib_search_dirs \
74477 predep_objects \
74478 postdep_objects \
74479 predeps \
74480 postdeps \
74481 compiler_lib_search_path \
74482 LD_CXX \
74483 reload_flag_CXX \
74484 compiler_CXX \
74485 lt_prog_compiler_no_builtin_flag_CXX \
74486 lt_prog_compiler_wl_CXX \
74487 lt_prog_compiler_pic_CXX \
74488 lt_prog_compiler_static_CXX \
74489 lt_cv_prog_compiler_c_o_CXX \
74490 export_dynamic_flag_spec_CXX \
74491 whole_archive_flag_spec_CXX \
74492 compiler_needs_object_CXX \
74493 with_gnu_ld_CXX \
74494 allow_undefined_flag_CXX \
74495 no_undefined_flag_CXX \
74496 hardcode_libdir_flag_spec_CXX \
74497 hardcode_libdir_flag_spec_ld_CXX \
74498 hardcode_libdir_separator_CXX \
74499 fix_srcfile_path_CXX \
74500 exclude_expsyms_CXX \
74501 include_expsyms_CXX \
74502 file_list_spec_CXX \
74503 compiler_lib_search_dirs_CXX \
74504 predep_objects_CXX \
74505 postdep_objects_CXX \
74506 predeps_CXX \
74507 postdeps_CXX \
74508 compiler_lib_search_path_CXX; do
74509     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74510     *[\\\\\\\`\\"\\\$]*)
74511       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74512       ;;
74513     *)
74514       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74515       ;;
74516     esac
74517 done
74518
74519 # Double-quote double-evaled strings.
74520 for var in reload_cmds \
74521 old_postinstall_cmds \
74522 old_postuninstall_cmds \
74523 old_archive_cmds \
74524 extract_expsyms_cmds \
74525 old_archive_from_new_cmds \
74526 old_archive_from_expsyms_cmds \
74527 archive_cmds \
74528 archive_expsym_cmds \
74529 module_cmds \
74530 module_expsym_cmds \
74531 export_symbols_cmds \
74532 prelink_cmds \
74533 postinstall_cmds \
74534 postuninstall_cmds \
74535 finish_cmds \
74536 sys_lib_search_path_spec \
74537 sys_lib_dlsearch_path_spec \
74538 reload_cmds_CXX \
74539 old_archive_cmds_CXX \
74540 old_archive_from_new_cmds_CXX \
74541 old_archive_from_expsyms_cmds_CXX \
74542 archive_cmds_CXX \
74543 archive_expsym_cmds_CXX \
74544 module_cmds_CXX \
74545 module_expsym_cmds_CXX \
74546 export_symbols_cmds_CXX \
74547 prelink_cmds_CXX; do
74548     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74549     *[\\\\\\\`\\"\\\$]*)
74550       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74551       ;;
74552     *)
74553       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74554       ;;
74555     esac
74556 done
74557
74558 ac_aux_dir='$ac_aux_dir'
74559 xsi_shell='$xsi_shell'
74560 lt_shell_append='$lt_shell_append'
74561
74562 # See if we are running on zsh, and set the options which allow our
74563 # commands through without removal of \ escapes INIT.
74564 if test -n "\${ZSH_VERSION+set}" ; then
74565    setopt NO_GLOB_SUBST
74566 fi
74567
74568
74569     PACKAGE='$PACKAGE'
74570     VERSION='$VERSION'
74571     TIMESTAMP='$TIMESTAMP'
74572     RM='$RM'
74573     ofile='$ofile'
74574
74575
74576
74577
74578
74579
74580 GCC="$GCC"
74581 CC="$CC"
74582 acx_cv_header_stdint="$acx_cv_header_stdint"
74583 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74584 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74585 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74586 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74587 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74588 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74589 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74590 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74591 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74592 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74593 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74594 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74595 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74596
74597
74598 _ACEOF
74599
74600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74601
74602 # Handling of arguments.
74603 for ac_config_target in $ac_config_targets
74604 do
74605   case $ac_config_target in
74606     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74607     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74608     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74609     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74610     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74611     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74612     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74613     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74614     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74615     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74616     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74617     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74618     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74619     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74620     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74621     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74622     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74623     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74624
74625   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74626   esac
74627 done
74628
74629
74630 # If the user did not use the arguments to specify the items to instantiate,
74631 # then the envvar interface is used.  Set only those that are not.
74632 # We use the long form for the default assignment because of an extremely
74633 # bizarre bug on SunOS 4.1.3.
74634 if $ac_need_defaults; then
74635   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74636   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74637   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74638 fi
74639
74640 # Have a temporary directory for convenience.  Make it in the build tree
74641 # simply because there is no reason against having it here, and in addition,
74642 # creating and moving files from /tmp can sometimes cause problems.
74643 # Hook for its removal unless debugging.
74644 # Note that there is a small window in which the directory will not be cleaned:
74645 # after its creation but before its name has been assigned to `$tmp'.
74646 $debug ||
74647 {
74648   tmp=
74649   trap 'exit_status=$?
74650   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74651 ' 0
74652   trap 'as_fn_exit 1' 1 2 13 15
74653 }
74654 # Create a (secure) tmp directory for tmp files.
74655
74656 {
74657   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74658   test -n "$tmp" && test -d "$tmp"
74659 }  ||
74660 {
74661   tmp=./conf$$-$RANDOM
74662   (umask 077 && mkdir "$tmp")
74663 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74664
74665 # Set up the scripts for CONFIG_FILES section.
74666 # No need to generate them if there are no CONFIG_FILES.
74667 # This happens for instance with `./config.status config.h'.
74668 if test -n "$CONFIG_FILES"; then
74669
74670
74671 ac_cr=`echo X | tr X '\015'`
74672 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74673 # But we know of no other shell where ac_cr would be empty at this
74674 # point, so we can use a bashism as a fallback.
74675 if test "x$ac_cr" = x; then
74676   eval ac_cr=\$\'\\r\'
74677 fi
74678 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74679 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74680   ac_cs_awk_cr='\r'
74681 else
74682   ac_cs_awk_cr=$ac_cr
74683 fi
74684
74685 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74686 _ACEOF
74687
74688
74689 {
74690   echo "cat >conf$$subs.awk <<_ACEOF" &&
74691   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74692   echo "_ACEOF"
74693 } >conf$$subs.sh ||
74694   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74695 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74696 ac_delim='%!_!# '
74697 for ac_last_try in false false false false false :; do
74698   . ./conf$$subs.sh ||
74699     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74700
74701   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74702   if test $ac_delim_n = $ac_delim_num; then
74703     break
74704   elif $ac_last_try; then
74705     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74706   else
74707     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74708   fi
74709 done
74710 rm -f conf$$subs.sh
74711
74712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74713 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74714 _ACEOF
74715 sed -n '
74716 h
74717 s/^/S["/; s/!.*/"]=/
74718 p
74719 g
74720 s/^[^!]*!//
74721 :repl
74722 t repl
74723 s/'"$ac_delim"'$//
74724 t delim
74725 :nl
74726 h
74727 s/\(.\{148\}\).*/\1/
74728 t more1
74729 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74730 p
74731 n
74732 b repl
74733 :more1
74734 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74735 p
74736 g
74737 s/.\{148\}//
74738 t nl
74739 :delim
74740 h
74741 s/\(.\{148\}\).*/\1/
74742 t more2
74743 s/["\\]/\\&/g; s/^/"/; s/$/"/
74744 p
74745 b
74746 :more2
74747 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74748 p
74749 g
74750 s/.\{148\}//
74751 t delim
74752 ' <conf$$subs.awk | sed '
74753 /^[^""]/{
74754   N
74755   s/\n//
74756 }
74757 ' >>$CONFIG_STATUS || ac_write_fail=1
74758 rm -f conf$$subs.awk
74759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74760 _ACAWK
74761 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74762   for (key in S) S_is_set[key] = 1
74763   FS = "\a"
74764
74765 }
74766 {
74767   line = $ 0
74768   nfields = split(line, field, "@")
74769   substed = 0
74770   len = length(field[1])
74771   for (i = 2; i < nfields; i++) {
74772     key = field[i]
74773     keylen = length(key)
74774     if (S_is_set[key]) {
74775       value = S[key]
74776       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74777       len += length(value) + length(field[++i])
74778       substed = 1
74779     } else
74780       len += 1 + keylen
74781   }
74782
74783   print line
74784 }
74785
74786 _ACAWK
74787 _ACEOF
74788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74789 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74790   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74791 else
74792   cat
74793 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74794   || as_fn_error "could not setup config files machinery" "$LINENO" 5
74795 _ACEOF
74796
74797 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74798 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74799 # trailing colons and then remove the whole line if VPATH becomes empty
74800 # (actually we leave an empty line to preserve line numbers).
74801 if test "x$srcdir" = x.; then
74802   ac_vpsub='/^[  ]*VPATH[        ]*=/{
74803 s/:*\$(srcdir):*/:/
74804 s/:*\${srcdir}:*/:/
74805 s/:*@srcdir@:*/:/
74806 s/^\([^=]*=[     ]*\):*/\1/
74807 s/:*$//
74808 s/^[^=]*=[       ]*$//
74809 }'
74810 fi
74811
74812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74813 fi # test -n "$CONFIG_FILES"
74814
74815 # Set up the scripts for CONFIG_HEADERS section.
74816 # No need to generate them if there are no CONFIG_HEADERS.
74817 # This happens for instance with `./config.status Makefile'.
74818 if test -n "$CONFIG_HEADERS"; then
74819 cat >"$tmp/defines.awk" <<\_ACAWK ||
74820 BEGIN {
74821 _ACEOF
74822
74823 # Transform confdefs.h into an awk script `defines.awk', embedded as
74824 # here-document in config.status, that substitutes the proper values into
74825 # config.h.in to produce config.h.
74826
74827 # Create a delimiter string that does not exist in confdefs.h, to ease
74828 # handling of long lines.
74829 ac_delim='%!_!# '
74830 for ac_last_try in false false :; do
74831   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74832   if test -z "$ac_t"; then
74833     break
74834   elif $ac_last_try; then
74835     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74836   else
74837     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74838   fi
74839 done
74840
74841 # For the awk script, D is an array of macro values keyed by name,
74842 # likewise P contains macro parameters if any.  Preserve backslash
74843 # newline sequences.
74844
74845 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74846 sed -n '
74847 s/.\{148\}/&'"$ac_delim"'/g
74848 t rset
74849 :rset
74850 s/^[     ]*#[    ]*define[       ][      ]*/ /
74851 t def
74852 d
74853 :def
74854 s/\\$//
74855 t bsnl
74856 s/["\\]/\\&/g
74857 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
74858 D["\1"]=" \3"/p
74859 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
74860 d
74861 :bsnl
74862 s/["\\]/\\&/g
74863 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
74864 D["\1"]=" \3\\\\\\n"\\/p
74865 t cont
74866 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74867 t cont
74868 d
74869 :cont
74870 n
74871 s/.\{148\}/&'"$ac_delim"'/g
74872 t clear
74873 :clear
74874 s/\\$//
74875 t bsnlc
74876 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74877 d
74878 :bsnlc
74879 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74880 b cont
74881 ' <confdefs.h | sed '
74882 s/'"$ac_delim"'/"\\\
74883 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74884
74885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74886   for (key in D) D_is_set[key] = 1
74887   FS = "\a"
74888 }
74889 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74890   line = \$ 0
74891   split(line, arg, " ")
74892   if (arg[1] == "#") {
74893     defundef = arg[2]
74894     mac1 = arg[3]
74895   } else {
74896     defundef = substr(arg[1], 2)
74897     mac1 = arg[2]
74898   }
74899   split(mac1, mac2, "(") #)
74900   macro = mac2[1]
74901   prefix = substr(line, 1, index(line, defundef) - 1)
74902   if (D_is_set[macro]) {
74903     # Preserve the white space surrounding the "#".
74904     print prefix "define", macro P[macro] D[macro]
74905     next
74906   } else {
74907     # Replace #undef with comments.  This is necessary, for example,
74908     # in the case of _POSIX_SOURCE, which is predefined and required
74909     # on some systems where configure will not decide to define it.
74910     if (defundef == "undef") {
74911       print "/*", prefix defundef, macro, "*/"
74912       next
74913     }
74914   }
74915 }
74916 { print }
74917 _ACAWK
74918 _ACEOF
74919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74920   as_fn_error "could not setup config headers machinery" "$LINENO" 5
74921 fi # test -n "$CONFIG_HEADERS"
74922
74923
74924 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
74925 shift
74926 for ac_tag
74927 do
74928   case $ac_tag in
74929   :[FHLC]) ac_mode=$ac_tag; continue;;
74930   esac
74931   case $ac_mode$ac_tag in
74932   :[FHL]*:*);;
74933   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74934   :[FH]-) ac_tag=-:-;;
74935   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74936   esac
74937   ac_save_IFS=$IFS
74938   IFS=:
74939   set x $ac_tag
74940   IFS=$ac_save_IFS
74941   shift
74942   ac_file=$1
74943   shift
74944
74945   case $ac_mode in
74946   :L) ac_source=$1;;
74947   :[FH])
74948     ac_file_inputs=
74949     for ac_f
74950     do
74951       case $ac_f in
74952       -) ac_f="$tmp/stdin";;
74953       *) # Look for the file first in the build tree, then in the source tree
74954          # (if the path is not absolute).  The absolute path cannot be DOS-style,
74955          # because $ac_f cannot contain `:'.
74956          test -f "$ac_f" ||
74957            case $ac_f in
74958            [\\/$]*) false;;
74959            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74960            esac ||
74961            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74962       esac
74963       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74964       as_fn_append ac_file_inputs " '$ac_f'"
74965     done
74966
74967     # Let's still pretend it is `configure' which instantiates (i.e., don't
74968     # use $as_me), people would be surprised to read:
74969     #    /* config.h.  Generated by config.status.  */
74970     configure_input='Generated from '`
74971           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74972         `' by configure.'
74973     if test x"$ac_file" != x-; then
74974       configure_input="$ac_file.  $configure_input"
74975       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74976 $as_echo "$as_me: creating $ac_file" >&6;}
74977     fi
74978     # Neutralize special characters interpreted by sed in replacement strings.
74979     case $configure_input in #(
74980     *\&* | *\|* | *\\* )
74981        ac_sed_conf_input=`$as_echo "$configure_input" |
74982        sed 's/[\\\\&|]/\\\\&/g'`;; #(
74983     *) ac_sed_conf_input=$configure_input;;
74984     esac
74985
74986     case $ac_tag in
74987     *:-:* | *:-) cat >"$tmp/stdin" \
74988       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74989     esac
74990     ;;
74991   esac
74992
74993   ac_dir=`$as_dirname -- "$ac_file" ||
74994 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74995          X"$ac_file" : 'X\(//\)[^/]' \| \
74996          X"$ac_file" : 'X\(//\)$' \| \
74997          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74998 $as_echo X"$ac_file" |
74999     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75000             s//\1/
75001             q
75002           }
75003           /^X\(\/\/\)[^/].*/{
75004             s//\1/
75005             q
75006           }
75007           /^X\(\/\/\)$/{
75008             s//\1/
75009             q
75010           }
75011           /^X\(\/\).*/{
75012             s//\1/
75013             q
75014           }
75015           s/.*/./; q'`
75016   as_dir="$ac_dir"; as_fn_mkdir_p
75017   ac_builddir=.
75018
75019 case "$ac_dir" in
75020 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
75021 *)
75022   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
75023   # A ".." for each directory in $ac_dir_suffix.
75024   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
75025   case $ac_top_builddir_sub in
75026   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
75027   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
75028   esac ;;
75029 esac
75030 ac_abs_top_builddir=$ac_pwd
75031 ac_abs_builddir=$ac_pwd$ac_dir_suffix
75032 # for backward compatibility:
75033 ac_top_builddir=$ac_top_build_prefix
75034
75035 case $srcdir in
75036   .)  # We are building in place.
75037     ac_srcdir=.
75038     ac_top_srcdir=$ac_top_builddir_sub
75039     ac_abs_top_srcdir=$ac_pwd ;;
75040   [\\/]* | ?:[\\/]* )  # Absolute name.
75041     ac_srcdir=$srcdir$ac_dir_suffix;
75042     ac_top_srcdir=$srcdir
75043     ac_abs_top_srcdir=$srcdir ;;
75044   *) # Relative name.
75045     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
75046     ac_top_srcdir=$ac_top_build_prefix$srcdir
75047     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
75048 esac
75049 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
75050
75051
75052   case $ac_mode in
75053   :F)
75054   #
75055   # CONFIG_FILE
75056   #
75057
75058   case $INSTALL in
75059   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
75060   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
75061   esac
75062   ac_MKDIR_P=$MKDIR_P
75063   case $MKDIR_P in
75064   [\\/$]* | ?:[\\/]* ) ;;
75065   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
75066   esac
75067 _ACEOF
75068
75069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75070 # If the template does not know about datarootdir, expand it.
75071 # FIXME: This hack should be removed a few years after 2.60.
75072 ac_datarootdir_hack=; ac_datarootdir_seen=
75073 ac_sed_dataroot='
75074 /datarootdir/ {
75075   p
75076   q
75077 }
75078 /@datadir@/p
75079 /@docdir@/p
75080 /@infodir@/p
75081 /@localedir@/p
75082 /@mandir@/p'
75083 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
75084 *datarootdir*) ac_datarootdir_seen=yes;;
75085 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
75086   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
75087 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
75088 _ACEOF
75089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75090   ac_datarootdir_hack='
75091   s&@datadir@&$datadir&g
75092   s&@docdir@&$docdir&g
75093   s&@infodir@&$infodir&g
75094   s&@localedir@&$localedir&g
75095   s&@mandir@&$mandir&g
75096   s&\\\${datarootdir}&$datarootdir&g' ;;
75097 esac
75098 _ACEOF
75099
75100 # Neutralize VPATH when `$srcdir' = `.'.
75101 # Shell code in configure.ac might set extrasub.
75102 # FIXME: do we really want to maintain this feature?
75103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75104 ac_sed_extra="$ac_vpsub
75105 $extrasub
75106 _ACEOF
75107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75108 :t
75109 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
75110 s|@configure_input@|$ac_sed_conf_input|;t t
75111 s&@top_builddir@&$ac_top_builddir_sub&;t t
75112 s&@top_build_prefix@&$ac_top_build_prefix&;t t
75113 s&@srcdir@&$ac_srcdir&;t t
75114 s&@abs_srcdir@&$ac_abs_srcdir&;t t
75115 s&@top_srcdir@&$ac_top_srcdir&;t t
75116 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
75117 s&@builddir@&$ac_builddir&;t t
75118 s&@abs_builddir@&$ac_abs_builddir&;t t
75119 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
75120 s&@INSTALL@&$ac_INSTALL&;t t
75121 s&@MKDIR_P@&$ac_MKDIR_P&;t t
75122 $ac_datarootdir_hack
75123 "
75124 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
75125   || as_fn_error "could not create $ac_file" "$LINENO" 5
75126
75127 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
75128   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
75129   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
75130   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75131 which seems to be undefined.  Please make sure it is defined." >&5
75132 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75133 which seems to be undefined.  Please make sure it is defined." >&2;}
75134
75135   rm -f "$tmp/stdin"
75136   case $ac_file in
75137   -) cat "$tmp/out" && rm -f "$tmp/out";;
75138   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
75139   esac \
75140   || as_fn_error "could not create $ac_file" "$LINENO" 5
75141  ;;
75142   :H)
75143   #
75144   # CONFIG_HEADER
75145   #
75146   if test x"$ac_file" != x-; then
75147     {
75148       $as_echo "/* $configure_input  */" \
75149       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
75150     } >"$tmp/config.h" \
75151       || as_fn_error "could not create $ac_file" "$LINENO" 5
75152     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
75153       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
75154 $as_echo "$as_me: $ac_file is unchanged" >&6;}
75155     else
75156       rm -f "$ac_file"
75157       mv "$tmp/config.h" "$ac_file" \
75158         || as_fn_error "could not create $ac_file" "$LINENO" 5
75159     fi
75160   else
75161     $as_echo "/* $configure_input  */" \
75162       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
75163       || as_fn_error "could not create -" "$LINENO" 5
75164   fi
75165 # Compute "$ac_file"'s index in $config_headers.
75166 _am_arg="$ac_file"
75167 _am_stamp_count=1
75168 for _am_header in $config_headers :; do
75169   case $_am_header in
75170     $_am_arg | $_am_arg:* )
75171       break ;;
75172     * )
75173       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75174   esac
75175 done
75176 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75177 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75178          X"$_am_arg" : 'X\(//\)[^/]' \| \
75179          X"$_am_arg" : 'X\(//\)$' \| \
75180          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75181 $as_echo X"$_am_arg" |
75182     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75183             s//\1/
75184             q
75185           }
75186           /^X\(\/\/\)[^/].*/{
75187             s//\1/
75188             q
75189           }
75190           /^X\(\/\/\)$/{
75191             s//\1/
75192             q
75193           }
75194           /^X\(\/\).*/{
75195             s//\1/
75196             q
75197           }
75198           s/.*/./; q'`/stamp-h$_am_stamp_count
75199  ;;
75200
75201   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75202 $as_echo "$as_me: executing $ac_file commands" >&6;}
75203  ;;
75204   esac
75205
75206
75207   case $ac_file$ac_mode in
75208     "default-1":C)
75209 # Only add multilib support code if we just rebuilt the top-level
75210 # Makefile.
75211 case " $CONFIG_FILES " in
75212  *" Makefile "*)
75213    ac_file=Makefile . ${multi_basedir}/config-ml.in
75214    ;;
75215 esac ;;
75216     "libtool":C)
75217
75218     # See if we are running on zsh, and set the options which allow our
75219     # commands through without removal of \ escapes.
75220     if test -n "${ZSH_VERSION+set}" ; then
75221       setopt NO_GLOB_SUBST
75222     fi
75223
75224     cfgfile="${ofile}T"
75225     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75226     $RM "$cfgfile"
75227
75228     cat <<_LT_EOF >> "$cfgfile"
75229 #! $SHELL
75230
75231 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75232 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75233 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75234 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75235 #
75236 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75237 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75238 #   Written by Gordon Matzigkeit, 1996
75239 #
75240 #   This file is part of GNU Libtool.
75241 #
75242 # GNU Libtool is free software; you can redistribute it and/or
75243 # modify it under the terms of the GNU General Public License as
75244 # published by the Free Software Foundation; either version 2 of
75245 # the License, or (at your option) any later version.
75246 #
75247 # As a special exception to the GNU General Public License,
75248 # if you distribute this file as part of a program or library that
75249 # is built using GNU Libtool, you may include this file under the
75250 # same distribution terms that you use for the rest of that program.
75251 #
75252 # GNU Libtool is distributed in the hope that it will be useful,
75253 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75254 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
75255 # GNU General Public License for more details.
75256 #
75257 # You should have received a copy of the GNU General Public License
75258 # along with GNU Libtool; see the file COPYING.  If not, a copy
75259 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75260 # obtained by writing to the Free Software Foundation, Inc.,
75261 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75262
75263
75264 # The names of the tagged configurations supported by this script.
75265 available_tags="CXX "
75266
75267 # ### BEGIN LIBTOOL CONFIG
75268
75269 # Which release of libtool.m4 was used?
75270 macro_version=$macro_version
75271 macro_revision=$macro_revision
75272
75273 # Whether or not to build shared libraries.
75274 build_libtool_libs=$enable_shared
75275
75276 # Whether or not to build static libraries.
75277 build_old_libs=$enable_static
75278
75279 # What type of objects to build.
75280 pic_mode=$pic_mode
75281
75282 # Whether or not to optimize for fast installation.
75283 fast_install=$enable_fast_install
75284
75285 # Shell to use when invoking shell scripts.
75286 SHELL=$lt_SHELL
75287
75288 # An echo program that protects backslashes.
75289 ECHO=$lt_ECHO
75290
75291 # The host system.
75292 host_alias=$host_alias
75293 host=$host
75294 host_os=$host_os
75295
75296 # The build system.
75297 build_alias=$build_alias
75298 build=$build
75299 build_os=$build_os
75300
75301 # A sed program that does not truncate output.
75302 SED=$lt_SED
75303
75304 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75305 Xsed="\$SED -e 1s/^X//"
75306
75307 # A grep program that handles long lines.
75308 GREP=$lt_GREP
75309
75310 # An ERE matcher.
75311 EGREP=$lt_EGREP
75312
75313 # A literal string matcher.
75314 FGREP=$lt_FGREP
75315
75316 # A BSD- or MS-compatible name lister.
75317 NM=$lt_NM
75318
75319 # Whether we need soft or hard links.
75320 LN_S=$lt_LN_S
75321
75322 # What is the maximum length of a command?
75323 max_cmd_len=$max_cmd_len
75324
75325 # Object file suffix (normally "o").
75326 objext=$ac_objext
75327
75328 # Executable file suffix (normally "").
75329 exeext=$exeext
75330
75331 # whether the shell understands "unset".
75332 lt_unset=$lt_unset
75333
75334 # turn spaces into newlines.
75335 SP2NL=$lt_lt_SP2NL
75336
75337 # turn newlines into spaces.
75338 NL2SP=$lt_lt_NL2SP
75339
75340 # An object symbol dumper.
75341 OBJDUMP=$lt_OBJDUMP
75342
75343 # Method to check whether dependent libraries are shared objects.
75344 deplibs_check_method=$lt_deplibs_check_method
75345
75346 # Command to use when deplibs_check_method == "file_magic".
75347 file_magic_cmd=$lt_file_magic_cmd
75348
75349 # The archiver.
75350 AR=$lt_AR
75351 AR_FLAGS=$lt_AR_FLAGS
75352
75353 # A symbol stripping program.
75354 STRIP=$lt_STRIP
75355
75356 # Commands used to install an old-style archive.
75357 RANLIB=$lt_RANLIB
75358 old_postinstall_cmds=$lt_old_postinstall_cmds
75359 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75360
75361 # Whether to use a lock for old archive extraction.
75362 lock_old_archive_extraction=$lock_old_archive_extraction
75363
75364 # A C compiler.
75365 LTCC=$lt_CC
75366
75367 # LTCC compiler flags.
75368 LTCFLAGS=$lt_CFLAGS
75369
75370 # Take the output of nm and produce a listing of raw symbols and C names.
75371 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75372
75373 # Transform the output of nm in a proper C declaration.
75374 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75375
75376 # Transform the output of nm in a C name address pair.
75377 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75378
75379 # Transform the output of nm in a C name address pair when lib prefix is needed.
75380 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75381
75382 # The name of the directory that contains temporary libtool files.
75383 objdir=$objdir
75384
75385 # Used to examine libraries when file_magic_cmd begins with "file".
75386 MAGIC_CMD=$MAGIC_CMD
75387
75388 # Must we lock files when doing compilation?
75389 need_locks=$lt_need_locks
75390
75391 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75392 DSYMUTIL=$lt_DSYMUTIL
75393
75394 # Tool to change global to local symbols on Mac OS X.
75395 NMEDIT=$lt_NMEDIT
75396
75397 # Tool to manipulate fat objects and archives on Mac OS X.
75398 LIPO=$lt_LIPO
75399
75400 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75401 OTOOL=$lt_OTOOL
75402
75403 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75404 OTOOL64=$lt_OTOOL64
75405
75406 # Old archive suffix (normally "a").
75407 libext=$libext
75408
75409 # Shared library suffix (normally ".so").
75410 shrext_cmds=$lt_shrext_cmds
75411
75412 # The commands to extract the exported symbol list from a shared archive.
75413 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75414
75415 # Variables whose values should be saved in libtool wrapper scripts and
75416 # restored at link time.
75417 variables_saved_for_relink=$lt_variables_saved_for_relink
75418
75419 # Do we need the "lib" prefix for modules?
75420 need_lib_prefix=$need_lib_prefix
75421
75422 # Do we need a version for libraries?
75423 need_version=$need_version
75424
75425 # Library versioning type.
75426 version_type=$version_type
75427
75428 # Shared library runtime path variable.
75429 runpath_var=$runpath_var
75430
75431 # Shared library path variable.
75432 shlibpath_var=$shlibpath_var
75433
75434 # Is shlibpath searched before the hard-coded library search path?
75435 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75436
75437 # Format of library name prefix.
75438 libname_spec=$lt_libname_spec
75439
75440 # List of archive names.  First name is the real one, the rest are links.
75441 # The last name is the one that the linker finds with -lNAME
75442 library_names_spec=$lt_library_names_spec
75443
75444 # The coded name of the library, if different from the real name.
75445 soname_spec=$lt_soname_spec
75446
75447 # Permission mode override for installation of shared libraries.
75448 install_override_mode=$lt_install_override_mode
75449
75450 # Command to use after installation of a shared archive.
75451 postinstall_cmds=$lt_postinstall_cmds
75452
75453 # Command to use after uninstallation of a shared archive.
75454 postuninstall_cmds=$lt_postuninstall_cmds
75455
75456 # Commands used to finish a libtool library installation in a directory.
75457 finish_cmds=$lt_finish_cmds
75458
75459 # As "finish_cmds", except a single script fragment to be evaled but
75460 # not shown.
75461 finish_eval=$lt_finish_eval
75462
75463 # Whether we should hardcode library paths into libraries.
75464 hardcode_into_libs=$hardcode_into_libs
75465
75466 # Compile-time system search path for libraries.
75467 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75468
75469 # Run-time system search path for libraries.
75470 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75471
75472 # Whether dlopen is supported.
75473 dlopen_support=$enable_dlopen
75474
75475 # Whether dlopen of programs is supported.
75476 dlopen_self=$enable_dlopen_self
75477
75478 # Whether dlopen of statically linked programs is supported.
75479 dlopen_self_static=$enable_dlopen_self_static
75480
75481 # Commands to strip libraries.
75482 old_striplib=$lt_old_striplib
75483 striplib=$lt_striplib
75484
75485
75486 # The linker used to build libraries.
75487 LD=$lt_LD
75488
75489 # How to create reloadable object files.
75490 reload_flag=$lt_reload_flag
75491 reload_cmds=$lt_reload_cmds
75492
75493 # Commands used to build an old-style archive.
75494 old_archive_cmds=$lt_old_archive_cmds
75495
75496 # A language specific compiler.
75497 CC=$lt_compiler
75498
75499 # Is the compiler the GNU compiler?
75500 with_gcc=$GCC
75501
75502 # Compiler flag to turn off builtin functions.
75503 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75504
75505 # How to pass a linker flag through the compiler.
75506 wl=$lt_lt_prog_compiler_wl
75507
75508 # Additional compiler flags for building library objects.
75509 pic_flag=$lt_lt_prog_compiler_pic
75510
75511 # Compiler flag to prevent dynamic linking.
75512 link_static_flag=$lt_lt_prog_compiler_static
75513
75514 # Does compiler simultaneously support -c and -o options?
75515 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75516
75517 # Whether or not to add -lc for building shared libraries.
75518 build_libtool_need_lc=$archive_cmds_need_lc
75519
75520 # Whether or not to disallow shared libs when runtime libs are static.
75521 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75522
75523 # Compiler flag to allow reflexive dlopens.
75524 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75525
75526 # Compiler flag to generate shared objects directly from archives.
75527 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75528
75529 # Whether the compiler copes with passing no objects directly.
75530 compiler_needs_object=$lt_compiler_needs_object
75531
75532 # Create an old-style archive from a shared archive.
75533 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75534
75535 # Create a temporary old-style archive to link instead of a shared archive.
75536 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75537
75538 # Commands used to build a shared archive.
75539 archive_cmds=$lt_archive_cmds
75540 archive_expsym_cmds=$lt_archive_expsym_cmds
75541
75542 # Commands used to build a loadable module if different from building
75543 # a shared archive.
75544 module_cmds=$lt_module_cmds
75545 module_expsym_cmds=$lt_module_expsym_cmds
75546
75547 # Whether we are building with GNU ld or not.
75548 with_gnu_ld=$lt_with_gnu_ld
75549
75550 # Flag that allows shared libraries with undefined symbols to be built.
75551 allow_undefined_flag=$lt_allow_undefined_flag
75552
75553 # Flag that enforces no undefined symbols.
75554 no_undefined_flag=$lt_no_undefined_flag
75555
75556 # Flag to hardcode \$libdir into a binary during linking.
75557 # This must work even if \$libdir does not exist
75558 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75559
75560 # If ld is used when linking, flag to hardcode \$libdir into a binary
75561 # during linking.  This must work even if \$libdir does not exist.
75562 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75563
75564 # Whether we need a single "-rpath" flag with a separated argument.
75565 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75566
75567 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75568 # DIR into the resulting binary.
75569 hardcode_direct=$hardcode_direct
75570
75571 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75572 # DIR into the resulting binary and the resulting library dependency is
75573 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75574 # library is relocated.
75575 hardcode_direct_absolute=$hardcode_direct_absolute
75576
75577 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75578 # into the resulting binary.
75579 hardcode_minus_L=$hardcode_minus_L
75580
75581 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75582 # into the resulting binary.
75583 hardcode_shlibpath_var=$hardcode_shlibpath_var
75584
75585 # Set to "yes" if building a shared library automatically hardcodes DIR
75586 # into the library and all subsequent libraries and executables linked
75587 # against it.
75588 hardcode_automatic=$hardcode_automatic
75589
75590 # Set to yes if linker adds runtime paths of dependent libraries
75591 # to runtime path list.
75592 inherit_rpath=$inherit_rpath
75593
75594 # Whether libtool must link a program against all its dependency libraries.
75595 link_all_deplibs=$link_all_deplibs
75596
75597 # Fix the shell variable \$srcfile for the compiler.
75598 fix_srcfile_path=$lt_fix_srcfile_path
75599
75600 # Set to "yes" if exported symbols are required.
75601 always_export_symbols=$always_export_symbols
75602
75603 # The commands to list exported symbols.
75604 export_symbols_cmds=$lt_export_symbols_cmds
75605
75606 # Symbols that should not be listed in the preloaded symbols.
75607 exclude_expsyms=$lt_exclude_expsyms
75608
75609 # Symbols that must always be exported.
75610 include_expsyms=$lt_include_expsyms
75611
75612 # Commands necessary for linking programs (against libraries) with templates.
75613 prelink_cmds=$lt_prelink_cmds
75614
75615 # Specify filename containing input files.
75616 file_list_spec=$lt_file_list_spec
75617
75618 # How to hardcode a shared library path into an executable.
75619 hardcode_action=$hardcode_action
75620
75621 # The directories searched by this compiler when creating a shared library.
75622 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75623
75624 # Dependencies to place before and after the objects being linked to
75625 # create a shared library.
75626 predep_objects=$lt_predep_objects
75627 postdep_objects=$lt_postdep_objects
75628 predeps=$lt_predeps
75629 postdeps=$lt_postdeps
75630
75631 # The library search path used internally by the compiler when linking
75632 # a shared library.
75633 compiler_lib_search_path=$lt_compiler_lib_search_path
75634
75635 # ### END LIBTOOL CONFIG
75636
75637 _LT_EOF
75638
75639   case $host_os in
75640   aix3*)
75641     cat <<\_LT_EOF >> "$cfgfile"
75642 # AIX sometimes has problems with the GCC collect2 program.  For some
75643 # reason, if we set the COLLECT_NAMES environment variable, the problems
75644 # vanish in a puff of smoke.
75645 if test "X${COLLECT_NAMES+set}" != Xset; then
75646   COLLECT_NAMES=
75647   export COLLECT_NAMES
75648 fi
75649 _LT_EOF
75650     ;;
75651   esac
75652
75653
75654 ltmain="$ac_aux_dir/ltmain.sh"
75655
75656
75657   # We use sed instead of cat because bash on DJGPP gets confused if
75658   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
75659   # text mode, it properly converts lines to CR/LF.  This bash problem
75660   # is reportedly fixed, but why not run on old versions too?
75661   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75662     || (rm -f "$cfgfile"; exit 1)
75663
75664   case $xsi_shell in
75665   yes)
75666     cat << \_LT_EOF >> "$cfgfile"
75667
75668 # func_dirname file append nondir_replacement
75669 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75670 # otherwise set result to NONDIR_REPLACEMENT.
75671 func_dirname ()
75672 {
75673   case ${1} in
75674     */*) func_dirname_result="${1%/*}${2}" ;;
75675     *  ) func_dirname_result="${3}" ;;
75676   esac
75677 }
75678
75679 # func_basename file
75680 func_basename ()
75681 {
75682   func_basename_result="${1##*/}"
75683 }
75684
75685 # func_dirname_and_basename file append nondir_replacement
75686 # perform func_basename and func_dirname in a single function
75687 # call:
75688 #   dirname:  Compute the dirname of FILE.  If nonempty,
75689 #             add APPEND to the result, otherwise set result
75690 #             to NONDIR_REPLACEMENT.
75691 #             value returned in "$func_dirname_result"
75692 #   basename: Compute filename of FILE.
75693 #             value retuned in "$func_basename_result"
75694 # Implementation must be kept synchronized with func_dirname
75695 # and func_basename. For efficiency, we do not delegate to
75696 # those functions but instead duplicate the functionality here.
75697 func_dirname_and_basename ()
75698 {
75699   case ${1} in
75700     */*) func_dirname_result="${1%/*}${2}" ;;
75701     *  ) func_dirname_result="${3}" ;;
75702   esac
75703   func_basename_result="${1##*/}"
75704 }
75705
75706 # func_stripname prefix suffix name
75707 # strip PREFIX and SUFFIX off of NAME.
75708 # PREFIX and SUFFIX must not contain globbing or regex special
75709 # characters, hashes, percent signs, but SUFFIX may contain a leading
75710 # dot (in which case that matches only a dot).
75711 func_stripname ()
75712 {
75713   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75714   # positional parameters, so assign one to ordinary parameter first.
75715   func_stripname_result=${3}
75716   func_stripname_result=${func_stripname_result#"${1}"}
75717   func_stripname_result=${func_stripname_result%"${2}"}
75718 }
75719
75720 # func_opt_split
75721 func_opt_split ()
75722 {
75723   func_opt_split_opt=${1%%=*}
75724   func_opt_split_arg=${1#*=}
75725 }
75726
75727 # func_lo2o object
75728 func_lo2o ()
75729 {
75730   case ${1} in
75731     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75732     *)    func_lo2o_result=${1} ;;
75733   esac
75734 }
75735
75736 # func_xform libobj-or-source
75737 func_xform ()
75738 {
75739   func_xform_result=${1%.*}.lo
75740 }
75741
75742 # func_arith arithmetic-term...
75743 func_arith ()
75744 {
75745   func_arith_result=$(( $* ))
75746 }
75747
75748 # func_len string
75749 # STRING may not start with a hyphen.
75750 func_len ()
75751 {
75752   func_len_result=${#1}
75753 }
75754
75755 _LT_EOF
75756     ;;
75757   *) # Bourne compatible functions.
75758     cat << \_LT_EOF >> "$cfgfile"
75759
75760 # func_dirname file append nondir_replacement
75761 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75762 # otherwise set result to NONDIR_REPLACEMENT.
75763 func_dirname ()
75764 {
75765   # Extract subdirectory from the argument.
75766   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75767   if test "X$func_dirname_result" = "X${1}"; then
75768     func_dirname_result="${3}"
75769   else
75770     func_dirname_result="$func_dirname_result${2}"
75771   fi
75772 }
75773
75774 # func_basename file
75775 func_basename ()
75776 {
75777   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75778 }
75779
75780
75781 # func_stripname prefix suffix name
75782 # strip PREFIX and SUFFIX off of NAME.
75783 # PREFIX and SUFFIX must not contain globbing or regex special
75784 # characters, hashes, percent signs, but SUFFIX may contain a leading
75785 # dot (in which case that matches only a dot).
75786 # func_strip_suffix prefix name
75787 func_stripname ()
75788 {
75789   case ${2} in
75790     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75791     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75792   esac
75793 }
75794
75795 # sed scripts:
75796 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75797 my_sed_long_arg='1s/^-[^=]*=//'
75798
75799 # func_opt_split
75800 func_opt_split ()
75801 {
75802   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75803   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75804 }
75805
75806 # func_lo2o object
75807 func_lo2o ()
75808 {
75809   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75810 }
75811
75812 # func_xform libobj-or-source
75813 func_xform ()
75814 {
75815   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75816 }
75817
75818 # func_arith arithmetic-term...
75819 func_arith ()
75820 {
75821   func_arith_result=`expr "$@"`
75822 }
75823
75824 # func_len string
75825 # STRING may not start with a hyphen.
75826 func_len ()
75827 {
75828   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75829 }
75830
75831 _LT_EOF
75832 esac
75833
75834 case $lt_shell_append in
75835   yes)
75836     cat << \_LT_EOF >> "$cfgfile"
75837
75838 # func_append var value
75839 # Append VALUE to the end of shell variable VAR.
75840 func_append ()
75841 {
75842   eval "$1+=\$2"
75843 }
75844 _LT_EOF
75845     ;;
75846   *)
75847     cat << \_LT_EOF >> "$cfgfile"
75848
75849 # func_append var value
75850 # Append VALUE to the end of shell variable VAR.
75851 func_append ()
75852 {
75853   eval "$1=\$$1\$2"
75854 }
75855
75856 _LT_EOF
75857     ;;
75858   esac
75859
75860
75861   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75862     || (rm -f "$cfgfile"; exit 1)
75863
75864   mv -f "$cfgfile" "$ofile" ||
75865     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75866   chmod +x "$ofile"
75867
75868
75869     cat <<_LT_EOF >> "$ofile"
75870
75871 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75872
75873 # The linker used to build libraries.
75874 LD=$lt_LD_CXX
75875
75876 # How to create reloadable object files.
75877 reload_flag=$lt_reload_flag_CXX
75878 reload_cmds=$lt_reload_cmds_CXX
75879
75880 # Commands used to build an old-style archive.
75881 old_archive_cmds=$lt_old_archive_cmds_CXX
75882
75883 # A language specific compiler.
75884 CC=$lt_compiler_CXX
75885
75886 # Is the compiler the GNU compiler?
75887 with_gcc=$GCC_CXX
75888
75889 # Compiler flag to turn off builtin functions.
75890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75891
75892 # How to pass a linker flag through the compiler.
75893 wl=$lt_lt_prog_compiler_wl_CXX
75894
75895 # Additional compiler flags for building library objects.
75896 pic_flag=$lt_lt_prog_compiler_pic_CXX
75897
75898 # Compiler flag to prevent dynamic linking.
75899 link_static_flag=$lt_lt_prog_compiler_static_CXX
75900
75901 # Does compiler simultaneously support -c and -o options?
75902 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75903
75904 # Whether or not to add -lc for building shared libraries.
75905 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75906
75907 # Whether or not to disallow shared libs when runtime libs are static.
75908 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75909
75910 # Compiler flag to allow reflexive dlopens.
75911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75912
75913 # Compiler flag to generate shared objects directly from archives.
75914 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75915
75916 # Whether the compiler copes with passing no objects directly.
75917 compiler_needs_object=$lt_compiler_needs_object_CXX
75918
75919 # Create an old-style archive from a shared archive.
75920 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75921
75922 # Create a temporary old-style archive to link instead of a shared archive.
75923 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75924
75925 # Commands used to build a shared archive.
75926 archive_cmds=$lt_archive_cmds_CXX
75927 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75928
75929 # Commands used to build a loadable module if different from building
75930 # a shared archive.
75931 module_cmds=$lt_module_cmds_CXX
75932 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75933
75934 # Whether we are building with GNU ld or not.
75935 with_gnu_ld=$lt_with_gnu_ld_CXX
75936
75937 # Flag that allows shared libraries with undefined symbols to be built.
75938 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75939
75940 # Flag that enforces no undefined symbols.
75941 no_undefined_flag=$lt_no_undefined_flag_CXX
75942
75943 # Flag to hardcode \$libdir into a binary during linking.
75944 # This must work even if \$libdir does not exist
75945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75946
75947 # If ld is used when linking, flag to hardcode \$libdir into a binary
75948 # during linking.  This must work even if \$libdir does not exist.
75949 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75950
75951 # Whether we need a single "-rpath" flag with a separated argument.
75952 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75953
75954 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75955 # DIR into the resulting binary.
75956 hardcode_direct=$hardcode_direct_CXX
75957
75958 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75959 # DIR into the resulting binary and the resulting library dependency is
75960 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75961 # library is relocated.
75962 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75963
75964 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75965 # into the resulting binary.
75966 hardcode_minus_L=$hardcode_minus_L_CXX
75967
75968 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75969 # into the resulting binary.
75970 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75971
75972 # Set to "yes" if building a shared library automatically hardcodes DIR
75973 # into the library and all subsequent libraries and executables linked
75974 # against it.
75975 hardcode_automatic=$hardcode_automatic_CXX
75976
75977 # Set to yes if linker adds runtime paths of dependent libraries
75978 # to runtime path list.
75979 inherit_rpath=$inherit_rpath_CXX
75980
75981 # Whether libtool must link a program against all its dependency libraries.
75982 link_all_deplibs=$link_all_deplibs_CXX
75983
75984 # Fix the shell variable \$srcfile for the compiler.
75985 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75986
75987 # Set to "yes" if exported symbols are required.
75988 always_export_symbols=$always_export_symbols_CXX
75989
75990 # The commands to list exported symbols.
75991 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75992
75993 # Symbols that should not be listed in the preloaded symbols.
75994 exclude_expsyms=$lt_exclude_expsyms_CXX
75995
75996 # Symbols that must always be exported.
75997 include_expsyms=$lt_include_expsyms_CXX
75998
75999 # Commands necessary for linking programs (against libraries) with templates.
76000 prelink_cmds=$lt_prelink_cmds_CXX
76001
76002 # Specify filename containing input files.
76003 file_list_spec=$lt_file_list_spec_CXX
76004
76005 # How to hardcode a shared library path into an executable.
76006 hardcode_action=$hardcode_action_CXX
76007
76008 # The directories searched by this compiler when creating a shared library.
76009 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
76010
76011 # Dependencies to place before and after the objects being linked to
76012 # create a shared library.
76013 predep_objects=$lt_predep_objects_CXX
76014 postdep_objects=$lt_postdep_objects_CXX
76015 predeps=$lt_predeps_CXX
76016 postdeps=$lt_postdeps_CXX
76017
76018 # The library search path used internally by the compiler when linking
76019 # a shared library.
76020 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
76021
76022 # ### END LIBTOOL TAG CONFIG: CXX
76023 _LT_EOF
76024
76025  ;;
76026     "include/gstdint.h":C)
76027 if test "$GCC" = yes; then
76028   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
76029 else
76030   echo "/* generated for $CC */" > tmp-stdint.h
76031 fi
76032
76033 sed 's/^ *//' >> tmp-stdint.h <<EOF
76034
76035   #ifndef GCC_GENERATED_STDINT_H
76036   #define GCC_GENERATED_STDINT_H 1
76037
76038   #include <sys/types.h>
76039 EOF
76040
76041 if test "$acx_cv_header_stdint" != stdint.h; then
76042   echo "#include <stddef.h>" >> tmp-stdint.h
76043 fi
76044 if test "$acx_cv_header_stdint" != stddef.h; then
76045   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
76046 fi
76047
76048 sed 's/^ *//' >> tmp-stdint.h <<EOF
76049   /* glibc uses these symbols as guards to prevent redefinitions.  */
76050   #ifdef __int8_t_defined
76051   #define _INT8_T
76052   #define _INT16_T
76053   #define _INT32_T
76054   #endif
76055   #ifdef __uint32_t_defined
76056   #define _UINT32_T
76057   #endif
76058
76059 EOF
76060
76061 # ----------------- done header, emit basic int types -------------
76062 if test "$acx_cv_header_stdint" = stddef.h; then
76063   sed 's/^ *//' >> tmp-stdint.h <<EOF
76064
76065     #ifndef _UINT8_T
76066     #define _UINT8_T
76067     #ifndef __uint8_t_defined
76068     #define __uint8_t_defined
76069     #ifndef uint8_t
76070     typedef unsigned $acx_cv_type_int8_t uint8_t;
76071     #endif
76072     #endif
76073     #endif
76074
76075     #ifndef _UINT16_T
76076     #define _UINT16_T
76077     #ifndef __uint16_t_defined
76078     #define __uint16_t_defined
76079     #ifndef uint16_t
76080     typedef unsigned $acx_cv_type_int16_t uint16_t;
76081     #endif
76082     #endif
76083     #endif
76084
76085     #ifndef _UINT32_T
76086     #define _UINT32_T
76087     #ifndef __uint32_t_defined
76088     #define __uint32_t_defined
76089     #ifndef uint32_t
76090     typedef unsigned $acx_cv_type_int32_t uint32_t;
76091     #endif
76092     #endif
76093     #endif
76094
76095     #ifndef _INT8_T
76096     #define _INT8_T
76097     #ifndef __int8_t_defined
76098     #define __int8_t_defined
76099     #ifndef int8_t
76100     typedef $acx_cv_type_int8_t int8_t;
76101     #endif
76102     #endif
76103     #endif
76104
76105     #ifndef _INT16_T
76106     #define _INT16_T
76107     #ifndef __int16_t_defined
76108     #define __int16_t_defined
76109     #ifndef int16_t
76110     typedef $acx_cv_type_int16_t int16_t;
76111     #endif
76112     #endif
76113     #endif
76114
76115     #ifndef _INT32_T
76116     #define _INT32_T
76117     #ifndef __int32_t_defined
76118     #define __int32_t_defined
76119     #ifndef int32_t
76120     typedef $acx_cv_type_int32_t int32_t;
76121     #endif
76122     #endif
76123     #endif
76124 EOF
76125 elif test "$ac_cv_type_u_int32_t" = yes; then
76126   sed 's/^ *//' >> tmp-stdint.h <<EOF
76127
76128     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
76129     #ifndef _INT8_T
76130     #define _INT8_T
76131     #endif
76132     #ifndef _INT16_T
76133     #define _INT16_T
76134     #endif
76135     #ifndef _INT32_T
76136     #define _INT32_T
76137     #endif
76138
76139     #ifndef _UINT8_T
76140     #define _UINT8_T
76141     #ifndef __uint8_t_defined
76142     #define __uint8_t_defined
76143     #ifndef uint8_t
76144     typedef u_int8_t uint8_t;
76145     #endif
76146     #endif
76147     #endif
76148
76149     #ifndef _UINT16_T
76150     #define _UINT16_T
76151     #ifndef __uint16_t_defined
76152     #define __uint16_t_defined
76153     #ifndef uint16_t
76154     typedef u_int16_t uint16_t;
76155     #endif
76156     #endif
76157     #endif
76158
76159     #ifndef _UINT32_T
76160     #define _UINT32_T
76161     #ifndef __uint32_t_defined
76162     #define __uint32_t_defined
76163     #ifndef uint32_t
76164     typedef u_int32_t uint32_t;
76165     #endif
76166     #endif
76167     #endif
76168 EOF
76169 else
76170   sed 's/^ *//' >> tmp-stdint.h <<EOF
76171
76172     /* Some systems have guard macros to prevent redefinitions, define them.  */
76173     #ifndef _INT8_T
76174     #define _INT8_T
76175     #endif
76176     #ifndef _INT16_T
76177     #define _INT16_T
76178     #endif
76179     #ifndef _INT32_T
76180     #define _INT32_T
76181     #endif
76182     #ifndef _UINT8_T
76183     #define _UINT8_T
76184     #endif
76185     #ifndef _UINT16_T
76186     #define _UINT16_T
76187     #endif
76188     #ifndef _UINT32_T
76189     #define _UINT32_T
76190     #endif
76191 EOF
76192 fi
76193
76194 # ------------- done basic int types, emit int64_t types ------------
76195 if test "$ac_cv_type_uint64_t" = yes; then
76196   sed 's/^ *//' >> tmp-stdint.h <<EOF
76197
76198     /* system headers have good uint64_t and int64_t */
76199     #ifndef _INT64_T
76200     #define _INT64_T
76201     #endif
76202     #ifndef _UINT64_T
76203     #define _UINT64_T
76204     #endif
76205 EOF
76206 elif test "$ac_cv_type_u_int64_t" = yes; then
76207   sed 's/^ *//' >> tmp-stdint.h <<EOF
76208
76209     /* system headers have an u_int64_t (and int64_t) */
76210     #ifndef _INT64_T
76211     #define _INT64_T
76212     #endif
76213     #ifndef _UINT64_T
76214     #define _UINT64_T
76215     #ifndef __uint64_t_defined
76216     #define __uint64_t_defined
76217     #ifndef uint64_t
76218     typedef u_int64_t uint64_t;
76219     #endif
76220     #endif
76221     #endif
76222 EOF
76223 elif test -n "$acx_cv_type_int64_t"; then
76224   sed 's/^ *//' >> tmp-stdint.h <<EOF
76225
76226     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76227     #ifndef _INT64_T
76228     #define _INT64_T
76229     #ifndef int64_t
76230     typedef $acx_cv_type_int64_t int64_t;
76231     #endif
76232     #endif
76233     #ifndef _UINT64_T
76234     #define _UINT64_T
76235     #ifndef __uint64_t_defined
76236     #define __uint64_t_defined
76237     #ifndef uint64_t
76238     typedef unsigned $acx_cv_type_int64_t uint64_t;
76239     #endif
76240     #endif
76241     #endif
76242 EOF
76243 else
76244   sed 's/^ *//' >> tmp-stdint.h <<EOF
76245
76246     /* some common heuristics for int64_t, using compiler-specific tests */
76247     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76248     #ifndef _INT64_T
76249     #define _INT64_T
76250     #ifndef __int64_t_defined
76251     #ifndef int64_t
76252     typedef long long int64_t;
76253     #endif
76254     #endif
76255     #endif
76256     #ifndef _UINT64_T
76257     #define _UINT64_T
76258     #ifndef uint64_t
76259     typedef unsigned long long uint64_t;
76260     #endif
76261     #endif
76262
76263     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76264     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76265        does not implement __extension__.  But that compiler doesn't define
76266        __GNUC_MINOR__.  */
76267     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76268     # define __extension__
76269     # endif
76270
76271     # ifndef _INT64_T
76272     # define _INT64_T
76273     # ifndef int64_t
76274     __extension__ typedef long long int64_t;
76275     # endif
76276     # endif
76277     # ifndef _UINT64_T
76278     # define _UINT64_T
76279     # ifndef uint64_t
76280     __extension__ typedef unsigned long long uint64_t;
76281     # endif
76282     # endif
76283
76284     #elif !defined __STRICT_ANSI__
76285     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76286
76287     #  ifndef _INT64_T
76288     #  define _INT64_T
76289     #  ifndef int64_t
76290     typedef __int64 int64_t;
76291     #  endif
76292     #  endif
76293     #  ifndef _UINT64_T
76294     #  define _UINT64_T
76295     #  ifndef uint64_t
76296     typedef unsigned __int64 uint64_t;
76297     #  endif
76298     #  endif
76299     # endif /* compiler */
76300
76301     #endif /* ANSI version */
76302 EOF
76303 fi
76304
76305 # ------------- done int64_t types, emit intptr types ------------
76306 if test "$ac_cv_type_uintptr_t" != yes; then
76307   sed 's/^ *//' >> tmp-stdint.h <<EOF
76308
76309     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76310     #ifndef __uintptr_t_defined
76311     #ifndef uintptr_t
76312     typedef u$acx_cv_type_intptr_t uintptr_t;
76313     #endif
76314     #endif
76315     #ifndef __intptr_t_defined
76316     #ifndef intptr_t
76317     typedef $acx_cv_type_intptr_t  intptr_t;
76318     #endif
76319     #endif
76320 EOF
76321 fi
76322
76323 # ------------- done intptr types, emit int_least types ------------
76324 if test "$ac_cv_type_int_least32_t" != yes; then
76325   sed 's/^ *//' >> tmp-stdint.h <<EOF
76326
76327     /* Define int_least types */
76328     typedef int8_t     int_least8_t;
76329     typedef int16_t    int_least16_t;
76330     typedef int32_t    int_least32_t;
76331     #ifdef _INT64_T
76332     typedef int64_t    int_least64_t;
76333     #endif
76334
76335     typedef uint8_t    uint_least8_t;
76336     typedef uint16_t   uint_least16_t;
76337     typedef uint32_t   uint_least32_t;
76338     #ifdef _UINT64_T
76339     typedef uint64_t   uint_least64_t;
76340     #endif
76341 EOF
76342 fi
76343
76344 # ------------- done intptr types, emit int_fast types ------------
76345 if test "$ac_cv_type_int_fast32_t" != yes; then
76346       sed 's/^ *//' >> tmp-stdint.h <<EOF
76347
76348     /* Define int_fast types.  short is often slow */
76349     typedef int8_t       int_fast8_t;
76350     typedef int          int_fast16_t;
76351     typedef int32_t      int_fast32_t;
76352     #ifdef _INT64_T
76353     typedef int64_t      int_fast64_t;
76354     #endif
76355
76356     typedef uint8_t      uint_fast8_t;
76357     typedef unsigned int uint_fast16_t;
76358     typedef uint32_t     uint_fast32_t;
76359     #ifdef _UINT64_T
76360     typedef uint64_t     uint_fast64_t;
76361     #endif
76362 EOF
76363 fi
76364
76365 if test "$ac_cv_type_uintmax_t" != yes; then
76366   sed 's/^ *//' >> tmp-stdint.h <<EOF
76367
76368     /* Define intmax based on what we found */
76369     #ifndef intmax_t
76370     #ifdef _INT64_T
76371     typedef int64_t       intmax_t;
76372     #else
76373     typedef long          intmax_t;
76374     #endif
76375     #endif
76376     #ifndef uintmax_t
76377     #ifdef _UINT64_T
76378     typedef uint64_t      uintmax_t;
76379     #else
76380     typedef unsigned long uintmax_t;
76381     #endif
76382     #endif
76383 EOF
76384 fi
76385
76386 sed 's/^ *//' >> tmp-stdint.h <<EOF
76387
76388   #endif /* GCC_GENERATED_STDINT_H */
76389 EOF
76390
76391 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76392   rm -f tmp-stdint.h
76393 else
76394   mv -f tmp-stdint.h include/gstdint.h
76395 fi
76396
76397  ;;
76398     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76399     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76400     "include/Makefile":F) cat > vpsed$$ << \_EOF
76401 s!`test -f '$<' || echo '$(srcdir)/'`!!
76402 _EOF
76403    sed -f vpsed$$ $ac_file > tmp$$
76404    mv tmp$$ $ac_file
76405    rm vpsed$$
76406    echo 'MULTISUBDIR =' >> $ac_file
76407    ml_norecursion=yes
76408    . ${multi_basedir}/config-ml.in
76409    { ml_norecursion=; unset ml_norecursion;}
76410  ;;
76411     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76412 s!`test -f '$<' || echo '$(srcdir)/'`!!
76413 _EOF
76414    sed -f vpsed$$ $ac_file > tmp$$
76415    mv tmp$$ $ac_file
76416    rm vpsed$$
76417    echo 'MULTISUBDIR =' >> $ac_file
76418    ml_norecursion=yes
76419    . ${multi_basedir}/config-ml.in
76420    { ml_norecursion=; unset ml_norecursion;}
76421  ;;
76422     "python/Makefile":F) cat > vpsed$$ << \_EOF
76423 s!`test -f '$<' || echo '$(srcdir)/'`!!
76424 _EOF
76425    sed -f vpsed$$ $ac_file > tmp$$
76426    mv tmp$$ $ac_file
76427    rm vpsed$$
76428    echo 'MULTISUBDIR =' >> $ac_file
76429    ml_norecursion=yes
76430    . ${multi_basedir}/config-ml.in
76431    { ml_norecursion=; unset ml_norecursion;}
76432  ;;
76433     "src/Makefile":F) cat > vpsed$$ << \_EOF
76434 s!`test -f '$<' || echo '$(srcdir)/'`!!
76435 _EOF
76436    sed -f vpsed$$ $ac_file > tmp$$
76437    mv tmp$$ $ac_file
76438    rm vpsed$$
76439    echo 'MULTISUBDIR =' >> $ac_file
76440    ml_norecursion=yes
76441    . ${multi_basedir}/config-ml.in
76442    { ml_norecursion=; unset ml_norecursion;}
76443  ;;
76444     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76445 s!`test -f '$<' || echo '$(srcdir)/'`!!
76446 _EOF
76447    sed -f vpsed$$ $ac_file > tmp$$
76448    mv tmp$$ $ac_file
76449    rm vpsed$$
76450    echo 'MULTISUBDIR =' >> $ac_file
76451    ml_norecursion=yes
76452    . ${multi_basedir}/config-ml.in
76453    { ml_norecursion=; unset ml_norecursion;}
76454  ;;
76455     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76456 s!`test -f '$<' || echo '$(srcdir)/'`!!
76457 _EOF
76458    sed -f vpsed$$ $ac_file > tmp$$
76459    mv tmp$$ $ac_file
76460    rm vpsed$$
76461    echo 'MULTISUBDIR =' >> $ac_file
76462    ml_norecursion=yes
76463    . ${multi_basedir}/config-ml.in
76464    { ml_norecursion=; unset ml_norecursion;}
76465  ;;
76466     "doc/Makefile":F) cat > vpsed$$ << \_EOF
76467 s!`test -f '$<' || echo '$(srcdir)/'`!!
76468 _EOF
76469    sed -f vpsed$$ $ac_file > tmp$$
76470    mv tmp$$ $ac_file
76471    rm vpsed$$
76472    echo 'MULTISUBDIR =' >> $ac_file
76473    ml_norecursion=yes
76474    . ${multi_basedir}/config-ml.in
76475    { ml_norecursion=; unset ml_norecursion;}
76476  ;;
76477     "po/Makefile":F) cat > vpsed$$ << \_EOF
76478 s!`test -f '$<' || echo '$(srcdir)/'`!!
76479 _EOF
76480    sed -f vpsed$$ $ac_file > tmp$$
76481    mv tmp$$ $ac_file
76482    rm vpsed$$
76483    echo 'MULTISUBDIR =' >> $ac_file
76484    ml_norecursion=yes
76485    . ${multi_basedir}/config-ml.in
76486    { ml_norecursion=; unset ml_norecursion;}
76487  ;;
76488     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76489 s!`test -f '$<' || echo '$(srcdir)/'`!!
76490 _EOF
76491    sed -f vpsed$$ $ac_file > tmp$$
76492    mv tmp$$ $ac_file
76493    rm vpsed$$
76494    echo 'MULTISUBDIR =' >> $ac_file
76495    ml_norecursion=yes
76496    . ${multi_basedir}/config-ml.in
76497    { ml_norecursion=; unset ml_norecursion;}
76498  ;;
76499     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76500
76501   esac
76502 done # for ac_tag
76503
76504
76505 as_fn_exit 0
76506 _ACEOF
76507 ac_clean_files=$ac_clean_files_save
76508
76509 test $ac_write_fail = 0 ||
76510   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76511
76512
76513 # configure is writing to config.log, and then calls config.status.
76514 # config.status does its own redirection, appending to config.log.
76515 # Unfortunately, on DOS this fails, as config.log is still kept open
76516 # by configure, so config.status won't be able to write to it; its
76517 # output is simply discarded.  So we exec the FD to /dev/null,
76518 # effectively closing config.log, so it can be properly (re)opened and
76519 # appended to by config.status.  When coming back to configure, we
76520 # need to make the FD available again.
76521 if test "$no_create" != yes; then
76522   ac_cs_success=:
76523   ac_config_status_args=
76524   test "$silent" = yes &&
76525     ac_config_status_args="$ac_config_status_args --quiet"
76526   exec 5>/dev/null
76527   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76528   exec 5>>config.log
76529   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76530   # would make configure fail if this is the last instruction.
76531   $ac_cs_success || as_fn_exit $?
76532 fi
76533 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76534   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76535 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
76536 fi
76537