]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libstdc++-v3/contrib/libstdc++-v3-4.8/configure
update
[l4.git] / l4 / pkg / libstdc++-v3 / contrib / libstdc++-v3-4.8 / 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_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
730 NM
731 ac_ct_DUMPBIN
732 DUMPBIN
733 LD
734 FGREP
735 SED
736 LIBTOOL
737 EGREP
738 GREP
739 CPP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
744 AR
745 AS
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
753 CXX
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
760 CC
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
766 AWK
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
880 '
881       ac_precious_vars='build_alias
882 host_alias
883 target_alias
884 CC
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
889 CXX
890 CXXFLAGS
891 CCC
892 CPP
893 CXXCPP
894 CXXFILT'
895
896
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
918
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
944
945 ac_prev=
946 ac_dashdash=
947 for ac_option
948 do
949   # If the previous option needs an argument, assign it.
950   if test -n "$ac_prev"; then
951     eval $ac_prev=\$ac_option
952     ac_prev=
953     continue
954   fi
955
956   case $ac_option in
957   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958   *)    ac_optarg=yes ;;
959   esac
960
961   # Accept the important Cygnus configure options, so we can diagnose typos.
962
963   case $ac_dashdash$ac_option in
964   --)
965     ac_dashdash=yes ;;
966
967   -bindir | --bindir | --bindi | --bind | --bin | --bi)
968     ac_prev=bindir ;;
969   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970     bindir=$ac_optarg ;;
971
972   -build | --build | --buil | --bui | --bu)
973     ac_prev=build_alias ;;
974   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975     build_alias=$ac_optarg ;;
976
977   -cache-file | --cache-file | --cache-fil | --cache-fi \
978   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979     ac_prev=cache_file ;;
980   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982     cache_file=$ac_optarg ;;
983
984   --config-cache | -C)
985     cache_file=config.cache ;;
986
987   -datadir | --datadir | --datadi | --datad)
988     ac_prev=datadir ;;
989   -datadir=* | --datadir=* | --datadi=* | --datad=*)
990     datadir=$ac_optarg ;;
991
992   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993   | --dataroo | --dataro | --datar)
994     ac_prev=datarootdir ;;
995   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997     datarootdir=$ac_optarg ;;
998
999   -disable-* | --disable-*)
1000     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001     # Reject names that are not valid shell variable names.
1002     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003       as_fn_error "invalid feature name: $ac_useropt"
1004     ac_useropt_orig=$ac_useropt
1005     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006     case $ac_user_opts in
1007       *"
1008 "enable_$ac_useropt"
1009 "*) ;;
1010       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011          ac_unrecognized_sep=', ';;
1012     esac
1013     eval enable_$ac_useropt=no ;;
1014
1015   -docdir | --docdir | --docdi | --doc | --do)
1016     ac_prev=docdir ;;
1017   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018     docdir=$ac_optarg ;;
1019
1020   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021     ac_prev=dvidir ;;
1022   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023     dvidir=$ac_optarg ;;
1024
1025   -enable-* | --enable-*)
1026     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027     # Reject names that are not valid shell variable names.
1028     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029       as_fn_error "invalid feature name: $ac_useropt"
1030     ac_useropt_orig=$ac_useropt
1031     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032     case $ac_user_opts in
1033       *"
1034 "enable_$ac_useropt"
1035 "*) ;;
1036       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037          ac_unrecognized_sep=', ';;
1038     esac
1039     eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043   | --exec | --exe | --ex)
1044     ac_prev=exec_prefix ;;
1045   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047   | --exec=* | --exe=* | --ex=*)
1048     exec_prefix=$ac_optarg ;;
1049
1050   -gas | --gas | --ga | --g)
1051     # Obsolete; use --with-gas.
1052     with_gas=yes ;;
1053
1054   -help | --help | --hel | --he | -h)
1055     ac_init_help=long ;;
1056   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057     ac_init_help=recursive ;;
1058   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059     ac_init_help=short ;;
1060
1061   -host | --host | --hos | --ho)
1062     ac_prev=host_alias ;;
1063   -host=* | --host=* | --hos=* | --ho=*)
1064     host_alias=$ac_optarg ;;
1065
1066   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067     ac_prev=htmldir ;;
1068   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069   | --ht=*)
1070     htmldir=$ac_optarg ;;
1071
1072   -includedir | --includedir | --includedi | --included | --include \
1073   | --includ | --inclu | --incl | --inc)
1074     ac_prev=includedir ;;
1075   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076   | --includ=* | --inclu=* | --incl=* | --inc=*)
1077     includedir=$ac_optarg ;;
1078
1079   -infodir | --infodir | --infodi | --infod | --info | --inf)
1080     ac_prev=infodir ;;
1081   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082     infodir=$ac_optarg ;;
1083
1084   -libdir | --libdir | --libdi | --libd)
1085     ac_prev=libdir ;;
1086   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087     libdir=$ac_optarg ;;
1088
1089   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090   | --libexe | --libex | --libe)
1091     ac_prev=libexecdir ;;
1092   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093   | --libexe=* | --libex=* | --libe=*)
1094     libexecdir=$ac_optarg ;;
1095
1096   -localedir | --localedir | --localedi | --localed | --locale)
1097     ac_prev=localedir ;;
1098   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099     localedir=$ac_optarg ;;
1100
1101   -localstatedir | --localstatedir | --localstatedi | --localstated \
1102   | --localstate | --localstat | --localsta | --localst | --locals)
1103     ac_prev=localstatedir ;;
1104   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106     localstatedir=$ac_optarg ;;
1107
1108   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109     ac_prev=mandir ;;
1110   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111     mandir=$ac_optarg ;;
1112
1113   -nfp | --nfp | --nf)
1114     # Obsolete; use --without-fp.
1115     with_fp=no ;;
1116
1117   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118   | --no-cr | --no-c | -n)
1119     no_create=yes ;;
1120
1121   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123     no_recursion=yes ;;
1124
1125   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127   | --oldin | --oldi | --old | --ol | --o)
1128     ac_prev=oldincludedir ;;
1129   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132     oldincludedir=$ac_optarg ;;
1133
1134   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135     ac_prev=prefix ;;
1136   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137     prefix=$ac_optarg ;;
1138
1139   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140   | --program-pre | --program-pr | --program-p)
1141     ac_prev=program_prefix ;;
1142   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144     program_prefix=$ac_optarg ;;
1145
1146   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147   | --program-suf | --program-su | --program-s)
1148     ac_prev=program_suffix ;;
1149   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151     program_suffix=$ac_optarg ;;
1152
1153   -program-transform-name | --program-transform-name \
1154   | --program-transform-nam | --program-transform-na \
1155   | --program-transform-n | --program-transform- \
1156   | --program-transform | --program-transfor \
1157   | --program-transfo | --program-transf \
1158   | --program-trans | --program-tran \
1159   | --progr-tra | --program-tr | --program-t)
1160     ac_prev=program_transform_name ;;
1161   -program-transform-name=* | --program-transform-name=* \
1162   | --program-transform-nam=* | --program-transform-na=* \
1163   | --program-transform-n=* | --program-transform-=* \
1164   | --program-transform=* | --program-transfor=* \
1165   | --program-transfo=* | --program-transf=* \
1166   | --program-trans=* | --program-tran=* \
1167   | --progr-tra=* | --program-tr=* | --program-t=*)
1168     program_transform_name=$ac_optarg ;;
1169
1170   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171     ac_prev=pdfdir ;;
1172   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173     pdfdir=$ac_optarg ;;
1174
1175   -psdir | --psdir | --psdi | --psd | --ps)
1176     ac_prev=psdir ;;
1177   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178     psdir=$ac_optarg ;;
1179
1180   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181   | -silent | --silent | --silen | --sile | --sil)
1182     silent=yes ;;
1183
1184   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185     ac_prev=sbindir ;;
1186   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187   | --sbi=* | --sb=*)
1188     sbindir=$ac_optarg ;;
1189
1190   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192   | --sharedst | --shareds | --shared | --share | --shar \
1193   | --sha | --sh)
1194     ac_prev=sharedstatedir ;;
1195   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198   | --sha=* | --sh=*)
1199     sharedstatedir=$ac_optarg ;;
1200
1201   -site | --site | --sit)
1202     ac_prev=site ;;
1203   -site=* | --site=* | --sit=*)
1204     site=$ac_optarg ;;
1205
1206   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207     ac_prev=srcdir ;;
1208   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209     srcdir=$ac_optarg ;;
1210
1211   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212   | --syscon | --sysco | --sysc | --sys | --sy)
1213     ac_prev=sysconfdir ;;
1214   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216     sysconfdir=$ac_optarg ;;
1217
1218   -target | --target | --targe | --targ | --tar | --ta | --t)
1219     ac_prev=target_alias ;;
1220   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221     target_alias=$ac_optarg ;;
1222
1223   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224     verbose=yes ;;
1225
1226   -version | --version | --versio | --versi | --vers | -V)
1227     ac_init_version=: ;;
1228
1229   -with-* | --with-*)
1230     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231     # Reject names that are not valid shell variable names.
1232     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233       as_fn_error "invalid package name: $ac_useropt"
1234     ac_useropt_orig=$ac_useropt
1235     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236     case $ac_user_opts in
1237       *"
1238 "with_$ac_useropt"
1239 "*) ;;
1240       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241          ac_unrecognized_sep=', ';;
1242     esac
1243     eval with_$ac_useropt=\$ac_optarg ;;
1244
1245   -without-* | --without-*)
1246     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247     # Reject names that are not valid shell variable names.
1248     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249       as_fn_error "invalid package name: $ac_useropt"
1250     ac_useropt_orig=$ac_useropt
1251     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252     case $ac_user_opts in
1253       *"
1254 "with_$ac_useropt"
1255 "*) ;;
1256       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257          ac_unrecognized_sep=', ';;
1258     esac
1259     eval with_$ac_useropt=no ;;
1260
1261   --x)
1262     # Obsolete; use --with-x.
1263     with_x=yes ;;
1264
1265   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266   | --x-incl | --x-inc | --x-in | --x-i)
1267     ac_prev=x_includes ;;
1268   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270     x_includes=$ac_optarg ;;
1271
1272   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274     ac_prev=x_libraries ;;
1275   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277     x_libraries=$ac_optarg ;;
1278
1279   -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1281     ;;
1282
1283   *=*)
1284     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285     # Reject names that are not valid shell variable names.
1286     case $ac_envvar in #(
1287       '' | [0-9]* | *[!_$as_cr_alnum]* )
1288       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289     esac
1290     eval $ac_envvar=\$ac_optarg
1291     export $ac_envvar ;;
1292
1293   *)
1294     # FIXME: should be removed in autoconf 3.0.
1295     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299     ;;
1300
1301   esac
1302 done
1303
1304 if test -n "$ac_prev"; then
1305   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306   as_fn_error "missing argument to $ac_option"
1307 fi
1308
1309 if test -n "$ac_unrecognized_opts"; then
1310   case $enable_option_checking in
1311     no) ;;
1312     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314   esac
1315 fi
1316
1317 # Check all directory arguments for consistency.
1318 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319                 datadir sysconfdir sharedstatedir localstatedir includedir \
1320                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321                 libdir localedir mandir
1322 do
1323   eval ac_val=\$$ac_var
1324   # Remove trailing slashes.
1325   case $ac_val in
1326     */ )
1327       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328       eval $ac_var=\$ac_val;;
1329   esac
1330   # Be sure to have absolute directory names.
1331   case $ac_val in
1332     [\\/$]* | ?:[\\/]* )  continue;;
1333     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334   esac
1335   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1337
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1344
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347   if test "x$build_alias" = x; then
1348     cross_compiling=maybe
1349     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350     If a cross compiler is detected then cross compile mode will be used." >&2
1351   elif test "x$build_alias" != "x$host_alias"; then
1352     cross_compiling=yes
1353   fi
1354 fi
1355
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359 test "$silent" = yes && exec 6>/dev/null
1360
1361
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365   as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367   as_fn_error "pwd does not report name of working directory"
1368
1369
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372   ac_srcdir_defaulted=yes
1373   # Try the directory containing this script, then the parent directory.
1374   ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376          X"$as_myself" : 'X\(//\)[^/]' \| \
1377          X"$as_myself" : 'X\(//\)$' \| \
1378          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381             s//\1/
1382             q
1383           }
1384           /^X\(\/\/\)[^/].*/{
1385             s//\1/
1386             q
1387           }
1388           /^X\(\/\/\)$/{
1389             s//\1/
1390             q
1391           }
1392           /^X\(\/\).*/{
1393             s//\1/
1394             q
1395           }
1396           s/.*/./; q'`
1397   srcdir=$ac_confdir
1398   if test ! -r "$srcdir/$ac_unique_file"; then
1399     srcdir=..
1400   fi
1401 else
1402   ac_srcdir_defaulted=no
1403 fi
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1407 fi
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411         pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414   srcdir=.
1415 fi
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424   eval ac_env_${ac_var}_value=\$${ac_var}
1425   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1428
1429 #
1430 # Report the --help message.
1431 #
1432 if test "$ac_init_help" = "long"; then
1433   # Omit some internal or obsolete options to make the list less imposing.
1434   # This message is too long to be a string in the A/UX 3.1 sh.
1435   cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1437
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE.  See below for descriptions of some of the useful variables.
1442
1443 Defaults for the options are specified in brackets.
1444
1445 Configuration:
1446   -h, --help              display this help and exit
1447       --help=short        display options specific to this package
1448       --help=recursive    display the short help of all the included packages
1449   -V, --version           display version information and exit
1450   -q, --quiet, --silent   do not print \`checking...' messages
1451       --cache-file=FILE   cache test results in FILE [disabled]
1452   -C, --config-cache      alias for \`--cache-file=config.cache'
1453   -n, --no-create         do not create output files
1454       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1455
1456 Installation directories:
1457   --prefix=PREFIX         install architecture-independent files in PREFIX
1458                           [$ac_default_prefix]
1459   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1460                           [PREFIX]
1461
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1466
1467 For better control, use the options below.
1468
1469 Fine tuning of the installation directories:
1470   --bindir=DIR            user executables [EPREFIX/bin]
1471   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1472   --libexecdir=DIR        program executables [EPREFIX/libexec]
1473   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1474   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1475   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1476   --libdir=DIR            object code libraries [EPREFIX/lib]
1477   --includedir=DIR        C header files [PREFIX/include]
1478   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1479   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1480   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1481   --infodir=DIR           info documentation [DATAROOTDIR/info]
1482   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1483   --mandir=DIR            man documentation [DATAROOTDIR/man]
1484   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1485   --htmldir=DIR           html documentation [DOCDIR]
1486   --dvidir=DIR            dvi documentation [DOCDIR]
1487   --pdfdir=DIR            pdf documentation [DOCDIR]
1488   --psdir=DIR             ps documentation [DOCDIR]
1489 _ACEOF
1490
1491   cat <<\_ACEOF
1492
1493 Program names:
1494   --program-prefix=PREFIX            prepend PREFIX to installed program names
1495   --program-suffix=SUFFIX            append SUFFIX to installed program names
1496   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1497
1498 System types:
1499   --build=BUILD     configure for building on BUILD [guessed]
1500   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1501   --target=TARGET   configure for building compilers for TARGET [HOST]
1502 _ACEOF
1503 fi
1504
1505 if test -n "$ac_init_help"; then
1506   case $ac_init_help in
1507      short | recursive ) echo "Configuration of package-unused version-unused:";;
1508    esac
1509   cat <<\_ACEOF
1510
1511 Optional Features:
1512   --disable-option-checking  ignore unrecognized --enable/--with options
1513   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1514   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1515   --enable-multilib       build many library versions (default)
1516   --enable-maintainer-mode  enable make rules and dependencies not useful
1517                           (and sometimes confusing) to the casual installer
1518   --enable-shared[=PKGS]  build shared libraries [default=yes]
1519   --enable-static[=PKGS]  build static libraries [default=yes]
1520   --enable-fast-install[=PKGS]
1521                           optimize for fast installation [default=yes]
1522   --disable-libtool-lock  avoid locking (might break parallel builds)
1523   --disable-hosted-libstdcxx
1524                           only build freestanding C++ runtime support
1525   --disable-libstdcxx-verbose
1526                           disable termination messages to standard error
1527   --enable-sjlj-exceptions
1528                           force use of builtin_setjmp for exceptions
1529                           [default=auto]
1530   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1531                           [default=$is_hosted]
1532   --enable-cstdio[=PACKAGE]
1533                           use target-specific I/O package [default=stdio]
1534   --enable-clocale[=MODEL]
1535                           use MODEL for target locale package [default=auto]
1536   --enable-nls            use Native Language Support (default)
1537   --enable-libstdcxx-allocator[=KIND]
1538                           use KIND for target std::allocator base
1539                           [default=auto]
1540   --enable-cheaders[=KIND]
1541                           construct "C" headers for g++ [default=$c_model]
1542   --enable-long-long      enable template specializations for 'long long'
1543                           [default=yes]
1544   --enable-wchar_t        enable template specializations for 'wchar_t'
1545                           [default=yes]
1546   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1547   --enable-concept-checks use Boost-derived template checks [default=no]
1548   --enable-libstdcxx-debug-flags=FLAGS
1549                           pass compiler FLAGS when building debug library
1550                           [default="-gdwarf-4 -g3 -O0"]
1551   --enable-libstdcxx-debug
1552                           build extra debug library [default=no]
1553   --enable-cxx-flags=FLAGS
1554                           pass compiler FLAGS when building library [default=]
1555   --enable-fully-dynamic-string
1556                           do not put empty strings in per-process static
1557                           memory [default=no]
1558   --enable-extern-template
1559                           enable extern template [default=yes]
1560   --enable-werror         turns on -Werror [default=yes]
1561   --enable-libstdcxx-time[=KIND]
1562                           use KIND for check type [default=no]
1563   --enable-tls            Use thread-local storage [default=yes]
1564   --disable-rpath         do not hardcode runtime library paths
1565   --enable-linux-futex    use the Linux futex system call [default=default]
1566   --enable-symvers[=STYLE]
1567                           enables symbol versioning of the shared library
1568                           [default=yes]
1569   --enable-libstdcxx-visibility
1570                           enables visibility safe usage [default=yes]
1571   --enable-libstdcxx-threads
1572                           enable C++11 threads support [default=auto]
1573   --enable-version-specific-runtime-libs
1574                           Specify that runtime libraries should be installed
1575                           in a compiler-specific directory
1576
1577 Optional Packages:
1578   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1579   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1580   --with-target-subdir=SUBDIR
1581                           configuring in a subdirectory
1582   --with-cross-host=HOST  configuring with a cross compiler
1583   --with-newlib           assume newlib as a system C library
1584   --with-pic              try to use only PIC/non-PIC objects [default=use
1585                           both]
1586   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1587   --with-python-dir       the location to install Python modules. This path is
1588                           relative starting from the prefix.
1589   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1590   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1591   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1592   --with-system-libunwind use installed libunwind
1593   --with-gxx-include-dir=DIR
1594                           installation directory for include files
1595
1596 Some influential environment variables:
1597   CC          C compiler command
1598   CFLAGS      C compiler flags
1599   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1600               nonstandard directory <lib dir>
1601   LIBS        libraries to pass to the linker, e.g. -l<library>
1602   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603               you have headers in a nonstandard directory <include dir>
1604   CXX         C++ compiler command
1605   CXXFLAGS    C++ compiler flags
1606   CPP         C preprocessor
1607   CXXCPP      C++ preprocessor
1608   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1609               `c++filt', `gc++filt' on PATH.
1610
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1613
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1617 fi
1618
1619 if test "$ac_init_help" = "recursive"; then
1620   # If there are subdirs, report their specific --help.
1621   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622     test -d "$ac_dir" ||
1623       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624       continue
1625     ac_builddir=.
1626
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *)
1630   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631   # A ".." for each directory in $ac_dir_suffix.
1632   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633   case $ac_top_builddir_sub in
1634   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636   esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1642
1643 case $srcdir in
1644   .)  # We are building in place.
1645     ac_srcdir=.
1646     ac_top_srcdir=$ac_top_builddir_sub
1647     ac_abs_top_srcdir=$ac_pwd ;;
1648   [\\/]* | ?:[\\/]* )  # Absolute name.
1649     ac_srcdir=$srcdir$ac_dir_suffix;
1650     ac_top_srcdir=$srcdir
1651     ac_abs_top_srcdir=$srcdir ;;
1652   *) # Relative name.
1653     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654     ac_top_srcdir=$ac_top_build_prefix$srcdir
1655     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658
1659     cd "$ac_dir" || { ac_status=$?; continue; }
1660     # Check for guested configure.
1661     if test -f "$ac_srcdir/configure.gnu"; then
1662       echo &&
1663       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664     elif test -f "$ac_srcdir/configure"; then
1665       echo &&
1666       $SHELL "$ac_srcdir/configure" --help=recursive
1667     else
1668       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669     fi || ac_status=$?
1670     cd "$ac_pwd" || { ac_status=$?; break; }
1671   done
1672 fi
1673
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676   cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1679
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684   exit
1685 fi
1686
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1690
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1695 {
1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697   rm -f conftest.$ac_objext
1698   if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701   *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705   (eval "$ac_compile") 2>conftest.err
1706   ac_status=$?
1707   if test -s conftest.err; then
1708     grep -v '^ *+' conftest.err >conftest.er1
1709     cat conftest.er1 >&5
1710     mv -f conftest.er1 conftest.err
1711   fi
1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713   test $ac_status = 0; } && {
1714          test -z "$ac_c_werror_flag" ||
1715          test ! -s conftest.err
1716        } && test -s conftest.$ac_objext; then :
1717   ac_retval=0
1718 else
1719   $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1721
1722         ac_retval=1
1723 fi
1724   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725   return $ac_retval
1726
1727 } # ac_fn_c_try_compile
1728
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1733 {
1734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735   rm -f conftest.$ac_objext
1736   if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739   *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743   (eval "$ac_compile") 2>conftest.err
1744   ac_status=$?
1745   if test -s conftest.err; then
1746     grep -v '^ *+' conftest.err >conftest.er1
1747     cat conftest.er1 >&5
1748     mv -f conftest.er1 conftest.err
1749   fi
1750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751   test $ac_status = 0; } && {
1752          test -z "$ac_cxx_werror_flag" ||
1753          test ! -s conftest.err
1754        } && test -s conftest.$ac_objext; then :
1755   ac_retval=0
1756 else
1757   $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1759
1760         ac_retval=1
1761 fi
1762   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763   return $ac_retval
1764
1765 } # ac_fn_cxx_try_compile
1766
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1771 {
1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773   if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776   *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781   ac_status=$?
1782   if test -s conftest.err; then
1783     grep -v '^ *+' conftest.err >conftest.er1
1784     cat conftest.er1 >&5
1785     mv -f conftest.er1 conftest.err
1786   fi
1787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788   test $ac_status = 0; } >/dev/null && {
1789          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790          test ! -s conftest.err
1791        }; then :
1792   ac_retval=0
1793 else
1794   $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1796
1797     ac_retval=1
1798 fi
1799   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800   return $ac_retval
1801
1802 } # ac_fn_c_try_cpp
1803
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1808 {
1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810   rm -f conftest.$ac_objext conftest$ac_exeext
1811   if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814   *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818   (eval "$ac_link") 2>conftest.err
1819   ac_status=$?
1820   if test -s conftest.err; then
1821     grep -v '^ *+' conftest.err >conftest.er1
1822     cat conftest.er1 >&5
1823     mv -f conftest.er1 conftest.err
1824   fi
1825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826   test $ac_status = 0; } && {
1827          test -z "$ac_c_werror_flag" ||
1828          test ! -s conftest.err
1829        } && test -s conftest$ac_exeext && {
1830          test "$cross_compiling" = yes ||
1831          $as_test_x conftest$ac_exeext
1832        }; then :
1833   ac_retval=0
1834 else
1835   $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1837
1838         ac_retval=1
1839 fi
1840   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842   # interfere with the next link command; also delete a directory that is
1843   # left behind by Apple's compiler.  We do this before executing the actions.
1844   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846   return $ac_retval
1847
1848 } # ac_fn_c_try_link
1849
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1855 {
1856   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860   $as_echo_n "(cached) " >&6
1861 else
1862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h.  */
1864 $4
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868   eval "$3=yes"
1869 else
1870   eval "$3=no"
1871 fi
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 fi
1874 eval ac_res=\$$3
1875                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878
1879 } # ac_fn_c_check_header_compile
1880
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1886 {
1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888   if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891   *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895   (eval "$ac_link") 2>&5
1896   ac_status=$?
1897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899   { { case "(($ac_try" in
1900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901   *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905   (eval "$ac_try") 2>&5
1906   ac_status=$?
1907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908   test $ac_status = 0; }; }; then :
1909   ac_retval=0
1910 else
1911   $as_echo "$as_me: program exited with status $ac_status" >&5
1912        $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915        ac_retval=$ac_status
1916 fi
1917   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919   return $ac_retval
1920
1921 } # ac_fn_c_try_run
1922
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1927 {
1928   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932   $as_echo_n "(cached) " >&6
1933 else
1934   if test x$gcc_no_link = xyes; then
1935   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1936 fi
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h.  */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1941 #define $2 innocuous_$2
1942
1943 /* System header to define __stub macros and hopefully few prototypes,
1944     which can conflict with char $2 (); below.
1945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946     <limits.h> exists even on freestanding compilers.  */
1947
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1953
1954 #undef $2
1955
1956 /* Override any GCC internal prototype to avoid an error.
1957    Use char because int might match the return type of a GCC
1958    builtin and then its argument prototype would still apply.  */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964     to always fail with ENOSYS.  Some functions are actually named
1965     something starting with __ and the normal name is an alias.  */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1969
1970 int
1971 main ()
1972 {
1973 return $2 ();
1974   ;
1975   return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979   eval "$3=yes"
1980 else
1981   eval "$3=no"
1982 fi
1983 rm -f core conftest.err conftest.$ac_objext \
1984     conftest$ac_exeext conftest.$ac_ext
1985 fi
1986 eval ac_res=\$$3
1987                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
1991 } # ac_fn_c_check_func
1992
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1997 {
1998   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999   if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002   *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007   ac_status=$?
2008   if test -s conftest.err; then
2009     grep -v '^ *+' conftest.err >conftest.er1
2010     cat conftest.er1 >&5
2011     mv -f conftest.er1 conftest.err
2012   fi
2013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014   test $ac_status = 0; } >/dev/null && {
2015          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016          test ! -s conftest.err
2017        }; then :
2018   ac_retval=0
2019 else
2020   $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2022
2023     ac_retval=1
2024 fi
2025   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026   return $ac_retval
2027
2028 } # ac_fn_cxx_try_cpp
2029
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2034 {
2035   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036   rm -f conftest.$ac_objext conftest$ac_exeext
2037   if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040   *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044   (eval "$ac_link") 2>conftest.err
2045   ac_status=$?
2046   if test -s conftest.err; then
2047     grep -v '^ *+' conftest.err >conftest.er1
2048     cat conftest.er1 >&5
2049     mv -f conftest.er1 conftest.err
2050   fi
2051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052   test $ac_status = 0; } && {
2053          test -z "$ac_cxx_werror_flag" ||
2054          test ! -s conftest.err
2055        } && test -s conftest$ac_exeext && {
2056          test "$cross_compiling" = yes ||
2057          $as_test_x conftest$ac_exeext
2058        }; then :
2059   ac_retval=0
2060 else
2061   $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2063
2064         ac_retval=1
2065 fi
2066   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068   # interfere with the next link command; also delete a directory that is
2069   # left behind by Apple's compiler.  We do this before executing the actions.
2070   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072   return $ac_retval
2073
2074 } # ac_fn_cxx_try_link
2075
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2082 {
2083   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088   $as_echo_n "(cached) " >&6
2089 fi
2090 eval ac_res=\$$3
2091                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094   # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h.  */
2099 $4
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103   ac_header_compiler=yes
2104 else
2105   ac_header_compiler=no
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2110
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h.  */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119   ac_header_preproc=yes
2120 else
2121   ac_header_preproc=no
2122 fi
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2126
2127 # So?  What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129   yes:no: )
2130     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134     ;;
2135   no:yes:* )
2136     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2140     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2144     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146     ;;
2147 esac
2148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151   $as_echo_n "(cached) " >&6
2152 else
2153   eval "$3=\$ac_header_compiler"
2154 fi
2155 eval ac_res=\$$3
2156                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 fi
2159   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160
2161 } # ac_fn_c_check_header_mongrel
2162
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2169 {
2170   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175   $as_echo_n "(cached) " >&6
2176 fi
2177 eval ac_res=\$$3
2178                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181   # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h.  */
2186 $4
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190   ac_header_compiler=yes
2191 else
2192   ac_header_compiler=no
2193 fi
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2197
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h.  */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206   ac_header_preproc=yes
2207 else
2208   ac_header_preproc=no
2209 fi
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2213
2214 # So?  What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216   yes:no: )
2217     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221     ;;
2222   no:yes:* )
2223     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2227     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2231     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233     ;;
2234 esac
2235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238   $as_echo_n "(cached) " >&6
2239 else
2240   eval "$3=\$ac_header_compiler"
2241 fi
2242 eval ac_res=\$$3
2243                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2245 fi
2246   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_cxx_check_header_mongrel
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258   if test "$cross_compiling" = yes; then
2259     # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h.  */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269   ;
2270   return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274   ac_lo=0 ac_mid=0
2275   while :; do
2276     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h.  */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285   ;
2286   return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290   ac_hi=$ac_mid; break
2291 else
2292   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293                         if test $ac_lo -le $ac_mid; then
2294                           ac_lo= ac_hi=
2295                           break
2296                         fi
2297                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300   done
2301 else
2302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h.  */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311   ;
2312   return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316   ac_hi=-1 ac_mid=-1
2317   while :; do
2318     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h.  */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327   ;
2328   return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332   ac_lo=$ac_mid; break
2333 else
2334   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335                         if test $ac_mid -le $ac_hi; then
2336                           ac_lo= ac_hi=
2337                           break
2338                         fi
2339                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342   done
2343 else
2344   ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h.  */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361   ;
2362   return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366   ac_hi=$ac_mid
2367 else
2368   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376   else
2377     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h.  */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388   FILE *f = fopen ("conftest.val", "w");
2389   if (! f)
2390     return 1;
2391   if (($2) < 0)
2392     {
2393       long int i = longval ();
2394       if (i != ($2))
2395         return 1;
2396       fprintf (f, "%ld", i);
2397     }
2398   else
2399     {
2400       unsigned long int i = ulongval ();
2401       if (i != ($2))
2402         return 1;
2403       fprintf (f, "%lu", i);
2404     }
2405   /* Do not output a trailing newline, as this causes \r\n confusion
2406      on some platforms.  */
2407   return ferror (f) || fclose (f) != 0;
2408
2409   ;
2410   return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416   ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419   conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422   fi
2423   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424   return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2433 {
2434   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438   $as_echo_n "(cached) " >&6
2439 else
2440   eval "$3=no"
2441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h.  */
2443 $4
2444 int
2445 main ()
2446 {
2447 if (sizeof ($2))
2448          return 0;
2449   ;
2450   return 0;
2451 }
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h.  */
2456 $4
2457 int
2458 main ()
2459 {
2460 if (sizeof (($2)))
2461             return 0;
2462   ;
2463   return 0;
2464 }
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467
2468 else
2469   eval "$3=yes"
2470 fi
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 fi
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 fi
2475 eval ac_res=\$$3
2476                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2484
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64.  Invocation command line was
2487
2488   $ $0 $@
2489
2490 _ACEOF
2491 exec 5>>config.log
2492 {
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2497
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2503
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2506
2507 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2508 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2511 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2512 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2513 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2514
2515 _ASUNAME
2516
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520   IFS=$as_save_IFS
2521   test -z "$as_dir" && as_dir=.
2522     $as_echo "PATH: $as_dir"
2523   done
2524 IFS=$as_save_IFS
2525
2526 } >&5
2527
2528 cat >&5 <<_ACEOF
2529
2530
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2534
2535 _ACEOF
2536
2537
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2548 do
2549   for ac_arg
2550   do
2551     case $ac_arg in
2552     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554     | -silent | --silent | --silen | --sile | --sil)
2555       continue ;;
2556     *\'*)
2557       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558     esac
2559     case $ac_pass in
2560     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2561     2)
2562       as_fn_append ac_configure_args1 " '$ac_arg'"
2563       if test $ac_must_keep_next = true; then
2564         ac_must_keep_next=false # Got value, back to normal.
2565       else
2566         case $ac_arg in
2567           *=* | --config-cache | -C | -disable-* | --disable-* \
2568           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570           | -with-* | --with-* | -without-* | --without-* | --x)
2571             case "$ac_configure_args0 " in
2572               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573             esac
2574             ;;
2575           -* ) ac_must_keep_next=true ;;
2576         esac
2577       fi
2578       as_fn_append ac_configure_args " '$ac_arg'"
2579       ;;
2580     esac
2581   done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2585
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log.  We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592   # Save into config.log some information that might help in debugging.
2593   {
2594     echo
2595
2596     cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601     echo
2602     # The following way of writing the cache mishandles newlines in values,
2603 (
2604   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605     eval ac_val=\$$ac_var
2606     case $ac_val in #(
2607     *${as_nl}*)
2608       case $ac_var in #(
2609       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611       esac
2612       case $ac_var in #(
2613       _ | IFS | as_nl) ;; #(
2614       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615       *) { eval $ac_var=; unset $ac_var;} ;;
2616       esac ;;
2617     esac
2618   done
2619   (set) 2>&1 |
2620     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621     *${as_nl}ac_space=\ *)
2622       sed -n \
2623         "s/'\''/'\''\\\\'\'''\''/g;
2624           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625       ;; #(
2626     *)
2627       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628       ;;
2629     esac |
2630     sort
2631 )
2632     echo
2633
2634     cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639     echo
2640     for ac_var in $ac_subst_vars
2641     do
2642       eval ac_val=\$$ac_var
2643       case $ac_val in
2644       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645       esac
2646       $as_echo "$ac_var='\''$ac_val'\''"
2647     done | sort
2648     echo
2649
2650     if test -n "$ac_subst_files"; then
2651       cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656       echo
2657       for ac_var in $ac_subst_files
2658       do
2659         eval ac_val=\$$ac_var
2660         case $ac_val in
2661         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662         esac
2663         $as_echo "$ac_var='\''$ac_val'\''"
2664       done | sort
2665       echo
2666     fi
2667
2668     if test -s confdefs.h; then
2669       cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674       echo
2675       cat confdefs.h
2676       echo
2677     fi
2678     test "$ac_signal" != 0 &&
2679       $as_echo "$as_me: caught signal $ac_signal"
2680     $as_echo "$as_me: exit $exit_status"
2681   } >&5
2682   rm -f core *.core core.conftest.* &&
2683     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684     exit $exit_status
2685 ' 0
2686 for ac_signal in 1 2 13 15; do
2687   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2690
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2693
2694 $as_echo "/* confdefs.h */" > confdefs.h
2695
2696 # Predefined preprocessor variables.
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2705
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2709
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2713
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2721
2722
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728   ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730   ac_site_file1=$prefix/share/config.site
2731   ac_site_file2=$prefix/etc/config.site
2732 else
2733   ac_site_file1=$ac_default_prefix/share/config.site
2734   ac_site_file2=$ac_default_prefix/etc/config.site
2735 fi
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2737 do
2738   test "x$ac_site_file" = xNONE && continue
2739   if test -r "$ac_site_file"; then
2740     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742     sed 's/^/| /' "$ac_site_file" >&5
2743     . "$ac_site_file"
2744   fi
2745 done
2746
2747 if test -r "$cache_file"; then
2748   # Some versions of bash will fail to source /dev/null (special
2749   # files actually), so we avoid doing that.
2750   if test -f "$cache_file"; then
2751     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753     case $cache_file in
2754       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755       *)                      . "./$cache_file";;
2756     esac
2757   fi
2758 else
2759   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761   >$cache_file
2762 fi
2763
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769   eval ac_new_set=\$ac_env_${ac_var}_set
2770   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771   eval ac_new_val=\$ac_env_${ac_var}_value
2772   case $ac_old_set,$ac_new_set in
2773     set,)
2774       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776       ac_cache_corrupted=: ;;
2777     ,set)
2778       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780       ac_cache_corrupted=: ;;
2781     ,);;
2782     *)
2783       if test "x$ac_old_val" != "x$ac_new_val"; then
2784         # differences in whitespace do not lead to failure.
2785         ac_old_val_w=`echo x $ac_old_val`
2786         ac_new_val_w=`echo x $ac_new_val`
2787         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790           ac_cache_corrupted=:
2791         else
2792           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794           eval $ac_var=\$ac_old_val
2795         fi
2796         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2797 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2798         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2800       fi;;
2801   esac
2802   # Pass precious variables to config.status.
2803   if test "$ac_new_set" = set; then
2804     case $ac_new_val in
2805     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806     *) ac_arg=$ac_var=$ac_new_val ;;
2807     esac
2808     case " $ac_configure_args " in
2809       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2810       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811     esac
2812   fi
2813 done
2814 if $ac_cache_corrupted; then
2815   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2820 fi
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2824
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830
2831
2832
2833
2834
2835
2836 ac_config_headers="$ac_config_headers config.h"
2837
2838
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported.  Only used at the end of this file.
2843 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2844
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849   enableval=$enable_multilib; case "$enableval" in
2850   yes) multilib=yes ;;
2851   no)  multilib=no ;;
2852   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853  esac
2854 else
2855   multilib=yes
2856 fi
2857
2858
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2862
2863 if test "$srcdir" = "."; then
2864   if test "$with_target_subdir" != "."; then
2865     multi_basedir="$srcdir/$with_multisrctop../.."
2866   else
2867     multi_basedir="$srcdir/$with_multisrctop.."
2868   fi
2869 else
2870   multi_basedir="$srcdir/.."
2871 fi
2872
2873
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877    && test "x${with_multisubdir}" != x ; then
2878    cross_compiling=maybe
2879 fi
2880
2881 ac_config_commands="$ac_config_commands default-1"
2882
2883
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2885 #
2886 # You will slowly go insane if you do not grok the following fact:  when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/.  configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf.  Therefore, 'target' and
2890 # 'host' will always be the same.  This makes sense both for native and
2891 # cross compilers, just think about it for a little while.  :-)
2892 #
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2895 #
2896 # Do not delete or change the following two lines.  For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900   for ac_t in install-sh install.sh shtool; do
2901     if test -f "$ac_dir/$ac_t"; then
2902       ac_aux_dir=$ac_dir
2903       ac_install_sh="$ac_aux_dir/$ac_t -c"
2904       break 2
2905     fi
2906   done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910 fi
2911
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2919
2920
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928   $as_echo_n "(cached) " >&6
2929 else
2930   ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2937
2938 fi
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2957
2958
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962   $as_echo_n "(cached) " >&6
2963 else
2964   if test "x$host_alias" = x; then
2965   ac_cv_host=$ac_cv_build
2966 else
2967   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2969 fi
2970
2971 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2990
2991
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995   $as_echo_n "(cached) " >&6
2996 else
2997   if test "x$target_alias" = x; then
2998   ac_cv_target=$ac_cv_host
2999 else
3000   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3002 fi
3003
3004 fi
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3023
3024
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028   test "$program_prefix$program_suffix$program_transform_name" = \
3029     NONENONEs,x,x, &&
3030   program_prefix=${target_alias}-
3031
3032 target_alias=${target_alias-$host_alias}
3033
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3036
3037 if test "$build" != "$host"; then
3038   # We are being configured with some form of cross compiler.
3039   GLIBCXX_IS_NATIVE=false
3040   case "$host","$target" in
3041     # Darwin crosses can use the host system's libraries and headers,
3042     # because of the fat library support.  Of course, it must be the
3043     # same version of Darwin on both sides.  Allow the user to
3044     # just say --target=foo-darwin without a version number to mean
3045     # "the version on this system".
3046       *-*-darwin*,*-*-darwin*)
3047         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049         if test $hostos = $targetos -o $targetos = darwin ; then
3050           GLIBCXX_IS_NATIVE=true
3051         fi
3052         ;;
3053
3054       *)
3055
3056         ;;
3057   esac
3058 else
3059   GLIBCXX_IS_NATIVE=true
3060 fi
3061
3062 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 #  1.x:  minimum required version
3065 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 #              of other PACKAGE_* variables will, however, and there's nothing
3067 #              we can do about that; they come from AC_INIT).
3068 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3069 #            file in the top srcdir, etc, etc), so stop complaining.
3070 #  no-dependencies:  turns off auto dependency generation (just for now)
3071 #  no-dist:  we don't want 'dist' and related rules.
3072 #  -Wall:  turns on all automake warnings...
3073 #  -Wno-portability:  ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3075
3076 # Find a good install program.  We prefer a C program (faster),
3077 # so one script is as good as another.  But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094   $as_echo_n "(cached) " >&6
3095 else
3096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3098 do
3099   IFS=$as_save_IFS
3100   test -z "$as_dir" && as_dir=.
3101     # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103   ./ | .// | /[cC]/* | \
3104   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106   /usr/ucb/* ) ;;
3107   *)
3108     # OSF1 and SCO ODT 3.0 have their own names for install.
3109     # Don't use installbsd from OSF since it installs stuff as root
3110     # by default.
3111     for ac_prog in ginstall scoinst install; do
3112       for ac_exec_ext in '' $ac_executable_extensions; do
3113         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114           if test $ac_prog = install &&
3115             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116             # AIX install.  It has an incompatible calling convention.
3117             :
3118           elif test $ac_prog = install &&
3119             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120             # program-specific install script used by HP pwplus--don't use.
3121             :
3122           else
3123             rm -rf conftest.one conftest.two conftest.dir
3124             echo one > conftest.one
3125             echo two > conftest.two
3126             mkdir conftest.dir
3127             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128               test -s conftest.one && test -s conftest.two &&
3129               test -s conftest.dir/conftest.one &&
3130               test -s conftest.dir/conftest.two
3131             then
3132               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133               break 3
3134             fi
3135           fi
3136         fi
3137       done
3138     done
3139     ;;
3140 esac
3141
3142   done
3143 IFS=$as_save_IFS
3144
3145 rm -rf conftest.one conftest.two conftest.dir
3146
3147 fi
3148   if test "${ac_cv_path_install+set}" = set; then
3149     INSTALL=$ac_cv_path_install
3150   else
3151     # As a last resort, use the slow shell script.  Don't cache a
3152     # value for INSTALL within a source directory, because that will
3153     # break other packages using the cache if that directory is
3154     # removed, or if the value is a relative name.
3155     INSTALL=$ac_install_sh
3156   fi
3157 fi
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3160
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3164
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3166
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3168
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name.  Accept space and tab only in the latter.
3176 am_lf='
3177 '
3178 case `pwd` in
3179   *[\\\"\#\$\&\'\`$am_lf]*)
3180     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3184     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3186
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments.  Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194    if test "$*" = "X"; then
3195       # -L didn't work.
3196       set X `ls -t "$srcdir/configure" conftest.file`
3197    fi
3198    rm -f conftest.file
3199    if test "$*" != "X $srcdir/configure conftest.file" \
3200       && test "$*" != "X conftest.file $srcdir/configure"; then
3201
3202       # If neither matched, then we have a broken ls.  This can happen
3203       # if, for instance, CONFIG_SHELL is bash and it inherits a
3204       # broken ls alias from the environment.  This has actually
3205       # happened.  Such a system could not be considered "sane".
3206       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3208    fi
3209
3210    test "$2" = conftest.file
3211    )
3212 then
3213    # Ok.
3214    :
3215 else
3216    as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3218 fi
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3230
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3233
3234 if test x"${MISSING+set}" != xset; then
3235   case $am_aux_dir in
3236   *\ * | *\     *)
3237     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3238   *)
3239     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240   esac
3241 fi
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244   am_missing_run="$MISSING --run "
3245 else
3246   am_missing_run=
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3249 fi
3250
3251 if test x"${install_sh}" != xset; then
3252   case $am_aux_dir in
3253   *\ * | *\     *)
3254     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3255   *)
3256     install_sh="\${SHELL} $am_aux_dir/install-sh"
3257   esac
3258 fi
3259
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'.  However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265   if test -n "$ac_tool_prefix"; then
3266   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271   $as_echo_n "(cached) " >&6
3272 else
3273   if test -n "$STRIP"; then
3274   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279   IFS=$as_save_IFS
3280   test -z "$as_dir" && as_dir=.
3281     for ac_exec_ext in '' $ac_executable_extensions; do
3282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285     break 2
3286   fi
3287 done
3288   done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303 fi
3304 if test -z "$ac_cv_prog_STRIP"; then
3305   ac_ct_STRIP=$STRIP
3306   # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311   $as_echo_n "(cached) " >&6
3312 else
3313   if test -n "$ac_ct_STRIP"; then
3314   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319   IFS=$as_save_IFS
3320   test -z "$as_dir" && as_dir=.
3321     for ac_exec_ext in '' $ac_executable_extensions; do
3322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323     ac_cv_prog_ac_ct_STRIP="strip"
3324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325     break 2
3326   fi
3327 done
3328   done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342   if test "x$ac_ct_STRIP" = x; then
3343     STRIP=":"
3344   else
3345     case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351     STRIP=$ac_ct_STRIP
3352   fi
3353 else
3354   STRIP="$ac_cv_prog_STRIP"
3355 fi
3356
3357 fi
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3359
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363   if test "${ac_cv_path_mkdir+set}" = set; then :
3364   $as_echo_n "(cached) " >&6
3365 else
3366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3368 do
3369   IFS=$as_save_IFS
3370   test -z "$as_dir" && as_dir=.
3371     for ac_prog in mkdir gmkdir; do
3372          for ac_exec_ext in '' $ac_executable_extensions; do
3373            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375              'mkdir (GNU coreutils) '* | \
3376              'mkdir (coreutils) '* | \
3377              'mkdir (fileutils) '4.1*)
3378                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379                break 3;;
3380            esac
3381          done
3382        done
3383   done
3384 IFS=$as_save_IFS
3385
3386 fi
3387
3388   if test "${ac_cv_path_mkdir+set}" = set; then
3389     MKDIR_P="$ac_cv_path_mkdir -p"
3390   else
3391     # As a last resort, use the slow shell script.  Don't cache a
3392     # value for MKDIR_P within a source directory, because that will
3393     # break other packages using the cache if that directory is
3394     # removed, or if the value is a relative name.
3395     test -d ./--version && rmdir ./--version
3396     MKDIR_P="$ac_install_sh -d"
3397   fi
3398 fi
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3401
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404   [\\/$]* | ?:[\\/]*) ;;
3405   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3407
3408 for ac_prog in gawk mawk nawk awk
3409 do
3410   # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415   $as_echo_n "(cached) " >&6
3416 else
3417   if test -n "$AWK"; then
3418   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423   IFS=$as_save_IFS
3424   test -z "$as_dir" && as_dir=.
3425     for ac_exec_ext in '' $ac_executable_extensions; do
3426   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427     ac_cv_prog_AWK="$ac_prog"
3428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429     break 2
3430   fi
3431 done
3432   done
3433 IFS=$as_save_IFS
3434
3435 fi
3436 fi
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3444 fi
3445
3446
3447   test -n "$AWK" && break
3448 done
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455   $as_echo_n "(cached) " >&6
3456 else
3457   cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460         @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464   *@@@%%%=?*=@@@%%%*)
3465     eval ac_cv_prog_make_${ac_make}_set=yes;;
3466   *)
3467     eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3470 fi
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474   SET_MAKE=
3475 else
3476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478   SET_MAKE="MAKE=${MAKE-make}"
3479 fi
3480
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484   am__leading_dot=.
3485 else
3486   am__leading_dot=_
3487 fi
3488 rmdir .tst 2>/dev/null
3489
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492   # is not polluted with repeated "-I."
3493   am__isrc=' -I$(srcdir)'
3494   # test to see if srcdir already configured
3495   if test -f $srcdir/config.status; then
3496     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3497   fi
3498 fi
3499
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502   if (cygpath --version) >/dev/null 2>/dev/null; then
3503     CYGPATH_W='cygpath -w'
3504   else
3505     CYGPATH_W=echo
3506   fi
3507 fi
3508
3509
3510 # Define the identity of the package.
3511  PACKAGE='libstdc++'
3512  VERSION='version-unused'
3513
3514
3515 # Some tools Automake needs.
3516
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3518
3519
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3521
3522
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3524
3525
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3527
3528
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3530
3531 # We need awk for the "check" target.  The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3534
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3536
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3538
3539
3540
3541
3542
3543
3544
3545
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3548
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   if test -n "$CC"; then
3565   ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570   IFS=$as_save_IFS
3571   test -z "$as_dir" && as_dir=.
3572     for ac_exec_ext in '' $ac_executable_extensions; do
3573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576     break 2
3577   fi
3578 done
3579   done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594 fi
3595 if test -z "$ac_cv_prog_CC"; then
3596   ac_ct_CC=$CC
3597   # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602   $as_echo_n "(cached) " >&6
3603 else
3604   if test -n "$ac_ct_CC"; then
3605   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610   IFS=$as_save_IFS
3611   test -z "$as_dir" && as_dir=.
3612     for ac_exec_ext in '' $ac_executable_extensions; do
3613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614     ac_cv_prog_ac_ct_CC="gcc"
3615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616     break 2
3617   fi
3618 done
3619   done
3620 IFS=$as_save_IFS
3621
3622 fi
3623 fi
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3631 fi
3632
3633   if test "x$ac_ct_CC" = x; then
3634     CC=""
3635   else
3636     case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642     CC=$ac_ct_CC
3643   fi
3644 else
3645   CC="$ac_cv_prog_CC"
3646 fi
3647
3648 if test -z "$CC"; then
3649           if test -n "$ac_tool_prefix"; then
3650     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655   $as_echo_n "(cached) " >&6
3656 else
3657   if test -n "$CC"; then
3658   ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3662 do
3663   IFS=$as_save_IFS
3664   test -z "$as_dir" && as_dir=.
3665     for ac_exec_ext in '' $ac_executable_extensions; do
3666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667     ac_cv_prog_CC="${ac_tool_prefix}cc"
3668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669     break 2
3670   fi
3671 done
3672   done
3673 IFS=$as_save_IFS
3674
3675 fi
3676 fi
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3684 fi
3685
3686
3687   fi
3688 fi
3689 if test -z "$CC"; then
3690   # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695   $as_echo_n "(cached) " >&6
3696 else
3697   if test -n "$CC"; then
3698   ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700   ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704   IFS=$as_save_IFS
3705   test -z "$as_dir" && as_dir=.
3706     for ac_exec_ext in '' $ac_executable_extensions; do
3707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709        ac_prog_rejected=yes
3710        continue
3711      fi
3712     ac_cv_prog_CC="cc"
3713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714     break 2
3715   fi
3716 done
3717   done
3718 IFS=$as_save_IFS
3719
3720 if test $ac_prog_rejected = yes; then
3721   # We found a bogon in the path, so make sure we never use it.
3722   set dummy $ac_cv_prog_CC
3723   shift
3724   if test $# != 0; then
3725     # We chose a different compiler from the bogus one.
3726     # However, it has the same basename, so the bogon will be chosen
3727     # first if we set CC to just the basename; use the full file name.
3728     shift
3729     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730   fi
3731 fi
3732 fi
3733 fi
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743
3744 fi
3745 if test -z "$CC"; then
3746   if test -n "$ac_tool_prefix"; then
3747   for ac_prog in cl.exe
3748   do
3749     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754   $as_echo_n "(cached) " >&6
3755 else
3756   if test -n "$CC"; then
3757   ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762   IFS=$as_save_IFS
3763   test -z "$as_dir" && as_dir=.
3764     for ac_exec_ext in '' $ac_executable_extensions; do
3765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768     break 2
3769   fi
3770 done
3771   done
3772 IFS=$as_save_IFS
3773
3774 fi
3775 fi
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 fi
3784
3785
3786     test -n "$CC" && break
3787   done
3788 fi
3789 if test -z "$CC"; then
3790   ac_ct_CC=$CC
3791   for ac_prog in cl.exe
3792 do
3793   # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798   $as_echo_n "(cached) " >&6
3799 else
3800   if test -n "$ac_ct_CC"; then
3801   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3805 do
3806   IFS=$as_save_IFS
3807   test -z "$as_dir" && as_dir=.
3808     for ac_exec_ext in '' $ac_executable_extensions; do
3809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810     ac_cv_prog_ac_ct_CC="$ac_prog"
3811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812     break 2
3813   fi
3814 done
3815   done
3816 IFS=$as_save_IFS
3817
3818 fi
3819 fi
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 fi
3828
3829
3830   test -n "$ac_ct_CC" && break
3831 done
3832
3833   if test "x$ac_ct_CC" = x; then
3834     CC=""
3835   else
3836     case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842     CC=$ac_ct_CC
3843   fi
3844 fi
3845
3846 fi
3847
3848
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3853
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859   { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862   *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867   ac_status=$?
3868   if test -s conftest.err; then
3869     sed '10a\
3870 ... rest of stderr output deleted ...
3871          10q' conftest.err >conftest.er1
3872     cat conftest.er1 >&5
3873     rm -f conftest.er1 conftest.err
3874   fi
3875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876   test $ac_status = 0; }
3877 done
3878
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h.  */
3881
3882 int
3883 main ()
3884 {
3885
3886   ;
3887   return 0;
3888 }
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892   (eval $ac_link) 2>&5
3893   ac_status=$?
3894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895   test $ac_status = 0; }; then :
3896   gcc_no_link=no
3897 else
3898   gcc_no_link=yes
3899 fi
3900 if test x$gcc_no_link = xyes; then
3901   # Setting cross_compile will disable run tests; it will
3902   # also disable AC_CHECK_FILE but that's generally
3903   # correct if we can't link.
3904   cross_compiling=yes
3905   EXEEXT=
3906 else
3907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h.  */
3909
3910 int
3911 main ()
3912 {
3913
3914   ;
3915   return 0;
3916 }
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3926
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3932 do
3933   case $ac_file in
3934     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936   esac
3937 done
3938 rm -f $ac_rmfiles
3939
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943   *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947   (eval "$ac_link_default") 2>&5
3948   ac_status=$?
3949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950   test $ac_status = 0; }; then :
3951   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3957 do
3958   test -f "$ac_file" || continue
3959   case $ac_file in
3960     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961         ;;
3962     [ab].out )
3963         # We found the default executable, but exeext='' is most
3964         # certainly right.
3965         break;;
3966     *.* )
3967         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968         then :; else
3969            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3970         fi
3971         # We set ac_cv_exeext here because the later test for it is not
3972         # safe: cross compilers may not add the suffix if given an `-o'
3973         # argument, so we may need to know it at that point already.
3974         # Even if this section looks crufty: it has the advantage of
3975         # actually working.
3976         break;;
3977     * )
3978         break;;
3979   esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3982
3983 else
3984   ac_file=''
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989   $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3991
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3997 fi
3998 ac_exeext=$ac_cv_exeext
3999
4000 # Check that the compiler produces executables we can run.  If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006   if { ac_try='./$ac_file'
4007   { { case "(($ac_try" in
4008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009   *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013   (eval "$ac_try") 2>&5
4014   ac_status=$?
4015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016   test $ac_status = 0; }; }; then
4017     cross_compiling=no
4018   else
4019     if test "$cross_compiling" = maybe; then
4020         cross_compiling=yes
4021     else
4022         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4027     fi
4028   fi
4029 fi
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4032
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run.  If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4041
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047   *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051   (eval "$ac_link") 2>&5
4052   ac_status=$?
4053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054   test $ac_status = 0; }; then :
4055   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060   test -f "$ac_file" || continue
4061   case $ac_file in
4062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064           break;;
4065     * ) break;;
4066   esac
4067 done
4068 else
4069   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4073 fi
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4077
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085   $as_echo_n "(cached) " >&6
4086 else
4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h.  */
4089
4090 int
4091 main ()
4092 {
4093
4094   ;
4095   return 0;
4096 }
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102   *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106   (eval "$ac_compile") 2>&5
4107   ac_status=$?
4108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109   test $ac_status = 0; }; then :
4110   for ac_file in conftest.o conftest.obj conftest.*; do
4111   test -f "$ac_file" || continue;
4112   case $ac_file in
4113     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115        break;;
4116   esac
4117 done
4118 else
4119   $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4121
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4126 fi
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136   $as_echo_n "(cached) " >&6
4137 else
4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h.  */
4140
4141 int
4142 main ()
4143 {
4144 #ifndef __GNUC__
4145        choke me
4146 #endif
4147
4148   ;
4149   return 0;
4150 }
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153   ac_compiler_gnu=yes
4154 else
4155   ac_compiler_gnu=no
4156 fi
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164   GCC=yes
4165 else
4166   GCC=
4167 fi
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173   $as_echo_n "(cached) " >&6
4174 else
4175   ac_save_c_werror_flag=$ac_c_werror_flag
4176    ac_c_werror_flag=yes
4177    ac_cv_prog_cc_g=no
4178    CFLAGS="-g"
4179    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h.  */
4181
4182 int
4183 main ()
4184 {
4185
4186   ;
4187   return 0;
4188 }
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191   ac_cv_prog_cc_g=yes
4192 else
4193   CFLAGS=""
4194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h.  */
4196
4197 int
4198 main ()
4199 {
4200
4201   ;
4202   return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206
4207 else
4208   ac_c_werror_flag=$ac_save_c_werror_flag
4209          CFLAGS="-g"
4210          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h.  */
4212
4213 int
4214 main ()
4215 {
4216
4217   ;
4218   return 0;
4219 }
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222   ac_cv_prog_cc_g=yes
4223 fi
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 fi
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229    ac_c_werror_flag=$ac_save_c_werror_flag
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234   CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236   if test "$GCC" = yes; then
4237     CFLAGS="-g -O2"
4238   else
4239     CFLAGS="-g"
4240   fi
4241 else
4242   if test "$GCC" = yes; then
4243     CFLAGS="-O2"
4244   else
4245     CFLAGS=
4246   fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251   $as_echo_n "(cached) " >&6
4252 else
4253   ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h.  */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265      char **p;
4266      int i;
4267 {
4268   return p[i];
4269 }
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4271 {
4272   char *s;
4273   va_list v;
4274   va_start (v,p);
4275   s = g (p, va_arg (v,int));
4276   va_end (v);
4277   return s;
4278 }
4279
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4281    function prototypes and stuff, but not '\xHH' hex character constants.
4282    These don't provoke an error unfortunately, instead are silently treated
4283    as 'x'.  The following induces an error, until -std is added to get
4284    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4285    array size at least.  It's necessary to write '\x00'==0 to get something
4286    that's true only with -std.  */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290    inside strings and character constants.  */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4300 int
4301 main ()
4302 {
4303 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4304   ;
4305   return 0;
4306 }
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 do
4311   CC="$ac_save_CC $ac_arg"
4312   if ac_fn_c_try_compile "$LINENO"; then :
4313   ac_cv_prog_cc_c89=$ac_arg
4314 fi
4315 rm -f core conftest.err conftest.$ac_objext
4316   test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4320
4321 fi
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4324   x)
4325     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327   xno)
4328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4330   *)
4331     CC="$CC $ac_cv_prog_cc_c89"
4332     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336
4337 fi
4338
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351   if test -n "$CCC"; then
4352     CXX=$CCC
4353   else
4354     if test -n "$ac_tool_prefix"; then
4355   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356   do
4357     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362   $as_echo_n "(cached) " >&6
4363 else
4364   if test -n "$CXX"; then
4365   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370   IFS=$as_save_IFS
4371   test -z "$as_dir" && as_dir=.
4372     for ac_exec_ext in '' $ac_executable_extensions; do
4373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376     break 2
4377   fi
4378 done
4379   done
4380 IFS=$as_save_IFS
4381
4382 fi
4383 fi
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394     test -n "$CXX" && break
4395   done
4396 fi
4397 if test -z "$CXX"; then
4398   ac_ct_CXX=$CXX
4399   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 do
4401   # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406   $as_echo_n "(cached) " >&6
4407 else
4408   if test -n "$ac_ct_CXX"; then
4409   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4413 do
4414   IFS=$as_save_IFS
4415   test -z "$as_dir" && as_dir=.
4416     for ac_exec_ext in '' $ac_executable_extensions; do
4417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418     ac_cv_prog_ac_ct_CXX="$ac_prog"
4419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420     break 2
4421   fi
4422 done
4423   done
4424 IFS=$as_save_IFS
4425
4426 fi
4427 fi
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436
4437
4438   test -n "$ac_ct_CXX" && break
4439 done
4440
4441   if test "x$ac_ct_CXX" = x; then
4442     CXX="g++"
4443   else
4444     case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450     CXX=$ac_ct_CXX
4451   fi
4452 fi
4453
4454   fi
4455 fi
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461   { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464   *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469   ac_status=$?
4470   if test -s conftest.err; then
4471     sed '10a\
4472 ... rest of stderr output deleted ...
4473          10q' conftest.err >conftest.er1
4474     cat conftest.er1 >&5
4475     rm -f conftest.er1 conftest.err
4476   fi
4477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478   test $ac_status = 0; }
4479 done
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484   $as_echo_n "(cached) " >&6
4485 else
4486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h.  */
4488
4489 int
4490 main ()
4491 {
4492 #ifndef __GNUC__
4493        choke me
4494 #endif
4495
4496   ;
4497   return 0;
4498 }
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501   ac_compiler_gnu=yes
4502 else
4503   ac_compiler_gnu=no
4504 fi
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4507
4508 fi
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512   GXX=yes
4513 else
4514   GXX=
4515 fi
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521   $as_echo_n "(cached) " >&6
4522 else
4523   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524    ac_cxx_werror_flag=yes
4525    ac_cv_prog_cxx_g=no
4526    CXXFLAGS="-g"
4527    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h.  */
4529
4530 int
4531 main ()
4532 {
4533
4534   ;
4535   return 0;
4536 }
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539   ac_cv_prog_cxx_g=yes
4540 else
4541   CXXFLAGS=""
4542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h.  */
4544
4545 int
4546 main ()
4547 {
4548
4549   ;
4550   return 0;
4551 }
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554
4555 else
4556   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557          CXXFLAGS="-g"
4558          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h.  */
4560
4561 int
4562 main ()
4563 {
4564
4565   ;
4566   return 0;
4567 }
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570   ac_cv_prog_cxx_g=yes
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 fi
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 fi
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 fi
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582   CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584   if test "$GXX" = yes; then
4585     CXXFLAGS="-g -O2"
4586   else
4587     CXXFLAGS="-g"
4588   fi
4589 else
4590   if test "$GXX" = yes; then
4591     CXXFLAGS="-O2"
4592   else
4593     CXXFLAGS=
4594   fi
4595 fi
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601
4602 CXXFLAGS="$save_CXXFLAGS"
4603
4604 # Runs configure.host, and assorted other critical bits.  Sets
4605 # up critical shell variables.
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616   CPP=
4617 fi
4618 if test -z "$CPP"; then
4619   if test "${ac_cv_prog_CPP+set}" = set; then :
4620   $as_echo_n "(cached) " >&6
4621 else
4622       # Double quotes because CPP needs to be expanded
4623     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4624     do
4625       ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4627 do
4628   # Use a header file that comes with gcc, so configuring glibc
4629   # with a fresh cross-compiler works.
4630   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631   # <limits.h> exists even on freestanding compilers.
4632   # On the NeXT, cc -E runs the code through the compiler's parser,
4633   # not just through cpp. "Syntax error" is here to catch this case.
4634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h.  */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641                      Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644
4645 else
4646   # Broken: fails on valid input.
4647 continue
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650
4651   # OK, works on sane cases.  Now check whether nonexistent headers
4652   # can be detected and how.
4653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h.  */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658   # Broken: success on invalid input.
4659 continue
4660 else
4661   # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4664 fi
4665 rm -f conftest.err conftest.$ac_ext
4666
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671   break
4672 fi
4673
4674     done
4675     ac_cv_prog_CPP=$CPP
4676
4677 fi
4678   CPP=$ac_cv_prog_CPP
4679 else
4680   ac_cv_prog_CPP=$CPP
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4686 do
4687   # Use a header file that comes with gcc, so configuring glibc
4688   # with a fresh cross-compiler works.
4689   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690   # <limits.h> exists even on freestanding compilers.
4691   # On the NeXT, cc -E runs the code through the compiler's parser,
4692   # not just through cpp. "Syntax error" is here to catch this case.
4693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h.  */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700                      Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703
4704 else
4705   # Broken: fails on valid input.
4706 continue
4707 fi
4708 rm -f conftest.err conftest.$ac_ext
4709
4710   # OK, works on sane cases.  Now check whether nonexistent headers
4711   # can be detected and how.
4712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h.  */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717   # Broken: success on invalid input.
4718 continue
4719 else
4720   # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4730
4731 else
4732   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4736 fi
4737
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743
4744
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748   $as_echo_n "(cached) " >&6
4749 else
4750   if test -z "$GREP"; then
4751   ac_path_GREP_found=false
4752   # Loop through the user's path and test for each of PROGNAME-LIST
4753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4755 do
4756   IFS=$as_save_IFS
4757   test -z "$as_dir" && as_dir=.
4758     for ac_prog in grep ggrep; do
4759     for ac_exec_ext in '' $ac_executable_extensions; do
4760       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763   # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4767 *)
4768   ac_count=0
4769   $as_echo_n 0123456789 >"conftest.in"
4770   while :
4771   do
4772     cat "conftest.in" "conftest.in" >"conftest.tmp"
4773     mv "conftest.tmp" "conftest.in"
4774     cp "conftest.in" "conftest.nl"
4775     $as_echo 'GREP' >> "conftest.nl"
4776     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778     as_fn_arith $ac_count + 1 && ac_count=$as_val
4779     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780       # Best one so far, save it but keep looking for a better one
4781       ac_cv_path_GREP="$ac_path_GREP"
4782       ac_path_GREP_max=$ac_count
4783     fi
4784     # 10*(2^10) chars as input seems more than enough
4785     test $ac_count -gt 10 && break
4786   done
4787   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4789
4790       $ac_path_GREP_found && break 3
4791     done
4792   done
4793   done
4794 IFS=$as_save_IFS
4795   if test -z "$ac_cv_path_GREP"; then
4796     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797   fi
4798 else
4799   ac_cv_path_GREP=$GREP
4800 fi
4801
4802 fi
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805  GREP="$ac_cv_path_GREP"
4806
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811   $as_echo_n "(cached) " >&6
4812 else
4813   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814    then ac_cv_path_EGREP="$GREP -E"
4815    else
4816      if test -z "$EGREP"; then
4817   ac_path_EGREP_found=false
4818   # Loop through the user's path and test for each of PROGNAME-LIST
4819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 do
4822   IFS=$as_save_IFS
4823   test -z "$as_dir" && as_dir=.
4824     for ac_prog in egrep; do
4825     for ac_exec_ext in '' $ac_executable_extensions; do
4826       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829   # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4833 *)
4834   ac_count=0
4835   $as_echo_n 0123456789 >"conftest.in"
4836   while :
4837   do
4838     cat "conftest.in" "conftest.in" >"conftest.tmp"
4839     mv "conftest.tmp" "conftest.in"
4840     cp "conftest.in" "conftest.nl"
4841     $as_echo 'EGREP' >> "conftest.nl"
4842     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844     as_fn_arith $ac_count + 1 && ac_count=$as_val
4845     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846       # Best one so far, save it but keep looking for a better one
4847       ac_cv_path_EGREP="$ac_path_EGREP"
4848       ac_path_EGREP_max=$ac_count
4849     fi
4850     # 10*(2^10) chars as input seems more than enough
4851     test $ac_count -gt 10 && break
4852   done
4853   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4855
4856       $ac_path_EGREP_found && break 3
4857     done
4858   done
4859   done
4860 IFS=$as_save_IFS
4861   if test -z "$ac_cv_path_EGREP"; then
4862     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863   fi
4864 else
4865   ac_cv_path_EGREP=$EGREP
4866 fi
4867
4868    fi
4869 fi
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872  EGREP="$ac_cv_path_EGREP"
4873
4874
4875
4876   # Keep these sync'd with the list in Makefile.am.  The first provides an
4877   # expandable list at autoconf time; the second provides an expandable list
4878   # (i.e., shell variable) at configure time.
4879
4880   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4881
4882   # These need to be absolute paths, yet at the same time need to
4883   # canonicalize only relative paths, because then amd will not unmount
4884   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885   glibcxx_builddir=`${PWDCMD-pwd}`
4886   case $srcdir in
4887     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889   esac
4890   toplevel_builddir=${glibcxx_builddir}/..
4891   toplevel_srcdir=${glibcxx_srcdir}/..
4892
4893
4894
4895
4896
4897   # We use these options to decide which functions to include.  They are
4898   # set from the top level.
4899
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902   withval=$with_target_subdir;
4903 fi
4904
4905
4906
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909   withval=$with_cross_host;
4910 fi
4911
4912
4913
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916   withval=$with_newlib;
4917 fi
4918
4919
4920   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921   # available).  Uncomment the next line to force a particular method.
4922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4931 fi
4932
4933   #LN_S='cp -p'
4934
4935   if test -n "$ac_tool_prefix"; then
4936   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941   $as_echo_n "(cached) " >&6
4942 else
4943   if test -n "$AS"; then
4944   ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4948 do
4949   IFS=$as_save_IFS
4950   test -z "$as_dir" && as_dir=.
4951     for ac_exec_ext in '' $ac_executable_extensions; do
4952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953     ac_cv_prog_AS="${ac_tool_prefix}as"
4954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955     break 2
4956   fi
4957 done
4958   done
4959 IFS=$as_save_IFS
4960
4961 fi
4962 fi
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 fi
4971
4972
4973 fi
4974 if test -z "$ac_cv_prog_AS"; then
4975   ac_ct_AS=$AS
4976   # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981   $as_echo_n "(cached) " >&6
4982 else
4983   if test -n "$ac_ct_AS"; then
4984   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989   IFS=$as_save_IFS
4990   test -z "$as_dir" && as_dir=.
4991     for ac_exec_ext in '' $ac_executable_extensions; do
4992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993     ac_cv_prog_ac_ct_AS="as"
4994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995     break 2
4996   fi
4997 done
4998   done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012   if test "x$ac_ct_AS" = x; then
5013     AS=""
5014   else
5015     case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021     AS=$ac_ct_AS
5022   fi
5023 else
5024   AS="$ac_cv_prog_AS"
5025 fi
5026
5027   if test -n "$ac_tool_prefix"; then
5028   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033   $as_echo_n "(cached) " >&6
5034 else
5035   if test -n "$AR"; then
5036   ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5040 do
5041   IFS=$as_save_IFS
5042   test -z "$as_dir" && as_dir=.
5043     for ac_exec_ext in '' $ac_executable_extensions; do
5044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045     ac_cv_prog_AR="${ac_tool_prefix}ar"
5046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047     break 2
5048   fi
5049 done
5050   done
5051 IFS=$as_save_IFS
5052
5053 fi
5054 fi
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5062 fi
5063
5064
5065 fi
5066 if test -z "$ac_cv_prog_AR"; then
5067   ac_ct_AR=$AR
5068   # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073   $as_echo_n "(cached) " >&6
5074 else
5075   if test -n "$ac_ct_AR"; then
5076   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081   IFS=$as_save_IFS
5082   test -z "$as_dir" && as_dir=.
5083     for ac_exec_ext in '' $ac_executable_extensions; do
5084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085     ac_cv_prog_ac_ct_AR="ar"
5086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087     break 2
5088   fi
5089 done
5090   done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104   if test "x$ac_ct_AR" = x; then
5105     AR=""
5106   else
5107     case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113     AR=$ac_ct_AR
5114   fi
5115 else
5116   AR="$ac_cv_prog_AR"
5117 fi
5118
5119   if test -n "$ac_tool_prefix"; then
5120   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125   $as_echo_n "(cached) " >&6
5126 else
5127   if test -n "$RANLIB"; then
5128   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5132 do
5133   IFS=$as_save_IFS
5134   test -z "$as_dir" && as_dir=.
5135     for ac_exec_ext in '' $ac_executable_extensions; do
5136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139     break 2
5140   fi
5141 done
5142   done
5143 IFS=$as_save_IFS
5144
5145 fi
5146 fi
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 fi
5155
5156
5157 fi
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159   ac_ct_RANLIB=$RANLIB
5160   # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165   $as_echo_n "(cached) " >&6
5166 else
5167   if test -n "$ac_ct_RANLIB"; then
5168   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173   IFS=$as_save_IFS
5174   test -z "$as_dir" && as_dir=.
5175     for ac_exec_ext in '' $ac_executable_extensions; do
5176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177     ac_cv_prog_ac_ct_RANLIB="ranlib"
5178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179     break 2
5180   fi
5181 done
5182   done
5183 IFS=$as_save_IFS
5184
5185 fi
5186 fi
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196   if test "x$ac_ct_RANLIB" = x; then
5197     RANLIB="ranlib-not-found-in-path-error"
5198   else
5199     case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205     RANLIB=$ac_ct_RANLIB
5206   fi
5207 else
5208   RANLIB="$ac_cv_prog_RANLIB"
5209 fi
5210
5211
5212
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215     # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219   USE_MAINTAINER_MODE=no
5220 fi
5221
5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224    if test $USE_MAINTAINER_MODE = yes; then
5225   MAINTAINER_MODE_TRUE=
5226   MAINTAINER_MODE_FALSE='#'
5227 else
5228   MAINTAINER_MODE_TRUE='#'
5229   MAINTAINER_MODE_FALSE=
5230 fi
5231
5232   MAINT=$MAINTAINER_MODE_TRUE
5233
5234
5235
5236   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237   # which are themselves conditionally expanded.
5238   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239   ## other macros from doing the same.  This should be automated.)  -pme
5240
5241   # Check for C library flavor since GNU/Linux platforms use different
5242   # configuration directories depending on the C library in use.
5243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h.  */
5245
5246   #include <stdio.h>
5247   #if __UCLIBC__
5248     _using_uclibc
5249   #endif
5250
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254   uclibc=yes
5255 else
5256   uclibc=no
5257 fi
5258 rm -f conftest*
5259
5260
5261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h.  */
5263
5264   #include <stdio.h>
5265   #if __BIONIC__
5266     _using_bionic
5267   #endif
5268
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272   bionic=yes
5273 else
5274   bionic=no
5275 fi
5276 rm -f conftest*
5277
5278
5279   # Find platform-specific directories containing configuration info.
5280   # Also possibly modify flags used elsewhere, as needed by the platform.
5281
5282   . $glibcxx_srcdir/configure.host
5283   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5287
5288
5289
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292   enable_dlopen=yes
5293
5294
5295
5296 fi
5297 case `pwd` in
5298   *\ * | *\     *)
5299     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5302
5303
5304
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320 ltmain="$ac_aux_dir/ltmain.sh"
5321
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5325
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5328
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5332
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5335
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5338
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5342
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348   ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350   ECHO='printf %s\n'
5351 else
5352   # Use this function as a fallback that always works.
5353   func_fallback_echo ()
5354   {
5355     eval 'cat <<_LTECHO_EOF
5356 $1
5357 _LTECHO_EOF'
5358   }
5359   ECHO='func_fallback_echo'
5360 fi
5361
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5365 {
5366     $ECHO ""
5367 }
5368
5369 case "$ECHO" in
5370   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394   $as_echo_n "(cached) " >&6
5395 else
5396             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397      for ac_i in 1 2 3 4 5 6 7; do
5398        ac_script="$ac_script$as_nl$ac_script"
5399      done
5400      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401      { ac_script=; unset ac_script;}
5402      if test -z "$SED"; then
5403   ac_path_SED_found=false
5404   # Loop through the user's path and test for each of PROGNAME-LIST
5405   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5407 do
5408   IFS=$as_save_IFS
5409   test -z "$as_dir" && as_dir=.
5410     for ac_prog in sed gsed; do
5411     for ac_exec_ext in '' $ac_executable_extensions; do
5412       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415   # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5419 *)
5420   ac_count=0
5421   $as_echo_n 0123456789 >"conftest.in"
5422   while :
5423   do
5424     cat "conftest.in" "conftest.in" >"conftest.tmp"
5425     mv "conftest.tmp" "conftest.in"
5426     cp "conftest.in" "conftest.nl"
5427     $as_echo '' >> "conftest.nl"
5428     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430     as_fn_arith $ac_count + 1 && ac_count=$as_val
5431     if test $ac_count -gt ${ac_path_SED_max-0}; then
5432       # Best one so far, save it but keep looking for a better one
5433       ac_cv_path_SED="$ac_path_SED"
5434       ac_path_SED_max=$ac_count
5435     fi
5436     # 10*(2^10) chars as input seems more than enough
5437     test $ac_count -gt 10 && break
5438   done
5439   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5441
5442       $ac_path_SED_found && break 3
5443     done
5444   done
5445   done
5446 IFS=$as_save_IFS
5447   if test -z "$ac_cv_path_SED"; then
5448     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5449   fi
5450 else
5451   ac_cv_path_SED=$SED
5452 fi
5453
5454 fi
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457  SED="$ac_cv_path_SED"
5458   rm -f conftest.sed
5459
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476   $as_echo_n "(cached) " >&6
5477 else
5478   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479    then ac_cv_path_FGREP="$GREP -F"
5480    else
5481      if test -z "$FGREP"; then
5482   ac_path_FGREP_found=false
5483   # Loop through the user's path and test for each of PROGNAME-LIST
5484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486 do
5487   IFS=$as_save_IFS
5488   test -z "$as_dir" && as_dir=.
5489     for ac_prog in fgrep; do
5490     for ac_exec_ext in '' $ac_executable_extensions; do
5491       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494   # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5498 *)
5499   ac_count=0
5500   $as_echo_n 0123456789 >"conftest.in"
5501   while :
5502   do
5503     cat "conftest.in" "conftest.in" >"conftest.tmp"
5504     mv "conftest.tmp" "conftest.in"
5505     cp "conftest.in" "conftest.nl"
5506     $as_echo 'FGREP' >> "conftest.nl"
5507     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509     as_fn_arith $ac_count + 1 && ac_count=$as_val
5510     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511       # Best one so far, save it but keep looking for a better one
5512       ac_cv_path_FGREP="$ac_path_FGREP"
5513       ac_path_FGREP_max=$ac_count
5514     fi
5515     # 10*(2^10) chars as input seems more than enough
5516     test $ac_count -gt 10 && break
5517   done
5518   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5520
5521       $ac_path_FGREP_found && break 3
5522     done
5523   done
5524   done
5525 IFS=$as_save_IFS
5526   if test -z "$ac_cv_path_FGREP"; then
5527     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528   fi
5529 else
5530   ac_cv_path_FGREP=$FGREP
5531 fi
5532
5533    fi
5534 fi
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537  FGREP="$ac_cv_path_FGREP"
5538
5539
5540 test -z "$GREP" && GREP=grep
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564   with_gnu_ld=no
5565 fi
5566
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569   # Check if gcc -print-prog-name=ld gives a path.
5570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572   case $host in
5573   *-*-mingw*)
5574     # gcc leaves a trailing carriage return which upsets mingw
5575     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5576   *)
5577     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578   esac
5579   case $ac_prog in
5580     # Accept absolute paths.
5581     [\\/]* | ?:[\\/]*)
5582       re_direlt='/[^/][^/]*/\.\./'
5583       # Canonicalize the pathname of ld
5584       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587       done
5588       test -z "$LD" && LD="$ac_prog"
5589       ;;
5590   "")
5591     # If it fails, then pretend we aren't using GCC.
5592     ac_prog=ld
5593     ;;
5594   *)
5595     # If it is relative, then search for the first ld in PATH.
5596     with_gnu_ld=unknown
5597     ;;
5598   esac
5599 elif test "$with_gnu_ld" = yes; then
5600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5605 fi
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607   $as_echo_n "(cached) " >&6
5608 else
5609   if test -z "$LD"; then
5610   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611   for ac_dir in $PATH; do
5612     IFS="$lt_save_ifs"
5613     test -z "$ac_dir" && ac_dir=.
5614     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615       lt_cv_path_LD="$ac_dir/$ac_prog"
5616       # Check to see if the program is GNU ld.  I'd rather use --version,
5617       # but apparently some variants of GNU ld only accept -v.
5618       # Break only if it was the GNU/non-GNU ld that we prefer.
5619       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620       *GNU* | *'with BFD'*)
5621         test "$with_gnu_ld" != no && break
5622         ;;
5623       *)
5624         test "$with_gnu_ld" != yes && break
5625         ;;
5626       esac
5627     fi
5628   done
5629   IFS="$lt_save_ifs"
5630 else
5631   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5632 fi
5633 fi
5634
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5642 fi
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647   $as_echo_n "(cached) " >&6
5648 else
5649   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652   lt_cv_prog_gnu_ld=yes
5653   ;;
5654 *)
5655   lt_cv_prog_gnu_ld=no
5656   ;;
5657 esac
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674   $as_echo_n "(cached) " >&6
5675 else
5676   if test -n "$NM"; then
5677   # Let the user override the test.
5678   lt_cv_path_NM="$NM"
5679 else
5680   lt_nm_to_check="${ac_tool_prefix}nm"
5681   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682     lt_nm_to_check="$lt_nm_to_check nm"
5683   fi
5684   for lt_tmp_nm in $lt_nm_to_check; do
5685     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687       IFS="$lt_save_ifs"
5688       test -z "$ac_dir" && ac_dir=.
5689       tmp_nm="$ac_dir/$lt_tmp_nm"
5690       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691         # Check to see if the nm accepts a BSD-compat flag.
5692         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693         #   nm: unknown option "B" ignored
5694         # Tru64's nm complains that /dev/null is an invalid object file
5695         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696         */dev/null* | *'Invalid file or object type'*)
5697           lt_cv_path_NM="$tmp_nm -B"
5698           break
5699           ;;
5700         *)
5701           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702           */dev/null*)
5703             lt_cv_path_NM="$tmp_nm -p"
5704             break
5705             ;;
5706           *)
5707             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708             continue # so that we can try to find one that supports BSD flags
5709             ;;
5710           esac
5711           ;;
5712         esac
5713       fi
5714     done
5715     IFS="$lt_save_ifs"
5716   done
5717   : ${lt_cv_path_NM=no}
5718 fi
5719 fi
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723   NM="$lt_cv_path_NM"
5724 else
5725   # Didn't find any BSD compatible name lister, look for dumpbin.
5726   if test -n "$DUMPBIN"; then :
5727     # Let the user override the test.
5728   else
5729     if test -n "$ac_tool_prefix"; then
5730   for ac_prog in dumpbin "link -dump"
5731   do
5732     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737   $as_echo_n "(cached) " >&6
5738 else
5739   if test -n "$DUMPBIN"; then
5740   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5744 do
5745   IFS=$as_save_IFS
5746   test -z "$as_dir" && as_dir=.
5747     for ac_exec_ext in '' $ac_executable_extensions; do
5748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751     break 2
5752   fi
5753 done
5754   done
5755 IFS=$as_save_IFS
5756
5757 fi
5758 fi
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5766 fi
5767
5768
5769     test -n "$DUMPBIN" && break
5770   done
5771 fi
5772 if test -z "$DUMPBIN"; then
5773   ac_ct_DUMPBIN=$DUMPBIN
5774   for ac_prog in dumpbin "link -dump"
5775 do
5776   # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781   $as_echo_n "(cached) " >&6
5782 else
5783   if test -n "$ac_ct_DUMPBIN"; then
5784   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5788 do
5789   IFS=$as_save_IFS
5790   test -z "$as_dir" && as_dir=.
5791     for ac_exec_ext in '' $ac_executable_extensions; do
5792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795     break 2
5796   fi
5797 done
5798   done
5799 IFS=$as_save_IFS
5800
5801 fi
5802 fi
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5810 fi
5811
5812
5813   test -n "$ac_ct_DUMPBIN" && break
5814 done
5815
5816   if test "x$ac_ct_DUMPBIN" = x; then
5817     DUMPBIN=":"
5818   else
5819     case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825     DUMPBIN=$ac_ct_DUMPBIN
5826   fi
5827 fi
5828
5829     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830     *COFF*)
5831       DUMPBIN="$DUMPBIN -symbols"
5832       ;;
5833     *)
5834       DUMPBIN=:
5835       ;;
5836     esac
5837   fi
5838
5839   if test "$DUMPBIN" != ":"; then
5840     NM="$DUMPBIN"
5841   fi
5842 fi
5843 test -z "$NM" && NM=nm
5844
5845
5846
5847
5848
5849
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853   $as_echo_n "(cached) " >&6
5854 else
5855   lt_cv_nm_interface="BSD nm"
5856   echo "int some_variable = 0;" > conftest.$ac_ext
5857   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858   (eval "$ac_compile" 2>conftest.err)
5859   cat conftest.err >&5
5860   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862   cat conftest.err >&5
5863   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864   cat conftest.out >&5
5865   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866     lt_cv_nm_interface="MS dumpbin"
5867   fi
5868   rm -f conftest*
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5872
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877   $as_echo_n "(cached) " >&6
5878 else
5879     i=0
5880   teststring="ABCD"
5881
5882   case $build_os in
5883   msdosdjgpp*)
5884     # On DJGPP, this test can blow up pretty badly due to problems in libc
5885     # (any single argument exceeding 2000 bytes causes a buffer overrun
5886     # during glob expansion).  Even if it were fixed, the result of this
5887     # check would be larger than it should be.
5888     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5889     ;;
5890
5891   gnu*)
5892     # Under GNU Hurd, this test is not required because there is
5893     # no limit to the length of command line arguments.
5894     # Libtool will interpret -1 as no limit whatsoever
5895     lt_cv_sys_max_cmd_len=-1;
5896     ;;
5897
5898   cygwin* | mingw* | cegcc*)
5899     # On Win9x/ME, this test blows up -- it succeeds, but takes
5900     # about 5 minutes as the teststring grows exponentially.
5901     # Worse, since 9x/ME are not pre-emptively multitasking,
5902     # you end up with a "frozen" computer, even though with patience
5903     # the test eventually succeeds (with a max line length of 256k).
5904     # Instead, let's just punt: use the minimum linelength reported by
5905     # all of the supported platforms: 8192 (on NT/2K/XP).
5906     lt_cv_sys_max_cmd_len=8192;
5907     ;;
5908
5909   mint*)
5910     # On MiNT this can take a long time and run out of memory.
5911     lt_cv_sys_max_cmd_len=8192;
5912     ;;
5913
5914   amigaos*)
5915     # On AmigaOS with pdksh, this test takes hours, literally.
5916     # So we just punt and use a minimum line length of 8192.
5917     lt_cv_sys_max_cmd_len=8192;
5918     ;;
5919
5920   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921     # This has been around since 386BSD, at least.  Likely further.
5922     if test -x /sbin/sysctl; then
5923       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924     elif test -x /usr/sbin/sysctl; then
5925       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926     else
5927       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5928     fi
5929     # And add a safety zone
5930     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5932     ;;
5933
5934   interix*)
5935     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936     lt_cv_sys_max_cmd_len=196608
5937     ;;
5938
5939   osf*)
5940     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942     # nice to cause kernel panics so lets avoid the loop below.
5943     # First set a reasonable default.
5944     lt_cv_sys_max_cmd_len=16384
5945     #
5946     if test -x /sbin/sysconfig; then
5947       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949       esac
5950     fi
5951     ;;
5952   sco3.2v5*)
5953     lt_cv_sys_max_cmd_len=102400
5954     ;;
5955   sysv5* | sco5v6* | sysv4.2uw2*)
5956     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957     if test -n "$kargmax"; then
5958       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5959     else
5960       lt_cv_sys_max_cmd_len=32768
5961     fi
5962     ;;
5963   *)
5964     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965     if test -n "$lt_cv_sys_max_cmd_len"; then
5966       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968     else
5969       # Make teststring a little bigger before we do anything with it.
5970       # a 1K string should be a reasonable start.
5971       for i in 1 2 3 4 5 6 7 8 ; do
5972         teststring=$teststring$teststring
5973       done
5974       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975       # If test is not a shell built-in, we'll probably end up computing a
5976       # maximum length that is only half of the actual maximum length, but
5977       # we can't tell.
5978       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980               test $i != 17 # 1/2 MB should be enough
5981       do
5982         i=`expr $i + 1`
5983         teststring=$teststring$teststring
5984       done
5985       # Only check the string length outside the loop.
5986       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987       teststring=
5988       # Add a significant safety factor because C++ compilers can tack on
5989       # massive amounts of additional arguments before passing them to the
5990       # linker.  It appears as though 1/2 is a usable value.
5991       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5992     fi
5993     ;;
5994   esac
5995
5996 fi
5997
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6004 fi
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6006
6007
6008
6009
6010
6011
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6015
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022       = c,a/b,, \
6023     && eval 'test $(( 1 + 1 )) -eq 2 \
6024     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025   && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6028
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034     >/dev/null 2>&1 \
6035   && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6038
6039
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041   lt_unset=unset
6042 else
6043   lt_unset=false
6044 fi
6045
6046
6047
6048
6049
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052  A) # ASCII based system
6053     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054   lt_SP2NL='tr \040 \012'
6055   lt_NL2SP='tr \015\012 \040\040'
6056   ;;
6057  *) # EBCDIC based system
6058   lt_SP2NL='tr \100 \n'
6059   lt_NL2SP='tr \r\n \100\100'
6060   ;;
6061 esac
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074   $as_echo_n "(cached) " >&6
6075 else
6076   lt_cv_ld_reload_flag='-r'
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087   darwin*)
6088     if test "$GCC" = yes; then
6089       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090     else
6091       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6092     fi
6093     ;;
6094 esac
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104 if test -n "$ac_tool_prefix"; then
6105   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110   $as_echo_n "(cached) " >&6
6111 else
6112   if test -n "$OBJDUMP"; then
6113   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6117 do
6118   IFS=$as_save_IFS
6119   test -z "$as_dir" && as_dir=.
6120     for ac_exec_ext in '' $ac_executable_extensions; do
6121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124     break 2
6125   fi
6126 done
6127   done
6128 IFS=$as_save_IFS
6129
6130 fi
6131 fi
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6139 fi
6140
6141
6142 fi
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144   ac_ct_OBJDUMP=$OBJDUMP
6145   # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150   $as_echo_n "(cached) " >&6
6151 else
6152   if test -n "$ac_ct_OBJDUMP"; then
6153   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158   IFS=$as_save_IFS
6159   test -z "$as_dir" && as_dir=.
6160     for ac_exec_ext in '' $ac_executable_extensions; do
6161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164     break 2
6165   fi
6166 done
6167   done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181   if test "x$ac_ct_OBJDUMP" = x; then
6182     OBJDUMP="false"
6183   else
6184     case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190     OBJDUMP=$ac_ct_OBJDUMP
6191   fi
6192 else
6193   OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 fi
6195
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209   $as_echo_n "(cached) " >&6
6210 else
6211   lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6224
6225 case $host_os in
6226 aix[4-9]*)
6227   lt_cv_deplibs_check_method=pass_all
6228   ;;
6229
6230 beos*)
6231   lt_cv_deplibs_check_method=pass_all
6232   ;;
6233
6234 bsdi[45]*)
6235   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236   lt_cv_file_magic_cmd='/usr/bin/file -L'
6237   lt_cv_file_magic_test_file=/shlib/libc.so
6238   ;;
6239
6240 cygwin*)
6241   # func_win32_libid is a shell function defined in ltmain.sh
6242   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243   lt_cv_file_magic_cmd='func_win32_libid'
6244   ;;
6245
6246 mingw* | pw32*)
6247   # Base MSYS/MinGW do not provide the 'file' command needed by
6248   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249   # unless we find 'file', for example because we are cross-compiling.
6250   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253     lt_cv_file_magic_cmd='func_win32_libid'
6254   else
6255     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256     lt_cv_file_magic_cmd='$OBJDUMP -f'
6257   fi
6258   ;;
6259
6260 cegcc*)
6261   # use the weaker test based on 'objdump'. See mingw*.
6262   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263   lt_cv_file_magic_cmd='$OBJDUMP -f'
6264   ;;
6265
6266 darwin* | rhapsody*)
6267   lt_cv_deplibs_check_method=pass_all
6268   ;;
6269
6270 freebsd* | dragonfly*)
6271   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272     case $host_cpu in
6273     i*86 )
6274       # Not sure whether the presence of OpenBSD here was a mistake.
6275       # Let's accept both of them until this is cleared up.
6276       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277       lt_cv_file_magic_cmd=/usr/bin/file
6278       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279       ;;
6280     esac
6281   else
6282     lt_cv_deplibs_check_method=pass_all
6283   fi
6284   ;;
6285
6286 gnu*)
6287   lt_cv_deplibs_check_method=pass_all
6288   ;;
6289
6290 haiku*)
6291   lt_cv_deplibs_check_method=pass_all
6292   ;;
6293
6294 hpux10.20* | hpux11*)
6295   lt_cv_file_magic_cmd=/usr/bin/file
6296   case $host_cpu in
6297   ia64*)
6298     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300     ;;
6301   hppa*64*)
6302     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]'
6303     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6304     ;;
6305   *)
6306     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308     ;;
6309   esac
6310   ;;
6311
6312 interix[3-9]*)
6313   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6315   ;;
6316
6317 irix5* | irix6* | nonstopux*)
6318   case $LD in
6319   *-32|*"-32 ") libmagic=32-bit;;
6320   *-n32|*"-n32 ") libmagic=N32;;
6321   *-64|*"-64 ") libmagic=64-bit;;
6322   *) libmagic=never-match;;
6323   esac
6324   lt_cv_deplibs_check_method=pass_all
6325   ;;
6326
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329   lt_cv_deplibs_check_method=pass_all
6330   ;;
6331
6332 netbsd*)
6333   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335   else
6336     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6337   fi
6338   ;;
6339
6340 newos6*)
6341   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342   lt_cv_file_magic_cmd=/usr/bin/file
6343   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6344   ;;
6345
6346 *nto* | *qnx*)
6347   lt_cv_deplibs_check_method=pass_all
6348   ;;
6349
6350 openbsd*)
6351   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353   else
6354     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355   fi
6356   ;;
6357
6358 osf3* | osf4* | osf5*)
6359   lt_cv_deplibs_check_method=pass_all
6360   ;;
6361
6362 rdos*)
6363   lt_cv_deplibs_check_method=pass_all
6364   ;;
6365
6366 solaris*)
6367   lt_cv_deplibs_check_method=pass_all
6368   ;;
6369
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371   lt_cv_deplibs_check_method=pass_all
6372   ;;
6373
6374 sysv4 | sysv4.3*)
6375   case $host_vendor in
6376   motorola)
6377     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]'
6378     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379     ;;
6380   ncr)
6381     lt_cv_deplibs_check_method=pass_all
6382     ;;
6383   sequent)
6384     lt_cv_file_magic_cmd='/bin/file'
6385     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386     ;;
6387   sni)
6388     lt_cv_file_magic_cmd='/bin/file'
6389     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390     lt_cv_file_magic_test_file=/lib/libc.so
6391     ;;
6392   siemens)
6393     lt_cv_deplibs_check_method=pass_all
6394     ;;
6395   pc)
6396     lt_cv_deplibs_check_method=pass_all
6397     ;;
6398   esac
6399   ;;
6400
6401 tpf*)
6402   lt_cv_deplibs_check_method=pass_all
6403   ;;
6404 esac
6405
6406 fi
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424 if test -n "$ac_tool_prefix"; then
6425   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430   $as_echo_n "(cached) " >&6
6431 else
6432   if test -n "$AR"; then
6433   ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6437 do
6438   IFS=$as_save_IFS
6439   test -z "$as_dir" && as_dir=.
6440     for ac_exec_ext in '' $ac_executable_extensions; do
6441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442     ac_cv_prog_AR="${ac_tool_prefix}ar"
6443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444     break 2
6445   fi
6446 done
6447   done
6448 IFS=$as_save_IFS
6449
6450 fi
6451 fi
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6459 fi
6460
6461
6462 fi
6463 if test -z "$ac_cv_prog_AR"; then
6464   ac_ct_AR=$AR
6465   # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470   $as_echo_n "(cached) " >&6
6471 else
6472   if test -n "$ac_ct_AR"; then
6473   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6477 do
6478   IFS=$as_save_IFS
6479   test -z "$as_dir" && as_dir=.
6480     for ac_exec_ext in '' $ac_executable_extensions; do
6481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482     ac_cv_prog_ac_ct_AR="ar"
6483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484     break 2
6485   fi
6486 done
6487   done
6488 IFS=$as_save_IFS
6489
6490 fi
6491 fi
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6499 fi
6500
6501   if test "x$ac_ct_AR" = x; then
6502     AR="false"
6503   else
6504     case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510     AR=$ac_ct_AR
6511   fi
6512 else
6513   AR="$ac_cv_prog_AR"
6514 fi
6515
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529 if test -n "$ac_tool_prefix"; then
6530   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535   $as_echo_n "(cached) " >&6
6536 else
6537   if test -n "$STRIP"; then
6538   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6542 do
6543   IFS=$as_save_IFS
6544   test -z "$as_dir" && as_dir=.
6545     for ac_exec_ext in '' $ac_executable_extensions; do
6546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549     break 2
6550   fi
6551 done
6552   done
6553 IFS=$as_save_IFS
6554
6555 fi
6556 fi
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6564 fi
6565
6566
6567 fi
6568 if test -z "$ac_cv_prog_STRIP"; then
6569   ac_ct_STRIP=$STRIP
6570   # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575   $as_echo_n "(cached) " >&6
6576 else
6577   if test -n "$ac_ct_STRIP"; then
6578   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583   IFS=$as_save_IFS
6584   test -z "$as_dir" && as_dir=.
6585     for ac_exec_ext in '' $ac_executable_extensions; do
6586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587     ac_cv_prog_ac_ct_STRIP="strip"
6588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589     break 2
6590   fi
6591 done
6592   done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606   if test "x$ac_ct_STRIP" = x; then
6607     STRIP=":"
6608   else
6609     case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615     STRIP=$ac_ct_STRIP
6616   fi
6617 else
6618   STRIP="$ac_cv_prog_STRIP"
6619 fi
6620
6621 test -z "$STRIP" && STRIP=:
6622
6623
6624
6625
6626
6627
6628 if test -n "$ac_tool_prefix"; then
6629   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634   $as_echo_n "(cached) " >&6
6635 else
6636   if test -n "$RANLIB"; then
6637   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642   IFS=$as_save_IFS
6643   test -z "$as_dir" && as_dir=.
6644     for ac_exec_ext in '' $ac_executable_extensions; do
6645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648     break 2
6649   fi
6650 done
6651   done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665
6666 fi
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668   ac_ct_RANLIB=$RANLIB
6669   # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674   $as_echo_n "(cached) " >&6
6675 else
6676   if test -n "$ac_ct_RANLIB"; then
6677   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6681 do
6682   IFS=$as_save_IFS
6683   test -z "$as_dir" && as_dir=.
6684     for ac_exec_ext in '' $ac_executable_extensions; do
6685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686     ac_cv_prog_ac_ct_RANLIB="ranlib"
6687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688     break 2
6689   fi
6690 done
6691   done
6692 IFS=$as_save_IFS
6693
6694 fi
6695 fi
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6703 fi
6704
6705   if test "x$ac_ct_RANLIB" = x; then
6706     RANLIB=":"
6707   else
6708     case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714     RANLIB=$ac_ct_RANLIB
6715   fi
6716 else
6717   RANLIB="$ac_cv_prog_RANLIB"
6718 fi
6719
6720 test -z "$RANLIB" && RANLIB=:
6721
6722
6723
6724
6725
6726
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6731
6732 if test -n "$RANLIB"; then
6733   case $host_os in
6734   openbsd*)
6735     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6736     ;;
6737   *)
6738     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6739     ;;
6740   esac
6741   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6742 fi
6743
6744 case $host_os in
6745   darwin*)
6746     lock_old_archive_extraction=yes ;;
6747   *)
6748     lock_old_archive_extraction=no ;;
6749 esac
6750
6751
6752
6753
6754
6755
6756
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 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6791
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6797
6798
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803   $as_echo_n "(cached) " >&6
6804 else
6805
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6808
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6811
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818   symcode='[BCDT]'
6819   ;;
6820 cygwin* | mingw* | pw32* | cegcc*)
6821   symcode='[ABCDGISTW]'
6822   ;;
6823 hpux*)
6824   if test "$host_cpu" = ia64; then
6825     symcode='[ABCDEGRST]'
6826   fi
6827   ;;
6828 irix* | nonstopux*)
6829   symcode='[BCDEGRST]'
6830   ;;
6831 osf*)
6832   symcode='[BCDEGQRST]'
6833   ;;
6834 solaris*)
6835   symcode='[BDRT]'
6836   ;;
6837 sco3.2v5*)
6838   symcode='[DT]'
6839   ;;
6840 sysv4.2uw2*)
6841   symcode='[DT]'
6842   ;;
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844   symcode='[ABDT]'
6845   ;;
6846 sysv4)
6847   symcode='[DFNSTU]'
6848   ;;
6849 esac
6850
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854   symcode='[ABCDGIRSTW]' ;;
6855 esac
6856
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6864 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'"
6865
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871   ;;
6872 esac
6873
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6876
6877   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878   symxfrm="\\1 $ac_symprfx\\2 \\2"
6879
6880   # Write the raw and C identifiers.
6881   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882     # Fake it for dumpbin and say T for any non-static function
6883     # and D for any global variable.
6884     # Also find C++ and __fastcall symbols from MSVC++,
6885     # which start with @ or ?.
6886     lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 "     {last_section=section; section=\$ 3};"\
6888 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 "     \$ 0!~/External *\|/{next};"\
6890 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 "     {if(hide[section]) next};"\
6892 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 "     ' prfx=^$ac_symprfx"
6897   else
6898     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899   fi
6900
6901   # Check to see that the pipe works correctly.
6902   pipe_works=no
6903
6904   rm -f conftest*
6905   cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6913 }
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6917
6918   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919   (eval $ac_compile) 2>&5
6920   ac_status=$?
6921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922   test $ac_status = 0; }; then
6923     # Now try to grab the symbols.
6924     nlist=conftest.nm
6925     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927   ac_status=$?
6928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929   test $ac_status = 0; } && test -s "$nlist"; then
6930       # Try sorting and uniquifying the output.
6931       if sort "$nlist" | uniq > "$nlist"T; then
6932         mv -f "$nlist"T "$nlist"
6933       else
6934         rm -f "$nlist"T
6935       fi
6936
6937       # Make sure that we snagged all the symbols we need.
6938       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940           cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6944
6945 _LT_EOF
6946           # Now generate the symbol file.
6947           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948
6949           cat <<_LT_EOF >> conftest.$ac_ext
6950
6951 /* The mapping between symbol names and symbols.  */
6952 const struct {
6953   const char *name;
6954   void       *address;
6955 }
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6957 {
6958   { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961           cat <<\_LT_EOF >> conftest.$ac_ext
6962   {0, (void *) 0}
6963 };
6964
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968   return lt__PROGRAM__LTX_preloaded_symbols;
6969 }
6970 #endif
6971
6972 #ifdef __cplusplus
6973 }
6974 #endif
6975 _LT_EOF
6976           # Now try linking the two files.
6977           mv conftest.$ac_objext conftstm.$ac_objext
6978           lt_save_LIBS="$LIBS"
6979           lt_save_CFLAGS="$CFLAGS"
6980           LIBS="conftstm.$ac_objext"
6981           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983   (eval $ac_link) 2>&5
6984   ac_status=$?
6985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987             pipe_works=yes
6988           fi
6989           LIBS="$lt_save_LIBS"
6990           CFLAGS="$lt_save_CFLAGS"
6991         else
6992           echo "cannot find nm_test_func in $nlist" >&5
6993         fi
6994       else
6995         echo "cannot find nm_test_var in $nlist" >&5
6996       fi
6997     else
6998       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6999     fi
7000   else
7001     echo "$progname: failed program was:" >&5
7002     cat conftest.$ac_ext >&5
7003   fi
7004   rm -rf conftest* conftst*
7005
7006   # Do not use the global_symbol_pipe unless it works.
7007   if test "$pipe_works" = yes; then
7008     break
7009   else
7010     lt_cv_sys_global_symbol_pipe=
7011   fi
7012 done
7013
7014 fi
7015
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017   lt_cv_sys_global_symbol_to_cdecl=
7018 fi
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7025 fi
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050   enableval=$enable_libtool_lock;
7051 fi
7052
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7054
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059   # Find out which ABI we are using.
7060   echo 'int i;' > conftest.$ac_ext
7061   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062   (eval $ac_compile) 2>&5
7063   ac_status=$?
7064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065   test $ac_status = 0; }; then
7066     case `/usr/bin/file conftest.$ac_objext` in
7067       *ELF-32*)
7068         HPUX_IA64_MODE="32"
7069         ;;
7070       *ELF-64*)
7071         HPUX_IA64_MODE="64"
7072         ;;
7073     esac
7074   fi
7075   rm -rf conftest*
7076   ;;
7077 *-*-irix6*)
7078   # Find out which ABI we are using.
7079   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081   (eval $ac_compile) 2>&5
7082   ac_status=$?
7083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084   test $ac_status = 0; }; then
7085     if test "$lt_cv_prog_gnu_ld" = yes; then
7086       case `/usr/bin/file conftest.$ac_objext` in
7087         *32-bit*)
7088           LD="${LD-ld} -melf32bsmip"
7089           ;;
7090         *N32*)
7091           LD="${LD-ld} -melf32bmipn32"
7092           ;;
7093         *64-bit*)
7094           LD="${LD-ld} -melf64bmip"
7095         ;;
7096       esac
7097     else
7098       case `/usr/bin/file conftest.$ac_objext` in
7099         *32-bit*)
7100           LD="${LD-ld} -32"
7101           ;;
7102         *N32*)
7103           LD="${LD-ld} -n32"
7104           ;;
7105         *64-bit*)
7106           LD="${LD-ld} -64"
7107           ;;
7108       esac
7109     fi
7110   fi
7111   rm -rf conftest*
7112   ;;
7113
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116   # Find out which ABI we are using.
7117   echo 'int i;' > conftest.$ac_ext
7118   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119   (eval $ac_compile) 2>&5
7120   ac_status=$?
7121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122   test $ac_status = 0; }; then
7123     case `/usr/bin/file conftest.o` in
7124       *32-bit*)
7125         case $host in
7126           x86_64-*kfreebsd*-gnu)
7127             LD="${LD-ld} -m elf_i386_fbsd"
7128             ;;
7129           x86_64-*linux*)
7130             case `/usr/bin/file conftest.o` in
7131               *x86-64*)
7132                 LD="${LD-ld} -m elf32_x86_64"
7133                 ;;
7134               *)
7135                 LD="${LD-ld} -m elf_i386"
7136                 ;;
7137             esac
7138             ;;
7139           powerpc64le-*linux*)
7140             LD="${LD-ld} -m elf32lppclinux"
7141             ;;
7142           powerpc64-*linux*)
7143             LD="${LD-ld} -m elf32ppclinux"
7144             ;;
7145           s390x-*linux*)
7146             LD="${LD-ld} -m elf_s390"
7147             ;;
7148           sparc64-*linux*)
7149             LD="${LD-ld} -m elf32_sparc"
7150             ;;
7151         esac
7152         ;;
7153       *64-bit*)
7154         case $host in
7155           x86_64-*kfreebsd*-gnu)
7156             LD="${LD-ld} -m elf_x86_64_fbsd"
7157             ;;
7158           x86_64-*linux*)
7159             LD="${LD-ld} -m elf_x86_64"
7160             ;;
7161           powerpcle-*linux*)
7162             LD="${LD-ld} -m elf64lppc"
7163             ;;
7164           powerpc-*linux*)
7165             LD="${LD-ld} -m elf64ppc"
7166             ;;
7167           s390*-*linux*|s390*-*tpf*)
7168             LD="${LD-ld} -m elf64_s390"
7169             ;;
7170           sparc*-*linux*)
7171             LD="${LD-ld} -m elf64_sparc"
7172             ;;
7173         esac
7174         ;;
7175     esac
7176   fi
7177   rm -rf conftest*
7178   ;;
7179
7180 *-*-sco3.2v5*)
7181   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7182   SAVE_CFLAGS="$CFLAGS"
7183   CFLAGS="$CFLAGS -belf"
7184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7185 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7186 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7187   $as_echo_n "(cached) " >&6
7188 else
7189   ac_ext=c
7190 ac_cpp='$CPP $CPPFLAGS'
7191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7194
7195      if test x$gcc_no_link = xyes; then
7196   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7197 fi
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h.  */
7200
7201 int
7202 main ()
7203 {
7204
7205   ;
7206   return 0;
7207 }
7208 _ACEOF
7209 if ac_fn_c_try_link "$LINENO"; then :
7210   lt_cv_cc_needs_belf=yes
7211 else
7212   lt_cv_cc_needs_belf=no
7213 fi
7214 rm -f core conftest.err conftest.$ac_objext \
7215     conftest$ac_exeext conftest.$ac_ext
7216      ac_ext=c
7217 ac_cpp='$CPP $CPPFLAGS'
7218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7221
7222 fi
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7224 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7225   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7226     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7227     CFLAGS="$SAVE_CFLAGS"
7228   fi
7229   ;;
7230 sparc*-*solaris*)
7231   # Find out which ABI we are using.
7232   echo 'int i;' > conftest.$ac_ext
7233   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7234   (eval $ac_compile) 2>&5
7235   ac_status=$?
7236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7237   test $ac_status = 0; }; then
7238     case `/usr/bin/file conftest.o` in
7239     *64-bit*)
7240       case $lt_cv_prog_gnu_ld in
7241       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7242       *)
7243         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7244           LD="${LD-ld} -64"
7245         fi
7246         ;;
7247       esac
7248       ;;
7249     esac
7250   fi
7251   rm -rf conftest*
7252   ;;
7253 esac
7254
7255 need_locks="$enable_libtool_lock"
7256
7257
7258   case $host_os in
7259     rhapsody* | darwin*)
7260     if test -n "$ac_tool_prefix"; then
7261   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7262 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7266   $as_echo_n "(cached) " >&6
7267 else
7268   if test -n "$DSYMUTIL"; then
7269   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7270 else
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 for as_dir in $PATH
7273 do
7274   IFS=$as_save_IFS
7275   test -z "$as_dir" && as_dir=.
7276     for ac_exec_ext in '' $ac_executable_extensions; do
7277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7278     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280     break 2
7281   fi
7282 done
7283   done
7284 IFS=$as_save_IFS
7285
7286 fi
7287 fi
7288 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7289 if test -n "$DSYMUTIL"; then
7290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7291 $as_echo "$DSYMUTIL" >&6; }
7292 else
7293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7295 fi
7296
7297
7298 fi
7299 if test -z "$ac_cv_prog_DSYMUTIL"; then
7300   ac_ct_DSYMUTIL=$DSYMUTIL
7301   # Extract the first word of "dsymutil", so it can be a program name with args.
7302 set dummy dsymutil; ac_word=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7306   $as_echo_n "(cached) " >&6
7307 else
7308   if test -n "$ac_ct_DSYMUTIL"; then
7309   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7310 else
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 for as_dir in $PATH
7313 do
7314   IFS=$as_save_IFS
7315   test -z "$as_dir" && as_dir=.
7316     for ac_exec_ext in '' $ac_executable_extensions; do
7317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7318     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320     break 2
7321   fi
7322 done
7323   done
7324 IFS=$as_save_IFS
7325
7326 fi
7327 fi
7328 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7329 if test -n "$ac_ct_DSYMUTIL"; then
7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7331 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7332 else
7333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7335 fi
7336
7337   if test "x$ac_ct_DSYMUTIL" = x; then
7338     DSYMUTIL=":"
7339   else
7340     case $cross_compiling:$ac_tool_warned in
7341 yes:)
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7344 ac_tool_warned=yes ;;
7345 esac
7346     DSYMUTIL=$ac_ct_DSYMUTIL
7347   fi
7348 else
7349   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7350 fi
7351
7352     if test -n "$ac_tool_prefix"; then
7353   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7354 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7358   $as_echo_n "(cached) " >&6
7359 else
7360   if test -n "$NMEDIT"; then
7361   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7362 else
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 for as_dir in $PATH
7365 do
7366   IFS=$as_save_IFS
7367   test -z "$as_dir" && as_dir=.
7368     for ac_exec_ext in '' $ac_executable_extensions; do
7369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372     break 2
7373   fi
7374 done
7375   done
7376 IFS=$as_save_IFS
7377
7378 fi
7379 fi
7380 NMEDIT=$ac_cv_prog_NMEDIT
7381 if test -n "$NMEDIT"; then
7382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7383 $as_echo "$NMEDIT" >&6; }
7384 else
7385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7387 fi
7388
7389
7390 fi
7391 if test -z "$ac_cv_prog_NMEDIT"; then
7392   ac_ct_NMEDIT=$NMEDIT
7393   # Extract the first word of "nmedit", so it can be a program name with args.
7394 set dummy nmedit; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7398   $as_echo_n "(cached) " >&6
7399 else
7400   if test -n "$ac_ct_NMEDIT"; then
7401   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7405 do
7406   IFS=$as_save_IFS
7407   test -z "$as_dir" && as_dir=.
7408     for ac_exec_ext in '' $ac_executable_extensions; do
7409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7410     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412     break 2
7413   fi
7414 done
7415   done
7416 IFS=$as_save_IFS
7417
7418 fi
7419 fi
7420 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7421 if test -n "$ac_ct_NMEDIT"; then
7422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7423 $as_echo "$ac_ct_NMEDIT" >&6; }
7424 else
7425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7427 fi
7428
7429   if test "x$ac_ct_NMEDIT" = x; then
7430     NMEDIT=":"
7431   else
7432     case $cross_compiling:$ac_tool_warned in
7433 yes:)
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7436 ac_tool_warned=yes ;;
7437 esac
7438     NMEDIT=$ac_ct_NMEDIT
7439   fi
7440 else
7441   NMEDIT="$ac_cv_prog_NMEDIT"
7442 fi
7443
7444     if test -n "$ac_tool_prefix"; then
7445   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7446 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7448 $as_echo_n "checking for $ac_word... " >&6; }
7449 if test "${ac_cv_prog_LIPO+set}" = set; then :
7450   $as_echo_n "(cached) " >&6
7451 else
7452   if test -n "$LIPO"; then
7453   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7454 else
7455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 for as_dir in $PATH
7457 do
7458   IFS=$as_save_IFS
7459   test -z "$as_dir" && as_dir=.
7460     for ac_exec_ext in '' $ac_executable_extensions; do
7461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7462     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464     break 2
7465   fi
7466 done
7467   done
7468 IFS=$as_save_IFS
7469
7470 fi
7471 fi
7472 LIPO=$ac_cv_prog_LIPO
7473 if test -n "$LIPO"; then
7474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7475 $as_echo "$LIPO" >&6; }
7476 else
7477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478 $as_echo "no" >&6; }
7479 fi
7480
7481
7482 fi
7483 if test -z "$ac_cv_prog_LIPO"; then
7484   ac_ct_LIPO=$LIPO
7485   # Extract the first word of "lipo", so it can be a program name with args.
7486 set dummy lipo; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7490   $as_echo_n "(cached) " >&6
7491 else
7492   if test -n "$ac_ct_LIPO"; then
7493   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7494 else
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 for as_dir in $PATH
7497 do
7498   IFS=$as_save_IFS
7499   test -z "$as_dir" && as_dir=.
7500     for ac_exec_ext in '' $ac_executable_extensions; do
7501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7502     ac_cv_prog_ac_ct_LIPO="lipo"
7503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504     break 2
7505   fi
7506 done
7507   done
7508 IFS=$as_save_IFS
7509
7510 fi
7511 fi
7512 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7513 if test -n "$ac_ct_LIPO"; then
7514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7515 $as_echo "$ac_ct_LIPO" >&6; }
7516 else
7517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7519 fi
7520
7521   if test "x$ac_ct_LIPO" = x; then
7522     LIPO=":"
7523   else
7524     case $cross_compiling:$ac_tool_warned in
7525 yes:)
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7528 ac_tool_warned=yes ;;
7529 esac
7530     LIPO=$ac_ct_LIPO
7531   fi
7532 else
7533   LIPO="$ac_cv_prog_LIPO"
7534 fi
7535
7536     if test -n "$ac_tool_prefix"; then
7537   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7538 set dummy ${ac_tool_prefix}otool; ac_word=$2
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7540 $as_echo_n "checking for $ac_word... " >&6; }
7541 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7542   $as_echo_n "(cached) " >&6
7543 else
7544   if test -n "$OTOOL"; then
7545   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7546 else
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548 for as_dir in $PATH
7549 do
7550   IFS=$as_save_IFS
7551   test -z "$as_dir" && as_dir=.
7552     for ac_exec_ext in '' $ac_executable_extensions; do
7553   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7554     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556     break 2
7557   fi
7558 done
7559   done
7560 IFS=$as_save_IFS
7561
7562 fi
7563 fi
7564 OTOOL=$ac_cv_prog_OTOOL
7565 if test -n "$OTOOL"; then
7566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7567 $as_echo "$OTOOL" >&6; }
7568 else
7569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7570 $as_echo "no" >&6; }
7571 fi
7572
7573
7574 fi
7575 if test -z "$ac_cv_prog_OTOOL"; then
7576   ac_ct_OTOOL=$OTOOL
7577   # Extract the first word of "otool", so it can be a program name with args.
7578 set dummy otool; ac_word=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7580 $as_echo_n "checking for $ac_word... " >&6; }
7581 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7582   $as_echo_n "(cached) " >&6
7583 else
7584   if test -n "$ac_ct_OTOOL"; then
7585   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7586 else
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7588 for as_dir in $PATH
7589 do
7590   IFS=$as_save_IFS
7591   test -z "$as_dir" && as_dir=.
7592     for ac_exec_ext in '' $ac_executable_extensions; do
7593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7594     ac_cv_prog_ac_ct_OTOOL="otool"
7595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7596     break 2
7597   fi
7598 done
7599   done
7600 IFS=$as_save_IFS
7601
7602 fi
7603 fi
7604 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7605 if test -n "$ac_ct_OTOOL"; then
7606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7607 $as_echo "$ac_ct_OTOOL" >&6; }
7608 else
7609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7610 $as_echo "no" >&6; }
7611 fi
7612
7613   if test "x$ac_ct_OTOOL" = x; then
7614     OTOOL=":"
7615   else
7616     case $cross_compiling:$ac_tool_warned in
7617 yes:)
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7620 ac_tool_warned=yes ;;
7621 esac
7622     OTOOL=$ac_ct_OTOOL
7623   fi
7624 else
7625   OTOOL="$ac_cv_prog_OTOOL"
7626 fi
7627
7628     if test -n "$ac_tool_prefix"; then
7629   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7630 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 $as_echo_n "checking for $ac_word... " >&6; }
7633 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7634   $as_echo_n "(cached) " >&6
7635 else
7636   if test -n "$OTOOL64"; then
7637   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7638 else
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 for as_dir in $PATH
7641 do
7642   IFS=$as_save_IFS
7643   test -z "$as_dir" && as_dir=.
7644     for ac_exec_ext in '' $ac_executable_extensions; do
7645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7646     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648     break 2
7649   fi
7650 done
7651   done
7652 IFS=$as_save_IFS
7653
7654 fi
7655 fi
7656 OTOOL64=$ac_cv_prog_OTOOL64
7657 if test -n "$OTOOL64"; then
7658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7659 $as_echo "$OTOOL64" >&6; }
7660 else
7661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7662 $as_echo "no" >&6; }
7663 fi
7664
7665
7666 fi
7667 if test -z "$ac_cv_prog_OTOOL64"; then
7668   ac_ct_OTOOL64=$OTOOL64
7669   # Extract the first word of "otool64", so it can be a program name with args.
7670 set dummy otool64; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7672 $as_echo_n "checking for $ac_word... " >&6; }
7673 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7674   $as_echo_n "(cached) " >&6
7675 else
7676   if test -n "$ac_ct_OTOOL64"; then
7677   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7678 else
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7680 for as_dir in $PATH
7681 do
7682   IFS=$as_save_IFS
7683   test -z "$as_dir" && as_dir=.
7684     for ac_exec_ext in '' $ac_executable_extensions; do
7685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7686     ac_cv_prog_ac_ct_OTOOL64="otool64"
7687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7688     break 2
7689   fi
7690 done
7691   done
7692 IFS=$as_save_IFS
7693
7694 fi
7695 fi
7696 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7697 if test -n "$ac_ct_OTOOL64"; then
7698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7699 $as_echo "$ac_ct_OTOOL64" >&6; }
7700 else
7701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7702 $as_echo "no" >&6; }
7703 fi
7704
7705   if test "x$ac_ct_OTOOL64" = x; then
7706     OTOOL64=":"
7707   else
7708     case $cross_compiling:$ac_tool_warned in
7709 yes:)
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7712 ac_tool_warned=yes ;;
7713 esac
7714     OTOOL64=$ac_ct_OTOOL64
7715   fi
7716 else
7717   OTOOL64="$ac_cv_prog_OTOOL64"
7718 fi
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7747 $as_echo_n "checking for -single_module linker flag... " >&6; }
7748 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7749   $as_echo_n "(cached) " >&6
7750 else
7751   lt_cv_apple_cc_single_mod=no
7752       if test -z "${LT_MULTI_MODULE}"; then
7753         # By default we will add the -single_module flag. You can override
7754         # by either setting the environment variable LT_MULTI_MODULE
7755         # non-empty at configure time, or by adding -multi_module to the
7756         # link flags.
7757         rm -rf libconftest.dylib*
7758         echo "int foo(void){return 1;}" > conftest.c
7759         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7760 -dynamiclib -Wl,-single_module conftest.c" >&5
7761         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7762           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7763         _lt_result=$?
7764         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7765           lt_cv_apple_cc_single_mod=yes
7766         else
7767           cat conftest.err >&5
7768         fi
7769         rm -rf libconftest.dylib*
7770         rm -f conftest.*
7771       fi
7772 fi
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7774 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7776 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7777 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7778   $as_echo_n "(cached) " >&6
7779 else
7780   lt_cv_ld_exported_symbols_list=no
7781       save_LDFLAGS=$LDFLAGS
7782       echo "_main" > conftest.sym
7783       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7784       if test x$gcc_no_link = xyes; then
7785   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7786 fi
7787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h.  */
7789
7790 int
7791 main ()
7792 {
7793
7794   ;
7795   return 0;
7796 }
7797 _ACEOF
7798 if ac_fn_c_try_link "$LINENO"; then :
7799   lt_cv_ld_exported_symbols_list=yes
7800 else
7801   lt_cv_ld_exported_symbols_list=no
7802 fi
7803 rm -f core conftest.err conftest.$ac_objext \
7804     conftest$ac_exeext conftest.$ac_ext
7805         LDFLAGS="$save_LDFLAGS"
7806
7807 fi
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7809 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7811 $as_echo_n "checking for -force_load linker flag... " >&6; }
7812 if test "${lt_cv_ld_force_load+set}" = set; then :
7813   $as_echo_n "(cached) " >&6
7814 else
7815   lt_cv_ld_force_load=no
7816       cat > conftest.c << _LT_EOF
7817 int forced_loaded() { return 2;}
7818 _LT_EOF
7819       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7820       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7821       echo "$AR cru libconftest.a conftest.o" >&5
7822       $AR cru libconftest.a conftest.o 2>&5
7823       cat > conftest.c << _LT_EOF
7824 int main() { return 0;}
7825 _LT_EOF
7826       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7827       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7828       _lt_result=$?
7829       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7830         lt_cv_ld_force_load=yes
7831       else
7832         cat conftest.err >&5
7833       fi
7834         rm -f conftest.err libconftest.a conftest conftest.c
7835         rm -rf conftest.dSYM
7836
7837 fi
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7839 $as_echo "$lt_cv_ld_force_load" >&6; }
7840     case $host_os in
7841     rhapsody* | darwin1.[012])
7842       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7843     darwin1.*)
7844       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7845     darwin*) # darwin 5.x on
7846       # if running on 10.5 or later, the deployment target defaults
7847       # to the OS version, if on x86, and 10.4, the deployment
7848       # target defaults to 10.4. Don't you love it?
7849       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7850         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7851           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7852         10.[012]*)
7853           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7854         10.*)
7855           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7856       esac
7857     ;;
7858   esac
7859     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7860       _lt_dar_single_mod='$single_module'
7861     fi
7862     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7863       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7864     else
7865       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7866     fi
7867     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7868       _lt_dsymutil='~$DSYMUTIL $lib || :'
7869     else
7870       _lt_dsymutil=
7871     fi
7872     ;;
7873   esac
7874
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7876 $as_echo_n "checking for ANSI C header files... " >&6; }
7877 if test "${ac_cv_header_stdc+set}" = set; then :
7878   $as_echo_n "(cached) " >&6
7879 else
7880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h.  */
7882 #include <stdlib.h>
7883 #include <stdarg.h>
7884 #include <string.h>
7885 #include <float.h>
7886
7887 int
7888 main ()
7889 {
7890
7891   ;
7892   return 0;
7893 }
7894 _ACEOF
7895 if ac_fn_c_try_compile "$LINENO"; then :
7896   ac_cv_header_stdc=yes
7897 else
7898   ac_cv_header_stdc=no
7899 fi
7900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7901
7902 if test $ac_cv_header_stdc = yes; then
7903   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7905 /* end confdefs.h.  */
7906 #include <string.h>
7907
7908 _ACEOF
7909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7910   $EGREP "memchr" >/dev/null 2>&1; then :
7911
7912 else
7913   ac_cv_header_stdc=no
7914 fi
7915 rm -f conftest*
7916
7917 fi
7918
7919 if test $ac_cv_header_stdc = yes; then
7920   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7922 /* end confdefs.h.  */
7923 #include <stdlib.h>
7924
7925 _ACEOF
7926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7927   $EGREP "free" >/dev/null 2>&1; then :
7928
7929 else
7930   ac_cv_header_stdc=no
7931 fi
7932 rm -f conftest*
7933
7934 fi
7935
7936 if test $ac_cv_header_stdc = yes; then
7937   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7938   if test "$cross_compiling" = yes; then :
7939   :
7940 else
7941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h.  */
7943 #include <ctype.h>
7944 #include <stdlib.h>
7945 #if ((' ' & 0x0FF) == 0x020)
7946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7948 #else
7949 # define ISLOWER(c) \
7950                    (('a' <= (c) && (c) <= 'i') \
7951                      || ('j' <= (c) && (c) <= 'r') \
7952                      || ('s' <= (c) && (c) <= 'z'))
7953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7954 #endif
7955
7956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7957 int
7958 main ()
7959 {
7960   int i;
7961   for (i = 0; i < 256; i++)
7962     if (XOR (islower (i), ISLOWER (i))
7963         || toupper (i) != TOUPPER (i))
7964       return 2;
7965   return 0;
7966 }
7967 _ACEOF
7968 if ac_fn_c_try_run "$LINENO"; then :
7969
7970 else
7971   ac_cv_header_stdc=no
7972 fi
7973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7974   conftest.$ac_objext conftest.beam conftest.$ac_ext
7975 fi
7976
7977 fi
7978 fi
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7980 $as_echo "$ac_cv_header_stdc" >&6; }
7981 if test $ac_cv_header_stdc = yes; then
7982
7983 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7984
7985 fi
7986
7987 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7988 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7989                   inttypes.h stdint.h unistd.h
7990 do :
7991   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7992 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7993 "
7994 eval as_val=\$$as_ac_Header
7995    if test "x$as_val" = x""yes; then :
7996   cat >>confdefs.h <<_ACEOF
7997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7998 _ACEOF
7999
8000 fi
8001
8002 done
8003
8004
8005 for ac_header in dlfcn.h
8006 do :
8007   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8008 "
8009 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8010   cat >>confdefs.h <<_ACEOF
8011 #define HAVE_DLFCN_H 1
8012 _ACEOF
8013
8014 fi
8015
8016 done
8017
8018
8019
8020
8021
8022
8023 # Set options
8024
8025
8026
8027
8028   enable_win32_dll=no
8029
8030
8031             # Check whether --enable-shared was given.
8032 if test "${enable_shared+set}" = set; then :
8033   enableval=$enable_shared; p=${PACKAGE-default}
8034     case $enableval in
8035     yes) enable_shared=yes ;;
8036     no) enable_shared=no ;;
8037     *)
8038       enable_shared=no
8039       # Look at the argument we got.  We use all the common list separators.
8040       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8041       for pkg in $enableval; do
8042         IFS="$lt_save_ifs"
8043         if test "X$pkg" = "X$p"; then
8044           enable_shared=yes
8045         fi
8046       done
8047       IFS="$lt_save_ifs"
8048       ;;
8049     esac
8050 else
8051   enable_shared=yes
8052 fi
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062   # Check whether --enable-static was given.
8063 if test "${enable_static+set}" = set; then :
8064   enableval=$enable_static; p=${PACKAGE-default}
8065     case $enableval in
8066     yes) enable_static=yes ;;
8067     no) enable_static=no ;;
8068     *)
8069      enable_static=no
8070       # Look at the argument we got.  We use all the common list separators.
8071       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8072       for pkg in $enableval; do
8073         IFS="$lt_save_ifs"
8074         if test "X$pkg" = "X$p"; then
8075           enable_static=yes
8076         fi
8077       done
8078       IFS="$lt_save_ifs"
8079       ;;
8080     esac
8081 else
8082   enable_static=yes
8083 fi
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094 # Check whether --with-pic was given.
8095 if test "${with_pic+set}" = set; then :
8096   withval=$with_pic; pic_mode="$withval"
8097 else
8098   pic_mode=default
8099 fi
8100
8101
8102 test -z "$pic_mode" && pic_mode=default
8103
8104
8105
8106
8107
8108
8109
8110   # Check whether --enable-fast-install was given.
8111 if test "${enable_fast_install+set}" = set; then :
8112   enableval=$enable_fast_install; p=${PACKAGE-default}
8113     case $enableval in
8114     yes) enable_fast_install=yes ;;
8115     no) enable_fast_install=no ;;
8116     *)
8117       enable_fast_install=no
8118       # Look at the argument we got.  We use all the common list separators.
8119       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8120       for pkg in $enableval; do
8121         IFS="$lt_save_ifs"
8122         if test "X$pkg" = "X$p"; then
8123           enable_fast_install=yes
8124         fi
8125       done
8126       IFS="$lt_save_ifs"
8127       ;;
8128     esac
8129 else
8130   enable_fast_install=yes
8131 fi
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143 # This can be used to rebuild libtool when needed
8144 LIBTOOL_DEPS="$ltmain"
8145
8146 # Always use our own libtool.
8147 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174 test -z "$LN_S" && LN_S="ln -s"
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189 if test -n "${ZSH_VERSION+set}" ; then
8190    setopt NO_GLOB_SUBST
8191 fi
8192
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8194 $as_echo_n "checking for objdir... " >&6; }
8195 if test "${lt_cv_objdir+set}" = set; then :
8196   $as_echo_n "(cached) " >&6
8197 else
8198   rm -f .libs 2>/dev/null
8199 mkdir .libs 2>/dev/null
8200 if test -d .libs; then
8201   lt_cv_objdir=.libs
8202 else
8203   # MS-DOS does not allow filenames that begin with a dot.
8204   lt_cv_objdir=_libs
8205 fi
8206 rmdir .libs 2>/dev/null
8207 fi
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8209 $as_echo "$lt_cv_objdir" >&6; }
8210 objdir=$lt_cv_objdir
8211
8212
8213
8214
8215
8216 cat >>confdefs.h <<_ACEOF
8217 #define LT_OBJDIR "$lt_cv_objdir/"
8218 _ACEOF
8219
8220
8221
8222
8223 case $host_os in
8224 aix3*)
8225   # AIX sometimes has problems with the GCC collect2 program.  For some
8226   # reason, if we set the COLLECT_NAMES environment variable, the problems
8227   # vanish in a puff of smoke.
8228   if test "X${COLLECT_NAMES+set}" != Xset; then
8229     COLLECT_NAMES=
8230     export COLLECT_NAMES
8231   fi
8232   ;;
8233 esac
8234
8235 # Global variables:
8236 ofile=libtool
8237 can_build_shared=yes
8238
8239 # All known linkers require a `.a' archive for static linking (except MSVC,
8240 # which needs '.lib').
8241 libext=a
8242
8243 with_gnu_ld="$lt_cv_prog_gnu_ld"
8244
8245 old_CC="$CC"
8246 old_CFLAGS="$CFLAGS"
8247
8248 # Set sane defaults for various variables
8249 test -z "$CC" && CC=cc
8250 test -z "$LTCC" && LTCC=$CC
8251 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8252 test -z "$LD" && LD=ld
8253 test -z "$ac_objext" && ac_objext=o
8254
8255 for cc_temp in $compiler""; do
8256   case $cc_temp in
8257     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8258     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8259     \-*) ;;
8260     *) break;;
8261   esac
8262 done
8263 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8264
8265
8266 # Only perform the check for file, if the check method requires it
8267 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8268 case $deplibs_check_method in
8269 file_magic*)
8270   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8272 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8273 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8274   $as_echo_n "(cached) " >&6
8275 else
8276   case $MAGIC_CMD in
8277 [\\/*] |  ?:[\\/]*)
8278   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8279   ;;
8280 *)
8281   lt_save_MAGIC_CMD="$MAGIC_CMD"
8282   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8283   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8284   for ac_dir in $ac_dummy; do
8285     IFS="$lt_save_ifs"
8286     test -z "$ac_dir" && ac_dir=.
8287     if test -f $ac_dir/${ac_tool_prefix}file; then
8288       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8289       if test -n "$file_magic_test_file"; then
8290         case $deplibs_check_method in
8291         "file_magic "*)
8292           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8293           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8294           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8295             $EGREP "$file_magic_regex" > /dev/null; then
8296             :
8297           else
8298             cat <<_LT_EOF 1>&2
8299
8300 *** Warning: the command libtool uses to detect shared libraries,
8301 *** $file_magic_cmd, produces output that libtool cannot recognize.
8302 *** The result is that libtool may fail to recognize shared libraries
8303 *** as such.  This will affect the creation of libtool libraries that
8304 *** depend on shared libraries, but programs linked with such libtool
8305 *** libraries will work regardless of this problem.  Nevertheless, you
8306 *** may want to report the problem to your system manager and/or to
8307 *** bug-libtool@gnu.org
8308
8309 _LT_EOF
8310           fi ;;
8311         esac
8312       fi
8313       break
8314     fi
8315   done
8316   IFS="$lt_save_ifs"
8317   MAGIC_CMD="$lt_save_MAGIC_CMD"
8318   ;;
8319 esac
8320 fi
8321
8322 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8323 if test -n "$MAGIC_CMD"; then
8324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8325 $as_echo "$MAGIC_CMD" >&6; }
8326 else
8327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8329 fi
8330
8331
8332
8333
8334
8335 if test -z "$lt_cv_path_MAGIC_CMD"; then
8336   if test -n "$ac_tool_prefix"; then
8337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8338 $as_echo_n "checking for file... " >&6; }
8339 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8340   $as_echo_n "(cached) " >&6
8341 else
8342   case $MAGIC_CMD in
8343 [\\/*] |  ?:[\\/]*)
8344   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8345   ;;
8346 *)
8347   lt_save_MAGIC_CMD="$MAGIC_CMD"
8348   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8349   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8350   for ac_dir in $ac_dummy; do
8351     IFS="$lt_save_ifs"
8352     test -z "$ac_dir" && ac_dir=.
8353     if test -f $ac_dir/file; then
8354       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8355       if test -n "$file_magic_test_file"; then
8356         case $deplibs_check_method in
8357         "file_magic "*)
8358           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8359           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8360           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8361             $EGREP "$file_magic_regex" > /dev/null; then
8362             :
8363           else
8364             cat <<_LT_EOF 1>&2
8365
8366 *** Warning: the command libtool uses to detect shared libraries,
8367 *** $file_magic_cmd, produces output that libtool cannot recognize.
8368 *** The result is that libtool may fail to recognize shared libraries
8369 *** as such.  This will affect the creation of libtool libraries that
8370 *** depend on shared libraries, but programs linked with such libtool
8371 *** libraries will work regardless of this problem.  Nevertheless, you
8372 *** may want to report the problem to your system manager and/or to
8373 *** bug-libtool@gnu.org
8374
8375 _LT_EOF
8376           fi ;;
8377         esac
8378       fi
8379       break
8380     fi
8381   done
8382   IFS="$lt_save_ifs"
8383   MAGIC_CMD="$lt_save_MAGIC_CMD"
8384   ;;
8385 esac
8386 fi
8387
8388 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8389 if test -n "$MAGIC_CMD"; then
8390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8391 $as_echo "$MAGIC_CMD" >&6; }
8392 else
8393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8394 $as_echo "no" >&6; }
8395 fi
8396
8397
8398   else
8399     MAGIC_CMD=:
8400   fi
8401 fi
8402
8403   fi
8404   ;;
8405 esac
8406
8407 # Use C for the default configuration in the libtool script
8408
8409 lt_save_CC="$CC"
8410 ac_ext=c
8411 ac_cpp='$CPP $CPPFLAGS'
8412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8415
8416
8417 # Source file extension for C test sources.
8418 ac_ext=c
8419
8420 # Object file extension for compiled C test sources.
8421 objext=o
8422 objext=$objext
8423
8424 # Code to be used in simple compile tests
8425 lt_simple_compile_test_code="int some_variable = 0;"
8426
8427 # Code to be used in simple link tests
8428 lt_simple_link_test_code='int main(){return(0);}'
8429
8430
8431
8432
8433
8434
8435
8436 # If no C compiler was specified, use CC.
8437 LTCC=${LTCC-"$CC"}
8438
8439 # If no C compiler flags were specified, use CFLAGS.
8440 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8441
8442 # Allow CC to be a program name with arguments.
8443 compiler=$CC
8444
8445 # Save the default compiler, since it gets overwritten when the other
8446 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8447 compiler_DEFAULT=$CC
8448
8449 # save warnings/boilerplate of simple test code
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8452 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_compiler_boilerplate=`cat conftest.err`
8454 $RM conftest*
8455
8456 ac_outfile=conftest.$ac_objext
8457 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8458 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8459 _lt_linker_boilerplate=`cat conftest.err`
8460 $RM -r conftest*
8461
8462
8463 ## CAVEAT EMPTOR:
8464 ## There is no encapsulation within the following macros, do not change
8465 ## the running order or otherwise move them around unless you know exactly
8466 ## what you are doing...
8467 if test -n "$compiler"; then
8468
8469 lt_prog_compiler_no_builtin_flag=
8470
8471 if test "$GCC" = yes; then
8472   case $cc_basename in
8473   nvcc*)
8474     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8475   *)
8476     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8477   esac
8478
8479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8480 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8481 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8482   $as_echo_n "(cached) " >&6
8483 else
8484   lt_cv_prog_compiler_rtti_exceptions=no
8485    ac_outfile=conftest.$ac_objext
8486    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8487    lt_compiler_flag="-fno-rtti -fno-exceptions"
8488    # Insert the option either (1) after the last *FLAGS variable, or
8489    # (2) before a word containing "conftest.", or (3) at the end.
8490    # Note that $ac_compile itself does not contain backslashes and begins
8491    # with a dollar sign (not a hyphen), so the echo should work correctly.
8492    # The option is referenced via a variable to avoid confusing sed.
8493    lt_compile=`echo "$ac_compile" | $SED \
8494    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8495    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8496    -e 's:$: $lt_compiler_flag:'`
8497    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8498    (eval "$lt_compile" 2>conftest.err)
8499    ac_status=$?
8500    cat conftest.err >&5
8501    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502    if (exit $ac_status) && test -s "$ac_outfile"; then
8503      # The compiler can only warn and ignore the option if not recognized
8504      # So say no if there are warnings other than the usual output.
8505      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8506      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8507      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8508        lt_cv_prog_compiler_rtti_exceptions=yes
8509      fi
8510    fi
8511    $RM conftest*
8512
8513 fi
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8515 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8516
8517 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8518     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8519 else
8520     :
8521 fi
8522
8523 fi
8524
8525
8526
8527
8528
8529
8530   lt_prog_compiler_wl=
8531 lt_prog_compiler_pic=
8532 lt_prog_compiler_static=
8533
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8535 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8536
8537   if test "$GCC" = yes; then
8538     lt_prog_compiler_wl='-Wl,'
8539     lt_prog_compiler_static='-static'
8540
8541     case $host_os in
8542       aix*)
8543       # All AIX code is PIC.
8544       if test "$host_cpu" = ia64; then
8545         # AIX 5 now supports IA64 processor
8546         lt_prog_compiler_static='-Bstatic'
8547       fi
8548       lt_prog_compiler_pic='-fPIC'
8549       ;;
8550
8551     amigaos*)
8552       case $host_cpu in
8553       powerpc)
8554             # see comment about AmigaOS4 .so support
8555             lt_prog_compiler_pic='-fPIC'
8556         ;;
8557       m68k)
8558             # FIXME: we need at least 68020 code to build shared libraries, but
8559             # adding the `-m68020' flag to GCC prevents building anything better,
8560             # like `-m68040'.
8561             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8562         ;;
8563       esac
8564       ;;
8565
8566     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8567       # PIC is the default for these OSes.
8568       ;;
8569
8570     mingw* | cygwin* | pw32* | os2* | cegcc*)
8571       # This hack is so that the source file can tell whether it is being
8572       # built for inclusion in a dll (and should export symbols for example).
8573       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8574       # (--disable-auto-import) libraries
8575       lt_prog_compiler_pic='-DDLL_EXPORT'
8576       ;;
8577
8578     darwin* | rhapsody*)
8579       # PIC is the default on this platform
8580       # Common symbols not allowed in MH_DYLIB files
8581       lt_prog_compiler_pic='-fno-common'
8582       ;;
8583
8584     haiku*)
8585       # PIC is the default for Haiku.
8586       # The "-static" flag exists, but is broken.
8587       lt_prog_compiler_static=
8588       ;;
8589
8590     hpux*)
8591       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8592       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8593       # sets the default TLS model and affects inlining.
8594       case $host_cpu in
8595       hppa*64*)
8596         # +Z the default
8597         ;;
8598       *)
8599         lt_prog_compiler_pic='-fPIC'
8600         ;;
8601       esac
8602       ;;
8603
8604     interix[3-9]*)
8605       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8606       # Instead, we relocate shared libraries at runtime.
8607       ;;
8608
8609     msdosdjgpp*)
8610       # Just because we use GCC doesn't mean we suddenly get shared libraries
8611       # on systems that don't support them.
8612       lt_prog_compiler_can_build_shared=no
8613       enable_shared=no
8614       ;;
8615
8616     *nto* | *qnx*)
8617       # QNX uses GNU C++, but need to define -shared option too, otherwise
8618       # it will coredump.
8619       lt_prog_compiler_pic='-fPIC -shared'
8620       ;;
8621
8622     sysv4*MP*)
8623       if test -d /usr/nec; then
8624         lt_prog_compiler_pic=-Kconform_pic
8625       fi
8626       ;;
8627
8628     *)
8629       lt_prog_compiler_pic='-fPIC'
8630       ;;
8631     esac
8632
8633     case $cc_basename in
8634     nvcc*) # Cuda Compiler Driver 2.2
8635       lt_prog_compiler_wl='-Xlinker '
8636       lt_prog_compiler_pic='-Xcompiler -fPIC'
8637       ;;
8638     esac
8639   else
8640     # PORTME Check for flag to pass linker flags through the system compiler.
8641     case $host_os in
8642     aix*)
8643       lt_prog_compiler_wl='-Wl,'
8644       if test "$host_cpu" = ia64; then
8645         # AIX 5 now supports IA64 processor
8646         lt_prog_compiler_static='-Bstatic'
8647       else
8648         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8649       fi
8650       ;;
8651
8652     mingw* | cygwin* | pw32* | os2* | cegcc*)
8653       # This hack is so that the source file can tell whether it is being
8654       # built for inclusion in a dll (and should export symbols for example).
8655       lt_prog_compiler_pic='-DDLL_EXPORT'
8656       ;;
8657
8658     hpux9* | hpux10* | hpux11*)
8659       lt_prog_compiler_wl='-Wl,'
8660       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8661       # not for PA HP-UX.
8662       case $host_cpu in
8663       hppa*64*|ia64*)
8664         # +Z the default
8665         ;;
8666       *)
8667         lt_prog_compiler_pic='+Z'
8668         ;;
8669       esac
8670       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8671       lt_prog_compiler_static='${wl}-a ${wl}archive'
8672       ;;
8673
8674     irix5* | irix6* | nonstopux*)
8675       lt_prog_compiler_wl='-Wl,'
8676       # PIC (with -KPIC) is the default.
8677       lt_prog_compiler_static='-non_shared'
8678       ;;
8679
8680     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8681       case $cc_basename in
8682       # old Intel for x86_64 which still supported -KPIC.
8683       ecc*)
8684         lt_prog_compiler_wl='-Wl,'
8685         lt_prog_compiler_pic='-KPIC'
8686         lt_prog_compiler_static='-static'
8687         ;;
8688       # icc used to be incompatible with GCC.
8689       # ICC 10 doesn't accept -KPIC any more.
8690       icc* | ifort*)
8691         lt_prog_compiler_wl='-Wl,'
8692         lt_prog_compiler_pic='-fPIC'
8693         lt_prog_compiler_static='-static'
8694         ;;
8695       # Lahey Fortran 8.1.
8696       lf95*)
8697         lt_prog_compiler_wl='-Wl,'
8698         lt_prog_compiler_pic='--shared'
8699         lt_prog_compiler_static='--static'
8700         ;;
8701       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8702         # Portland Group compilers (*not* the Pentium gcc compiler,
8703         # which looks to be a dead project)
8704         lt_prog_compiler_wl='-Wl,'
8705         lt_prog_compiler_pic='-fpic'
8706         lt_prog_compiler_static='-Bstatic'
8707         ;;
8708       ccc*)
8709         lt_prog_compiler_wl='-Wl,'
8710         # All Alpha code is PIC.
8711         lt_prog_compiler_static='-non_shared'
8712         ;;
8713       xl* | bgxl* | bgf* | mpixl*)
8714         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8715         lt_prog_compiler_wl='-Wl,'
8716         lt_prog_compiler_pic='-qpic'
8717         lt_prog_compiler_static='-qstaticlink'
8718         ;;
8719       *)
8720         case `$CC -V 2>&1 | sed 5q` in
8721         *Sun\ F* | *Sun*Fortran*)
8722           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8723           lt_prog_compiler_pic='-KPIC'
8724           lt_prog_compiler_static='-Bstatic'
8725           lt_prog_compiler_wl=''
8726           ;;
8727         *Sun\ C*)
8728           # Sun C 5.9
8729           lt_prog_compiler_pic='-KPIC'
8730           lt_prog_compiler_static='-Bstatic'
8731           lt_prog_compiler_wl='-Wl,'
8732           ;;
8733         esac
8734         ;;
8735       esac
8736       ;;
8737
8738     newsos6)
8739       lt_prog_compiler_pic='-KPIC'
8740       lt_prog_compiler_static='-Bstatic'
8741       ;;
8742
8743     *nto* | *qnx*)
8744       # QNX uses GNU C++, but need to define -shared option too, otherwise
8745       # it will coredump.
8746       lt_prog_compiler_pic='-fPIC -shared'
8747       ;;
8748
8749     osf3* | osf4* | osf5*)
8750       lt_prog_compiler_wl='-Wl,'
8751       # All OSF/1 code is PIC.
8752       lt_prog_compiler_static='-non_shared'
8753       ;;
8754
8755     rdos*)
8756       lt_prog_compiler_static='-non_shared'
8757       ;;
8758
8759     solaris*)
8760       lt_prog_compiler_pic='-KPIC'
8761       lt_prog_compiler_static='-Bstatic'
8762       case $cc_basename in
8763       f77* | f90* | f95*)
8764         lt_prog_compiler_wl='-Qoption ld ';;
8765       *)
8766         lt_prog_compiler_wl='-Wl,';;
8767       esac
8768       ;;
8769
8770     sunos4*)
8771       lt_prog_compiler_wl='-Qoption ld '
8772       lt_prog_compiler_pic='-PIC'
8773       lt_prog_compiler_static='-Bstatic'
8774       ;;
8775
8776     sysv4 | sysv4.2uw2* | sysv4.3*)
8777       lt_prog_compiler_wl='-Wl,'
8778       lt_prog_compiler_pic='-KPIC'
8779       lt_prog_compiler_static='-Bstatic'
8780       ;;
8781
8782     sysv4*MP*)
8783       if test -d /usr/nec ;then
8784         lt_prog_compiler_pic='-Kconform_pic'
8785         lt_prog_compiler_static='-Bstatic'
8786       fi
8787       ;;
8788
8789     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8790       lt_prog_compiler_wl='-Wl,'
8791       lt_prog_compiler_pic='-KPIC'
8792       lt_prog_compiler_static='-Bstatic'
8793       ;;
8794
8795     unicos*)
8796       lt_prog_compiler_wl='-Wl,'
8797       lt_prog_compiler_can_build_shared=no
8798       ;;
8799
8800     uts4*)
8801       lt_prog_compiler_pic='-pic'
8802       lt_prog_compiler_static='-Bstatic'
8803       ;;
8804
8805     *)
8806       lt_prog_compiler_can_build_shared=no
8807       ;;
8808     esac
8809   fi
8810
8811 case $host_os in
8812   # For platforms which do not support PIC, -DPIC is meaningless:
8813   *djgpp*)
8814     lt_prog_compiler_pic=
8815     ;;
8816   *)
8817     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8818     ;;
8819 esac
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8821 $as_echo "$lt_prog_compiler_pic" >&6; }
8822
8823
8824
8825
8826
8827
8828 #
8829 # Check to make sure the PIC flag actually works.
8830 #
8831 if test -n "$lt_prog_compiler_pic"; then
8832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8833 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8834 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8835   $as_echo_n "(cached) " >&6
8836 else
8837   lt_cv_prog_compiler_pic_works=no
8838    ac_outfile=conftest.$ac_objext
8839    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8840    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8841    # Insert the option either (1) after the last *FLAGS variable, or
8842    # (2) before a word containing "conftest.", or (3) at the end.
8843    # Note that $ac_compile itself does not contain backslashes and begins
8844    # with a dollar sign (not a hyphen), so the echo should work correctly.
8845    # The option is referenced via a variable to avoid confusing sed.
8846    lt_compile=`echo "$ac_compile" | $SED \
8847    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8848    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8849    -e 's:$: $lt_compiler_flag:'`
8850    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8851    (eval "$lt_compile" 2>conftest.err)
8852    ac_status=$?
8853    cat conftest.err >&5
8854    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855    if (exit $ac_status) && test -s "$ac_outfile"; then
8856      # The compiler can only warn and ignore the option if not recognized
8857      # So say no if there are warnings other than the usual output.
8858      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8859      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8860      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8861        lt_cv_prog_compiler_pic_works=yes
8862      fi
8863    fi
8864    $RM conftest*
8865
8866 fi
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8868 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8869
8870 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8871     case $lt_prog_compiler_pic in
8872      "" | " "*) ;;
8873      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8874      esac
8875 else
8876     lt_prog_compiler_pic=
8877      lt_prog_compiler_can_build_shared=no
8878 fi
8879
8880 fi
8881
8882
8883
8884
8885
8886
8887 #
8888 # Check to make sure the static flag actually works.
8889 #
8890 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8892 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8893 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8894   $as_echo_n "(cached) " >&6
8895 else
8896   lt_cv_prog_compiler_static_works=no
8897    save_LDFLAGS="$LDFLAGS"
8898    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8899    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8900    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8901      # The linker can only warn and ignore the option if not recognized
8902      # So say no if there are warnings
8903      if test -s conftest.err; then
8904        # Append any errors to the config.log.
8905        cat conftest.err 1>&5
8906        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8907        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8908        if diff conftest.exp conftest.er2 >/dev/null; then
8909          lt_cv_prog_compiler_static_works=yes
8910        fi
8911      else
8912        lt_cv_prog_compiler_static_works=yes
8913      fi
8914    fi
8915    $RM -r conftest*
8916    LDFLAGS="$save_LDFLAGS"
8917
8918 fi
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8920 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8921
8922 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8923     :
8924 else
8925     lt_prog_compiler_static=
8926 fi
8927
8928
8929
8930
8931
8932
8933
8934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8935 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8936 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8937   $as_echo_n "(cached) " >&6
8938 else
8939   lt_cv_prog_compiler_c_o=no
8940    $RM -r conftest 2>/dev/null
8941    mkdir conftest
8942    cd conftest
8943    mkdir out
8944    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8945
8946    lt_compiler_flag="-o out/conftest2.$ac_objext"
8947    # Insert the option either (1) after the last *FLAGS variable, or
8948    # (2) before a word containing "conftest.", or (3) at the end.
8949    # Note that $ac_compile itself does not contain backslashes and begins
8950    # with a dollar sign (not a hyphen), so the echo should work correctly.
8951    lt_compile=`echo "$ac_compile" | $SED \
8952    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8953    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8954    -e 's:$: $lt_compiler_flag:'`
8955    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8956    (eval "$lt_compile" 2>out/conftest.err)
8957    ac_status=$?
8958    cat out/conftest.err >&5
8959    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8961    then
8962      # The compiler can only warn and ignore the option if not recognized
8963      # So say no if there are warnings
8964      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8965      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8966      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8967        lt_cv_prog_compiler_c_o=yes
8968      fi
8969    fi
8970    chmod u+w . 2>&5
8971    $RM conftest*
8972    # SGI C++ compiler will create directory out/ii_files/ for
8973    # template instantiation
8974    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8975    $RM out/* && rmdir out
8976    cd ..
8977    $RM -r conftest
8978    $RM conftest*
8979
8980 fi
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8982 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983
8984
8985
8986
8987
8988
8989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8990 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8991 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8992   $as_echo_n "(cached) " >&6
8993 else
8994   lt_cv_prog_compiler_c_o=no
8995    $RM -r conftest 2>/dev/null
8996    mkdir conftest
8997    cd conftest
8998    mkdir out
8999    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9000
9001    lt_compiler_flag="-o out/conftest2.$ac_objext"
9002    # Insert the option either (1) after the last *FLAGS variable, or
9003    # (2) before a word containing "conftest.", or (3) at the end.
9004    # Note that $ac_compile itself does not contain backslashes and begins
9005    # with a dollar sign (not a hyphen), so the echo should work correctly.
9006    lt_compile=`echo "$ac_compile" | $SED \
9007    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9008    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9009    -e 's:$: $lt_compiler_flag:'`
9010    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9011    (eval "$lt_compile" 2>out/conftest.err)
9012    ac_status=$?
9013    cat out/conftest.err >&5
9014    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9016    then
9017      # The compiler can only warn and ignore the option if not recognized
9018      # So say no if there are warnings
9019      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9020      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9021      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9022        lt_cv_prog_compiler_c_o=yes
9023      fi
9024    fi
9025    chmod u+w . 2>&5
9026    $RM conftest*
9027    # SGI C++ compiler will create directory out/ii_files/ for
9028    # template instantiation
9029    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9030    $RM out/* && rmdir out
9031    cd ..
9032    $RM -r conftest
9033    $RM conftest*
9034
9035 fi
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9037 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9038
9039
9040
9041
9042 hard_links="nottested"
9043 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9044   # do not overwrite the value of need_locks provided by the user
9045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9046 $as_echo_n "checking if we can lock with hard links... " >&6; }
9047   hard_links=yes
9048   $RM conftest*
9049   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9050   touch conftest.a
9051   ln conftest.a conftest.b 2>&5 || hard_links=no
9052   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9054 $as_echo "$hard_links" >&6; }
9055   if test "$hard_links" = no; then
9056     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9057 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9058     need_locks=warn
9059   fi
9060 else
9061   need_locks=no
9062 fi
9063
9064
9065
9066
9067
9068
9069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9070 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9071
9072   runpath_var=
9073   allow_undefined_flag=
9074   always_export_symbols=no
9075   archive_cmds=
9076   archive_expsym_cmds=
9077   compiler_needs_object=no
9078   enable_shared_with_static_runtimes=no
9079   export_dynamic_flag_spec=
9080   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9081   hardcode_automatic=no
9082   hardcode_direct=no
9083   hardcode_direct_absolute=no
9084   hardcode_libdir_flag_spec=
9085   hardcode_libdir_flag_spec_ld=
9086   hardcode_libdir_separator=
9087   hardcode_minus_L=no
9088   hardcode_shlibpath_var=unsupported
9089   inherit_rpath=no
9090   link_all_deplibs=unknown
9091   module_cmds=
9092   module_expsym_cmds=
9093   old_archive_from_new_cmds=
9094   old_archive_from_expsyms_cmds=
9095   thread_safe_flag_spec=
9096   whole_archive_flag_spec=
9097   # include_expsyms should be a list of space-separated symbols to be *always*
9098   # included in the symbol list
9099   include_expsyms=
9100   # exclude_expsyms can be an extended regexp of symbols to exclude
9101   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9102   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9103   # as well as any symbol that contains `d'.
9104   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9105   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9106   # platforms (ab)use it in PIC code, but their linkers get confused if
9107   # the symbol is explicitly referenced.  Since portable code cannot
9108   # rely on this symbol name, it's probably fine to never include it in
9109   # preloaded symbol tables.
9110   # Exclude shared library initialization/finalization symbols.
9111   extract_expsyms_cmds=
9112
9113   case $host_os in
9114   cygwin* | mingw* | pw32* | cegcc*)
9115     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9116     # When not using gcc, we currently assume that we are using
9117     # Microsoft Visual C++.
9118     if test "$GCC" != yes; then
9119       with_gnu_ld=no
9120     fi
9121     ;;
9122   interix*)
9123     # we just hope/assume this is gcc and not c89 (= MSVC++)
9124     with_gnu_ld=yes
9125     ;;
9126   openbsd*)
9127     with_gnu_ld=no
9128     ;;
9129   esac
9130
9131   ld_shlibs=yes
9132
9133   # On some targets, GNU ld is compatible enough with the native linker
9134   # that we're better off using the native interface for both.
9135   lt_use_gnu_ld_interface=no
9136   if test "$with_gnu_ld" = yes; then
9137     case $host_os in
9138       aix*)
9139         # The AIX port of GNU ld has always aspired to compatibility
9140         # with the native linker.  However, as the warning in the GNU ld
9141         # block says, versions before 2.19.5* couldn't really create working
9142         # shared libraries, regardless of the interface used.
9143         case `$LD -v 2>&1` in
9144           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9145           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9146           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9147           *)
9148             lt_use_gnu_ld_interface=yes
9149             ;;
9150         esac
9151         ;;
9152       *)
9153         lt_use_gnu_ld_interface=yes
9154         ;;
9155     esac
9156   fi
9157
9158   if test "$lt_use_gnu_ld_interface" = yes; then
9159     # If archive_cmds runs LD, not CC, wlarc should be empty
9160     wlarc='${wl}'
9161
9162     # Set some defaults for GNU ld with shared library support. These
9163     # are reset later if shared libraries are not supported. Putting them
9164     # here allows them to be overridden if necessary.
9165     runpath_var=LD_RUN_PATH
9166     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9167     export_dynamic_flag_spec='${wl}--export-dynamic'
9168     # ancient GNU ld didn't support --whole-archive et. al.
9169     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9170       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9171     else
9172       whole_archive_flag_spec=
9173     fi
9174     supports_anon_versioning=no
9175     case `$LD -v 2>&1` in
9176       *GNU\ gold*) supports_anon_versioning=yes ;;
9177       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9178       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9179       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9180       *\ 2.11.*) ;; # other 2.11 versions
9181       *) supports_anon_versioning=yes ;;
9182     esac
9183
9184     # See if GNU ld supports shared libraries.
9185     case $host_os in
9186     aix[3-9]*)
9187       # On AIX/PPC, the GNU linker is very broken
9188       if test "$host_cpu" != ia64; then
9189         ld_shlibs=no
9190         cat <<_LT_EOF 1>&2
9191
9192 *** Warning: the GNU linker, at least up to release 2.19, is reported
9193 *** to be unable to reliably create shared libraries on AIX.
9194 *** Therefore, libtool is disabling shared libraries support.  If you
9195 *** really care for shared libraries, you may want to install binutils
9196 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9197 *** You will then need to restart the configuration process.
9198
9199 _LT_EOF
9200       fi
9201       ;;
9202
9203     amigaos*)
9204       case $host_cpu in
9205       powerpc)
9206             # see comment about AmigaOS4 .so support
9207             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9208             archive_expsym_cmds=''
9209         ;;
9210       m68k)
9211             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)'
9212             hardcode_libdir_flag_spec='-L$libdir'
9213             hardcode_minus_L=yes
9214         ;;
9215       esac
9216       ;;
9217
9218     beos*)
9219       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9220         allow_undefined_flag=unsupported
9221         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9222         # support --undefined.  This deserves some investigation.  FIXME
9223         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9224       else
9225         ld_shlibs=no
9226       fi
9227       ;;
9228
9229     cygwin* | mingw* | pw32* | cegcc*)
9230       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9231       # as there is no search path for DLLs.
9232       hardcode_libdir_flag_spec='-L$libdir'
9233       export_dynamic_flag_spec='${wl}--export-all-symbols'
9234       allow_undefined_flag=unsupported
9235       always_export_symbols=no
9236       enable_shared_with_static_runtimes=yes
9237       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9238
9239       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9240         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9241         # If the export-symbols file already is a .def file (1st line
9242         # is EXPORTS), use it as is; otherwise, prepend...
9243         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9244           cp $export_symbols $output_objdir/$soname.def;
9245         else
9246           echo EXPORTS > $output_objdir/$soname.def;
9247           cat $export_symbols >> $output_objdir/$soname.def;
9248         fi~
9249         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9250       else
9251         ld_shlibs=no
9252       fi
9253       ;;
9254
9255     haiku*)
9256       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9257       link_all_deplibs=yes
9258       ;;
9259
9260     interix[3-9]*)
9261       hardcode_direct=no
9262       hardcode_shlibpath_var=no
9263       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9264       export_dynamic_flag_spec='${wl}-E'
9265       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9266       # Instead, shared libraries are loaded at an image base (0x10000000 by
9267       # default) and relocated if they conflict, which is a slow very memory
9268       # consuming and fragmenting process.  To avoid this, we pick a random,
9269       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9270       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9271       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9272       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'
9273       ;;
9274
9275     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9276       tmp_diet=no
9277       if test "$host_os" = linux-dietlibc; then
9278         case $cc_basename in
9279           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9280         esac
9281       fi
9282       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9283          && test "$tmp_diet" = no
9284       then
9285         tmp_addflag=
9286         tmp_sharedflag='-shared'
9287         case $cc_basename,$host_cpu in
9288         pgcc*)                          # Portland Group C compiler
9289           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'
9290           tmp_addflag=' $pic_flag'
9291           ;;
9292         pgf77* | pgf90* | pgf95* | pgfortran*)
9293                                         # Portland Group f77 and f90 compilers
9294           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'
9295           tmp_addflag=' $pic_flag -Mnomain' ;;
9296         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9297           tmp_addflag=' -i_dynamic' ;;
9298         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9299           tmp_addflag=' -i_dynamic -nofor_main' ;;
9300         ifc* | ifort*)                  # Intel Fortran compiler
9301           tmp_addflag=' -nofor_main' ;;
9302         lf95*)                          # Lahey Fortran 8.1
9303           whole_archive_flag_spec=
9304           tmp_sharedflag='--shared' ;;
9305         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9306           tmp_sharedflag='-qmkshrobj'
9307           tmp_addflag= ;;
9308         nvcc*)  # Cuda Compiler Driver 2.2
9309           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'
9310           compiler_needs_object=yes
9311           ;;
9312         esac
9313         case `$CC -V 2>&1 | sed 5q` in
9314         *Sun\ C*)                       # Sun C 5.9
9315           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'
9316           compiler_needs_object=yes
9317           tmp_sharedflag='-G' ;;
9318         *Sun\ F*)                       # Sun Fortran 8.3
9319           tmp_sharedflag='-G' ;;
9320         esac
9321         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322
9323         if test "x$supports_anon_versioning" = xyes; then
9324           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9325             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9326             echo "local: *; };" >> $output_objdir/$libname.ver~
9327             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9328         fi
9329
9330         case $cc_basename in
9331         xlf* | bgf* | bgxlf* | mpixlf*)
9332           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9333           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9334           hardcode_libdir_flag_spec=
9335           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9336           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9337           if test "x$supports_anon_versioning" = xyes; then
9338             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9339               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9340               echo "local: *; };" >> $output_objdir/$libname.ver~
9341               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9342           fi
9343           ;;
9344         esac
9345       else
9346         ld_shlibs=no
9347       fi
9348       ;;
9349
9350     netbsd*)
9351       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9352         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9353         wlarc=
9354       else
9355         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9356         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9357       fi
9358       ;;
9359
9360     solaris*)
9361       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9362         ld_shlibs=no
9363         cat <<_LT_EOF 1>&2
9364
9365 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9366 *** create shared libraries on Solaris systems.  Therefore, libtool
9367 *** is disabling shared libraries support.  We urge you to upgrade GNU
9368 *** binutils to release 2.9.1 or newer.  Another option is to modify
9369 *** your PATH or compiler configuration so that the native linker is
9370 *** used, and then restart.
9371
9372 _LT_EOF
9373       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9374         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9376       else
9377         ld_shlibs=no
9378       fi
9379       ;;
9380
9381     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9382       case `$LD -v 2>&1` in
9383         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9384         ld_shlibs=no
9385         cat <<_LT_EOF 1>&2
9386
9387 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9388 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9389 *** is disabling shared libraries support.  We urge you to upgrade GNU
9390 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9391 *** your PATH or compiler configuration so that the native linker is
9392 *** used, and then restart.
9393
9394 _LT_EOF
9395         ;;
9396         *)
9397           # For security reasons, it is highly recommended that you always
9398           # use absolute paths for naming shared libraries, and exclude the
9399           # DT_RUNPATH tag from executables and libraries.  But doing so
9400           # requires that you compile everything twice, which is a pain.
9401           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9402             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9403             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9405           else
9406             ld_shlibs=no
9407           fi
9408         ;;
9409       esac
9410       ;;
9411
9412     sunos4*)
9413       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9414       wlarc=
9415       hardcode_direct=yes
9416       hardcode_shlibpath_var=no
9417       ;;
9418
9419     *)
9420       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9421         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9422         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9423       else
9424         ld_shlibs=no
9425       fi
9426       ;;
9427     esac
9428
9429     if test "$ld_shlibs" = no; then
9430       runpath_var=
9431       hardcode_libdir_flag_spec=
9432       export_dynamic_flag_spec=
9433       whole_archive_flag_spec=
9434     fi
9435   else
9436     # PORTME fill in a description of your system's linker (not GNU ld)
9437     case $host_os in
9438     aix3*)
9439       allow_undefined_flag=unsupported
9440       always_export_symbols=yes
9441       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'
9442       # Note: this linker hardcodes the directories in LIBPATH if there
9443       # are no directories specified by -L.
9444       hardcode_minus_L=yes
9445       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9446         # Neither direct hardcoding nor static linking is supported with a
9447         # broken collect2.
9448         hardcode_direct=unsupported
9449       fi
9450       ;;
9451
9452     aix[4-9]*)
9453       if test "$host_cpu" = ia64; then
9454         # On IA64, the linker does run time linking by default, so we don't
9455         # have to do anything special.
9456         aix_use_runtimelinking=no
9457         exp_sym_flag='-Bexport'
9458         no_entry_flag=""
9459       else
9460         # If we're using GNU nm, then we don't want the "-C" option.
9461         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9462         # Also, AIX nm treats weak defined symbols like other global
9463         # defined symbols, whereas GNU nm marks them as "W".
9464         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9465           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'
9466         else
9467           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'
9468         fi
9469         aix_use_runtimelinking=no
9470
9471         # Test if we are trying to use run time linking or normal
9472         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9473         # need to do runtime linking.
9474         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9475           for ld_flag in $LDFLAGS; do
9476           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9477             aix_use_runtimelinking=yes
9478             break
9479           fi
9480           done
9481           ;;
9482         esac
9483
9484         exp_sym_flag='-bexport'
9485         no_entry_flag='-bnoentry'
9486       fi
9487
9488       # When large executables or shared objects are built, AIX ld can
9489       # have problems creating the table of contents.  If linking a library
9490       # or program results in "error TOC overflow" add -mminimal-toc to
9491       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9492       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9493
9494       archive_cmds=''
9495       hardcode_direct=yes
9496       hardcode_direct_absolute=yes
9497       hardcode_libdir_separator=':'
9498       link_all_deplibs=yes
9499       file_list_spec='${wl}-f,'
9500
9501       if test "$GCC" = yes; then
9502         case $host_os in aix4.[012]|aix4.[012].*)
9503         # We only want to do this on AIX 4.2 and lower, the check
9504         # below for broken collect2 doesn't work under 4.3+
9505           collect2name=`${CC} -print-prog-name=collect2`
9506           if test -f "$collect2name" &&
9507            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9508           then
9509           # We have reworked collect2
9510           :
9511           else
9512           # We have old collect2
9513           hardcode_direct=unsupported
9514           # It fails to find uninstalled libraries when the uninstalled
9515           # path is not listed in the libpath.  Setting hardcode_minus_L
9516           # to unsupported forces relinking
9517           hardcode_minus_L=yes
9518           hardcode_libdir_flag_spec='-L$libdir'
9519           hardcode_libdir_separator=
9520           fi
9521           ;;
9522         esac
9523         shared_flag='-shared'
9524         if test "$aix_use_runtimelinking" = yes; then
9525           shared_flag="$shared_flag "'${wl}-G'
9526         fi
9527       else
9528         # not using gcc
9529         if test "$host_cpu" = ia64; then
9530         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9531         # chokes on -Wl,-G. The following line is correct:
9532           shared_flag='-G'
9533         else
9534           if test "$aix_use_runtimelinking" = yes; then
9535             shared_flag='${wl}-G'
9536           else
9537             shared_flag='${wl}-bM:SRE'
9538           fi
9539         fi
9540       fi
9541
9542       export_dynamic_flag_spec='${wl}-bexpall'
9543       # It seems that -bexpall does not export symbols beginning with
9544       # underscore (_), so it is better to generate a list of symbols to export.
9545       always_export_symbols=yes
9546       if test "$aix_use_runtimelinking" = yes; then
9547         # Warning - without using the other runtime loading flags (-brtl),
9548         # -berok will link without error, but may produce a broken library.
9549         allow_undefined_flag='-berok'
9550         # Determine the default libpath from the value encoded in an
9551         # empty executable.
9552         if test x$gcc_no_link = xyes; then
9553   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9554 fi
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h.  */
9557
9558 int
9559 main ()
9560 {
9561
9562   ;
9563   return 0;
9564 }
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567
9568 lt_aix_libpath_sed='
9569     /Import File Strings/,/^$/ {
9570         /^0/ {
9571             s/^0  *\(.*\)$/\1/
9572             p
9573         }
9574     }'
9575 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576 # Check for a 64-bit object if we didn't find anything.
9577 if test -z "$aix_libpath"; then
9578   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9579 fi
9580 fi
9581 rm -f core conftest.err conftest.$ac_objext \
9582     conftest$ac_exeext conftest.$ac_ext
9583 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9584
9585         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9586         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"
9587       else
9588         if test "$host_cpu" = ia64; then
9589           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9590           allow_undefined_flag="-z nodefs"
9591           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"
9592         else
9593          # Determine the default libpath from the value encoded in an
9594          # empty executable.
9595          if test x$gcc_no_link = xyes; then
9596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9597 fi
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h.  */
9600
9601 int
9602 main ()
9603 {
9604
9605   ;
9606   return 0;
9607 }
9608 _ACEOF
9609 if ac_fn_c_try_link "$LINENO"; then :
9610
9611 lt_aix_libpath_sed='
9612     /Import File Strings/,/^$/ {
9613         /^0/ {
9614             s/^0  *\(.*\)$/\1/
9615             p
9616         }
9617     }'
9618 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9619 # Check for a 64-bit object if we didn't find anything.
9620 if test -z "$aix_libpath"; then
9621   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9622 fi
9623 fi
9624 rm -f core conftest.err conftest.$ac_objext \
9625     conftest$ac_exeext conftest.$ac_ext
9626 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9627
9628          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9629           # Warning - without using the other run time loading flags,
9630           # -berok will link without error, but may produce a broken library.
9631           no_undefined_flag=' ${wl}-bernotok'
9632           allow_undefined_flag=' ${wl}-berok'
9633           if test "$with_gnu_ld" = yes; then
9634             # We only use this code for GNU lds that support --whole-archive.
9635             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9636           else
9637             # Exported symbols can be pulled into shared objects from archives
9638             whole_archive_flag_spec='$convenience'
9639           fi
9640           archive_cmds_need_lc=yes
9641           # This is similar to how AIX traditionally builds its shared libraries.
9642           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'
9643         fi
9644       fi
9645       ;;
9646
9647     amigaos*)
9648       case $host_cpu in
9649       powerpc)
9650             # see comment about AmigaOS4 .so support
9651             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9652             archive_expsym_cmds=''
9653         ;;
9654       m68k)
9655             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)'
9656             hardcode_libdir_flag_spec='-L$libdir'
9657             hardcode_minus_L=yes
9658         ;;
9659       esac
9660       ;;
9661
9662     bsdi[45]*)
9663       export_dynamic_flag_spec=-rdynamic
9664       ;;
9665
9666     cygwin* | mingw* | pw32* | cegcc*)
9667       # When not using gcc, we currently assume that we are using
9668       # Microsoft Visual C++.
9669       # hardcode_libdir_flag_spec is actually meaningless, as there is
9670       # no search path for DLLs.
9671       hardcode_libdir_flag_spec=' '
9672       allow_undefined_flag=unsupported
9673       # Tell ltmain to make .lib files, not .a files.
9674       libext=lib
9675       # Tell ltmain to make .dll files, not .so files.
9676       shrext_cmds=".dll"
9677       # FIXME: Setting linknames here is a bad hack.
9678       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9679       # The linker will automatically build a .lib file if we build a DLL.
9680       old_archive_from_new_cmds='true'
9681       # FIXME: Should let the user specify the lib program.
9682       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9683       fix_srcfile_path='`cygpath -w "$srcfile"`'
9684       enable_shared_with_static_runtimes=yes
9685       ;;
9686
9687     darwin* | rhapsody*)
9688
9689
9690   archive_cmds_need_lc=no
9691   hardcode_direct=no
9692   hardcode_automatic=yes
9693   hardcode_shlibpath_var=unsupported
9694   if test "$lt_cv_ld_force_load" = "yes"; then
9695     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\"`'
9696   else
9697     whole_archive_flag_spec=''
9698   fi
9699   link_all_deplibs=yes
9700   allow_undefined_flag="$_lt_dar_allow_undefined"
9701   case $cc_basename in
9702      ifort*) _lt_dar_can_shared=yes ;;
9703      *) _lt_dar_can_shared=$GCC ;;
9704   esac
9705   if test "$_lt_dar_can_shared" = "yes"; then
9706     output_verbose_link_cmd=func_echo_all
9707     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9708     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9709     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}"
9710     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}"
9711
9712   else
9713   ld_shlibs=no
9714   fi
9715
9716       ;;
9717
9718     dgux*)
9719       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9720       hardcode_libdir_flag_spec='-L$libdir'
9721       hardcode_shlibpath_var=no
9722       ;;
9723
9724     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9725     # support.  Future versions do this automatically, but an explicit c++rt0.o
9726     # does not break anything, and helps significantly (at the cost of a little
9727     # extra space).
9728     freebsd2.2*)
9729       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9730       hardcode_libdir_flag_spec='-R$libdir'
9731       hardcode_direct=yes
9732       hardcode_shlibpath_var=no
9733       ;;
9734
9735     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9736     freebsd2.*)
9737       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9738       hardcode_direct=yes
9739       hardcode_minus_L=yes
9740       hardcode_shlibpath_var=no
9741       ;;
9742
9743     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9744     freebsd* | dragonfly*)
9745       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9746       hardcode_libdir_flag_spec='-R$libdir'
9747       hardcode_direct=yes
9748       hardcode_shlibpath_var=no
9749       ;;
9750
9751     hpux9*)
9752       if test "$GCC" = yes; then
9753         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'
9754       else
9755         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'
9756       fi
9757       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9758       hardcode_libdir_separator=:
9759       hardcode_direct=yes
9760
9761       # hardcode_minus_L: Not really in the search PATH,
9762       # but as the default location of the library.
9763       hardcode_minus_L=yes
9764       export_dynamic_flag_spec='${wl}-E'
9765       ;;
9766
9767     hpux10*)
9768       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9769         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9770       else
9771         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9772       fi
9773       if test "$with_gnu_ld" = no; then
9774         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9775         hardcode_libdir_flag_spec_ld='+b $libdir'
9776         hardcode_libdir_separator=:
9777         hardcode_direct=yes
9778         hardcode_direct_absolute=yes
9779         export_dynamic_flag_spec='${wl}-E'
9780         # hardcode_minus_L: Not really in the search PATH,
9781         # but as the default location of the library.
9782         hardcode_minus_L=yes
9783       fi
9784       ;;
9785
9786     hpux11*)
9787       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9788         case $host_cpu in
9789         hppa*64*)
9790           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9791           ;;
9792         ia64*)
9793           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9794           ;;
9795         *)
9796           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9797           ;;
9798         esac
9799       else
9800         case $host_cpu in
9801         hppa*64*)
9802           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803           ;;
9804         ia64*)
9805           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806           ;;
9807         *)
9808
9809           # Older versions of the 11.00 compiler do not understand -b yet
9810           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9811           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9812 $as_echo_n "checking if $CC understands -b... " >&6; }
9813 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9814   $as_echo_n "(cached) " >&6
9815 else
9816   lt_cv_prog_compiler__b=no
9817    save_LDFLAGS="$LDFLAGS"
9818    LDFLAGS="$LDFLAGS -b"
9819    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9820    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9821      # The linker can only warn and ignore the option if not recognized
9822      # So say no if there are warnings
9823      if test -s conftest.err; then
9824        # Append any errors to the config.log.
9825        cat conftest.err 1>&5
9826        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9827        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9828        if diff conftest.exp conftest.er2 >/dev/null; then
9829          lt_cv_prog_compiler__b=yes
9830        fi
9831      else
9832        lt_cv_prog_compiler__b=yes
9833      fi
9834    fi
9835    $RM -r conftest*
9836    LDFLAGS="$save_LDFLAGS"
9837
9838 fi
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9840 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9841
9842 if test x"$lt_cv_prog_compiler__b" = xyes; then
9843     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9844 else
9845     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9846 fi
9847
9848           ;;
9849         esac
9850       fi
9851       if test "$with_gnu_ld" = no; then
9852         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9853         hardcode_libdir_separator=:
9854
9855         case $host_cpu in
9856         hppa*64*|ia64*)
9857           hardcode_direct=no
9858           hardcode_shlibpath_var=no
9859           ;;
9860         *)
9861           hardcode_direct=yes
9862           hardcode_direct_absolute=yes
9863           export_dynamic_flag_spec='${wl}-E'
9864
9865           # hardcode_minus_L: Not really in the search PATH,
9866           # but as the default location of the library.
9867           hardcode_minus_L=yes
9868           ;;
9869         esac
9870       fi
9871       ;;
9872
9873     irix5* | irix6* | nonstopux*)
9874       if test "$GCC" = yes; then
9875         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'
9876         # Try to use the -exported_symbol ld option, if it does not
9877         # work, assume that -exports_file does not work either and
9878         # implicitly export all symbols.
9879         save_LDFLAGS="$LDFLAGS"
9880         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9881         if test x$gcc_no_link = xyes; then
9882   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9883 fi
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h.  */
9886 int foo(void) {}
9887 _ACEOF
9888 if ac_fn_c_try_link "$LINENO"; then :
9889   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'
9890
9891 fi
9892 rm -f core conftest.err conftest.$ac_objext \
9893     conftest$ac_exeext conftest.$ac_ext
9894         LDFLAGS="$save_LDFLAGS"
9895       else
9896         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'
9897         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'
9898       fi
9899       archive_cmds_need_lc='no'
9900       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9901       hardcode_libdir_separator=:
9902       inherit_rpath=yes
9903       link_all_deplibs=yes
9904       ;;
9905
9906     netbsd*)
9907       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9908         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9909       else
9910         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9911       fi
9912       hardcode_libdir_flag_spec='-R$libdir'
9913       hardcode_direct=yes
9914       hardcode_shlibpath_var=no
9915       ;;
9916
9917     newsos6)
9918       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919       hardcode_direct=yes
9920       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9921       hardcode_libdir_separator=:
9922       hardcode_shlibpath_var=no
9923       ;;
9924
9925     *nto* | *qnx*)
9926       ;;
9927
9928     openbsd*)
9929       if test -f /usr/libexec/ld.so; then
9930         hardcode_direct=yes
9931         hardcode_shlibpath_var=no
9932         hardcode_direct_absolute=yes
9933         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9934           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9935           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9936           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9937           export_dynamic_flag_spec='${wl}-E'
9938         else
9939           case $host_os in
9940            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9941              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9942              hardcode_libdir_flag_spec='-R$libdir'
9943              ;;
9944            *)
9945              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9946              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9947              ;;
9948           esac
9949         fi
9950       else
9951         ld_shlibs=no
9952       fi
9953       ;;
9954
9955     os2*)
9956       hardcode_libdir_flag_spec='-L$libdir'
9957       hardcode_minus_L=yes
9958       allow_undefined_flag=unsupported
9959       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'
9960       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9961       ;;
9962
9963     osf3*)
9964       if test "$GCC" = yes; then
9965         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9966         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'
9967       else
9968         allow_undefined_flag=' -expect_unresolved \*'
9969         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'
9970       fi
9971       archive_cmds_need_lc='no'
9972       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9973       hardcode_libdir_separator=:
9974       ;;
9975
9976     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9977       if test "$GCC" = yes; then
9978         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9979         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'
9980         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9981       else
9982         allow_undefined_flag=' -expect_unresolved \*'
9983         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'
9984         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~
9985         $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'
9986
9987         # Both c and cxx compiler support -rpath directly
9988         hardcode_libdir_flag_spec='-rpath $libdir'
9989       fi
9990       archive_cmds_need_lc='no'
9991       hardcode_libdir_separator=:
9992       ;;
9993
9994     solaris*)
9995       no_undefined_flag=' -z defs'
9996       if test "$GCC" = yes; then
9997         wlarc='${wl}'
9998         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9999         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10000           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10001       else
10002         case `$CC -V 2>&1` in
10003         *"Compilers 5.0"*)
10004           wlarc=''
10005           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10006           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10008           ;;
10009         *)
10010           wlarc='${wl}'
10011           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10012           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10013           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10014           ;;
10015         esac
10016       fi
10017       hardcode_libdir_flag_spec='-R$libdir'
10018       hardcode_shlibpath_var=no
10019       case $host_os in
10020       solaris2.[0-5] | solaris2.[0-5].*) ;;
10021       *)
10022         # The compiler driver will combine and reorder linker options,
10023         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10024         # but is careful enough not to reorder.
10025         # Supported since Solaris 2.6 (maybe 2.5.1?)
10026         if test "$GCC" = yes; then
10027           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10028         else
10029           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10030         fi
10031         ;;
10032       esac
10033       link_all_deplibs=yes
10034       ;;
10035
10036     sunos4*)
10037       if test "x$host_vendor" = xsequent; then
10038         # Use $CC to link under sequent, because it throws in some extra .o
10039         # files that make .init and .fini sections work.
10040         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10041       else
10042         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10043       fi
10044       hardcode_libdir_flag_spec='-L$libdir'
10045       hardcode_direct=yes
10046       hardcode_minus_L=yes
10047       hardcode_shlibpath_var=no
10048       ;;
10049
10050     sysv4)
10051       case $host_vendor in
10052         sni)
10053           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054           hardcode_direct=yes # is this really true???
10055         ;;
10056         siemens)
10057           ## LD is ld it makes a PLAMLIB
10058           ## CC just makes a GrossModule.
10059           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10060           reload_cmds='$CC -r -o $output$reload_objs'
10061           hardcode_direct=no
10062         ;;
10063         motorola)
10064           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10065           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10066         ;;
10067       esac
10068       runpath_var='LD_RUN_PATH'
10069       hardcode_shlibpath_var=no
10070       ;;
10071
10072     sysv4.3*)
10073       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074       hardcode_shlibpath_var=no
10075       export_dynamic_flag_spec='-Bexport'
10076       ;;
10077
10078     sysv4*MP*)
10079       if test -d /usr/nec; then
10080         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081         hardcode_shlibpath_var=no
10082         runpath_var=LD_RUN_PATH
10083         hardcode_runpath_var=yes
10084         ld_shlibs=yes
10085       fi
10086       ;;
10087
10088     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10089       no_undefined_flag='${wl}-z,text'
10090       archive_cmds_need_lc=no
10091       hardcode_shlibpath_var=no
10092       runpath_var='LD_RUN_PATH'
10093
10094       if test "$GCC" = yes; then
10095         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097       else
10098         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100       fi
10101       ;;
10102
10103     sysv5* | sco3.2v5* | sco5v6*)
10104       # Note: We can NOT use -z defs as we might desire, because we do not
10105       # link with -lc, and that would cause any symbols used from libc to
10106       # always be unresolved, which means just about no library would
10107       # ever link correctly.  If we're not using GNU ld we use -z text
10108       # though, which does catch some bad symbols but isn't as heavy-handed
10109       # as -z defs.
10110       no_undefined_flag='${wl}-z,text'
10111       allow_undefined_flag='${wl}-z,nodefs'
10112       archive_cmds_need_lc=no
10113       hardcode_shlibpath_var=no
10114       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10115       hardcode_libdir_separator=':'
10116       link_all_deplibs=yes
10117       export_dynamic_flag_spec='${wl}-Bexport'
10118       runpath_var='LD_RUN_PATH'
10119
10120       if test "$GCC" = yes; then
10121         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123       else
10124         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10126       fi
10127       ;;
10128
10129     uts4*)
10130       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131       hardcode_libdir_flag_spec='-L$libdir'
10132       hardcode_shlibpath_var=no
10133       ;;
10134
10135     *)
10136       ld_shlibs=no
10137       ;;
10138     esac
10139
10140     if test x$host_vendor = xsni; then
10141       case $host in
10142       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10143         export_dynamic_flag_spec='${wl}-Blargedynsym'
10144         ;;
10145       esac
10146     fi
10147   fi
10148
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10150 $as_echo "$ld_shlibs" >&6; }
10151 test "$ld_shlibs" = no && can_build_shared=no
10152
10153 with_gnu_ld=$with_gnu_ld
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169 #
10170 # Do we need to explicitly link libc?
10171 #
10172 case "x$archive_cmds_need_lc" in
10173 x|xyes)
10174   # Assume -lc should be added
10175   archive_cmds_need_lc=yes
10176
10177   if test "$enable_shared" = yes && test "$GCC" = yes; then
10178     case $archive_cmds in
10179     *'~'*)
10180       # FIXME: we may have to deal with multi-command sequences.
10181       ;;
10182     '$CC '*)
10183       # Test whether the compiler implicitly links with -lc since on some
10184       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10185       # to ld, don't add -lc before -lgcc.
10186       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10187 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10188 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10189   $as_echo_n "(cached) " >&6
10190 else
10191   $RM conftest*
10192         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10193
10194         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10195   (eval $ac_compile) 2>&5
10196   ac_status=$?
10197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10198   test $ac_status = 0; } 2>conftest.err; then
10199           soname=conftest
10200           lib=conftest
10201           libobjs=conftest.$ac_objext
10202           deplibs=
10203           wl=$lt_prog_compiler_wl
10204           pic_flag=$lt_prog_compiler_pic
10205           compiler_flags=-v
10206           linker_flags=-v
10207           verstring=
10208           output_objdir=.
10209           libname=conftest
10210           lt_save_allow_undefined_flag=$allow_undefined_flag
10211           allow_undefined_flag=
10212           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10213   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10214   ac_status=$?
10215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10216   test $ac_status = 0; }
10217           then
10218             lt_cv_archive_cmds_need_lc=no
10219           else
10220             lt_cv_archive_cmds_need_lc=yes
10221           fi
10222           allow_undefined_flag=$lt_save_allow_undefined_flag
10223         else
10224           cat conftest.err 1>&5
10225         fi
10226         $RM conftest*
10227
10228 fi
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10230 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10231       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10232       ;;
10233     esac
10234   fi
10235   ;;
10236 esac
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10395 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10396
10397 if test "$GCC" = yes; then
10398   case $host_os in
10399     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10400     *) lt_awk_arg="/^libraries:/" ;;
10401   esac
10402   case $host_os in
10403     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10404     *) lt_sed_strip_eq="s,=/,/,g" ;;
10405   esac
10406   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10407   case $lt_search_path_spec in
10408   *\;*)
10409     # if the path contains ";" then we assume it to be the separator
10410     # otherwise default to the standard path separator (i.e. ":") - it is
10411     # assumed that no part of a normal pathname contains ";" but that should
10412     # okay in the real world where ";" in dirpaths is itself problematic.
10413     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10414     ;;
10415   *)
10416     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10417     ;;
10418   esac
10419   # Ok, now we have the path, separated by spaces, we can step through it
10420   # and add multilib dir if necessary.
10421   lt_tmp_lt_search_path_spec=
10422   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10423   for lt_sys_path in $lt_search_path_spec; do
10424     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10425       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10426     else
10427       test -d "$lt_sys_path" && \
10428         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10429     fi
10430   done
10431   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10432 BEGIN {RS=" "; FS="/|\n";} {
10433   lt_foo="";
10434   lt_count=0;
10435   for (lt_i = NF; lt_i > 0; lt_i--) {
10436     if ($lt_i != "" && $lt_i != ".") {
10437       if ($lt_i == "..") {
10438         lt_count++;
10439       } else {
10440         if (lt_count == 0) {
10441           lt_foo="/" $lt_i lt_foo;
10442         } else {
10443           lt_count--;
10444         }
10445       }
10446     }
10447   }
10448   if (lt_foo != "") { lt_freq[lt_foo]++; }
10449   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10450 }'`
10451   # AWK program above erroneously prepends '/' to C:/dos/paths
10452   # for these hosts.
10453   case $host_os in
10454     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10455       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10456   esac
10457   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10458 else
10459   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10460 fi
10461 library_names_spec=
10462 libname_spec='lib$name'
10463 soname_spec=
10464 shrext_cmds=".so"
10465 postinstall_cmds=
10466 postuninstall_cmds=
10467 finish_cmds=
10468 finish_eval=
10469 shlibpath_var=
10470 shlibpath_overrides_runpath=unknown
10471 version_type=none
10472 dynamic_linker="$host_os ld.so"
10473 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10474 need_lib_prefix=unknown
10475 hardcode_into_libs=no
10476
10477 # when you set need_version to no, make sure it does not cause -set_version
10478 # flags to be left without arguments
10479 need_version=unknown
10480
10481 case $host_os in
10482 aix3*)
10483   version_type=linux
10484   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10485   shlibpath_var=LIBPATH
10486
10487   # AIX 3 has no versioning support, so we append a major version to the name.
10488   soname_spec='${libname}${release}${shared_ext}$major'
10489   ;;
10490
10491 aix[4-9]*)
10492   version_type=linux
10493   need_lib_prefix=no
10494   need_version=no
10495   hardcode_into_libs=yes
10496   if test "$host_cpu" = ia64; then
10497     # AIX 5 supports IA64
10498     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10499     shlibpath_var=LD_LIBRARY_PATH
10500   else
10501     # With GCC up to 2.95.x, collect2 would create an import file
10502     # for dependence libraries.  The import file would start with
10503     # the line `#! .'.  This would cause the generated library to
10504     # depend on `.', always an invalid library.  This was fixed in
10505     # development snapshots of GCC prior to 3.0.
10506     case $host_os in
10507       aix4 | aix4.[01] | aix4.[01].*)
10508       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10509            echo ' yes '
10510            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10511         :
10512       else
10513         can_build_shared=no
10514       fi
10515       ;;
10516     esac
10517     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10518     # soname into executable. Probably we can add versioning support to
10519     # collect2, so additional links can be useful in future.
10520     if test "$aix_use_runtimelinking" = yes; then
10521       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10522       # instead of lib<name>.a to let people know that these are not
10523       # typical AIX shared libraries.
10524       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525     else
10526       # We preserve .a as extension for shared libraries through AIX4.2
10527       # and later when we are not doing run time linking.
10528       library_names_spec='${libname}${release}.a $libname.a'
10529       soname_spec='${libname}${release}${shared_ext}$major'
10530     fi
10531     shlibpath_var=LIBPATH
10532   fi
10533   ;;
10534
10535 amigaos*)
10536   case $host_cpu in
10537   powerpc)
10538     # Since July 2007 AmigaOS4 officially supports .so libraries.
10539     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10540     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541     ;;
10542   m68k)
10543     library_names_spec='$libname.ixlibrary $libname.a'
10544     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10545     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'
10546     ;;
10547   esac
10548   ;;
10549
10550 beos*)
10551   library_names_spec='${libname}${shared_ext}'
10552   dynamic_linker="$host_os ld.so"
10553   shlibpath_var=LIBRARY_PATH
10554   ;;
10555
10556 bsdi[45]*)
10557   version_type=linux
10558   need_version=no
10559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560   soname_spec='${libname}${release}${shared_ext}$major'
10561   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10562   shlibpath_var=LD_LIBRARY_PATH
10563   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10564   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10565   # the default ld.so.conf also contains /usr/contrib/lib and
10566   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10567   # libtool to hard-code these into programs
10568   ;;
10569
10570 cygwin* | mingw* | pw32* | cegcc*)
10571   version_type=windows
10572   shrext_cmds=".dll"
10573   need_version=no
10574   need_lib_prefix=no
10575
10576   case $GCC,$host_os in
10577   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10578     library_names_spec='$libname.dll.a'
10579     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10580     postinstall_cmds='base_file=`basename \${file}`~
10581       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10582       dldir=$destdir/`dirname \$dlpath`~
10583       test -d \$dldir || mkdir -p \$dldir~
10584       $install_prog $dir/$dlname \$dldir/$dlname~
10585       chmod a+x \$dldir/$dlname~
10586       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10587         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10588       fi'
10589     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10590       dlpath=$dir/\$dldll~
10591        $RM \$dlpath'
10592     shlibpath_overrides_runpath=yes
10593
10594     case $host_os in
10595     cygwin*)
10596       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10597       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598
10599       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10600       ;;
10601     mingw* | cegcc*)
10602       # MinGW DLLs use traditional 'lib' prefix
10603       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10604       ;;
10605     pw32*)
10606       # pw32 DLLs use 'pw' prefix rather than 'lib'
10607       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10608       ;;
10609     esac
10610     ;;
10611
10612   *)
10613     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10614     ;;
10615   esac
10616   dynamic_linker='Win32 ld.exe'
10617   # FIXME: first we should search . and the directory the executable is in
10618   shlibpath_var=PATH
10619   ;;
10620
10621 darwin* | rhapsody*)
10622   dynamic_linker="$host_os dyld"
10623   version_type=darwin
10624   need_lib_prefix=no
10625   need_version=no
10626   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10627   soname_spec='${libname}${release}${major}$shared_ext'
10628   shlibpath_overrides_runpath=yes
10629   shlibpath_var=DYLD_LIBRARY_PATH
10630   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10631
10632   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10633   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10634   ;;
10635
10636 dgux*)
10637   version_type=linux
10638   need_lib_prefix=no
10639   need_version=no
10640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10641   soname_spec='${libname}${release}${shared_ext}$major'
10642   shlibpath_var=LD_LIBRARY_PATH
10643   ;;
10644
10645 freebsd* | dragonfly*)
10646   # DragonFly does not have aout.  When/if they implement a new
10647   # versioning mechanism, adjust this.
10648   if test -x /usr/bin/objformat; then
10649     objformat=`/usr/bin/objformat`
10650   else
10651     case $host_os in
10652     freebsd[23].*) objformat=aout ;;
10653     *) objformat=elf ;;
10654     esac
10655   fi
10656   version_type=freebsd-$objformat
10657   case $version_type in
10658     freebsd-elf*)
10659       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10660       need_version=no
10661       need_lib_prefix=no
10662       ;;
10663     freebsd-*)
10664       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10665       need_version=yes
10666       ;;
10667   esac
10668   shlibpath_var=LD_LIBRARY_PATH
10669   case $host_os in
10670   freebsd2.*)
10671     shlibpath_overrides_runpath=yes
10672     ;;
10673   freebsd3.[01]* | freebsdelf3.[01]*)
10674     shlibpath_overrides_runpath=yes
10675     hardcode_into_libs=yes
10676     ;;
10677   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10678   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10679     shlibpath_overrides_runpath=no
10680     hardcode_into_libs=yes
10681     ;;
10682   *) # from 4.6 on, and DragonFly
10683     shlibpath_overrides_runpath=yes
10684     hardcode_into_libs=yes
10685     ;;
10686   esac
10687   ;;
10688
10689 gnu*)
10690   version_type=linux
10691   need_lib_prefix=no
10692   need_version=no
10693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10694   soname_spec='${libname}${release}${shared_ext}$major'
10695   shlibpath_var=LD_LIBRARY_PATH
10696   hardcode_into_libs=yes
10697   ;;
10698
10699 haiku*)
10700   version_type=linux
10701   need_lib_prefix=no
10702   need_version=no
10703   dynamic_linker="$host_os runtime_loader"
10704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10705   soname_spec='${libname}${release}${shared_ext}$major'
10706   shlibpath_var=LIBRARY_PATH
10707   shlibpath_overrides_runpath=yes
10708   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10709   hardcode_into_libs=yes
10710   ;;
10711
10712 hpux9* | hpux10* | hpux11*)
10713   # Give a soname corresponding to the major version so that dld.sl refuses to
10714   # link against other versions.
10715   version_type=sunos
10716   need_lib_prefix=no
10717   need_version=no
10718   case $host_cpu in
10719   ia64*)
10720     shrext_cmds='.so'
10721     hardcode_into_libs=yes
10722     dynamic_linker="$host_os dld.so"
10723     shlibpath_var=LD_LIBRARY_PATH
10724     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10725     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10726     soname_spec='${libname}${release}${shared_ext}$major'
10727     if test "X$HPUX_IA64_MODE" = X32; then
10728       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10729     else
10730       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10731     fi
10732     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10733     ;;
10734   hppa*64*)
10735     shrext_cmds='.sl'
10736     hardcode_into_libs=yes
10737     dynamic_linker="$host_os dld.sl"
10738     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10739     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10740     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10741     soname_spec='${libname}${release}${shared_ext}$major'
10742     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10743     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10744     ;;
10745   *)
10746     shrext_cmds='.sl'
10747     dynamic_linker="$host_os dld.sl"
10748     shlibpath_var=SHLIB_PATH
10749     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10750     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751     soname_spec='${libname}${release}${shared_ext}$major'
10752     ;;
10753   esac
10754   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10755   postinstall_cmds='chmod 555 $lib'
10756   # or fails outright, so override atomically:
10757   install_override_mode=555
10758   ;;
10759
10760 interix[3-9]*)
10761   version_type=linux
10762   need_lib_prefix=no
10763   need_version=no
10764   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10765   soname_spec='${libname}${release}${shared_ext}$major'
10766   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10767   shlibpath_var=LD_LIBRARY_PATH
10768   shlibpath_overrides_runpath=no
10769   hardcode_into_libs=yes
10770   ;;
10771
10772 irix5* | irix6* | nonstopux*)
10773   case $host_os in
10774     nonstopux*) version_type=nonstopux ;;
10775     *)
10776         if test "$lt_cv_prog_gnu_ld" = yes; then
10777                 version_type=linux
10778         else
10779                 version_type=irix
10780         fi ;;
10781   esac
10782   need_lib_prefix=no
10783   need_version=no
10784   soname_spec='${libname}${release}${shared_ext}$major'
10785   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10786   case $host_os in
10787   irix5* | nonstopux*)
10788     libsuff= shlibsuff=
10789     ;;
10790   *)
10791     case $LD in # libtool.m4 will add one of these switches to LD
10792     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10793       libsuff= shlibsuff= libmagic=32-bit;;
10794     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10795       libsuff=32 shlibsuff=N32 libmagic=N32;;
10796     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10797       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10798     *) libsuff= shlibsuff= libmagic=never-match;;
10799     esac
10800     ;;
10801   esac
10802   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10803   shlibpath_overrides_runpath=no
10804   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10805   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10806   hardcode_into_libs=yes
10807   ;;
10808
10809 # No shared lib support for Linux oldld, aout, or coff.
10810 linux*oldld* | linux*aout* | linux*coff*)
10811   dynamic_linker=no
10812   ;;
10813
10814 # This must be Linux ELF.
10815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10816   version_type=linux
10817   need_lib_prefix=no
10818   need_version=no
10819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820   soname_spec='${libname}${release}${shared_ext}$major'
10821   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10822   shlibpath_var=LD_LIBRARY_PATH
10823   shlibpath_overrides_runpath=no
10824
10825   # Some binutils ld are patched to set DT_RUNPATH
10826   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10827   $as_echo_n "(cached) " >&6
10828 else
10829   lt_cv_shlibpath_overrides_runpath=no
10830     save_LDFLAGS=$LDFLAGS
10831     save_libdir=$libdir
10832     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10833          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10834     if test x$gcc_no_link = xyes; then
10835   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10836 fi
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h.  */
10839
10840 int
10841 main ()
10842 {
10843
10844   ;
10845   return 0;
10846 }
10847 _ACEOF
10848 if ac_fn_c_try_link "$LINENO"; then :
10849   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10850   lt_cv_shlibpath_overrides_runpath=yes
10851 fi
10852 fi
10853 rm -f core conftest.err conftest.$ac_objext \
10854     conftest$ac_exeext conftest.$ac_ext
10855     LDFLAGS=$save_LDFLAGS
10856     libdir=$save_libdir
10857
10858 fi
10859
10860   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10861
10862   # This implies no fast_install, which is unacceptable.
10863   # Some rework will be needed to allow for fast_install
10864   # before this can be enabled.
10865   hardcode_into_libs=yes
10866
10867   # Append ld.so.conf contents to the search path
10868   if test -f /etc/ld.so.conf; then
10869     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' ' '`
10870     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10871   fi
10872
10873   # We used to test for /lib/ld.so.1 and disable shared libraries on
10874   # powerpc, because MkLinux only supported shared libraries with the
10875   # GNU dynamic linker.  Since this was broken with cross compilers,
10876   # most powerpc-linux boxes support dynamic linking these days and
10877   # people can always --disable-shared, the test was removed, and we
10878   # assume the GNU/Linux dynamic linker is in use.
10879   dynamic_linker='GNU/Linux ld.so'
10880   ;;
10881
10882 netbsd*)
10883   version_type=sunos
10884   need_lib_prefix=no
10885   need_version=no
10886   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10887     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10888     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10889     dynamic_linker='NetBSD (a.out) ld.so'
10890   else
10891     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10892     soname_spec='${libname}${release}${shared_ext}$major'
10893     dynamic_linker='NetBSD ld.elf_so'
10894   fi
10895   shlibpath_var=LD_LIBRARY_PATH
10896   shlibpath_overrides_runpath=yes
10897   hardcode_into_libs=yes
10898   ;;
10899
10900 newsos6)
10901   version_type=linux
10902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903   shlibpath_var=LD_LIBRARY_PATH
10904   shlibpath_overrides_runpath=yes
10905   ;;
10906
10907 *nto* | *qnx*)
10908   version_type=qnx
10909   need_lib_prefix=no
10910   need_version=no
10911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10912   soname_spec='${libname}${release}${shared_ext}$major'
10913   shlibpath_var=LD_LIBRARY_PATH
10914   shlibpath_overrides_runpath=no
10915   hardcode_into_libs=yes
10916   dynamic_linker='ldqnx.so'
10917   ;;
10918
10919 openbsd*)
10920   version_type=sunos
10921   sys_lib_dlsearch_path_spec="/usr/lib"
10922   need_lib_prefix=no
10923   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10924   case $host_os in
10925     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10926     *)                          need_version=no  ;;
10927   esac
10928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10929   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10930   shlibpath_var=LD_LIBRARY_PATH
10931   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10932     case $host_os in
10933       openbsd2.[89] | openbsd2.[89].*)
10934         shlibpath_overrides_runpath=no
10935         ;;
10936       *)
10937         shlibpath_overrides_runpath=yes
10938         ;;
10939       esac
10940   else
10941     shlibpath_overrides_runpath=yes
10942   fi
10943   ;;
10944
10945 os2*)
10946   libname_spec='$name'
10947   shrext_cmds=".dll"
10948   need_lib_prefix=no
10949   library_names_spec='$libname${shared_ext} $libname.a'
10950   dynamic_linker='OS/2 ld.exe'
10951   shlibpath_var=LIBPATH
10952   ;;
10953
10954 osf3* | osf4* | osf5*)
10955   version_type=osf
10956   need_lib_prefix=no
10957   need_version=no
10958   soname_spec='${libname}${release}${shared_ext}$major'
10959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960   shlibpath_var=LD_LIBRARY_PATH
10961   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10962   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10963   ;;
10964
10965 rdos*)
10966   dynamic_linker=no
10967   ;;
10968
10969 solaris*)
10970   version_type=linux
10971   need_lib_prefix=no
10972   need_version=no
10973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10974   soname_spec='${libname}${release}${shared_ext}$major'
10975   shlibpath_var=LD_LIBRARY_PATH
10976   shlibpath_overrides_runpath=yes
10977   hardcode_into_libs=yes
10978   # ldd complains unless libraries are executable
10979   postinstall_cmds='chmod +x $lib'
10980   ;;
10981
10982 sunos4*)
10983   version_type=sunos
10984   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10985   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10986   shlibpath_var=LD_LIBRARY_PATH
10987   shlibpath_overrides_runpath=yes
10988   if test "$with_gnu_ld" = yes; then
10989     need_lib_prefix=no
10990   fi
10991   need_version=yes
10992   ;;
10993
10994 sysv4 | sysv4.3*)
10995   version_type=linux
10996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997   soname_spec='${libname}${release}${shared_ext}$major'
10998   shlibpath_var=LD_LIBRARY_PATH
10999   case $host_vendor in
11000     sni)
11001       shlibpath_overrides_runpath=no
11002       need_lib_prefix=no
11003       runpath_var=LD_RUN_PATH
11004       ;;
11005     siemens)
11006       need_lib_prefix=no
11007       ;;
11008     motorola)
11009       need_lib_prefix=no
11010       need_version=no
11011       shlibpath_overrides_runpath=no
11012       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11013       ;;
11014   esac
11015   ;;
11016
11017 sysv4*MP*)
11018   if test -d /usr/nec ;then
11019     version_type=linux
11020     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11021     soname_spec='$libname${shared_ext}.$major'
11022     shlibpath_var=LD_LIBRARY_PATH
11023   fi
11024   ;;
11025
11026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11027   version_type=freebsd-elf
11028   need_lib_prefix=no
11029   need_version=no
11030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11031   soname_spec='${libname}${release}${shared_ext}$major'
11032   shlibpath_var=LD_LIBRARY_PATH
11033   shlibpath_overrides_runpath=yes
11034   hardcode_into_libs=yes
11035   if test "$with_gnu_ld" = yes; then
11036     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11037   else
11038     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11039     case $host_os in
11040       sco3.2v5*)
11041         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11042         ;;
11043     esac
11044   fi
11045   sys_lib_dlsearch_path_spec='/usr/lib'
11046   ;;
11047
11048 tpf*)
11049   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11050   version_type=linux
11051   need_lib_prefix=no
11052   need_version=no
11053   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054   shlibpath_var=LD_LIBRARY_PATH
11055   shlibpath_overrides_runpath=no
11056   hardcode_into_libs=yes
11057   ;;
11058
11059 uts4*)
11060   version_type=linux
11061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062   soname_spec='${libname}${release}${shared_ext}$major'
11063   shlibpath_var=LD_LIBRARY_PATH
11064   ;;
11065
11066 *)
11067   dynamic_linker=no
11068   ;;
11069 esac
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11071 $as_echo "$dynamic_linker" >&6; }
11072 test "$dynamic_linker" = no && can_build_shared=no
11073
11074 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11075 if test "$GCC" = yes; then
11076   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11077 fi
11078
11079 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11080   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11081 fi
11082 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11083   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11084 fi
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11178 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11179 hardcode_action=
11180 if test -n "$hardcode_libdir_flag_spec" ||
11181    test -n "$runpath_var" ||
11182    test "X$hardcode_automatic" = "Xyes" ; then
11183
11184   # We can hardcode non-existent directories.
11185   if test "$hardcode_direct" != no &&
11186      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11187      # have to relink, otherwise we might link with an installed library
11188      # when we should be linking with a yet-to-be-installed one
11189      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11190      test "$hardcode_minus_L" != no; then
11191     # Linking always hardcodes the temporary library directory.
11192     hardcode_action=relink
11193   else
11194     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11195     hardcode_action=immediate
11196   fi
11197 else
11198   # We cannot hardcode anything, or else we can only hardcode existing
11199   # directories.
11200   hardcode_action=unsupported
11201 fi
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11203 $as_echo "$hardcode_action" >&6; }
11204
11205 if test "$hardcode_action" = relink ||
11206    test "$inherit_rpath" = yes; then
11207   # Fast installation is not supported
11208   enable_fast_install=no
11209 elif test "$shlibpath_overrides_runpath" = yes ||
11210      test "$enable_shared" = no; then
11211   # Fast installation is not necessary
11212   enable_fast_install=needless
11213 fi
11214
11215
11216
11217
11218
11219
11220   if test "x$enable_dlopen" != xyes; then
11221   enable_dlopen=unknown
11222   enable_dlopen_self=unknown
11223   enable_dlopen_self_static=unknown
11224 else
11225   lt_cv_dlopen=no
11226   lt_cv_dlopen_libs=
11227
11228   case $host_os in
11229   beos*)
11230     lt_cv_dlopen="load_add_on"
11231     lt_cv_dlopen_libs=
11232     lt_cv_dlopen_self=yes
11233     ;;
11234
11235   mingw* | pw32* | cegcc*)
11236     lt_cv_dlopen="LoadLibrary"
11237     lt_cv_dlopen_libs=
11238     ;;
11239
11240   cygwin*)
11241     lt_cv_dlopen="dlopen"
11242     lt_cv_dlopen_libs=
11243     ;;
11244
11245   darwin*)
11246   # if libdl is installed we need to link against it
11247     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11248 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11249 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11250   $as_echo_n "(cached) " >&6
11251 else
11252   ac_check_lib_save_LIBS=$LIBS
11253 LIBS="-ldl  $LIBS"
11254 if test x$gcc_no_link = xyes; then
11255   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11256 fi
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h.  */
11259
11260 /* Override any GCC internal prototype to avoid an error.
11261    Use char because int might match the return type of a GCC
11262    builtin and then its argument prototype would still apply.  */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char dlopen ();
11267 int
11268 main ()
11269 {
11270 return dlopen ();
11271   ;
11272   return 0;
11273 }
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276   ac_cv_lib_dl_dlopen=yes
11277 else
11278   ac_cv_lib_dl_dlopen=no
11279 fi
11280 rm -f core conftest.err conftest.$ac_objext \
11281     conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
11283 fi
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11285 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11286 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11287   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11288 else
11289
11290     lt_cv_dlopen="dyld"
11291     lt_cv_dlopen_libs=
11292     lt_cv_dlopen_self=yes
11293
11294 fi
11295
11296     ;;
11297
11298   *)
11299     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11300 if test "x$ac_cv_func_shl_load" = x""yes; then :
11301   lt_cv_dlopen="shl_load"
11302 else
11303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11304 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11305 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11306   $as_echo_n "(cached) " >&6
11307 else
11308   ac_check_lib_save_LIBS=$LIBS
11309 LIBS="-ldld  $LIBS"
11310 if test x$gcc_no_link = xyes; then
11311   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11312 fi
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h.  */
11315
11316 /* Override any GCC internal prototype to avoid an error.
11317    Use char because int might match the return type of a GCC
11318    builtin and then its argument prototype would still apply.  */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 char shl_load ();
11323 int
11324 main ()
11325 {
11326 return shl_load ();
11327   ;
11328   return 0;
11329 }
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"; then :
11332   ac_cv_lib_dld_shl_load=yes
11333 else
11334   ac_cv_lib_dld_shl_load=no
11335 fi
11336 rm -f core conftest.err conftest.$ac_objext \
11337     conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_lib_save_LIBS
11339 fi
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11341 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11342 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11343   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11344 else
11345   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11346 if test "x$ac_cv_func_dlopen" = x""yes; then :
11347   lt_cv_dlopen="dlopen"
11348 else
11349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11350 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11351 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11352   $as_echo_n "(cached) " >&6
11353 else
11354   ac_check_lib_save_LIBS=$LIBS
11355 LIBS="-ldl  $LIBS"
11356 if test x$gcc_no_link = xyes; then
11357   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11358 fi
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h.  */
11361
11362 /* Override any GCC internal prototype to avoid an error.
11363    Use char because int might match the return type of a GCC
11364    builtin and then its argument prototype would still apply.  */
11365 #ifdef __cplusplus
11366 extern "C"
11367 #endif
11368 char dlopen ();
11369 int
11370 main ()
11371 {
11372 return dlopen ();
11373   ;
11374   return 0;
11375 }
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"; then :
11378   ac_cv_lib_dl_dlopen=yes
11379 else
11380   ac_cv_lib_dl_dlopen=no
11381 fi
11382 rm -f core conftest.err conftest.$ac_objext \
11383     conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_lib_save_LIBS
11385 fi
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11387 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11388 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11389   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11390 else
11391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11392 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11393 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11394   $as_echo_n "(cached) " >&6
11395 else
11396   ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-lsvld  $LIBS"
11398 if test x$gcc_no_link = xyes; then
11399   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11400 fi
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h.  */
11403
11404 /* Override any GCC internal prototype to avoid an error.
11405    Use char because int might match the return type of a GCC
11406    builtin and then its argument prototype would still apply.  */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char dlopen ();
11411 int
11412 main ()
11413 {
11414 return dlopen ();
11415   ;
11416   return 0;
11417 }
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420   ac_cv_lib_svld_dlopen=yes
11421 else
11422   ac_cv_lib_svld_dlopen=no
11423 fi
11424 rm -f core conftest.err conftest.$ac_objext \
11425     conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11427 fi
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11429 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11430 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11431   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11432 else
11433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11434 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11435 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11436   $as_echo_n "(cached) " >&6
11437 else
11438   ac_check_lib_save_LIBS=$LIBS
11439 LIBS="-ldld  $LIBS"
11440 if test x$gcc_no_link = xyes; then
11441   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11442 fi
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h.  */
11445
11446 /* Override any GCC internal prototype to avoid an error.
11447    Use char because int might match the return type of a GCC
11448    builtin and then its argument prototype would still apply.  */
11449 #ifdef __cplusplus
11450 extern "C"
11451 #endif
11452 char dld_link ();
11453 int
11454 main ()
11455 {
11456 return dld_link ();
11457   ;
11458   return 0;
11459 }
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"; then :
11462   ac_cv_lib_dld_dld_link=yes
11463 else
11464   ac_cv_lib_dld_dld_link=no
11465 fi
11466 rm -f core conftest.err conftest.$ac_objext \
11467     conftest$ac_exeext conftest.$ac_ext
11468 LIBS=$ac_check_lib_save_LIBS
11469 fi
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11471 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11472 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11473   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11474 fi
11475
11476
11477 fi
11478
11479
11480 fi
11481
11482
11483 fi
11484
11485
11486 fi
11487
11488
11489 fi
11490
11491     ;;
11492   esac
11493
11494   if test "x$lt_cv_dlopen" != xno; then
11495     enable_dlopen=yes
11496   else
11497     enable_dlopen=no
11498   fi
11499
11500   case $lt_cv_dlopen in
11501   dlopen)
11502     save_CPPFLAGS="$CPPFLAGS"
11503     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11504
11505     save_LDFLAGS="$LDFLAGS"
11506     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11507
11508     save_LIBS="$LIBS"
11509     LIBS="$lt_cv_dlopen_libs $LIBS"
11510
11511     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11512 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11513 if test "${lt_cv_dlopen_self+set}" = set; then :
11514   $as_echo_n "(cached) " >&6
11515 else
11516           if test "$cross_compiling" = yes; then :
11517   lt_cv_dlopen_self=cross
11518 else
11519   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11520   lt_status=$lt_dlunknown
11521   cat > conftest.$ac_ext <<_LT_EOF
11522 #line 11522 "configure"
11523 #include "confdefs.h"
11524
11525 #if HAVE_DLFCN_H
11526 #include <dlfcn.h>
11527 #endif
11528
11529 #include <stdio.h>
11530
11531 #ifdef RTLD_GLOBAL
11532 #  define LT_DLGLOBAL           RTLD_GLOBAL
11533 #else
11534 #  ifdef DL_GLOBAL
11535 #    define LT_DLGLOBAL         DL_GLOBAL
11536 #  else
11537 #    define LT_DLGLOBAL         0
11538 #  endif
11539 #endif
11540
11541 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11542    find out it does not work in some platform. */
11543 #ifndef LT_DLLAZY_OR_NOW
11544 #  ifdef RTLD_LAZY
11545 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11546 #  else
11547 #    ifdef DL_LAZY
11548 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11549 #    else
11550 #      ifdef RTLD_NOW
11551 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11552 #      else
11553 #        ifdef DL_NOW
11554 #          define LT_DLLAZY_OR_NOW      DL_NOW
11555 #        else
11556 #          define LT_DLLAZY_OR_NOW      0
11557 #        endif
11558 #      endif
11559 #    endif
11560 #  endif
11561 #endif
11562
11563 /* When -fvisbility=hidden is used, assume the code has been annotated
11564    correspondingly for the symbols needed.  */
11565 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11566 void fnord () __attribute__((visibility("default")));
11567 #endif
11568
11569 void fnord () { int i=42; }
11570 int main ()
11571 {
11572   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11573   int status = $lt_dlunknown;
11574
11575   if (self)
11576     {
11577       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11578       else
11579         {
11580           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11581           else puts (dlerror ());
11582         }
11583       /* dlclose (self); */
11584     }
11585   else
11586     puts (dlerror ());
11587
11588   return status;
11589 }
11590 _LT_EOF
11591   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11592   (eval $ac_link) 2>&5
11593   ac_status=$?
11594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11595   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11596     (./conftest; exit; ) >&5 2>/dev/null
11597     lt_status=$?
11598     case x$lt_status in
11599       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11600       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11601       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11602     esac
11603   else :
11604     # compilation failed
11605     lt_cv_dlopen_self=no
11606   fi
11607 fi
11608 rm -fr conftest*
11609
11610
11611 fi
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11613 $as_echo "$lt_cv_dlopen_self" >&6; }
11614
11615     if test "x$lt_cv_dlopen_self" = xyes; then
11616       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11617       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11618 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11619 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11620   $as_echo_n "(cached) " >&6
11621 else
11622           if test "$cross_compiling" = yes; then :
11623   lt_cv_dlopen_self_static=cross
11624 else
11625   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11626   lt_status=$lt_dlunknown
11627   cat > conftest.$ac_ext <<_LT_EOF
11628 #line 11628 "configure"
11629 #include "confdefs.h"
11630
11631 #if HAVE_DLFCN_H
11632 #include <dlfcn.h>
11633 #endif
11634
11635 #include <stdio.h>
11636
11637 #ifdef RTLD_GLOBAL
11638 #  define LT_DLGLOBAL           RTLD_GLOBAL
11639 #else
11640 #  ifdef DL_GLOBAL
11641 #    define LT_DLGLOBAL         DL_GLOBAL
11642 #  else
11643 #    define LT_DLGLOBAL         0
11644 #  endif
11645 #endif
11646
11647 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11648    find out it does not work in some platform. */
11649 #ifndef LT_DLLAZY_OR_NOW
11650 #  ifdef RTLD_LAZY
11651 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11652 #  else
11653 #    ifdef DL_LAZY
11654 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11655 #    else
11656 #      ifdef RTLD_NOW
11657 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11658 #      else
11659 #        ifdef DL_NOW
11660 #          define LT_DLLAZY_OR_NOW      DL_NOW
11661 #        else
11662 #          define LT_DLLAZY_OR_NOW      0
11663 #        endif
11664 #      endif
11665 #    endif
11666 #  endif
11667 #endif
11668
11669 /* When -fvisbility=hidden is used, assume the code has been annotated
11670    correspondingly for the symbols needed.  */
11671 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11672 void fnord () __attribute__((visibility("default")));
11673 #endif
11674
11675 void fnord () { int i=42; }
11676 int main ()
11677 {
11678   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11679   int status = $lt_dlunknown;
11680
11681   if (self)
11682     {
11683       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11684       else
11685         {
11686           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11687           else puts (dlerror ());
11688         }
11689       /* dlclose (self); */
11690     }
11691   else
11692     puts (dlerror ());
11693
11694   return status;
11695 }
11696 _LT_EOF
11697   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11698   (eval $ac_link) 2>&5
11699   ac_status=$?
11700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11701   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11702     (./conftest; exit; ) >&5 2>/dev/null
11703     lt_status=$?
11704     case x$lt_status in
11705       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11706       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11707       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11708     esac
11709   else :
11710     # compilation failed
11711     lt_cv_dlopen_self_static=no
11712   fi
11713 fi
11714 rm -fr conftest*
11715
11716
11717 fi
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11719 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11720     fi
11721
11722     CPPFLAGS="$save_CPPFLAGS"
11723     LDFLAGS="$save_LDFLAGS"
11724     LIBS="$save_LIBS"
11725     ;;
11726   esac
11727
11728   case $lt_cv_dlopen_self in
11729   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11730   *) enable_dlopen_self=unknown ;;
11731   esac
11732
11733   case $lt_cv_dlopen_self_static in
11734   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11735   *) enable_dlopen_self_static=unknown ;;
11736   esac
11737 fi
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755 striplib=
11756 old_striplib=
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11758 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11759 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11760   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11761   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11763 $as_echo "yes" >&6; }
11764 else
11765 # FIXME - insert some real tests, host_os isn't really good enough
11766   case $host_os in
11767   darwin*)
11768     if test -n "$STRIP" ; then
11769       striplib="$STRIP -x"
11770       old_striplib="$STRIP -S"
11771       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11772 $as_echo "yes" >&6; }
11773     else
11774       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11776     fi
11777     ;;
11778   *)
11779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11781     ;;
11782   esac
11783 fi
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796   # Report which library types will actually be built
11797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11798 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11800 $as_echo "$can_build_shared" >&6; }
11801
11802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11803 $as_echo_n "checking whether to build shared libraries... " >&6; }
11804   test "$can_build_shared" = "no" && enable_shared=no
11805
11806   # On AIX, shared libraries and static libraries use the same namespace, and
11807   # are all built from PIC.
11808   case $host_os in
11809   aix3*)
11810     test "$enable_shared" = yes && enable_static=no
11811     if test -n "$RANLIB"; then
11812       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11813       postinstall_cmds='$RANLIB $lib'
11814     fi
11815     ;;
11816
11817   aix[4-9]*)
11818     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11819       test "$enable_shared" = yes && enable_static=no
11820     fi
11821     ;;
11822   esac
11823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11824 $as_echo "$enable_shared" >&6; }
11825
11826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11827 $as_echo_n "checking whether to build static libraries... " >&6; }
11828   # Make sure either enable_shared or enable_static is yes.
11829   test "$enable_shared" = yes || enable_static=yes
11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11831 $as_echo "$enable_static" >&6; }
11832
11833
11834
11835
11836 fi
11837 ac_ext=c
11838 ac_cpp='$CPP $CPPFLAGS'
11839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11842
11843 CC="$lt_save_CC"
11844
11845       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11846     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11847     (test "X$CXX" != "Xg++"))) ; then
11848   ac_ext=cpp
11849 ac_cpp='$CXXCPP $CPPFLAGS'
11850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11854 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11855 if test -z "$CXXCPP"; then
11856   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11857   $as_echo_n "(cached) " >&6
11858 else
11859       # Double quotes because CXXCPP needs to be expanded
11860     for CXXCPP in "$CXX -E" "/lib/cpp"
11861     do
11862       ac_preproc_ok=false
11863 for ac_cxx_preproc_warn_flag in '' yes
11864 do
11865   # Use a header file that comes with gcc, so configuring glibc
11866   # with a fresh cross-compiler works.
11867   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11868   # <limits.h> exists even on freestanding compilers.
11869   # On the NeXT, cc -E runs the code through the compiler's parser,
11870   # not just through cpp. "Syntax error" is here to catch this case.
11871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h.  */
11873 #ifdef __STDC__
11874 # include <limits.h>
11875 #else
11876 # include <assert.h>
11877 #endif
11878                      Syntax error
11879 _ACEOF
11880 if ac_fn_cxx_try_cpp "$LINENO"; then :
11881
11882 else
11883   # Broken: fails on valid input.
11884 continue
11885 fi
11886 rm -f conftest.err conftest.$ac_ext
11887
11888   # OK, works on sane cases.  Now check whether nonexistent headers
11889   # can be detected and how.
11890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h.  */
11892 #include <ac_nonexistent.h>
11893 _ACEOF
11894 if ac_fn_cxx_try_cpp "$LINENO"; then :
11895   # Broken: success on invalid input.
11896 continue
11897 else
11898   # Passes both tests.
11899 ac_preproc_ok=:
11900 break
11901 fi
11902 rm -f conftest.err conftest.$ac_ext
11903
11904 done
11905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11906 rm -f conftest.err conftest.$ac_ext
11907 if $ac_preproc_ok; then :
11908   break
11909 fi
11910
11911     done
11912     ac_cv_prog_CXXCPP=$CXXCPP
11913
11914 fi
11915   CXXCPP=$ac_cv_prog_CXXCPP
11916 else
11917   ac_cv_prog_CXXCPP=$CXXCPP
11918 fi
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11920 $as_echo "$CXXCPP" >&6; }
11921 ac_preproc_ok=false
11922 for ac_cxx_preproc_warn_flag in '' yes
11923 do
11924   # Use a header file that comes with gcc, so configuring glibc
11925   # with a fresh cross-compiler works.
11926   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11927   # <limits.h> exists even on freestanding compilers.
11928   # On the NeXT, cc -E runs the code through the compiler's parser,
11929   # not just through cpp. "Syntax error" is here to catch this case.
11930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h.  */
11932 #ifdef __STDC__
11933 # include <limits.h>
11934 #else
11935 # include <assert.h>
11936 #endif
11937                      Syntax error
11938 _ACEOF
11939 if ac_fn_cxx_try_cpp "$LINENO"; then :
11940
11941 else
11942   # Broken: fails on valid input.
11943 continue
11944 fi
11945 rm -f conftest.err conftest.$ac_ext
11946
11947   # OK, works on sane cases.  Now check whether nonexistent headers
11948   # can be detected and how.
11949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h.  */
11951 #include <ac_nonexistent.h>
11952 _ACEOF
11953 if ac_fn_cxx_try_cpp "$LINENO"; then :
11954   # Broken: success on invalid input.
11955 continue
11956 else
11957   # Passes both tests.
11958 ac_preproc_ok=:
11959 break
11960 fi
11961 rm -f conftest.err conftest.$ac_ext
11962
11963 done
11964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11965 rm -f conftest.err conftest.$ac_ext
11966 if $ac_preproc_ok; then :
11967
11968 else
11969   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11971 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11972 See \`config.log' for more details." "$LINENO" 5; }
11973 fi
11974
11975 ac_ext=c
11976 ac_cpp='$CPP $CPPFLAGS'
11977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11980
11981 else
11982   _lt_caught_CXX_error=yes
11983 fi
11984
11985 ac_ext=cpp
11986 ac_cpp='$CXXCPP $CPPFLAGS'
11987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11990
11991 archive_cmds_need_lc_CXX=no
11992 allow_undefined_flag_CXX=
11993 always_export_symbols_CXX=no
11994 archive_expsym_cmds_CXX=
11995 compiler_needs_object_CXX=no
11996 export_dynamic_flag_spec_CXX=
11997 hardcode_direct_CXX=no
11998 hardcode_direct_absolute_CXX=no
11999 hardcode_libdir_flag_spec_CXX=
12000 hardcode_libdir_flag_spec_ld_CXX=
12001 hardcode_libdir_separator_CXX=
12002 hardcode_minus_L_CXX=no
12003 hardcode_shlibpath_var_CXX=unsupported
12004 hardcode_automatic_CXX=no
12005 inherit_rpath_CXX=no
12006 module_cmds_CXX=
12007 module_expsym_cmds_CXX=
12008 link_all_deplibs_CXX=unknown
12009 old_archive_cmds_CXX=$old_archive_cmds
12010 reload_flag_CXX=$reload_flag
12011 reload_cmds_CXX=$reload_cmds
12012 no_undefined_flag_CXX=
12013 whole_archive_flag_spec_CXX=
12014 enable_shared_with_static_runtimes_CXX=no
12015
12016 # Source file extension for C++ test sources.
12017 ac_ext=cpp
12018
12019 # Object file extension for compiled C++ test sources.
12020 objext=o
12021 objext_CXX=$objext
12022
12023 # No sense in running all these tests if we already determined that
12024 # the CXX compiler isn't working.  Some variables (like enable_shared)
12025 # are currently assumed to apply to all compilers on this platform,
12026 # and will be corrupted by setting them based on a non-working compiler.
12027 if test "$_lt_caught_CXX_error" != yes; then
12028   # Code to be used in simple compile tests
12029   lt_simple_compile_test_code="int some_variable = 0;"
12030
12031   # Code to be used in simple link tests
12032   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12033
12034   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12035
12036
12037
12038
12039
12040
12041 # If no C compiler was specified, use CC.
12042 LTCC=${LTCC-"$CC"}
12043
12044 # If no C compiler flags were specified, use CFLAGS.
12045 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12046
12047 # Allow CC to be a program name with arguments.
12048 compiler=$CC
12049
12050
12051   # save warnings/boilerplate of simple test code
12052   ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12054 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_compiler_boilerplate=`cat conftest.err`
12056 $RM conftest*
12057
12058   ac_outfile=conftest.$ac_objext
12059 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12060 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12061 _lt_linker_boilerplate=`cat conftest.err`
12062 $RM -r conftest*
12063
12064
12065   # Allow CC to be a program name with arguments.
12066   lt_save_CC=$CC
12067   lt_save_LD=$LD
12068   lt_save_GCC=$GCC
12069   GCC=$GXX
12070   lt_save_with_gnu_ld=$with_gnu_ld
12071   lt_save_path_LD=$lt_cv_path_LD
12072   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12073     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12074   else
12075     $as_unset lt_cv_prog_gnu_ld
12076   fi
12077   if test -n "${lt_cv_path_LDCXX+set}"; then
12078     lt_cv_path_LD=$lt_cv_path_LDCXX
12079   else
12080     $as_unset lt_cv_path_LD
12081   fi
12082   test -z "${LDCXX+set}" || LD=$LDCXX
12083   CC=${CXX-"c++"}
12084   compiler=$CC
12085   compiler_CXX=$CC
12086   for cc_temp in $compiler""; do
12087   case $cc_temp in
12088     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12089     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12090     \-*) ;;
12091     *) break;;
12092   esac
12093 done
12094 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12095
12096
12097   if test -n "$compiler"; then
12098     # We don't want -fno-exception when compiling C++ code, so set the
12099     # no_builtin_flag separately
12100     if test "$GXX" = yes; then
12101       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12102     else
12103       lt_prog_compiler_no_builtin_flag_CXX=
12104     fi
12105
12106     if test "$GXX" = yes; then
12107       # Set up default GNU C++ configuration
12108
12109
12110
12111 # Check whether --with-gnu-ld was given.
12112 if test "${with_gnu_ld+set}" = set; then :
12113   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12114 else
12115   with_gnu_ld=no
12116 fi
12117
12118 ac_prog=ld
12119 if test "$GCC" = yes; then
12120   # Check if gcc -print-prog-name=ld gives a path.
12121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12122 $as_echo_n "checking for ld used by $CC... " >&6; }
12123   case $host in
12124   *-*-mingw*)
12125     # gcc leaves a trailing carriage return which upsets mingw
12126     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12127   *)
12128     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12129   esac
12130   case $ac_prog in
12131     # Accept absolute paths.
12132     [\\/]* | ?:[\\/]*)
12133       re_direlt='/[^/][^/]*/\.\./'
12134       # Canonicalize the pathname of ld
12135       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12136       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12137         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12138       done
12139       test -z "$LD" && LD="$ac_prog"
12140       ;;
12141   "")
12142     # If it fails, then pretend we aren't using GCC.
12143     ac_prog=ld
12144     ;;
12145   *)
12146     # If it is relative, then search for the first ld in PATH.
12147     with_gnu_ld=unknown
12148     ;;
12149   esac
12150 elif test "$with_gnu_ld" = yes; then
12151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12152 $as_echo_n "checking for GNU ld... " >&6; }
12153 else
12154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12155 $as_echo_n "checking for non-GNU ld... " >&6; }
12156 fi
12157 if test "${lt_cv_path_LD+set}" = set; then :
12158   $as_echo_n "(cached) " >&6
12159 else
12160   if test -z "$LD"; then
12161   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12162   for ac_dir in $PATH; do
12163     IFS="$lt_save_ifs"
12164     test -z "$ac_dir" && ac_dir=.
12165     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12166       lt_cv_path_LD="$ac_dir/$ac_prog"
12167       # Check to see if the program is GNU ld.  I'd rather use --version,
12168       # but apparently some variants of GNU ld only accept -v.
12169       # Break only if it was the GNU/non-GNU ld that we prefer.
12170       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12171       *GNU* | *'with BFD'*)
12172         test "$with_gnu_ld" != no && break
12173         ;;
12174       *)
12175         test "$with_gnu_ld" != yes && break
12176         ;;
12177       esac
12178     fi
12179   done
12180   IFS="$lt_save_ifs"
12181 else
12182   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12183 fi
12184 fi
12185
12186 LD="$lt_cv_path_LD"
12187 if test -n "$LD"; then
12188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12189 $as_echo "$LD" >&6; }
12190 else
12191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12192 $as_echo "no" >&6; }
12193 fi
12194 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12196 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12197 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12198   $as_echo_n "(cached) " >&6
12199 else
12200   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12201 case `$LD -v 2>&1 </dev/null` in
12202 *GNU* | *'with BFD'*)
12203   lt_cv_prog_gnu_ld=yes
12204   ;;
12205 *)
12206   lt_cv_prog_gnu_ld=no
12207   ;;
12208 esac
12209 fi
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12211 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12212 with_gnu_ld=$lt_cv_prog_gnu_ld
12213
12214
12215
12216
12217
12218
12219
12220       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12221       # archiving commands below assume that GNU ld is being used.
12222       if test "$with_gnu_ld" = yes; then
12223         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12224         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'
12225
12226         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12227         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12228
12229         # If archive_cmds runs LD, not CC, wlarc should be empty
12230         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12231         #     investigate it a little bit more. (MM)
12232         wlarc='${wl}'
12233
12234         # ancient GNU ld didn't support --whole-archive et. al.
12235         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12236           $GREP 'no-whole-archive' > /dev/null; then
12237           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12238         else
12239           whole_archive_flag_spec_CXX=
12240         fi
12241       else
12242         with_gnu_ld=no
12243         wlarc=
12244
12245         # A generic and very simple default shared library creation
12246         # command for GNU C++ for the case where it uses the native
12247         # linker, instead of GNU ld.  If possible, this setting should
12248         # overridden to take advantage of the native linker features on
12249         # the platform it is being used on.
12250         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12251       fi
12252
12253       # Commands to make compiler produce verbose output that lists
12254       # what "hidden" libraries, object files and flags are used when
12255       # linking a shared library.
12256       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12257
12258     else
12259       GXX=no
12260       with_gnu_ld=no
12261       wlarc=
12262     fi
12263
12264     # PORTME: fill in a description of your system's C++ link characteristics
12265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12266 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12267     ld_shlibs_CXX=yes
12268     case $host_os in
12269       aix3*)
12270         # FIXME: insert proper C++ library support
12271         ld_shlibs_CXX=no
12272         ;;
12273       aix[4-9]*)
12274         if test "$host_cpu" = ia64; then
12275           # On IA64, the linker does run time linking by default, so we don't
12276           # have to do anything special.
12277           aix_use_runtimelinking=no
12278           exp_sym_flag='-Bexport'
12279           no_entry_flag=""
12280         else
12281           aix_use_runtimelinking=no
12282
12283           # Test if we are trying to use run time linking or normal
12284           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12285           # need to do runtime linking.
12286           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12287             for ld_flag in $LDFLAGS; do
12288               case $ld_flag in
12289               *-brtl*)
12290                 aix_use_runtimelinking=yes
12291                 break
12292                 ;;
12293               esac
12294             done
12295             ;;
12296           esac
12297
12298           exp_sym_flag='-bexport'
12299           no_entry_flag='-bnoentry'
12300         fi
12301
12302         # When large executables or shared objects are built, AIX ld can
12303         # have problems creating the table of contents.  If linking a library
12304         # or program results in "error TOC overflow" add -mminimal-toc to
12305         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12306         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12307
12308         archive_cmds_CXX=''
12309         hardcode_direct_CXX=yes
12310         hardcode_direct_absolute_CXX=yes
12311         hardcode_libdir_separator_CXX=':'
12312         link_all_deplibs_CXX=yes
12313         file_list_spec_CXX='${wl}-f,'
12314
12315         if test "$GXX" = yes; then
12316           case $host_os in aix4.[012]|aix4.[012].*)
12317           # We only want to do this on AIX 4.2 and lower, the check
12318           # below for broken collect2 doesn't work under 4.3+
12319           collect2name=`${CC} -print-prog-name=collect2`
12320           if test -f "$collect2name" &&
12321              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12322           then
12323             # We have reworked collect2
12324             :
12325           else
12326             # We have old collect2
12327             hardcode_direct_CXX=unsupported
12328             # It fails to find uninstalled libraries when the uninstalled
12329             # path is not listed in the libpath.  Setting hardcode_minus_L
12330             # to unsupported forces relinking
12331             hardcode_minus_L_CXX=yes
12332             hardcode_libdir_flag_spec_CXX='-L$libdir'
12333             hardcode_libdir_separator_CXX=
12334           fi
12335           esac
12336           shared_flag='-shared'
12337           if test "$aix_use_runtimelinking" = yes; then
12338             shared_flag="$shared_flag "'${wl}-G'
12339           fi
12340         else
12341           # not using gcc
12342           if test "$host_cpu" = ia64; then
12343           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12344           # chokes on -Wl,-G. The following line is correct:
12345           shared_flag='-G'
12346           else
12347             if test "$aix_use_runtimelinking" = yes; then
12348               shared_flag='${wl}-G'
12349             else
12350               shared_flag='${wl}-bM:SRE'
12351             fi
12352           fi
12353         fi
12354
12355         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12356         # It seems that -bexpall does not export symbols beginning with
12357         # underscore (_), so it is better to generate a list of symbols to
12358         # export.
12359         always_export_symbols_CXX=yes
12360         if test "$aix_use_runtimelinking" = yes; then
12361           # Warning - without using the other runtime loading flags (-brtl),
12362           # -berok will link without error, but may produce a broken library.
12363           allow_undefined_flag_CXX='-berok'
12364           # Determine the default libpath from the value encoded in an empty
12365           # executable.
12366           if test x$gcc_no_link = xyes; then
12367   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12368 fi
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h.  */
12371
12372 int
12373 main ()
12374 {
12375
12376   ;
12377   return 0;
12378 }
12379 _ACEOF
12380 if ac_fn_cxx_try_link "$LINENO"; then :
12381
12382 lt_aix_libpath_sed='
12383     /Import File Strings/,/^$/ {
12384         /^0/ {
12385             s/^0  *\(.*\)$/\1/
12386             p
12387         }
12388     }'
12389 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12390 # Check for a 64-bit object if we didn't find anything.
12391 if test -z "$aix_libpath"; then
12392   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12393 fi
12394 fi
12395 rm -f core conftest.err conftest.$ac_objext \
12396     conftest$ac_exeext conftest.$ac_ext
12397 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12398
12399           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12400
12401           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"
12402         else
12403           if test "$host_cpu" = ia64; then
12404             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12405             allow_undefined_flag_CXX="-z nodefs"
12406             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"
12407           else
12408             # Determine the default libpath from the value encoded in an
12409             # empty executable.
12410             if test x$gcc_no_link = xyes; then
12411   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12412 fi
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h.  */
12415
12416 int
12417 main ()
12418 {
12419
12420   ;
12421   return 0;
12422 }
12423 _ACEOF
12424 if ac_fn_cxx_try_link "$LINENO"; then :
12425
12426 lt_aix_libpath_sed='
12427     /Import File Strings/,/^$/ {
12428         /^0/ {
12429             s/^0  *\(.*\)$/\1/
12430             p
12431         }
12432     }'
12433 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12434 # Check for a 64-bit object if we didn't find anything.
12435 if test -z "$aix_libpath"; then
12436   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12437 fi
12438 fi
12439 rm -f core conftest.err conftest.$ac_objext \
12440     conftest$ac_exeext conftest.$ac_ext
12441 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12442
12443             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12444             # Warning - without using the other run time loading flags,
12445             # -berok will link without error, but may produce a broken library.
12446             no_undefined_flag_CXX=' ${wl}-bernotok'
12447             allow_undefined_flag_CXX=' ${wl}-berok'
12448             if test "$with_gnu_ld" = yes; then
12449               # We only use this code for GNU lds that support --whole-archive.
12450               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12451             else
12452               # Exported symbols can be pulled into shared objects from archives
12453               whole_archive_flag_spec_CXX='$convenience'
12454             fi
12455             archive_cmds_need_lc_CXX=yes
12456             # This is similar to how AIX traditionally builds its shared
12457             # libraries.
12458             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'
12459           fi
12460         fi
12461         ;;
12462
12463       beos*)
12464         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12465           allow_undefined_flag_CXX=unsupported
12466           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12467           # support --undefined.  This deserves some investigation.  FIXME
12468           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12469         else
12470           ld_shlibs_CXX=no
12471         fi
12472         ;;
12473
12474       chorus*)
12475         case $cc_basename in
12476           *)
12477           # FIXME: insert proper C++ library support
12478           ld_shlibs_CXX=no
12479           ;;
12480         esac
12481         ;;
12482
12483       cygwin* | mingw* | pw32* | cegcc*)
12484         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12485         # as there is no search path for DLLs.
12486         hardcode_libdir_flag_spec_CXX='-L$libdir'
12487         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12488         allow_undefined_flag_CXX=unsupported
12489         always_export_symbols_CXX=no
12490         enable_shared_with_static_runtimes_CXX=yes
12491
12492         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12493           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'
12494           # If the export-symbols file already is a .def file (1st line
12495           # is EXPORTS), use it as is; otherwise, prepend...
12496           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12497             cp $export_symbols $output_objdir/$soname.def;
12498           else
12499             echo EXPORTS > $output_objdir/$soname.def;
12500             cat $export_symbols >> $output_objdir/$soname.def;
12501           fi~
12502           $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'
12503         else
12504           ld_shlibs_CXX=no
12505         fi
12506         ;;
12507       darwin* | rhapsody*)
12508
12509
12510   archive_cmds_need_lc_CXX=no
12511   hardcode_direct_CXX=no
12512   hardcode_automatic_CXX=yes
12513   hardcode_shlibpath_var_CXX=unsupported
12514   if test "$lt_cv_ld_force_load" = "yes"; then
12515     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\"`'
12516   else
12517     whole_archive_flag_spec_CXX=''
12518   fi
12519   link_all_deplibs_CXX=yes
12520   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12521   case $cc_basename in
12522      ifort*) _lt_dar_can_shared=yes ;;
12523      *) _lt_dar_can_shared=$GCC ;;
12524   esac
12525   if test "$_lt_dar_can_shared" = "yes"; then
12526     output_verbose_link_cmd=func_echo_all
12527     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}"
12528     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12529     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}"
12530     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}"
12531        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12532       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}"
12533       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}"
12534     fi
12535
12536   else
12537   ld_shlibs_CXX=no
12538   fi
12539
12540         ;;
12541
12542       dgux*)
12543         case $cc_basename in
12544           ec++*)
12545             # FIXME: insert proper C++ library support
12546             ld_shlibs_CXX=no
12547             ;;
12548           ghcx*)
12549             # Green Hills C++ Compiler
12550             # FIXME: insert proper C++ library support
12551             ld_shlibs_CXX=no
12552             ;;
12553           *)
12554             # FIXME: insert proper C++ library support
12555             ld_shlibs_CXX=no
12556             ;;
12557         esac
12558         ;;
12559
12560       freebsd2.*)
12561         # C++ shared libraries reported to be fairly broken before
12562         # switch to ELF
12563         ld_shlibs_CXX=no
12564         ;;
12565
12566       freebsd-elf*)
12567         archive_cmds_need_lc_CXX=no
12568         ;;
12569
12570       freebsd* | dragonfly*)
12571         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12572         # conventions
12573         ld_shlibs_CXX=yes
12574         ;;
12575
12576       gnu*)
12577         ;;
12578
12579       haiku*)
12580         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12581         link_all_deplibs_CXX=yes
12582         ;;
12583
12584       hpux9*)
12585         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12586         hardcode_libdir_separator_CXX=:
12587         export_dynamic_flag_spec_CXX='${wl}-E'
12588         hardcode_direct_CXX=yes
12589         hardcode_minus_L_CXX=yes # Not in the search PATH,
12590                                              # but as the default
12591                                              # location of the library.
12592
12593         case $cc_basename in
12594           CC*)
12595             # FIXME: insert proper C++ library support
12596             ld_shlibs_CXX=no
12597             ;;
12598           aCC*)
12599             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'
12600             # Commands to make compiler produce verbose output that lists
12601             # what "hidden" libraries, object files and flags are used when
12602             # linking a shared library.
12603             #
12604             # There doesn't appear to be a way to prevent this compiler from
12605             # explicitly linking system object files so we need to strip them
12606             # from the output so that they don't get included in the library
12607             # dependencies.
12608             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"'
12609             ;;
12610           *)
12611             if test "$GXX" = yes; then
12612               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'
12613             else
12614               # FIXME: insert proper C++ library support
12615               ld_shlibs_CXX=no
12616             fi
12617             ;;
12618         esac
12619         ;;
12620
12621       hpux10*|hpux11*)
12622         if test $with_gnu_ld = no; then
12623           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12624           hardcode_libdir_separator_CXX=:
12625
12626           case $host_cpu in
12627             hppa*64*|ia64*)
12628               ;;
12629             *)
12630               export_dynamic_flag_spec_CXX='${wl}-E'
12631               ;;
12632           esac
12633         fi
12634         case $host_cpu in
12635           hppa*64*|ia64*)
12636             hardcode_direct_CXX=no
12637             hardcode_shlibpath_var_CXX=no
12638             ;;
12639           *)
12640             hardcode_direct_CXX=yes
12641             hardcode_direct_absolute_CXX=yes
12642             hardcode_minus_L_CXX=yes # Not in the search PATH,
12643                                                  # but as the default
12644                                                  # location of the library.
12645             ;;
12646         esac
12647
12648         case $cc_basename in
12649           CC*)
12650             # FIXME: insert proper C++ library support
12651             ld_shlibs_CXX=no
12652             ;;
12653           aCC*)
12654             case $host_cpu in
12655               hppa*64*)
12656                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657                 ;;
12658               ia64*)
12659                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12660                 ;;
12661               *)
12662                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12663                 ;;
12664             esac
12665             # Commands to make compiler produce verbose output that lists
12666             # what "hidden" libraries, object files and flags are used when
12667             # linking a shared library.
12668             #
12669             # There doesn't appear to be a way to prevent this compiler from
12670             # explicitly linking system object files so we need to strip them
12671             # from the output so that they don't get included in the library
12672             # dependencies.
12673             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"'
12674             ;;
12675           *)
12676             if test "$GXX" = yes; then
12677               if test $with_gnu_ld = no; then
12678                 case $host_cpu in
12679                   hppa*64*)
12680                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12681                     ;;
12682                   ia64*)
12683                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12684                     ;;
12685                   *)
12686                     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'
12687                     ;;
12688                 esac
12689               fi
12690             else
12691               # FIXME: insert proper C++ library support
12692               ld_shlibs_CXX=no
12693             fi
12694             ;;
12695         esac
12696         ;;
12697
12698       interix[3-9]*)
12699         hardcode_direct_CXX=no
12700         hardcode_shlibpath_var_CXX=no
12701         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12702         export_dynamic_flag_spec_CXX='${wl}-E'
12703         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12704         # Instead, shared libraries are loaded at an image base (0x10000000 by
12705         # default) and relocated if they conflict, which is a slow very memory
12706         # consuming and fragmenting process.  To avoid this, we pick a random,
12707         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12708         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12709         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'
12710         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'
12711         ;;
12712       irix5* | irix6*)
12713         case $cc_basename in
12714           CC*)
12715             # SGI C++
12716             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'
12717
12718             # Archives containing C++ object files must be created using
12719             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12720             # necessary to make sure instantiated templates are included
12721             # in the archive.
12722             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12723             ;;
12724           *)
12725             if test "$GXX" = yes; then
12726               if test "$with_gnu_ld" = no; then
12727                 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'
12728               else
12729                 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'
12730               fi
12731             fi
12732             link_all_deplibs_CXX=yes
12733             ;;
12734         esac
12735         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12736         hardcode_libdir_separator_CXX=:
12737         inherit_rpath_CXX=yes
12738         ;;
12739
12740       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12741         case $cc_basename in
12742           KCC*)
12743             # Kuck and Associates, Inc. (KAI) C++ Compiler
12744
12745             # KCC will only create a shared library if the output file
12746             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12747             # to its proper name (with version) after linking.
12748             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'
12749             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'
12750             # Commands to make compiler produce verbose output that lists
12751             # what "hidden" libraries, object files and flags are used when
12752             # linking a shared library.
12753             #
12754             # There doesn't appear to be a way to prevent this compiler from
12755             # explicitly linking system object files so we need to strip them
12756             # from the output so that they don't get included in the library
12757             # dependencies.
12758             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"'
12759
12760             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12761             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12762
12763             # Archives containing C++ object files must be created using
12764             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12765             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12766             ;;
12767           icpc* | ecpc* )
12768             # Intel C++
12769             with_gnu_ld=yes
12770             # version 8.0 and above of icpc choke on multiply defined symbols
12771             # if we add $predep_objects and $postdep_objects, however 7.1 and
12772             # earlier do not add the objects themselves.
12773             case `$CC -V 2>&1` in
12774               *"Version 7."*)
12775                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12776                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12777                 ;;
12778               *)  # Version 8.0 or newer
12779                 tmp_idyn=
12780                 case $host_cpu in
12781                   ia64*) tmp_idyn=' -i_dynamic';;
12782                 esac
12783                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12784                 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'
12785                 ;;
12786             esac
12787             archive_cmds_need_lc_CXX=no
12788             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12789             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12790             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12791             ;;
12792           pgCC* | pgcpp*)
12793             # Portland Group C++ compiler
12794             case `$CC -V` in
12795             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12796               prelink_cmds_CXX='tpldir=Template.dir~
12797                 rm -rf $tpldir~
12798                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12799                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12800               old_archive_cmds_CXX='tpldir=Template.dir~
12801                 rm -rf $tpldir~
12802                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12803                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12804                 $RANLIB $oldlib'
12805               archive_cmds_CXX='tpldir=Template.dir~
12806                 rm -rf $tpldir~
12807                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12808                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12809               archive_expsym_cmds_CXX='tpldir=Template.dir~
12810                 rm -rf $tpldir~
12811                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12812                 $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'
12813               ;;
12814             *) # Version 6 and above use weak symbols
12815               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816               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'
12817               ;;
12818             esac
12819
12820             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12821             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12822             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'
12823             ;;
12824           cxx*)
12825             # Compaq C++
12826             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12827             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'
12828
12829             runpath_var=LD_RUN_PATH
12830             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12831             hardcode_libdir_separator_CXX=:
12832
12833             # Commands to make compiler produce verbose output that lists
12834             # what "hidden" libraries, object files and flags are used when
12835             # linking a shared library.
12836             #
12837             # There doesn't appear to be a way to prevent this compiler from
12838             # explicitly linking system object files so we need to strip them
12839             # from the output so that they don't get included in the library
12840             # dependencies.
12841             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'
12842             ;;
12843           xl* | mpixl* | bgxl*)
12844             # IBM XL 8.0 on PPC, with GNU ld
12845             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12846             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12847             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12848             if test "x$supports_anon_versioning" = xyes; then
12849               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12850                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12851                 echo "local: *; };" >> $output_objdir/$libname.ver~
12852                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12853             fi
12854             ;;
12855           *)
12856             case `$CC -V 2>&1 | sed 5q` in
12857             *Sun\ C*)
12858               # Sun C++ 5.9
12859               no_undefined_flag_CXX=' -zdefs'
12860               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12861               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'
12862               hardcode_libdir_flag_spec_CXX='-R$libdir'
12863               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'
12864               compiler_needs_object_CXX=yes
12865
12866               # Not sure whether something based on
12867               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12868               # would be better.
12869               output_verbose_link_cmd='func_echo_all'
12870
12871               # Archives containing C++ object files must be created using
12872               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12873               # necessary to make sure instantiated templates are included
12874               # in the archive.
12875               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12876               ;;
12877             esac
12878             ;;
12879         esac
12880         ;;
12881
12882       lynxos*)
12883         # FIXME: insert proper C++ library support
12884         ld_shlibs_CXX=no
12885         ;;
12886
12887       m88k*)
12888         # FIXME: insert proper C++ library support
12889         ld_shlibs_CXX=no
12890         ;;
12891
12892       mvs*)
12893         case $cc_basename in
12894           cxx*)
12895             # FIXME: insert proper C++ library support
12896             ld_shlibs_CXX=no
12897             ;;
12898           *)
12899             # FIXME: insert proper C++ library support
12900             ld_shlibs_CXX=no
12901             ;;
12902         esac
12903         ;;
12904
12905       netbsd*)
12906         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12907           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12908           wlarc=
12909           hardcode_libdir_flag_spec_CXX='-R$libdir'
12910           hardcode_direct_CXX=yes
12911           hardcode_shlibpath_var_CXX=no
12912         fi
12913         # Workaround some broken pre-1.5 toolchains
12914         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12915         ;;
12916
12917       *nto* | *qnx*)
12918         ld_shlibs_CXX=yes
12919         ;;
12920
12921       openbsd2*)
12922         # C++ shared libraries are fairly broken
12923         ld_shlibs_CXX=no
12924         ;;
12925
12926       openbsd*)
12927         if test -f /usr/libexec/ld.so; then
12928           hardcode_direct_CXX=yes
12929           hardcode_shlibpath_var_CXX=no
12930           hardcode_direct_absolute_CXX=yes
12931           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12932           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12933           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12934             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12935             export_dynamic_flag_spec_CXX='${wl}-E'
12936             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12937           fi
12938           output_verbose_link_cmd=func_echo_all
12939         else
12940           ld_shlibs_CXX=no
12941         fi
12942         ;;
12943
12944       osf3* | osf4* | osf5*)
12945         case $cc_basename in
12946           KCC*)
12947             # Kuck and Associates, Inc. (KAI) C++ Compiler
12948
12949             # KCC will only create a shared library if the output file
12950             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12951             # to its proper name (with version) after linking.
12952             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'
12953
12954             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12955             hardcode_libdir_separator_CXX=:
12956
12957             # Archives containing C++ object files must be created using
12958             # the KAI C++ compiler.
12959             case $host in
12960               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12961               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12962             esac
12963             ;;
12964           RCC*)
12965             # Rational C++ 2.4.1
12966             # FIXME: insert proper C++ library support
12967             ld_shlibs_CXX=no
12968             ;;
12969           cxx*)
12970             case $host in
12971               osf3*)
12972                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12973                 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'
12974                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12975                 ;;
12976               *)
12977                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12978                 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'
12979                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12980                   echo "-hidden">> $lib.exp~
12981                   $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~
12982                   $RM $lib.exp'
12983                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12984                 ;;
12985             esac
12986
12987             hardcode_libdir_separator_CXX=:
12988
12989             # Commands to make compiler produce verbose output that lists
12990             # what "hidden" libraries, object files and flags are used when
12991             # linking a shared library.
12992             #
12993             # There doesn't appear to be a way to prevent this compiler from
12994             # explicitly linking system object files so we need to strip them
12995             # from the output so that they don't get included in the library
12996             # dependencies.
12997             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"'
12998             ;;
12999           *)
13000             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13001               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13002               case $host in
13003                 osf3*)
13004                   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'
13005                   ;;
13006                 *)
13007                   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'
13008                   ;;
13009               esac
13010
13011               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13012               hardcode_libdir_separator_CXX=:
13013
13014               # Commands to make compiler produce verbose output that lists
13015               # what "hidden" libraries, object files and flags are used when
13016               # linking a shared library.
13017               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13018
13019             else
13020               # FIXME: insert proper C++ library support
13021               ld_shlibs_CXX=no
13022             fi
13023             ;;
13024         esac
13025         ;;
13026
13027       psos*)
13028         # FIXME: insert proper C++ library support
13029         ld_shlibs_CXX=no
13030         ;;
13031
13032       sunos4*)
13033         case $cc_basename in
13034           CC*)
13035             # Sun C++ 4.x
13036             # FIXME: insert proper C++ library support
13037             ld_shlibs_CXX=no
13038             ;;
13039           lcc*)
13040             # Lucid
13041             # FIXME: insert proper C++ library support
13042             ld_shlibs_CXX=no
13043             ;;
13044           *)
13045             # FIXME: insert proper C++ library support
13046             ld_shlibs_CXX=no
13047             ;;
13048         esac
13049         ;;
13050
13051       solaris*)
13052         case $cc_basename in
13053           CC*)
13054             # Sun C++ 4.2, 5.x and Centerline C++
13055             archive_cmds_need_lc_CXX=yes
13056             no_undefined_flag_CXX=' -zdefs'
13057             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13058             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13059               $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'
13060
13061             hardcode_libdir_flag_spec_CXX='-R$libdir'
13062             hardcode_shlibpath_var_CXX=no
13063             case $host_os in
13064               solaris2.[0-5] | solaris2.[0-5].*) ;;
13065               *)
13066                 # The compiler driver will combine and reorder linker options,
13067                 # but understands `-z linker_flag'.
13068                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13069                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13070                 ;;
13071             esac
13072             link_all_deplibs_CXX=yes
13073
13074             output_verbose_link_cmd='func_echo_all'
13075
13076             # Archives containing C++ object files must be created using
13077             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13078             # necessary to make sure instantiated templates are included
13079             # in the archive.
13080             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13081             ;;
13082           gcx*)
13083             # Green Hills C++ Compiler
13084             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13085
13086             # The C++ compiler must be used to create the archive.
13087             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13088             ;;
13089           *)
13090             # GNU C++ compiler with Solaris linker
13091             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13092               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13093               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13094                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13095                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13096                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13097
13098                 # Commands to make compiler produce verbose output that lists
13099                 # what "hidden" libraries, object files and flags are used when
13100                 # linking a shared library.
13101                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13102               else
13103                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13104                 # platform.
13105                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13106                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13107                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13108
13109                 # Commands to make compiler produce verbose output that lists
13110                 # what "hidden" libraries, object files and flags are used when
13111                 # linking a shared library.
13112                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13113               fi
13114
13115               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13116               case $host_os in
13117                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13118                 *)
13119                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13120                   ;;
13121               esac
13122             fi
13123             ;;
13124         esac
13125         ;;
13126
13127     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13128       no_undefined_flag_CXX='${wl}-z,text'
13129       archive_cmds_need_lc_CXX=no
13130       hardcode_shlibpath_var_CXX=no
13131       runpath_var='LD_RUN_PATH'
13132
13133       case $cc_basename in
13134         CC*)
13135           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13137           ;;
13138         *)
13139           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141           ;;
13142       esac
13143       ;;
13144
13145       sysv5* | sco3.2v5* | sco5v6*)
13146         # Note: We can NOT use -z defs as we might desire, because we do not
13147         # link with -lc, and that would cause any symbols used from libc to
13148         # always be unresolved, which means just about no library would
13149         # ever link correctly.  If we're not using GNU ld we use -z text
13150         # though, which does catch some bad symbols but isn't as heavy-handed
13151         # as -z defs.
13152         no_undefined_flag_CXX='${wl}-z,text'
13153         allow_undefined_flag_CXX='${wl}-z,nodefs'
13154         archive_cmds_need_lc_CXX=no
13155         hardcode_shlibpath_var_CXX=no
13156         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13157         hardcode_libdir_separator_CXX=':'
13158         link_all_deplibs_CXX=yes
13159         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13160         runpath_var='LD_RUN_PATH'
13161
13162         case $cc_basename in
13163           CC*)
13164             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13165             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13166             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13167               '"$old_archive_cmds_CXX"
13168             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13169               '"$reload_cmds_CXX"
13170             ;;
13171           *)
13172             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13174             ;;
13175         esac
13176       ;;
13177
13178       tandem*)
13179         case $cc_basename in
13180           NCC*)
13181             # NonStop-UX NCC 3.20
13182             # FIXME: insert proper C++ library support
13183             ld_shlibs_CXX=no
13184             ;;
13185           *)
13186             # FIXME: insert proper C++ library support
13187             ld_shlibs_CXX=no
13188             ;;
13189         esac
13190         ;;
13191
13192       vxworks*)
13193         # FIXME: insert proper C++ library support
13194         ld_shlibs_CXX=no
13195         ;;
13196
13197       *)
13198         # FIXME: insert proper C++ library support
13199         ld_shlibs_CXX=no
13200         ;;
13201     esac
13202
13203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13204 $as_echo "$ld_shlibs_CXX" >&6; }
13205     test "$ld_shlibs_CXX" = no && can_build_shared=no
13206
13207     GCC_CXX="$GXX"
13208     LD_CXX="$LD"
13209
13210     ## CAVEAT EMPTOR:
13211     ## There is no encapsulation within the following macros, do not change
13212     ## the running order or otherwise move them around unless you know exactly
13213     ## what you are doing...
13214     # Dependencies to place before and after the object being linked:
13215 predep_objects_CXX=
13216 postdep_objects_CXX=
13217 predeps_CXX=
13218 postdeps_CXX=
13219 compiler_lib_search_path_CXX=
13220
13221 cat > conftest.$ac_ext <<_LT_EOF
13222 class Foo
13223 {
13224 public:
13225   Foo (void) { a = 0; }
13226 private:
13227   int a;
13228 };
13229 _LT_EOF
13230
13231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13232   (eval $ac_compile) 2>&5
13233   ac_status=$?
13234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13235   test $ac_status = 0; }; then
13236   # Parse the compiler output and extract the necessary
13237   # objects, libraries and library flags.
13238
13239   # Sentinel used to keep track of whether or not we are before
13240   # the conftest object file.
13241   pre_test_object_deps_done=no
13242
13243   for p in `eval "$output_verbose_link_cmd"`; do
13244     case $p in
13245
13246     -L* | -R* | -l*)
13247        # Some compilers place space between "-{L,R}" and the path.
13248        # Remove the space.
13249        if test $p = "-L" ||
13250           test $p = "-R"; then
13251          prev=$p
13252          continue
13253        else
13254          prev=
13255        fi
13256
13257        if test "$pre_test_object_deps_done" = no; then
13258          case $p in
13259          -L* | -R*)
13260            # Internal compiler library paths should come after those
13261            # provided the user.  The postdeps already come after the
13262            # user supplied libs so there is no need to process them.
13263            if test -z "$compiler_lib_search_path_CXX"; then
13264              compiler_lib_search_path_CXX="${prev}${p}"
13265            else
13266              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13267            fi
13268            ;;
13269          # The "-l" case would never come before the object being
13270          # linked, so don't bother handling this case.
13271          esac
13272        else
13273          if test -z "$postdeps_CXX"; then
13274            postdeps_CXX="${prev}${p}"
13275          else
13276            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13277          fi
13278        fi
13279        ;;
13280
13281     *.$objext)
13282        # This assumes that the test object file only shows up
13283        # once in the compiler output.
13284        if test "$p" = "conftest.$objext"; then
13285          pre_test_object_deps_done=yes
13286          continue
13287        fi
13288
13289        if test "$pre_test_object_deps_done" = no; then
13290          if test -z "$predep_objects_CXX"; then
13291            predep_objects_CXX="$p"
13292          else
13293            predep_objects_CXX="$predep_objects_CXX $p"
13294          fi
13295        else
13296          if test -z "$postdep_objects_CXX"; then
13297            postdep_objects_CXX="$p"
13298          else
13299            postdep_objects_CXX="$postdep_objects_CXX $p"
13300          fi
13301        fi
13302        ;;
13303
13304     *) ;; # Ignore the rest.
13305
13306     esac
13307   done
13308
13309   # Clean up.
13310   rm -f a.out a.exe
13311 else
13312   echo "libtool.m4: error: problem compiling CXX test program"
13313 fi
13314
13315 $RM -f confest.$objext
13316
13317 # PORTME: override above test on systems where it is broken
13318 case $host_os in
13319 interix[3-9]*)
13320   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13321   # hack all around it, let's just trust "g++" to DTRT.
13322   predep_objects_CXX=
13323   postdep_objects_CXX=
13324   postdeps_CXX=
13325   ;;
13326
13327 linux*)
13328   case `$CC -V 2>&1 | sed 5q` in
13329   *Sun\ C*)
13330     # Sun C++ 5.9
13331
13332     # The more standards-conforming stlport4 library is
13333     # incompatible with the Cstd library. Avoid specifying
13334     # it if it's in CXXFLAGS. Ignore libCrun as
13335     # -library=stlport4 depends on it.
13336     case " $CXX $CXXFLAGS " in
13337     *" -library=stlport4 "*)
13338       solaris_use_stlport4=yes
13339       ;;
13340     esac
13341
13342     if test "$solaris_use_stlport4" != yes; then
13343       postdeps_CXX='-library=Cstd -library=Crun'
13344     fi
13345     ;;
13346   esac
13347   ;;
13348
13349 solaris*)
13350   case $cc_basename in
13351   CC*)
13352     # The more standards-conforming stlport4 library is
13353     # incompatible with the Cstd library. Avoid specifying
13354     # it if it's in CXXFLAGS. Ignore libCrun as
13355     # -library=stlport4 depends on it.
13356     case " $CXX $CXXFLAGS " in
13357     *" -library=stlport4 "*)
13358       solaris_use_stlport4=yes
13359       ;;
13360     esac
13361
13362     # Adding this requires a known-good setup of shared libraries for
13363     # Sun compiler versions before 5.6, else PIC objects from an old
13364     # archive will be linked into the output, leading to subtle bugs.
13365     if test "$solaris_use_stlport4" != yes; then
13366       postdeps_CXX='-library=Cstd -library=Crun'
13367     fi
13368     ;;
13369   esac
13370   ;;
13371 esac
13372
13373
13374 case " $postdeps_CXX " in
13375 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13376 esac
13377  compiler_lib_search_dirs_CXX=
13378 if test -n "${compiler_lib_search_path_CXX}"; then
13379  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13380 fi
13381
13382
13383
13384
13385
13386
13387
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     lt_prog_compiler_wl_CXX=
13413 lt_prog_compiler_pic_CXX=
13414 lt_prog_compiler_static_CXX=
13415
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13417 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13418
13419   # C++ specific cases for pic, static, wl, etc.
13420   if test "$GXX" = yes; then
13421     lt_prog_compiler_wl_CXX='-Wl,'
13422     lt_prog_compiler_static_CXX='-static'
13423
13424     case $host_os in
13425     aix*)
13426       # All AIX code is PIC.
13427       if test "$host_cpu" = ia64; then
13428         # AIX 5 now supports IA64 processor
13429         lt_prog_compiler_static_CXX='-Bstatic'
13430       fi
13431       lt_prog_compiler_pic_CXX='-fPIC'
13432       ;;
13433
13434     amigaos*)
13435       case $host_cpu in
13436       powerpc)
13437             # see comment about AmigaOS4 .so support
13438             lt_prog_compiler_pic_CXX='-fPIC'
13439         ;;
13440       m68k)
13441             # FIXME: we need at least 68020 code to build shared libraries, but
13442             # adding the `-m68020' flag to GCC prevents building anything better,
13443             # like `-m68040'.
13444             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13445         ;;
13446       esac
13447       ;;
13448
13449     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13450       # PIC is the default for these OSes.
13451       ;;
13452     mingw* | cygwin* | os2* | pw32* | cegcc*)
13453       # This hack is so that the source file can tell whether it is being
13454       # built for inclusion in a dll (and should export symbols for example).
13455       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13456       # (--disable-auto-import) libraries
13457       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13458       ;;
13459     darwin* | rhapsody*)
13460       # PIC is the default on this platform
13461       # Common symbols not allowed in MH_DYLIB files
13462       lt_prog_compiler_pic_CXX='-fno-common'
13463       ;;
13464     *djgpp*)
13465       # DJGPP does not support shared libraries at all
13466       lt_prog_compiler_pic_CXX=
13467       ;;
13468     haiku*)
13469       # PIC is the default for Haiku.
13470       # The "-static" flag exists, but is broken.
13471       lt_prog_compiler_static_CXX=
13472       ;;
13473     interix[3-9]*)
13474       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13475       # Instead, we relocate shared libraries at runtime.
13476       ;;
13477     sysv4*MP*)
13478       if test -d /usr/nec; then
13479         lt_prog_compiler_pic_CXX=-Kconform_pic
13480       fi
13481       ;;
13482     hpux*)
13483       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13484       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13485       # sets the default TLS model and affects inlining.
13486       case $host_cpu in
13487       hppa*64*)
13488         ;;
13489       *)
13490         lt_prog_compiler_pic_CXX='-fPIC'
13491         ;;
13492       esac
13493       ;;
13494     *qnx* | *nto*)
13495       # QNX uses GNU C++, but need to define -shared option too, otherwise
13496       # it will coredump.
13497       lt_prog_compiler_pic_CXX='-fPIC -shared'
13498       ;;
13499     *)
13500       lt_prog_compiler_pic_CXX='-fPIC'
13501       ;;
13502     esac
13503   else
13504     case $host_os in
13505       aix[4-9]*)
13506         # All AIX code is PIC.
13507         if test "$host_cpu" = ia64; then
13508           # AIX 5 now supports IA64 processor
13509           lt_prog_compiler_static_CXX='-Bstatic'
13510         else
13511           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13512         fi
13513         ;;
13514       chorus*)
13515         case $cc_basename in
13516         cxch68*)
13517           # Green Hills C++ Compiler
13518           # _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"
13519           ;;
13520         esac
13521         ;;
13522       dgux*)
13523         case $cc_basename in
13524           ec++*)
13525             lt_prog_compiler_pic_CXX='-KPIC'
13526             ;;
13527           ghcx*)
13528             # Green Hills C++ Compiler
13529             lt_prog_compiler_pic_CXX='-pic'
13530             ;;
13531           *)
13532             ;;
13533         esac
13534         ;;
13535       freebsd* | dragonfly*)
13536         # FreeBSD uses GNU C++
13537         ;;
13538       hpux9* | hpux10* | hpux11*)
13539         case $cc_basename in
13540           CC*)
13541             lt_prog_compiler_wl_CXX='-Wl,'
13542             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13543             if test "$host_cpu" != ia64; then
13544               lt_prog_compiler_pic_CXX='+Z'
13545             fi
13546             ;;
13547           aCC*)
13548             lt_prog_compiler_wl_CXX='-Wl,'
13549             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550             case $host_cpu in
13551             hppa*64*|ia64*)
13552               # +Z the default
13553               ;;
13554             *)
13555               lt_prog_compiler_pic_CXX='+Z'
13556               ;;
13557             esac
13558             ;;
13559           *)
13560             ;;
13561         esac
13562         ;;
13563       interix*)
13564         # This is c89, which is MS Visual C++ (no shared libs)
13565         # Anyone wants to do a port?
13566         ;;
13567       irix5* | irix6* | nonstopux*)
13568         case $cc_basename in
13569           CC*)
13570             lt_prog_compiler_wl_CXX='-Wl,'
13571             lt_prog_compiler_static_CXX='-non_shared'
13572             # CC pic flag -KPIC is the default.
13573             ;;
13574           *)
13575             ;;
13576         esac
13577         ;;
13578       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13579         case $cc_basename in
13580           KCC*)
13581             # KAI C++ Compiler
13582             lt_prog_compiler_wl_CXX='--backend -Wl,'
13583             lt_prog_compiler_pic_CXX='-fPIC'
13584             ;;
13585           ecpc* )
13586             # old Intel C++ for x86_64 which still supported -KPIC.
13587             lt_prog_compiler_wl_CXX='-Wl,'
13588             lt_prog_compiler_pic_CXX='-KPIC'
13589             lt_prog_compiler_static_CXX='-static'
13590             ;;
13591           icpc* )
13592             # Intel C++, used to be incompatible with GCC.
13593             # ICC 10 doesn't accept -KPIC any more.
13594             lt_prog_compiler_wl_CXX='-Wl,'
13595             lt_prog_compiler_pic_CXX='-fPIC'
13596             lt_prog_compiler_static_CXX='-static'
13597             ;;
13598           pgCC* | pgcpp*)
13599             # Portland Group C++ compiler
13600             lt_prog_compiler_wl_CXX='-Wl,'
13601             lt_prog_compiler_pic_CXX='-fpic'
13602             lt_prog_compiler_static_CXX='-Bstatic'
13603             ;;
13604           cxx*)
13605             # Compaq C++
13606             # Make sure the PIC flag is empty.  It appears that all Alpha
13607             # Linux and Compaq Tru64 Unix objects are PIC.
13608             lt_prog_compiler_pic_CXX=
13609             lt_prog_compiler_static_CXX='-non_shared'
13610             ;;
13611           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13612             # IBM XL 8.0, 9.0 on PPC and BlueGene
13613             lt_prog_compiler_wl_CXX='-Wl,'
13614             lt_prog_compiler_pic_CXX='-qpic'
13615             lt_prog_compiler_static_CXX='-qstaticlink'
13616             ;;
13617           *)
13618             case `$CC -V 2>&1 | sed 5q` in
13619             *Sun\ C*)
13620               # Sun C++ 5.9
13621               lt_prog_compiler_pic_CXX='-KPIC'
13622               lt_prog_compiler_static_CXX='-Bstatic'
13623               lt_prog_compiler_wl_CXX='-Qoption ld '
13624               ;;
13625             esac
13626             ;;
13627         esac
13628         ;;
13629       lynxos*)
13630         ;;
13631       m88k*)
13632         ;;
13633       mvs*)
13634         case $cc_basename in
13635           cxx*)
13636             lt_prog_compiler_pic_CXX='-W c,exportall'
13637             ;;
13638           *)
13639             ;;
13640         esac
13641         ;;
13642       netbsd*)
13643         ;;
13644       *qnx* | *nto*)
13645         # QNX uses GNU C++, but need to define -shared option too, otherwise
13646         # it will coredump.
13647         lt_prog_compiler_pic_CXX='-fPIC -shared'
13648         ;;
13649       osf3* | osf4* | osf5*)
13650         case $cc_basename in
13651           KCC*)
13652             lt_prog_compiler_wl_CXX='--backend -Wl,'
13653             ;;
13654           RCC*)
13655             # Rational C++ 2.4.1
13656             lt_prog_compiler_pic_CXX='-pic'
13657             ;;
13658           cxx*)
13659             # Digital/Compaq C++
13660             lt_prog_compiler_wl_CXX='-Wl,'
13661             # Make sure the PIC flag is empty.  It appears that all Alpha
13662             # Linux and Compaq Tru64 Unix objects are PIC.
13663             lt_prog_compiler_pic_CXX=
13664             lt_prog_compiler_static_CXX='-non_shared'
13665             ;;
13666           *)
13667             ;;
13668         esac
13669         ;;
13670       psos*)
13671         ;;
13672       solaris*)
13673         case $cc_basename in
13674           CC*)
13675             # Sun C++ 4.2, 5.x and Centerline C++
13676             lt_prog_compiler_pic_CXX='-KPIC'
13677             lt_prog_compiler_static_CXX='-Bstatic'
13678             lt_prog_compiler_wl_CXX='-Qoption ld '
13679             ;;
13680           gcx*)
13681             # Green Hills C++ Compiler
13682             lt_prog_compiler_pic_CXX='-PIC'
13683             ;;
13684           *)
13685             ;;
13686         esac
13687         ;;
13688       sunos4*)
13689         case $cc_basename in
13690           CC*)
13691             # Sun C++ 4.x
13692             lt_prog_compiler_pic_CXX='-pic'
13693             lt_prog_compiler_static_CXX='-Bstatic'
13694             ;;
13695           lcc*)
13696             # Lucid
13697             lt_prog_compiler_pic_CXX='-pic'
13698             ;;
13699           *)
13700             ;;
13701         esac
13702         ;;
13703       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13704         case $cc_basename in
13705           CC*)
13706             lt_prog_compiler_wl_CXX='-Wl,'
13707             lt_prog_compiler_pic_CXX='-KPIC'
13708             lt_prog_compiler_static_CXX='-Bstatic'
13709             ;;
13710         esac
13711         ;;
13712       tandem*)
13713         case $cc_basename in
13714           NCC*)
13715             # NonStop-UX NCC 3.20
13716             lt_prog_compiler_pic_CXX='-KPIC'
13717             ;;
13718           *)
13719             ;;
13720         esac
13721         ;;
13722       vxworks*)
13723         ;;
13724       *)
13725         lt_prog_compiler_can_build_shared_CXX=no
13726         ;;
13727     esac
13728   fi
13729
13730 case $host_os in
13731   # For platforms which do not support PIC, -DPIC is meaningless:
13732   *djgpp*)
13733     lt_prog_compiler_pic_CXX=
13734     ;;
13735   *)
13736     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13737     ;;
13738 esac
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13740 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13741
13742
13743
13744 #
13745 # Check to make sure the PIC flag actually works.
13746 #
13747 if test -n "$lt_prog_compiler_pic_CXX"; then
13748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13749 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13750 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13751   $as_echo_n "(cached) " >&6
13752 else
13753   lt_cv_prog_compiler_pic_works_CXX=no
13754    ac_outfile=conftest.$ac_objext
13755    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13756    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13757    # Insert the option either (1) after the last *FLAGS variable, or
13758    # (2) before a word containing "conftest.", or (3) at the end.
13759    # Note that $ac_compile itself does not contain backslashes and begins
13760    # with a dollar sign (not a hyphen), so the echo should work correctly.
13761    # The option is referenced via a variable to avoid confusing sed.
13762    lt_compile=`echo "$ac_compile" | $SED \
13763    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13764    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13765    -e 's:$: $lt_compiler_flag:'`
13766    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13767    (eval "$lt_compile" 2>conftest.err)
13768    ac_status=$?
13769    cat conftest.err >&5
13770    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771    if (exit $ac_status) && test -s "$ac_outfile"; then
13772      # The compiler can only warn and ignore the option if not recognized
13773      # So say no if there are warnings other than the usual output.
13774      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13775      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13776      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13777        lt_cv_prog_compiler_pic_works_CXX=yes
13778      fi
13779    fi
13780    $RM conftest*
13781
13782 fi
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13784 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13785
13786 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13787     case $lt_prog_compiler_pic_CXX in
13788      "" | " "*) ;;
13789      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13790      esac
13791 else
13792     lt_prog_compiler_pic_CXX=
13793      lt_prog_compiler_can_build_shared_CXX=no
13794 fi
13795
13796 fi
13797
13798
13799
13800 #
13801 # Check to make sure the static flag actually works.
13802 #
13803 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13805 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13806 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13807   $as_echo_n "(cached) " >&6
13808 else
13809   lt_cv_prog_compiler_static_works_CXX=no
13810    save_LDFLAGS="$LDFLAGS"
13811    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13812    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13813    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13814      # The linker can only warn and ignore the option if not recognized
13815      # So say no if there are warnings
13816      if test -s conftest.err; then
13817        # Append any errors to the config.log.
13818        cat conftest.err 1>&5
13819        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13820        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13821        if diff conftest.exp conftest.er2 >/dev/null; then
13822          lt_cv_prog_compiler_static_works_CXX=yes
13823        fi
13824      else
13825        lt_cv_prog_compiler_static_works_CXX=yes
13826      fi
13827    fi
13828    $RM -r conftest*
13829    LDFLAGS="$save_LDFLAGS"
13830
13831 fi
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13833 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13834
13835 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13836     :
13837 else
13838     lt_prog_compiler_static_CXX=
13839 fi
13840
13841
13842
13843
13844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13845 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13846 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13847   $as_echo_n "(cached) " >&6
13848 else
13849   lt_cv_prog_compiler_c_o_CXX=no
13850    $RM -r conftest 2>/dev/null
13851    mkdir conftest
13852    cd conftest
13853    mkdir out
13854    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13855
13856    lt_compiler_flag="-o out/conftest2.$ac_objext"
13857    # Insert the option either (1) after the last *FLAGS variable, or
13858    # (2) before a word containing "conftest.", or (3) at the end.
13859    # Note that $ac_compile itself does not contain backslashes and begins
13860    # with a dollar sign (not a hyphen), so the echo should work correctly.
13861    lt_compile=`echo "$ac_compile" | $SED \
13862    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13863    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13864    -e 's:$: $lt_compiler_flag:'`
13865    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13866    (eval "$lt_compile" 2>out/conftest.err)
13867    ac_status=$?
13868    cat out/conftest.err >&5
13869    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13871    then
13872      # The compiler can only warn and ignore the option if not recognized
13873      # So say no if there are warnings
13874      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13875      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13876      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13877        lt_cv_prog_compiler_c_o_CXX=yes
13878      fi
13879    fi
13880    chmod u+w . 2>&5
13881    $RM conftest*
13882    # SGI C++ compiler will create directory out/ii_files/ for
13883    # template instantiation
13884    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13885    $RM out/* && rmdir out
13886    cd ..
13887    $RM -r conftest
13888    $RM conftest*
13889
13890 fi
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13892 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13893
13894
13895
13896     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13897 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13898 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13899   $as_echo_n "(cached) " >&6
13900 else
13901   lt_cv_prog_compiler_c_o_CXX=no
13902    $RM -r conftest 2>/dev/null
13903    mkdir conftest
13904    cd conftest
13905    mkdir out
13906    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13907
13908    lt_compiler_flag="-o out/conftest2.$ac_objext"
13909    # Insert the option either (1) after the last *FLAGS variable, or
13910    # (2) before a word containing "conftest.", or (3) at the end.
13911    # Note that $ac_compile itself does not contain backslashes and begins
13912    # with a dollar sign (not a hyphen), so the echo should work correctly.
13913    lt_compile=`echo "$ac_compile" | $SED \
13914    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13915    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13916    -e 's:$: $lt_compiler_flag:'`
13917    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13918    (eval "$lt_compile" 2>out/conftest.err)
13919    ac_status=$?
13920    cat out/conftest.err >&5
13921    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13923    then
13924      # The compiler can only warn and ignore the option if not recognized
13925      # So say no if there are warnings
13926      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13927      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13928      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13929        lt_cv_prog_compiler_c_o_CXX=yes
13930      fi
13931    fi
13932    chmod u+w . 2>&5
13933    $RM conftest*
13934    # SGI C++ compiler will create directory out/ii_files/ for
13935    # template instantiation
13936    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13937    $RM out/* && rmdir out
13938    cd ..
13939    $RM -r conftest
13940    $RM conftest*
13941
13942 fi
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13944 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13945
13946
13947
13948
13949 hard_links="nottested"
13950 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13951   # do not overwrite the value of need_locks provided by the user
13952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13953 $as_echo_n "checking if we can lock with hard links... " >&6; }
13954   hard_links=yes
13955   $RM conftest*
13956   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13957   touch conftest.a
13958   ln conftest.a conftest.b 2>&5 || hard_links=no
13959   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13961 $as_echo "$hard_links" >&6; }
13962   if test "$hard_links" = no; then
13963     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13964 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13965     need_locks=warn
13966   fi
13967 else
13968   need_locks=no
13969 fi
13970
13971
13972
13973     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13974 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13975
13976   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13977   case $host_os in
13978   aix[4-9]*)
13979     # If we're using GNU nm, then we don't want the "-C" option.
13980     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13981     # Also, AIX nm treats weak defined symbols like other global defined
13982     # symbols, whereas GNU nm marks them as "W".
13983     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13984       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'
13985     else
13986       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'
13987     fi
13988     ;;
13989   pw32*)
13990     export_symbols_cmds_CXX="$ltdll_cmds"
13991   ;;
13992   cygwin* | mingw* | cegcc*)
13993     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'
13994   ;;
13995   *)
13996     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13997   ;;
13998   esac
13999   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14000
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14002 $as_echo "$ld_shlibs_CXX" >&6; }
14003 test "$ld_shlibs_CXX" = no && can_build_shared=no
14004
14005 with_gnu_ld_CXX=$with_gnu_ld
14006
14007
14008
14009
14010
14011
14012 #
14013 # Do we need to explicitly link libc?
14014 #
14015 case "x$archive_cmds_need_lc_CXX" in
14016 x|xyes)
14017   # Assume -lc should be added
14018   archive_cmds_need_lc_CXX=yes
14019
14020   if test "$enable_shared" = yes && test "$GCC" = yes; then
14021     case $archive_cmds_CXX in
14022     *'~'*)
14023       # FIXME: we may have to deal with multi-command sequences.
14024       ;;
14025     '$CC '*)
14026       # Test whether the compiler implicitly links with -lc since on some
14027       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14028       # to ld, don't add -lc before -lgcc.
14029       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14030 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14031 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14032   $as_echo_n "(cached) " >&6
14033 else
14034   $RM conftest*
14035         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14036
14037         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14038   (eval $ac_compile) 2>&5
14039   ac_status=$?
14040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14041   test $ac_status = 0; } 2>conftest.err; then
14042           soname=conftest
14043           lib=conftest
14044           libobjs=conftest.$ac_objext
14045           deplibs=
14046           wl=$lt_prog_compiler_wl_CXX
14047           pic_flag=$lt_prog_compiler_pic_CXX
14048           compiler_flags=-v
14049           linker_flags=-v
14050           verstring=
14051           output_objdir=.
14052           libname=conftest
14053           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14054           allow_undefined_flag_CXX=
14055           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14056   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14057   ac_status=$?
14058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14059   test $ac_status = 0; }
14060           then
14061             lt_cv_archive_cmds_need_lc_CXX=no
14062           else
14063             lt_cv_archive_cmds_need_lc_CXX=yes
14064           fi
14065           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14066         else
14067           cat conftest.err 1>&5
14068         fi
14069         $RM conftest*
14070
14071 fi
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14073 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14074       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14075       ;;
14076     esac
14077   fi
14078   ;;
14079 esac
14080
14081
14082
14083
14084
14085
14086
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14145 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14146
14147 library_names_spec=
14148 libname_spec='lib$name'
14149 soname_spec=
14150 shrext_cmds=".so"
14151 postinstall_cmds=
14152 postuninstall_cmds=
14153 finish_cmds=
14154 finish_eval=
14155 shlibpath_var=
14156 shlibpath_overrides_runpath=unknown
14157 version_type=none
14158 dynamic_linker="$host_os ld.so"
14159 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14160 need_lib_prefix=unknown
14161 hardcode_into_libs=no
14162
14163 # when you set need_version to no, make sure it does not cause -set_version
14164 # flags to be left without arguments
14165 need_version=unknown
14166
14167 case $host_os in
14168 aix3*)
14169   version_type=linux
14170   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14171   shlibpath_var=LIBPATH
14172
14173   # AIX 3 has no versioning support, so we append a major version to the name.
14174   soname_spec='${libname}${release}${shared_ext}$major'
14175   ;;
14176
14177 aix[4-9]*)
14178   version_type=linux
14179   need_lib_prefix=no
14180   need_version=no
14181   hardcode_into_libs=yes
14182   if test "$host_cpu" = ia64; then
14183     # AIX 5 supports IA64
14184     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14185     shlibpath_var=LD_LIBRARY_PATH
14186   else
14187     # With GCC up to 2.95.x, collect2 would create an import file
14188     # for dependence libraries.  The import file would start with
14189     # the line `#! .'.  This would cause the generated library to
14190     # depend on `.', always an invalid library.  This was fixed in
14191     # development snapshots of GCC prior to 3.0.
14192     case $host_os in
14193       aix4 | aix4.[01] | aix4.[01].*)
14194       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14195            echo ' yes '
14196            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14197         :
14198       else
14199         can_build_shared=no
14200       fi
14201       ;;
14202     esac
14203     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14204     # soname into executable. Probably we can add versioning support to
14205     # collect2, so additional links can be useful in future.
14206     if test "$aix_use_runtimelinking" = yes; then
14207       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14208       # instead of lib<name>.a to let people know that these are not
14209       # typical AIX shared libraries.
14210       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211     else
14212       # We preserve .a as extension for shared libraries through AIX4.2
14213       # and later when we are not doing run time linking.
14214       library_names_spec='${libname}${release}.a $libname.a'
14215       soname_spec='${libname}${release}${shared_ext}$major'
14216     fi
14217     shlibpath_var=LIBPATH
14218   fi
14219   ;;
14220
14221 amigaos*)
14222   case $host_cpu in
14223   powerpc)
14224     # Since July 2007 AmigaOS4 officially supports .so libraries.
14225     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14226     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14227     ;;
14228   m68k)
14229     library_names_spec='$libname.ixlibrary $libname.a'
14230     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14231     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'
14232     ;;
14233   esac
14234   ;;
14235
14236 beos*)
14237   library_names_spec='${libname}${shared_ext}'
14238   dynamic_linker="$host_os ld.so"
14239   shlibpath_var=LIBRARY_PATH
14240   ;;
14241
14242 bsdi[45]*)
14243   version_type=linux
14244   need_version=no
14245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246   soname_spec='${libname}${release}${shared_ext}$major'
14247   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14248   shlibpath_var=LD_LIBRARY_PATH
14249   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14250   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14251   # the default ld.so.conf also contains /usr/contrib/lib and
14252   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14253   # libtool to hard-code these into programs
14254   ;;
14255
14256 cygwin* | mingw* | pw32* | cegcc*)
14257   version_type=windows
14258   shrext_cmds=".dll"
14259   need_version=no
14260   need_lib_prefix=no
14261
14262   case $GCC,$host_os in
14263   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14264     library_names_spec='$libname.dll.a'
14265     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14266     postinstall_cmds='base_file=`basename \${file}`~
14267       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14268       dldir=$destdir/`dirname \$dlpath`~
14269       test -d \$dldir || mkdir -p \$dldir~
14270       $install_prog $dir/$dlname \$dldir/$dlname~
14271       chmod a+x \$dldir/$dlname~
14272       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14273         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14274       fi'
14275     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14276       dlpath=$dir/\$dldll~
14277        $RM \$dlpath'
14278     shlibpath_overrides_runpath=yes
14279
14280     case $host_os in
14281     cygwin*)
14282       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14283       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14284
14285       ;;
14286     mingw* | cegcc*)
14287       # MinGW DLLs use traditional 'lib' prefix
14288       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14289       ;;
14290     pw32*)
14291       # pw32 DLLs use 'pw' prefix rather than 'lib'
14292       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293       ;;
14294     esac
14295     ;;
14296
14297   *)
14298     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14299     ;;
14300   esac
14301   dynamic_linker='Win32 ld.exe'
14302   # FIXME: first we should search . and the directory the executable is in
14303   shlibpath_var=PATH
14304   ;;
14305
14306 darwin* | rhapsody*)
14307   dynamic_linker="$host_os dyld"
14308   version_type=darwin
14309   need_lib_prefix=no
14310   need_version=no
14311   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14312   soname_spec='${libname}${release}${major}$shared_ext'
14313   shlibpath_overrides_runpath=yes
14314   shlibpath_var=DYLD_LIBRARY_PATH
14315   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14316
14317   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14318   ;;
14319
14320 dgux*)
14321   version_type=linux
14322   need_lib_prefix=no
14323   need_version=no
14324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14325   soname_spec='${libname}${release}${shared_ext}$major'
14326   shlibpath_var=LD_LIBRARY_PATH
14327   ;;
14328
14329 freebsd* | dragonfly*)
14330   # DragonFly does not have aout.  When/if they implement a new
14331   # versioning mechanism, adjust this.
14332   if test -x /usr/bin/objformat; then
14333     objformat=`/usr/bin/objformat`
14334   else
14335     case $host_os in
14336     freebsd[23].*) objformat=aout ;;
14337     *) objformat=elf ;;
14338     esac
14339   fi
14340   version_type=freebsd-$objformat
14341   case $version_type in
14342     freebsd-elf*)
14343       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14344       need_version=no
14345       need_lib_prefix=no
14346       ;;
14347     freebsd-*)
14348       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14349       need_version=yes
14350       ;;
14351   esac
14352   shlibpath_var=LD_LIBRARY_PATH
14353   case $host_os in
14354   freebsd2.*)
14355     shlibpath_overrides_runpath=yes
14356     ;;
14357   freebsd3.[01]* | freebsdelf3.[01]*)
14358     shlibpath_overrides_runpath=yes
14359     hardcode_into_libs=yes
14360     ;;
14361   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14362   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14363     shlibpath_overrides_runpath=no
14364     hardcode_into_libs=yes
14365     ;;
14366   *) # from 4.6 on, and DragonFly
14367     shlibpath_overrides_runpath=yes
14368     hardcode_into_libs=yes
14369     ;;
14370   esac
14371   ;;
14372
14373 gnu*)
14374   version_type=linux
14375   need_lib_prefix=no
14376   need_version=no
14377   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14378   soname_spec='${libname}${release}${shared_ext}$major'
14379   shlibpath_var=LD_LIBRARY_PATH
14380   hardcode_into_libs=yes
14381   ;;
14382
14383 haiku*)
14384   version_type=linux
14385   need_lib_prefix=no
14386   need_version=no
14387   dynamic_linker="$host_os runtime_loader"
14388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14389   soname_spec='${libname}${release}${shared_ext}$major'
14390   shlibpath_var=LIBRARY_PATH
14391   shlibpath_overrides_runpath=yes
14392   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14393   hardcode_into_libs=yes
14394   ;;
14395
14396 hpux9* | hpux10* | hpux11*)
14397   # Give a soname corresponding to the major version so that dld.sl refuses to
14398   # link against other versions.
14399   version_type=sunos
14400   need_lib_prefix=no
14401   need_version=no
14402   case $host_cpu in
14403   ia64*)
14404     shrext_cmds='.so'
14405     hardcode_into_libs=yes
14406     dynamic_linker="$host_os dld.so"
14407     shlibpath_var=LD_LIBRARY_PATH
14408     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14409     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14410     soname_spec='${libname}${release}${shared_ext}$major'
14411     if test "X$HPUX_IA64_MODE" = X32; then
14412       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14413     else
14414       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14415     fi
14416     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14417     ;;
14418   hppa*64*)
14419     shrext_cmds='.sl'
14420     hardcode_into_libs=yes
14421     dynamic_linker="$host_os dld.sl"
14422     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14423     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14424     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14425     soname_spec='${libname}${release}${shared_ext}$major'
14426     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14427     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14428     ;;
14429   *)
14430     shrext_cmds='.sl'
14431     dynamic_linker="$host_os dld.sl"
14432     shlibpath_var=SHLIB_PATH
14433     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14434     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14435     soname_spec='${libname}${release}${shared_ext}$major'
14436     ;;
14437   esac
14438   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14439   postinstall_cmds='chmod 555 $lib'
14440   # or fails outright, so override atomically:
14441   install_override_mode=555
14442   ;;
14443
14444 interix[3-9]*)
14445   version_type=linux
14446   need_lib_prefix=no
14447   need_version=no
14448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14449   soname_spec='${libname}${release}${shared_ext}$major'
14450   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14451   shlibpath_var=LD_LIBRARY_PATH
14452   shlibpath_overrides_runpath=no
14453   hardcode_into_libs=yes
14454   ;;
14455
14456 irix5* | irix6* | nonstopux*)
14457   case $host_os in
14458     nonstopux*) version_type=nonstopux ;;
14459     *)
14460         if test "$lt_cv_prog_gnu_ld" = yes; then
14461                 version_type=linux
14462         else
14463                 version_type=irix
14464         fi ;;
14465   esac
14466   need_lib_prefix=no
14467   need_version=no
14468   soname_spec='${libname}${release}${shared_ext}$major'
14469   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14470   case $host_os in
14471   irix5* | nonstopux*)
14472     libsuff= shlibsuff=
14473     ;;
14474   *)
14475     case $LD in # libtool.m4 will add one of these switches to LD
14476     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14477       libsuff= shlibsuff= libmagic=32-bit;;
14478     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14479       libsuff=32 shlibsuff=N32 libmagic=N32;;
14480     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14481       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14482     *) libsuff= shlibsuff= libmagic=never-match;;
14483     esac
14484     ;;
14485   esac
14486   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14487   shlibpath_overrides_runpath=no
14488   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14489   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14490   hardcode_into_libs=yes
14491   ;;
14492
14493 # No shared lib support for Linux oldld, aout, or coff.
14494 linux*oldld* | linux*aout* | linux*coff*)
14495   dynamic_linker=no
14496   ;;
14497
14498 # This must be Linux ELF.
14499 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14500   version_type=linux
14501   need_lib_prefix=no
14502   need_version=no
14503   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14504   soname_spec='${libname}${release}${shared_ext}$major'
14505   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14506   shlibpath_var=LD_LIBRARY_PATH
14507   shlibpath_overrides_runpath=no
14508
14509   # Some binutils ld are patched to set DT_RUNPATH
14510   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14511   $as_echo_n "(cached) " >&6
14512 else
14513   lt_cv_shlibpath_overrides_runpath=no
14514     save_LDFLAGS=$LDFLAGS
14515     save_libdir=$libdir
14516     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14517          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14518     if test x$gcc_no_link = xyes; then
14519   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14520 fi
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h.  */
14523
14524 int
14525 main ()
14526 {
14527
14528   ;
14529   return 0;
14530 }
14531 _ACEOF
14532 if ac_fn_cxx_try_link "$LINENO"; then :
14533   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14534   lt_cv_shlibpath_overrides_runpath=yes
14535 fi
14536 fi
14537 rm -f core conftest.err conftest.$ac_objext \
14538     conftest$ac_exeext conftest.$ac_ext
14539     LDFLAGS=$save_LDFLAGS
14540     libdir=$save_libdir
14541
14542 fi
14543
14544   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14545
14546   # This implies no fast_install, which is unacceptable.
14547   # Some rework will be needed to allow for fast_install
14548   # before this can be enabled.
14549   hardcode_into_libs=yes
14550
14551   # Append ld.so.conf contents to the search path
14552   if test -f /etc/ld.so.conf; then
14553     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' ' '`
14554     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14555   fi
14556
14557   # We used to test for /lib/ld.so.1 and disable shared libraries on
14558   # powerpc, because MkLinux only supported shared libraries with the
14559   # GNU dynamic linker.  Since this was broken with cross compilers,
14560   # most powerpc-linux boxes support dynamic linking these days and
14561   # people can always --disable-shared, the test was removed, and we
14562   # assume the GNU/Linux dynamic linker is in use.
14563   dynamic_linker='GNU/Linux ld.so'
14564   ;;
14565
14566 netbsd*)
14567   version_type=sunos
14568   need_lib_prefix=no
14569   need_version=no
14570   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14571     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14572     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14573     dynamic_linker='NetBSD (a.out) ld.so'
14574   else
14575     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14576     soname_spec='${libname}${release}${shared_ext}$major'
14577     dynamic_linker='NetBSD ld.elf_so'
14578   fi
14579   shlibpath_var=LD_LIBRARY_PATH
14580   shlibpath_overrides_runpath=yes
14581   hardcode_into_libs=yes
14582   ;;
14583
14584 newsos6)
14585   version_type=linux
14586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14587   shlibpath_var=LD_LIBRARY_PATH
14588   shlibpath_overrides_runpath=yes
14589   ;;
14590
14591 *nto* | *qnx*)
14592   version_type=qnx
14593   need_lib_prefix=no
14594   need_version=no
14595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14596   soname_spec='${libname}${release}${shared_ext}$major'
14597   shlibpath_var=LD_LIBRARY_PATH
14598   shlibpath_overrides_runpath=no
14599   hardcode_into_libs=yes
14600   dynamic_linker='ldqnx.so'
14601   ;;
14602
14603 openbsd*)
14604   version_type=sunos
14605   sys_lib_dlsearch_path_spec="/usr/lib"
14606   need_lib_prefix=no
14607   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14608   case $host_os in
14609     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14610     *)                          need_version=no  ;;
14611   esac
14612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14613   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14614   shlibpath_var=LD_LIBRARY_PATH
14615   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14616     case $host_os in
14617       openbsd2.[89] | openbsd2.[89].*)
14618         shlibpath_overrides_runpath=no
14619         ;;
14620       *)
14621         shlibpath_overrides_runpath=yes
14622         ;;
14623       esac
14624   else
14625     shlibpath_overrides_runpath=yes
14626   fi
14627   ;;
14628
14629 os2*)
14630   libname_spec='$name'
14631   shrext_cmds=".dll"
14632   need_lib_prefix=no
14633   library_names_spec='$libname${shared_ext} $libname.a'
14634   dynamic_linker='OS/2 ld.exe'
14635   shlibpath_var=LIBPATH
14636   ;;
14637
14638 osf3* | osf4* | osf5*)
14639   version_type=osf
14640   need_lib_prefix=no
14641   need_version=no
14642   soname_spec='${libname}${release}${shared_ext}$major'
14643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14644   shlibpath_var=LD_LIBRARY_PATH
14645   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14646   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14647   ;;
14648
14649 rdos*)
14650   dynamic_linker=no
14651   ;;
14652
14653 solaris*)
14654   version_type=linux
14655   need_lib_prefix=no
14656   need_version=no
14657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658   soname_spec='${libname}${release}${shared_ext}$major'
14659   shlibpath_var=LD_LIBRARY_PATH
14660   shlibpath_overrides_runpath=yes
14661   hardcode_into_libs=yes
14662   # ldd complains unless libraries are executable
14663   postinstall_cmds='chmod +x $lib'
14664   ;;
14665
14666 sunos4*)
14667   version_type=sunos
14668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14669   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14670   shlibpath_var=LD_LIBRARY_PATH
14671   shlibpath_overrides_runpath=yes
14672   if test "$with_gnu_ld" = yes; then
14673     need_lib_prefix=no
14674   fi
14675   need_version=yes
14676   ;;
14677
14678 sysv4 | sysv4.3*)
14679   version_type=linux
14680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14681   soname_spec='${libname}${release}${shared_ext}$major'
14682   shlibpath_var=LD_LIBRARY_PATH
14683   case $host_vendor in
14684     sni)
14685       shlibpath_overrides_runpath=no
14686       need_lib_prefix=no
14687       runpath_var=LD_RUN_PATH
14688       ;;
14689     siemens)
14690       need_lib_prefix=no
14691       ;;
14692     motorola)
14693       need_lib_prefix=no
14694       need_version=no
14695       shlibpath_overrides_runpath=no
14696       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14697       ;;
14698   esac
14699   ;;
14700
14701 sysv4*MP*)
14702   if test -d /usr/nec ;then
14703     version_type=linux
14704     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14705     soname_spec='$libname${shared_ext}.$major'
14706     shlibpath_var=LD_LIBRARY_PATH
14707   fi
14708   ;;
14709
14710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14711   version_type=freebsd-elf
14712   need_lib_prefix=no
14713   need_version=no
14714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14715   soname_spec='${libname}${release}${shared_ext}$major'
14716   shlibpath_var=LD_LIBRARY_PATH
14717   shlibpath_overrides_runpath=yes
14718   hardcode_into_libs=yes
14719   if test "$with_gnu_ld" = yes; then
14720     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14721   else
14722     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14723     case $host_os in
14724       sco3.2v5*)
14725         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14726         ;;
14727     esac
14728   fi
14729   sys_lib_dlsearch_path_spec='/usr/lib'
14730   ;;
14731
14732 tpf*)
14733   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14734   version_type=linux
14735   need_lib_prefix=no
14736   need_version=no
14737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738   shlibpath_var=LD_LIBRARY_PATH
14739   shlibpath_overrides_runpath=no
14740   hardcode_into_libs=yes
14741   ;;
14742
14743 uts4*)
14744   version_type=linux
14745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746   soname_spec='${libname}${release}${shared_ext}$major'
14747   shlibpath_var=LD_LIBRARY_PATH
14748   ;;
14749
14750 *)
14751   dynamic_linker=no
14752   ;;
14753 esac
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14755 $as_echo "$dynamic_linker" >&6; }
14756 test "$dynamic_linker" = no && can_build_shared=no
14757
14758 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14759 if test "$GCC" = yes; then
14760   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14761 fi
14762
14763 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14764   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14765 fi
14766 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14767   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14768 fi
14769
14770
14771
14772
14773
14774
14775
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14808 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14809 hardcode_action_CXX=
14810 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14811    test -n "$runpath_var_CXX" ||
14812    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14813
14814   # We can hardcode non-existent directories.
14815   if test "$hardcode_direct_CXX" != no &&
14816      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14817      # have to relink, otherwise we might link with an installed library
14818      # when we should be linking with a yet-to-be-installed one
14819      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14820      test "$hardcode_minus_L_CXX" != no; then
14821     # Linking always hardcodes the temporary library directory.
14822     hardcode_action_CXX=relink
14823   else
14824     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14825     hardcode_action_CXX=immediate
14826   fi
14827 else
14828   # We cannot hardcode anything, or else we can only hardcode existing
14829   # directories.
14830   hardcode_action_CXX=unsupported
14831 fi
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14833 $as_echo "$hardcode_action_CXX" >&6; }
14834
14835 if test "$hardcode_action_CXX" = relink ||
14836    test "$inherit_rpath_CXX" = yes; then
14837   # Fast installation is not supported
14838   enable_fast_install=no
14839 elif test "$shlibpath_overrides_runpath" = yes ||
14840      test "$enable_shared" = no; then
14841   # Fast installation is not necessary
14842   enable_fast_install=needless
14843 fi
14844
14845
14846
14847
14848
14849
14850
14851   fi # test -n "$compiler"
14852
14853   CC=$lt_save_CC
14854   LDCXX=$LD
14855   LD=$lt_save_LD
14856   GCC=$lt_save_GCC
14857   with_gnu_ld=$lt_save_with_gnu_ld
14858   lt_cv_path_LDCXX=$lt_cv_path_LD
14859   lt_cv_path_LD=$lt_save_path_LD
14860   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14861   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14862 fi # test "$_lt_caught_CXX_error" != yes
14863
14864 ac_ext=c
14865 ac_cpp='$CPP $CPPFLAGS'
14866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882         ac_config_commands="$ac_config_commands libtool"
14883
14884
14885
14886
14887 # Only expand once:
14888
14889
14890
14891
14892
14893 case $host in
14894   *-cygwin* | *-mingw*)
14895     # 'host' will be top-level target in the case of a target lib,
14896     # we must compare to with_cross_host to decide if this is a native
14897     # or cross-compiler and select where to install dlls appropriately.
14898     if test -n "$with_cross_host" &&
14899         test x"$with_cross_host" != x"no"; then
14900       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14901     else
14902       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14903     fi
14904     ;;
14905   *)
14906     lt_host_flags=
14907     ;;
14908 esac
14909
14910
14911
14912
14913
14914
14915 # libtool variables for C++ shared and position-independent compiles.
14916 #
14917 # Use glibcxx_lt_pic_flag to designate the automake variable
14918 # used to encapsulate the default libtool approach to creating objects
14919 # with position-independent code. Default: -prefer-pic.
14920 #
14921 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14922 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14923 #
14924 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14925 # creating position-independent objects. This varies with the target
14926 # hardware and operating system, but is often: -DPIC -fPIC.
14927 if test "$enable_shared" = yes; then
14928   glibcxx_lt_pic_flag="-prefer-pic"
14929   glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14930   glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14931
14932 else
14933   glibcxx_lt_pic_flag=
14934   glibcxx_compiler_pic_flag=
14935   glibcxx_compiler_shared_flag=
14936 fi
14937
14938
14939
14940
14941 # Override the libtool's pic_flag and pic_mode.
14942 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14943 # NB: this impacts --with-pic and --without-pic.
14944 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14945 pic_mode='default'
14946
14947 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14948 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14949
14950 # Possibly disable most of the library.
14951 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14952 ## than just ignoring the results.  Faster /and/ more correct, win win.
14953
14954   # Check whether --enable-hosted-libstdcxx was given.
14955 if test "${enable_hosted_libstdcxx+set}" = set; then :
14956   enableval=$enable_hosted_libstdcxx;
14957 else
14958   case "$host" in
14959         arm*-*-symbianelf*)
14960             enable_hosted_libstdcxx=no
14961             ;;
14962         *)
14963             enable_hosted_libstdcxx=yes
14964             ;;
14965      esac
14966 fi
14967
14968   if test "$enable_hosted_libstdcxx" = no; then
14969     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14970 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14971     is_hosted=no
14972     hosted_define=0
14973     enable_abi_check=no
14974     enable_libstdcxx_pch=no
14975   else
14976     is_hosted=yes
14977     hosted_define=1
14978   fi
14979
14980
14981 cat >>confdefs.h <<_ACEOF
14982 #define _GLIBCXX_HOSTED $hosted_define
14983 _ACEOF
14984
14985
14986
14987 # Enable descriptive messages to standard output on termination.
14988
14989   # Check whether --enable-libstdcxx-verbose was given.
14990 if test "${enable_libstdcxx_verbose+set}" = set; then :
14991   enableval=$enable_libstdcxx_verbose;
14992 else
14993   enable_libstdcxx_verbose=yes
14994 fi
14995
14996   if test x"$enable_libstdcxx_verbose" = xyes; then
14997     verbose_define=1
14998   else
14999     { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15000 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15001     verbose_define=0
15002   fi
15003
15004 cat >>confdefs.h <<_ACEOF
15005 #define _GLIBCXX_VERBOSE $verbose_define
15006 _ACEOF
15007
15008
15009
15010 # Enable compiler support that doesn't require linking.
15011
15012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15013 $as_echo_n "checking for exception model to use... " >&6; }
15014
15015   ac_ext=cpp
15016 ac_cpp='$CXXCPP $CPPFLAGS'
15017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15020
15021    # Check whether --enable-sjlj-exceptions was given.
15022 if test "${enable_sjlj_exceptions+set}" = set; then :
15023   enableval=$enable_sjlj_exceptions;
15024       case "$enableval" in
15025        yes|no|auto) ;;
15026        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15027                         esac
15028
15029 else
15030   enable_sjlj_exceptions=auto
15031 fi
15032
15033
15034
15035   if test $enable_sjlj_exceptions = auto; then
15036     # Botheration.  Now we've got to detect the exception model.  Link tests
15037     # against libgcc.a are problematic since we've not been given proper -L
15038     # bits for single-tree newlib and libgloss.
15039     #
15040     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
15041     cat > conftest.$ac_ext << EOF
15042 #line 15042 "configure"
15043 struct S { ~S(); };
15044 void bar();
15045 void foo()
15046 {
15047   S s;
15048   bar();
15049 }
15050 EOF
15051     old_CXXFLAGS="$CXXFLAGS"
15052     CXXFLAGS=-S
15053     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15054   (eval $ac_compile) 2>&5
15055   ac_status=$?
15056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15057   test $ac_status = 0; }; then
15058       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15059         enable_sjlj_exceptions=yes
15060       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15061         enable_sjlj_exceptions=no
15062       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15063         enable_sjlj_exceptions=no
15064       fi
15065     fi
15066     CXXFLAGS="$old_CXXFLAGS"
15067     rm -f conftest*
15068   fi
15069
15070   # This is a tad weird, for hysterical raisins.  We have to map
15071   # enable/disable to two different models.
15072   case $enable_sjlj_exceptions in
15073     yes)
15074
15075 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15076
15077       ac_exception_model_name=sjlj
15078       ;;
15079     no)
15080       ac_exception_model_name="call frame"
15081       ;;
15082     *)
15083       as_fn_error "unable to detect exception model" "$LINENO" 5
15084       ;;
15085   esac
15086  ac_ext=c
15087 ac_cpp='$CPP $CPPFLAGS'
15088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15091
15092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15093 $as_echo "$ac_exception_model_name" >&6; }
15094
15095
15096    # Check whether --enable-libstdcxx-pch was given.
15097 if test "${enable_libstdcxx_pch+set}" = set; then :
15098   enableval=$enable_libstdcxx_pch;
15099       case "$enableval" in
15100        yes|no) ;;
15101        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15102       esac
15103
15104 else
15105   enable_libstdcxx_pch=$is_hosted
15106 fi
15107
15108
15109   if test $enable_libstdcxx_pch = yes; then
15110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15111 $as_echo_n "checking for compiler with PCH support... " >&6; }
15112 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15113   $as_echo_n "(cached) " >&6
15114 else
15115   ac_save_CXXFLAGS="$CXXFLAGS"
15116        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15117
15118        ac_ext=cpp
15119 ac_cpp='$CXXCPP $CPPFLAGS'
15120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15123
15124        echo '#include <math.h>' > conftest.h
15125        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15126                           -o conftest.h.gch 1>&5 2>&1 &&
15127                 echo '#error "pch failed"' > conftest.h &&
15128           echo '#include "conftest.h"' > conftest.cc &&
15129                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15130        then
15131          glibcxx_cv_prog_CXX_pch=yes
15132        else
15133          glibcxx_cv_prog_CXX_pch=no
15134        fi
15135        rm -f conftest*
15136        CXXFLAGS=$ac_save_CXXFLAGS
15137        ac_ext=c
15138 ac_cpp='$CPP $CPPFLAGS'
15139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15142
15143
15144 fi
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15146 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15147     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15148   fi
15149
15150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15151 $as_echo_n "checking for enabled PCH... " >&6; }
15152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15153 $as_echo "$enable_libstdcxx_pch" >&6; }
15154
15155
15156   if test $enable_libstdcxx_pch = yes; then
15157     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15158   else
15159     glibcxx_PCHFLAGS=""
15160   fi
15161
15162
15163
15164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15165 $as_echo_n "checking for thread model used by GCC... " >&6; }
15166   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15168 $as_echo "$target_thread_file" >&6; }
15169
15170 case $target_thread_file in
15171     aix)        thread_header=config/rs6000/gthr-aix.h ;;
15172     dce)        thread_header=config/pa/gthr-dce.h ;;
15173     lynx)       thread_header=config/gthr-lynx.h ;;
15174     mipssde)    thread_header=config/mips/gthr-mipssde.h ;;
15175     posix)      thread_header=gthr-posix.h ;;
15176     rtems)      thread_header=config/gthr-rtems.h ;;
15177     single)     thread_header=gthr-single.h ;;
15178     tpf)        thread_header=config/s390/gthr-tpf.h ;;
15179     vxworks)    thread_header=config/gthr-vxworks.h ;;
15180     win32)      thread_header=config/i386/gthr-win32.h ;;
15181 esac
15182
15183
15184
15185
15186
15187   ac_ext=cpp
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15192
15193   old_CXXFLAGS="$CXXFLAGS"
15194
15195   # Do link tests if possible, instead asm tests, limited to some platforms
15196   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15197   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15198   atomic_builtins_link_tests=no
15199   if test x$gcc_no_link != xyes; then
15200     # Can do link tests. Limit to some tested platforms
15201     case "$host" in
15202       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15203         atomic_builtins_link_tests=yes
15204         ;;
15205     esac
15206   fi
15207
15208   if test x$atomic_builtins_link_tests = xyes; then
15209
15210   # Do link tests.
15211
15212   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15213
15214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15215 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15216   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15217   $as_echo_n "(cached) " >&6
15218 else
15219
15220     if test x$gcc_no_link = xyes; then
15221   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15222 fi
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h.  */
15225
15226 int
15227 main ()
15228 {
15229 typedef bool atomic_type;
15230        atomic_type c1;
15231        atomic_type c2;
15232        atomic_type c3(0);
15233        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15234        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15235                                    __ATOMIC_RELAXED);
15236        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15237        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15238
15239   ;
15240   return 0;
15241 }
15242 _ACEOF
15243 if ac_fn_cxx_try_link "$LINENO"; then :
15244   glibcxx_cv_atomic_bool=yes
15245 else
15246   glibcxx_cv_atomic_bool=no
15247 fi
15248 rm -f core conftest.err conftest.$ac_objext \
15249     conftest$ac_exeext conftest.$ac_ext
15250
15251 fi
15252
15253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15254 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15255
15256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15257 $as_echo_n "checking for atomic builtins for short... " >&6; }
15258   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15259   $as_echo_n "(cached) " >&6
15260 else
15261
15262     if test x$gcc_no_link = xyes; then
15263   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15264 fi
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h.  */
15267
15268 int
15269 main ()
15270 {
15271 typedef short atomic_type;
15272        atomic_type c1;
15273        atomic_type c2;
15274        atomic_type c3(0);
15275        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15276        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15277                                    __ATOMIC_RELAXED);
15278        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15279        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15280
15281   ;
15282   return 0;
15283 }
15284 _ACEOF
15285 if ac_fn_cxx_try_link "$LINENO"; then :
15286   glibcxx_cv_atomic_short=yes
15287 else
15288   glibcxx_cv_atomic_short=no
15289 fi
15290 rm -f core conftest.err conftest.$ac_objext \
15291     conftest$ac_exeext conftest.$ac_ext
15292
15293 fi
15294
15295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15296 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15297
15298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15299 $as_echo_n "checking for atomic builtins for int... " >&6; }
15300   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15301   $as_echo_n "(cached) " >&6
15302 else
15303
15304     if test x$gcc_no_link = xyes; then
15305   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15306 fi
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h.  */
15309
15310 int
15311 main ()
15312 {
15313 typedef int atomic_type;
15314        atomic_type c1;
15315        atomic_type c2;
15316        atomic_type c3(0);
15317        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15318        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15319                                    __ATOMIC_RELAXED);
15320        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15321        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15322
15323   ;
15324   return 0;
15325 }
15326 _ACEOF
15327 if ac_fn_cxx_try_link "$LINENO"; then :
15328   glibcxx_cv_atomic_int=yes
15329 else
15330   glibcxx_cv_atomic_int=no
15331 fi
15332 rm -f core conftest.err conftest.$ac_objext \
15333     conftest$ac_exeext conftest.$ac_ext
15334
15335 fi
15336
15337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15338 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15339
15340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15341 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15342   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15343   $as_echo_n "(cached) " >&6
15344 else
15345
15346     if test x$gcc_no_link = xyes; then
15347   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15348 fi
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h.  */
15351
15352 int
15353 main ()
15354 {
15355 typedef long long atomic_type;
15356        atomic_type c1;
15357        atomic_type c2;
15358        atomic_type c3(0);
15359        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15360        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15361                                    __ATOMIC_RELAXED);
15362        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15363        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15364
15365   ;
15366   return 0;
15367 }
15368 _ACEOF
15369 if ac_fn_cxx_try_link "$LINENO"; then :
15370   glibcxx_cv_atomic_long_long=yes
15371 else
15372   glibcxx_cv_atomic_long_long=no
15373 fi
15374 rm -f core conftest.err conftest.$ac_objext \
15375     conftest$ac_exeext conftest.$ac_ext
15376
15377 fi
15378
15379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15380 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15381
15382   else
15383
15384   # Do asm tests.
15385
15386   # Compile unoptimized.
15387   CXXFLAGS='-O0 -S'
15388
15389   # Fake what AC_TRY_COMPILE does.
15390
15391     cat > conftest.$ac_ext << EOF
15392 #line 15392 "configure"
15393 int main()
15394 {
15395   typedef bool atomic_type;
15396   atomic_type c1;
15397   atomic_type c2;
15398   atomic_type c3(0);
15399   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15400   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15401                               __ATOMIC_RELAXED);
15402   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15403   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15404
15405   return 0;
15406 }
15407 EOF
15408
15409     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15410 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15411     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15412   (eval $ac_compile) 2>&5
15413   ac_status=$?
15414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415   test $ac_status = 0; }; then
15416       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15417         glibcxx_cv_atomic_bool=no
15418       else
15419         glibcxx_cv_atomic_bool=yes
15420       fi
15421     fi
15422     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15423 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15424     rm -f conftest*
15425
15426     cat > conftest.$ac_ext << EOF
15427 #line 15427 "configure"
15428 int main()
15429 {
15430   typedef short atomic_type;
15431   atomic_type c1;
15432   atomic_type c2;
15433   atomic_type c3(0);
15434   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15435   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15436                               __ATOMIC_RELAXED);
15437   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15438   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15439
15440   return 0;
15441 }
15442 EOF
15443
15444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15445 $as_echo_n "checking for atomic builtins for short... " >&6; }
15446     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15447   (eval $ac_compile) 2>&5
15448   ac_status=$?
15449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15450   test $ac_status = 0; }; then
15451       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15452         glibcxx_cv_atomic_short=no
15453       else
15454         glibcxx_cv_atomic_short=yes
15455       fi
15456     fi
15457     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15458 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15459     rm -f conftest*
15460
15461     cat > conftest.$ac_ext << EOF
15462 #line 15462 "configure"
15463 int main()
15464 {
15465   // NB: _Atomic_word not necessarily int.
15466   typedef int atomic_type;
15467   atomic_type c1;
15468   atomic_type c2;
15469   atomic_type c3(0);
15470   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15471   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15472                               __ATOMIC_RELAXED);
15473   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15474   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15475
15476   return 0;
15477 }
15478 EOF
15479
15480     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15481 $as_echo_n "checking for atomic builtins for int... " >&6; }
15482     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15483   (eval $ac_compile) 2>&5
15484   ac_status=$?
15485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15486   test $ac_status = 0; }; then
15487       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15488         glibcxx_cv_atomic_int=no
15489       else
15490         glibcxx_cv_atomic_int=yes
15491       fi
15492     fi
15493     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15494 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15495     rm -f conftest*
15496
15497     cat > conftest.$ac_ext << EOF
15498 #line 15498 "configure"
15499 int main()
15500 {
15501   typedef long long atomic_type;
15502   atomic_type c1;
15503   atomic_type c2;
15504   atomic_type c3(0);
15505   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15506   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15507                               __ATOMIC_RELAXED);
15508   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15509   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15510
15511   return 0;
15512 }
15513 EOF
15514
15515     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15516 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15517     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15518   (eval $ac_compile) 2>&5
15519   ac_status=$?
15520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521   test $ac_status = 0; }; then
15522       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15523         glibcxx_cv_atomic_long_long=no
15524       else
15525         glibcxx_cv_atomic_long_long=yes
15526       fi
15527     fi
15528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15529 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15530     rm -f conftest*
15531
15532   fi
15533
15534   CXXFLAGS="$old_CXXFLAGS"
15535   ac_ext=c
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15540
15541
15542   # Set atomicity_dir to builtins if all but the long long test above passes.
15543   if test $glibcxx_cv_atomic_bool = yes \
15544      && test $glibcxx_cv_atomic_short = yes \
15545      && test $glibcxx_cv_atomic_int = yes; then
15546
15547 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15548
15549     atomicity_dir=cpu/generic/atomicity_builtins
15550   fi
15551
15552   # If still generic, set to mutex.
15553   if test $atomicity_dir = "cpu/generic" ; then
15554     atomicity_dir=cpu/generic/atomicity_mutex
15555     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15556 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15557       if test "x$target_thread_file" = xsingle; then
15558         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15559 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15560         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15561 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15562       else
15563         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15564 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15565         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15566 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15567       fi
15568   fi
15569
15570
15571
15572
15573   # Fake what AC_TRY_COMPILE does, without linking as this is
15574   # unnecessary for this test.
15575
15576     cat > conftest.$ac_ext << EOF
15577 #line 15577 "configure"
15578 int main()
15579 {
15580   _Decimal32 d1;
15581   _Decimal64 d2;
15582   _Decimal128 d3;
15583   return 0;
15584 }
15585 EOF
15586
15587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15588 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15589     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15590   (eval $ac_compile) 2>&5
15591   ac_status=$?
15592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15593   test $ac_status = 0; }; then
15594
15595 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15596
15597       enable_dfp=yes
15598     else
15599       enable_dfp=no
15600     fi
15601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15602 $as_echo "$enable_dfp" >&6; }
15603     rm -f conftest*
15604
15605
15606
15607
15608   ac_ext=cpp
15609 ac_cpp='$CXXCPP $CPPFLAGS'
15610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15613
15614
15615   # Fake what AC_TRY_COMPILE does, without linking as this is
15616   # unnecessary for this test.
15617
15618     cat > conftest.$ac_ext << EOF
15619 #line 15619 "configure"
15620 template<typename T1, typename T2>
15621   struct same
15622   { typedef T2 type; };
15623
15624 template<typename T>
15625   struct same<T, T>;
15626
15627 int main()
15628 {
15629   typename same<long, __int128>::type                i1;
15630   typename same<long long, __int128>::type           i2;
15631 }
15632 EOF
15633
15634     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15635 $as_echo_n "checking for __int128... " >&6; }
15636     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15637   (eval $ac_compile) 2>&5
15638   ac_status=$?
15639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15640   test $ac_status = 0; }; then
15641
15642 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15643
15644       enable_int128=yes
15645     else
15646       enable_int128=no
15647     fi
15648     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15649 $as_echo "$enable_int128" >&6; }
15650     rm -f conftest*
15651
15652     cat > conftest.$ac_ext << EOF
15653 #line 15653 "configure"
15654 template<typename T1, typename T2>
15655   struct same
15656   { typedef T2 type; };
15657
15658 template<typename T>
15659   struct same<T, T>;
15660
15661 int main()
15662 {
15663   typename same<double, __float128>::type      f1;
15664   typename same<long double, __float128>::type f2;
15665 }
15666 EOF
15667
15668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15669 $as_echo_n "checking for __float128... " >&6; }
15670     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15671   (eval $ac_compile) 2>&5
15672   ac_status=$?
15673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15674   test $ac_status = 0; }; then
15675
15676 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15677
15678       enable_float128=yes
15679     else
15680       enable_float128=no
15681     fi
15682     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15683 $as_echo "$enable_float128" >&6; }
15684     rm -f conftest*
15685
15686   ac_ext=c
15687 ac_cpp='$CPP $CPPFLAGS'
15688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15691
15692
15693
15694 # Checks for compiler support that doesn't require linking.
15695
15696   # All these tests are for C++; save the language and the compiler flags.
15697   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698   # found in GLIBCXX_CONFIGURE.
15699
15700   ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15705
15706   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707   ac_save_CXXFLAGS="$CXXFLAGS"
15708
15709   # Check for maintainer-mode bits.
15710   if test x"$USE_MAINTAINER_MODE" = xno; then
15711     WERROR=''
15712   else
15713     WERROR='-Werror'
15714   fi
15715
15716   # Check for -ffunction-sections -fdata-sections
15717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h.  */
15722 int foo; void bar() { };
15723 int
15724 main ()
15725 {
15726
15727   ;
15728   return 0;
15729 }
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732   ac_fdsections=yes
15733 else
15734   ac_fdsections=no
15735 fi
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737   if test "$ac_test_CXXFLAGS" = set; then
15738     CXXFLAGS="$ac_save_CXXFLAGS"
15739   else
15740     # this is the suspicious part
15741     CXXFLAGS=''
15742   fi
15743   if test x"$ac_fdsections" = x"yes"; then
15744     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15745   fi
15746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15748
15749   ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754
15755
15756
15757
15758
15759 # Enable all the variable C++ runtime options that don't require linking.
15760
15761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763    # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765   enableval=$enable_cstdio;
15766       case "$enableval" in
15767        stdio) ;;
15768        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769                         esac
15770
15771 else
15772   enable_cstdio=stdio
15773 fi
15774
15775
15776
15777   # Now that libio has been removed, you can have any color you want as long
15778   # as it's black.  This is one big no-op until other packages are added, but
15779   # showing the framework never hurts.
15780   case ${enable_cstdio} in
15781     stdio)
15782       CSTDIO_H=config/io/c_io_stdio.h
15783       BASIC_FILE_H=config/io/basic_file_stdio.h
15784       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15787       ;;
15788   esac
15789
15790
15791
15792
15793
15794
15795    # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797   enableval=$enable_clocale;
15798       case "$enableval" in
15799        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801                         esac
15802
15803 else
15804   enable_clocale=auto
15805 fi
15806
15807
15808
15809   # Deal with gettext issues.  Default to not using it (=no) until we detect
15810   # support for it later.  Let the user turn it off via --e/d, but let that
15811   # default to on for easier handling.
15812   USE_NLS=no
15813   # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815   enableval=$enable_nls;
15816 else
15817   enable_nls=yes
15818 fi
15819
15820
15821   # Either a known package, or "auto"
15822   if test $enable_clocale = no || test $enable_clocale = yes; then
15823      enable_clocale=auto
15824   fi
15825   enable_clocale_flag=$enable_clocale
15826
15827   # Probe for locale model to use if none specified.
15828   # Default to "generic".
15829   if test $enable_clocale_flag = auto; then
15830     case ${target_os} in
15831       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832         enable_clocale_flag=gnu
15833         ;;
15834       darwin* | freebsd*)
15835         enable_clocale_flag=darwin
15836         ;;
15837       openbsd*)
15838         enable_clocale_flag=newlib
15839         ;;
15840       *)
15841         if test x"$with_newlib" = x"yes"; then
15842           enable_clocale_flag=newlib
15843         else
15844           enable_clocale_flag=generic
15845         fi
15846         ;;
15847     esac
15848   fi
15849
15850   # Sanity check model, and test for special functionality.
15851   if test $enable_clocale_flag = gnu; then
15852     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15853 /* end confdefs.h.  */
15854
15855     #include <features.h>
15856     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15857       _GLIBCXX_ok
15858     #endif
15859
15860 _ACEOF
15861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15862   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15863   enable_clocale_flag=gnu
15864 else
15865   enable_clocale_flag=generic
15866 fi
15867 rm -f conftest*
15868
15869
15870     # Set it to scream when it hurts.
15871     ac_save_CFLAGS="$CFLAGS"
15872     CFLAGS="-Wimplicit-function-declaration -Werror"
15873
15874     # Use strxfrm_l if available.
15875     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h.  */
15877 #define _GNU_SOURCE 1
15878                     #include <string.h>
15879                     #include <locale.h>
15880 int
15881 main ()
15882 {
15883 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15884   ;
15885   return 0;
15886 }
15887 _ACEOF
15888 if ac_fn_c_try_compile "$LINENO"; then :
15889
15890 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15891
15892 fi
15893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15894
15895     # Use strerror_l if available.
15896     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h.  */
15898 #define _GNU_SOURCE 1
15899                     #include <string.h>
15900                     #include <locale.h>
15901 int
15902 main ()
15903 {
15904 __locale_t loc; strerror_l(5, loc);
15905   ;
15906   return 0;
15907 }
15908 _ACEOF
15909 if ac_fn_c_try_compile "$LINENO"; then :
15910
15911 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15912
15913 fi
15914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15915
15916     CFLAGS="$ac_save_CFLAGS"
15917   fi
15918
15919   # Perhaps use strerror_r if available, and strerror_l isn't.
15920   ac_save_CFLAGS="$CFLAGS"
15921   CFLAGS="-Wimplicit-function-declaration -Werror"
15922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h.  */
15924 #define _GNU_SOURCE 1
15925                   #include <string.h>
15926                   #include <locale.h>
15927 int
15928 main ()
15929 {
15930 char s[128]; strerror_r(5, s, 128);
15931   ;
15932   return 0;
15933 }
15934 _ACEOF
15935 if ac_fn_c_try_compile "$LINENO"; then :
15936
15937 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15938
15939 fi
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15941   CFLAGS="$ac_save_CFLAGS"
15942
15943   # Set configure bits for specified locale package
15944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15945 $as_echo_n "checking for C locale to use... " >&6; }
15946   case ${enable_clocale_flag} in
15947     generic)
15948       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15949 $as_echo "generic" >&6; }
15950
15951       CLOCALE_H=config/locale/generic/c_locale.h
15952       CLOCALE_CC=config/locale/generic/c_locale.cc
15953       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15954       CCOLLATE_CC=config/locale/generic/collate_members.cc
15955       CCTYPE_CC=config/locale/generic/ctype_members.cc
15956       CMESSAGES_H=config/locale/generic/messages_members.h
15957       CMESSAGES_CC=config/locale/generic/messages_members.cc
15958       CMONEY_CC=config/locale/generic/monetary_members.cc
15959       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15960       CTIME_H=config/locale/generic/time_members.h
15961       CTIME_CC=config/locale/generic/time_members.cc
15962       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15963       ;;
15964     darwin)
15965       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15966 $as_echo "darwin or freebsd" >&6; }
15967
15968       CLOCALE_H=config/locale/generic/c_locale.h
15969       CLOCALE_CC=config/locale/generic/c_locale.cc
15970       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15971       CCOLLATE_CC=config/locale/generic/collate_members.cc
15972       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15973       CMESSAGES_H=config/locale/generic/messages_members.h
15974       CMESSAGES_CC=config/locale/generic/messages_members.cc
15975       CMONEY_CC=config/locale/generic/monetary_members.cc
15976       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15977       CTIME_H=config/locale/generic/time_members.h
15978       CTIME_CC=config/locale/generic/time_members.cc
15979       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15980       ;;
15981
15982     gnu)
15983       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15984 $as_echo "gnu" >&6; }
15985
15986       # Declare intention to use gettext, and add support for specific
15987       # languages.
15988       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15989       ALL_LINGUAS="de fr"
15990
15991       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15992       # Extract the first word of "msgfmt", so it can be a program name with args.
15993 set dummy msgfmt; ac_word=$2
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15995 $as_echo_n "checking for $ac_word... " >&6; }
15996 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15997   $as_echo_n "(cached) " >&6
15998 else
15999   if test -n "$check_msgfmt"; then
16000   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16001 else
16002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16003 for as_dir in $PATH
16004 do
16005   IFS=$as_save_IFS
16006   test -z "$as_dir" && as_dir=.
16007     for ac_exec_ext in '' $ac_executable_extensions; do
16008   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16009     ac_cv_prog_check_msgfmt="yes"
16010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16011     break 2
16012   fi
16013 done
16014   done
16015 IFS=$as_save_IFS
16016
16017   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16018 fi
16019 fi
16020 check_msgfmt=$ac_cv_prog_check_msgfmt
16021 if test -n "$check_msgfmt"; then
16022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16023 $as_echo "$check_msgfmt" >&6; }
16024 else
16025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16026 $as_echo "no" >&6; }
16027 fi
16028
16029
16030       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16031         USE_NLS=yes
16032       fi
16033       # Export the build objects.
16034       for ling in $ALL_LINGUAS; do \
16035         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16036         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16037       done
16038
16039
16040
16041       CLOCALE_H=config/locale/gnu/c_locale.h
16042       CLOCALE_CC=config/locale/gnu/c_locale.cc
16043       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16044       CCOLLATE_CC=config/locale/gnu/collate_members.cc
16045       CCTYPE_CC=config/locale/gnu/ctype_members.cc
16046       CMESSAGES_H=config/locale/gnu/messages_members.h
16047       CMESSAGES_CC=config/locale/gnu/messages_members.cc
16048       CMONEY_CC=config/locale/gnu/monetary_members.cc
16049       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16050       CTIME_H=config/locale/gnu/time_members.h
16051       CTIME_CC=config/locale/gnu/time_members.cc
16052       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16053       ;;
16054     ieee_1003.1-2001)
16055       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16056 $as_echo "IEEE 1003.1" >&6; }
16057
16058       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16059       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16060       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16061       CCOLLATE_CC=config/locale/generic/collate_members.cc
16062       CCTYPE_CC=config/locale/generic/ctype_members.cc
16063       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16064       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16065       CMONEY_CC=config/locale/generic/monetary_members.cc
16066       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16067       CTIME_H=config/locale/generic/time_members.h
16068       CTIME_CC=config/locale/generic/time_members.cc
16069       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16070       ;;
16071     newlib)
16072       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16073 $as_echo "newlib" >&6; }
16074
16075       CLOCALE_H=config/locale/generic/c_locale.h
16076       CLOCALE_CC=config/locale/generic/c_locale.cc
16077       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16078       CCOLLATE_CC=config/locale/generic/collate_members.cc
16079       CCTYPE_CC=config/locale/newlib/ctype_members.cc
16080       CMESSAGES_H=config/locale/generic/messages_members.h
16081       CMESSAGES_CC=config/locale/generic/messages_members.cc
16082       CMONEY_CC=config/locale/generic/monetary_members.cc
16083       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16084       CTIME_H=config/locale/generic/time_members.h
16085       CTIME_CC=config/locale/generic/time_members.cc
16086       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16087       ;;
16088   esac
16089
16090   # This is where the testsuite looks for locale catalogs, using the
16091   # -DLOCALEDIR define during testsuite compilation.
16092   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16093
16094
16095   # A standalone libintl (e.g., GNU libintl) may be in use.
16096   if test $USE_NLS = yes; then
16097     for ac_header in libintl.h
16098 do :
16099   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16100 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16101   cat >>confdefs.h <<_ACEOF
16102 #define HAVE_LIBINTL_H 1
16103 _ACEOF
16104
16105 else
16106   USE_NLS=no
16107 fi
16108
16109 done
16110
16111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16112 $as_echo_n "checking for library containing gettext... " >&6; }
16113 if test "${ac_cv_search_gettext+set}" = set; then :
16114   $as_echo_n "(cached) " >&6
16115 else
16116   ac_func_search_save_LIBS=$LIBS
16117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16118 /* end confdefs.h.  */
16119
16120 /* Override any GCC internal prototype to avoid an error.
16121    Use char because int might match the return type of a GCC
16122    builtin and then its argument prototype would still apply.  */
16123 #ifdef __cplusplus
16124 extern "C"
16125 #endif
16126 char gettext ();
16127 int
16128 main ()
16129 {
16130 return gettext ();
16131   ;
16132   return 0;
16133 }
16134 _ACEOF
16135 for ac_lib in '' intl; do
16136   if test -z "$ac_lib"; then
16137     ac_res="none required"
16138   else
16139     ac_res=-l$ac_lib
16140     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16141   fi
16142   if test x$gcc_no_link = xyes; then
16143   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16144 fi
16145 if ac_fn_c_try_link "$LINENO"; then :
16146   ac_cv_search_gettext=$ac_res
16147 fi
16148 rm -f core conftest.err conftest.$ac_objext \
16149     conftest$ac_exeext
16150   if test "${ac_cv_search_gettext+set}" = set; then :
16151   break
16152 fi
16153 done
16154 if test "${ac_cv_search_gettext+set}" = set; then :
16155
16156 else
16157   ac_cv_search_gettext=no
16158 fi
16159 rm conftest.$ac_ext
16160 LIBS=$ac_func_search_save_LIBS
16161 fi
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16163 $as_echo "$ac_cv_search_gettext" >&6; }
16164 ac_res=$ac_cv_search_gettext
16165 if test "$ac_res" != no; then :
16166   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16167
16168 else
16169   USE_NLS=no
16170 fi
16171
16172   fi
16173   if test $USE_NLS = yes; then
16174
16175 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16176
16177   fi
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16195 $as_echo_n "checking for std::allocator base class... " >&6; }
16196    # Check whether --enable-libstdcxx-allocator was given.
16197 if test "${enable_libstdcxx_allocator+set}" = set; then :
16198   enableval=$enable_libstdcxx_allocator;
16199       case "$enableval" in
16200        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16201        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16202                         esac
16203
16204 else
16205   enable_libstdcxx_allocator=auto
16206 fi
16207
16208
16209
16210   # If they didn't use this option switch, or if they specified --enable
16211   # with no specific model, we'll have to look for one.  If they
16212   # specified --disable (???), do likewise.
16213   if test $enable_libstdcxx_allocator = no ||
16214      test $enable_libstdcxx_allocator = yes;
16215   then
16216      enable_libstdcxx_allocator=auto
16217   fi
16218
16219   # Either a known package, or "auto". Auto implies the default choice
16220   # for a particular platform.
16221   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16222
16223   # Probe for host-specific support if no specific model is specified.
16224   # Default to "new".
16225   if test $enable_libstdcxx_allocator_flag = auto; then
16226     case ${target_os} in
16227       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16228         enable_libstdcxx_allocator_flag=new
16229         ;;
16230       *)
16231         enable_libstdcxx_allocator_flag=new
16232         ;;
16233     esac
16234   fi
16235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16236 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16237
16238
16239   # Set configure bits for specified locale package
16240   case ${enable_libstdcxx_allocator_flag} in
16241     bitmap)
16242       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16243       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16244       ;;
16245     malloc)
16246       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16247       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16248       ;;
16249     mt)
16250       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16251       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16252       ;;
16253     new)
16254       ALLOCATOR_H=config/allocator/new_allocator_base.h
16255       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16256       ;;
16257     pool)
16258       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16259       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16260       ;;
16261   esac
16262
16263
16264
16265
16266
16267    # Check whether --enable-cheaders was given.
16268 if test "${enable_cheaders+set}" = set; then :
16269   enableval=$enable_cheaders;
16270       case "$enableval" in
16271        c|c_std|c_global) ;;
16272        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16273                         esac
16274
16275 else
16276   enable_cheaders=$c_model
16277 fi
16278
16279
16280   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16281 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16282
16283   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16284
16285   # Allow overrides to configure.host here.
16286   if test $enable_cheaders = c_global; then
16287      c_compatibility=yes
16288   fi
16289
16290
16291
16292
16293
16294
16295
16296    # Check whether --enable-long-long was given.
16297 if test "${enable_long_long+set}" = set; then :
16298   enableval=$enable_long_long;
16299       case "$enableval" in
16300        yes|no) ;;
16301        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16302       esac
16303
16304 else
16305   enable_long_long=yes
16306 fi
16307
16308
16309   if test $enable_long_long = yes; then
16310
16311 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16312
16313   fi
16314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16315 $as_echo_n "checking for enabled long long specializations... " >&6; }
16316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16317 $as_echo "$enable_long_long" >&6; }
16318
16319
16320    # Check whether --enable-wchar_t was given.
16321 if test "${enable_wchar_t+set}" = set; then :
16322   enableval=$enable_wchar_t;
16323       case "$enableval" in
16324        yes|no) ;;
16325        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16326       esac
16327
16328 else
16329   enable_wchar_t=yes
16330 fi
16331
16332
16333
16334   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16335   for ac_header in wchar.h
16336 do :
16337   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16338 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16339   cat >>confdefs.h <<_ACEOF
16340 #define HAVE_WCHAR_H 1
16341 _ACEOF
16342  ac_has_wchar_h=yes
16343 else
16344   ac_has_wchar_h=no
16345 fi
16346
16347 done
16348
16349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16350 $as_echo_n "checking for mbstate_t... " >&6; }
16351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h.  */
16353 #include <wchar.h>
16354 int
16355 main ()
16356 {
16357 mbstate_t teststate;
16358   ;
16359   return 0;
16360 }
16361 _ACEOF
16362 if ac_fn_c_try_compile "$LINENO"; then :
16363   have_mbstate_t=yes
16364 else
16365   have_mbstate_t=no
16366 fi
16367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16369 $as_echo "$have_mbstate_t" >&6; }
16370   if test x"$have_mbstate_t" = xyes; then
16371
16372 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16373
16374   fi
16375
16376   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16377   # ac_has_wchar_h.
16378   for ac_header in wctype.h
16379 do :
16380   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16381 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16382   cat >>confdefs.h <<_ACEOF
16383 #define HAVE_WCTYPE_H 1
16384 _ACEOF
16385  ac_has_wctype_h=yes
16386 else
16387   ac_has_wctype_h=no
16388 fi
16389
16390 done
16391
16392
16393   if test x"$enable_wchar_t" = x"yes"; then
16394
16395
16396     ac_ext=cpp
16397 ac_cpp='$CXXCPP $CPPFLAGS'
16398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16401
16402
16403     if test x"$ac_has_wchar_h" = xyes &&
16404        test x"$ac_has_wctype_h" = xyes; then
16405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h.  */
16407 #include <wchar.h>
16408                       #include <stddef.h>
16409                       wint_t i;
16410                       long l = WEOF;
16411                       long j = WCHAR_MIN;
16412                       long k = WCHAR_MAX;
16413                       namespace test
16414                       {
16415                         using ::btowc;
16416                         using ::fgetwc;
16417                         using ::fgetws;
16418                         using ::fputwc;
16419                         using ::fputws;
16420                         using ::fwide;
16421                         using ::fwprintf;
16422                         using ::fwscanf;
16423                         using ::getwc;
16424                         using ::getwchar;
16425                         using ::mbrlen;
16426                         using ::mbrtowc;
16427                         using ::mbsinit;
16428                         using ::mbsrtowcs;
16429                         using ::putwc;
16430                         using ::putwchar;
16431                         using ::swprintf;
16432                         using ::swscanf;
16433                         using ::ungetwc;
16434                         using ::vfwprintf;
16435                         using ::vswprintf;
16436                         using ::vwprintf;
16437                         using ::wcrtomb;
16438                         using ::wcscat;
16439                         using ::wcschr;
16440                         using ::wcscmp;
16441                         using ::wcscoll;
16442                         using ::wcscpy;
16443                         using ::wcscspn;
16444                         using ::wcsftime;
16445                         using ::wcslen;
16446                         using ::wcsncat;
16447                         using ::wcsncmp;
16448                         using ::wcsncpy;
16449                         using ::wcspbrk;
16450                         using ::wcsrchr;
16451                         using ::wcsrtombs;
16452                         using ::wcsspn;
16453                         using ::wcsstr;
16454                         using ::wcstod;
16455                         using ::wcstok;
16456                         using ::wcstol;
16457                         using ::wcstoul;
16458                         using ::wcsxfrm;
16459                         using ::wctob;
16460                         using ::wmemchr;
16461                         using ::wmemcmp;
16462                         using ::wmemcpy;
16463                         using ::wmemmove;
16464                         using ::wmemset;
16465                         using ::wprintf;
16466                         using ::wscanf;
16467                       }
16468
16469 int
16470 main ()
16471 {
16472
16473   ;
16474   return 0;
16475 }
16476 _ACEOF
16477 if ac_fn_cxx_try_compile "$LINENO"; then :
16478
16479 else
16480   enable_wchar_t=no
16481 fi
16482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16483     else
16484       enable_wchar_t=no
16485     fi
16486
16487     ac_ext=c
16488 ac_cpp='$CPP $CPPFLAGS'
16489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16492
16493   fi
16494
16495   if test x"$enable_wchar_t" = x"yes"; then
16496
16497 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16498
16499   fi
16500
16501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16502 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16504 $as_echo "$enable_wchar_t" >&6; }
16505
16506
16507
16508    # Check whether --enable-c99 was given.
16509 if test "${enable_c99+set}" = set; then :
16510   enableval=$enable_c99;
16511       case "$enableval" in
16512        yes|no) ;;
16513        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16514       esac
16515
16516 else
16517   enable_c99=yes
16518 fi
16519
16520
16521
16522   if test x"$enable_c99" = x"yes"; then
16523
16524
16525   ac_ext=cpp
16526 ac_cpp='$CXXCPP $CPPFLAGS'
16527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16530
16531
16532   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16533   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16534   # spuriously enabled.
16535   # Long term, -std=c++0x could be even better, could manage to explicitely
16536   # request C99 facilities to the underlying C headers.
16537   ac_save_CXXFLAGS="$CXXFLAGS"
16538   CXXFLAGS="$CXXFLAGS -std=c++98"
16539   ac_save_LIBS="$LIBS"
16540   ac_save_gcc_no_link="$gcc_no_link"
16541
16542   if test x$gcc_no_link != xyes; then
16543     # Use -fno-exceptions to that the C driver can link these tests without
16544     # hitting undefined references to personality routines.
16545     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16546     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16547 $as_echo_n "checking for sin in -lm... " >&6; }
16548 if test "${ac_cv_lib_m_sin+set}" = set; then :
16549   $as_echo_n "(cached) " >&6
16550 else
16551   ac_check_lib_save_LIBS=$LIBS
16552 LIBS="-lm  $LIBS"
16553 if test x$gcc_no_link = xyes; then
16554   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16555 fi
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h.  */
16558
16559 /* Override any GCC internal prototype to avoid an error.
16560    Use char because int might match the return type of a GCC
16561    builtin and then its argument prototype would still apply.  */
16562 #ifdef __cplusplus
16563 extern "C"
16564 #endif
16565 char sin ();
16566 int
16567 main ()
16568 {
16569 return sin ();
16570   ;
16571   return 0;
16572 }
16573 _ACEOF
16574 if ac_fn_cxx_try_link "$LINENO"; then :
16575   ac_cv_lib_m_sin=yes
16576 else
16577   ac_cv_lib_m_sin=no
16578 fi
16579 rm -f core conftest.err conftest.$ac_objext \
16580     conftest$ac_exeext conftest.$ac_ext
16581 LIBS=$ac_check_lib_save_LIBS
16582 fi
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16584 $as_echo "$ac_cv_lib_m_sin" >&6; }
16585 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16586
16587       LIBS="$LIBS -lm"
16588
16589 else
16590
16591       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16592       gcc_no_link=yes
16593
16594 fi
16595
16596   fi
16597
16598   # Check for the existence of <math.h> functions used if C99 is enabled.
16599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16600 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16601   if test "${glibcxx_cv_c99_math+set}" = set; then :
16602   $as_echo_n "(cached) " >&6
16603 else
16604
16605   if test x$gcc_no_link = xyes; then
16606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h.  */
16608 #include <math.h>
16609       volatile double d1, d2;
16610       volatile int i;
16611 int
16612 main ()
16613 {
16614 i = fpclassify(d1);
16615       i = isfinite(d1);
16616       i = isinf(d1);
16617       i = isnan(d1);
16618       i = isnormal(d1);
16619       i = signbit(d1);
16620       i = isgreater(d1, d2);
16621       i = isgreaterequal(d1, d2);
16622       i = isless(d1, d2);
16623       i = islessequal(d1, d2);
16624       i = islessgreater(d1, d2);
16625       i = islessgreater(d1, d2);
16626       i = isunordered(d1, d2);
16627
16628   ;
16629   return 0;
16630 }
16631 _ACEOF
16632 if ac_fn_cxx_try_compile "$LINENO"; then :
16633   glibcxx_cv_c99_math=yes
16634 else
16635   glibcxx_cv_c99_math=no
16636 fi
16637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16638 else
16639   if test x$gcc_no_link = xyes; then
16640   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16641 fi
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h.  */
16644 #include <math.h>
16645       volatile double d1, d2;
16646       volatile int i;
16647 int
16648 main ()
16649 {
16650 i = fpclassify(d1);
16651       i = isfinite(d1);
16652       i = isinf(d1);
16653       i = isnan(d1);
16654       i = isnormal(d1);
16655       i = signbit(d1);
16656       i = isgreater(d1, d2);
16657       i = isgreaterequal(d1, d2);
16658       i = isless(d1, d2);
16659       i = islessequal(d1, d2);
16660       i = islessgreater(d1, d2);
16661       i = islessgreater(d1, d2);
16662       i = isunordered(d1, d2);
16663
16664   ;
16665   return 0;
16666 }
16667 _ACEOF
16668 if ac_fn_cxx_try_link "$LINENO"; then :
16669   glibcxx_cv_c99_math=yes
16670 else
16671   glibcxx_cv_c99_math=no
16672 fi
16673 rm -f core conftest.err conftest.$ac_objext \
16674     conftest$ac_exeext conftest.$ac_ext
16675 fi
16676
16677 fi
16678
16679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16680 $as_echo "$glibcxx_cv_c99_math" >&6; }
16681   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16682
16683 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16684
16685   fi
16686
16687   # Check for the existence of <complex.h> complex math functions.
16688   # This is necessary even though libstdc++ uses the builtin versions
16689   # of these functions, because if the builtin cannot be used, a reference
16690   # to the library function is emitted.
16691   for ac_header in tgmath.h
16692 do :
16693   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16694 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16695   cat >>confdefs.h <<_ACEOF
16696 #define HAVE_TGMATH_H 1
16697 _ACEOF
16698  ac_has_tgmath_h=yes
16699 else
16700   ac_has_tgmath_h=no
16701 fi
16702
16703 done
16704
16705   for ac_header in complex.h
16706 do :
16707   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16708 if test "x$ac_cv_header_complex_h" = x""yes; then :
16709   cat >>confdefs.h <<_ACEOF
16710 #define HAVE_COMPLEX_H 1
16711 _ACEOF
16712  ac_has_complex_h=yes
16713 else
16714   ac_has_complex_h=no
16715 fi
16716
16717 done
16718
16719   glibcxx_cv_c99_complex=no;
16720   if test x"$ac_has_complex_h" = x"yes"; then
16721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16722 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16723     if test x$gcc_no_link = xyes; then
16724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h.  */
16726 #include <complex.h>
16727         typedef __complex__ float float_type;
16728         typedef __complex__ double double_type;
16729         typedef __complex__ long double ld_type;
16730         volatile float_type tmpf;
16731         volatile double_type tmpd;
16732         volatile ld_type tmpld;
16733         volatile float f;
16734         volatile double d;
16735         volatile long double ld;
16736 int
16737 main ()
16738 {
16739 f = cabsf(tmpf);
16740         f = cargf(tmpf);
16741         tmpf = ccosf(tmpf);
16742         tmpf = ccoshf(tmpf);
16743         tmpf = cexpf(tmpf);
16744         tmpf = clogf(tmpf);
16745         tmpf = csinf(tmpf);
16746         tmpf = csinhf(tmpf);
16747         tmpf = csqrtf(tmpf);
16748         tmpf = ctanf(tmpf);
16749         tmpf = ctanhf(tmpf);
16750         tmpf = cpowf(tmpf, tmpf);
16751         tmpf = cprojf(tmpf);
16752         d = cabs(tmpd);
16753         d = carg(tmpd);
16754         tmpd = ccos(tmpd);
16755         tmpd = ccosh(tmpd);
16756         tmpd = cexp(tmpd);
16757         tmpd = clog(tmpd);
16758         tmpd = csin(tmpd);
16759         tmpd = csinh(tmpd);
16760         tmpd = csqrt(tmpd);
16761         tmpd = ctan(tmpd);
16762         tmpd = ctanh(tmpd);
16763         tmpd = cpow(tmpd, tmpd);
16764         tmpd = cproj(tmpd);
16765         ld = cabsl(tmpld);
16766         ld = cargl(tmpld);
16767         tmpld = ccosl(tmpld);
16768         tmpld = ccoshl(tmpld);
16769         tmpld = cexpl(tmpld);
16770         tmpld = clogl(tmpld);
16771         tmpld = csinl(tmpld);
16772         tmpld = csinhl(tmpld);
16773         tmpld = csqrtl(tmpld);
16774         tmpld = ctanl(tmpld);
16775         tmpld = ctanhl(tmpld);
16776         tmpld = cpowl(tmpld, tmpld);
16777         tmpld = cprojl(tmpld);
16778
16779   ;
16780   return 0;
16781 }
16782 _ACEOF
16783 if ac_fn_cxx_try_compile "$LINENO"; then :
16784   glibcxx_cv_c99_complex=yes
16785 else
16786   glibcxx_cv_c99_complex=no
16787 fi
16788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16789 else
16790   if test x$gcc_no_link = xyes; then
16791   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16792 fi
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h.  */
16795 #include <complex.h>
16796         typedef __complex__ float float_type;
16797         typedef __complex__ double double_type;
16798         typedef __complex__ long double ld_type;
16799         volatile float_type tmpf;
16800         volatile double_type tmpd;
16801         volatile ld_type tmpld;
16802         volatile float f;
16803         volatile double d;
16804         volatile long double ld;
16805 int
16806 main ()
16807 {
16808 f = cabsf(tmpf);
16809         f = cargf(tmpf);
16810         tmpf = ccosf(tmpf);
16811         tmpf = ccoshf(tmpf);
16812         tmpf = cexpf(tmpf);
16813         tmpf = clogf(tmpf);
16814         tmpf = csinf(tmpf);
16815         tmpf = csinhf(tmpf);
16816         tmpf = csqrtf(tmpf);
16817         tmpf = ctanf(tmpf);
16818         tmpf = ctanhf(tmpf);
16819         tmpf = cpowf(tmpf, tmpf);
16820         tmpf = cprojf(tmpf);
16821         d = cabs(tmpd);
16822         d = carg(tmpd);
16823         tmpd = ccos(tmpd);
16824         tmpd = ccosh(tmpd);
16825         tmpd = cexp(tmpd);
16826         tmpd = clog(tmpd);
16827         tmpd = csin(tmpd);
16828         tmpd = csinh(tmpd);
16829         tmpd = csqrt(tmpd);
16830         tmpd = ctan(tmpd);
16831         tmpd = ctanh(tmpd);
16832         tmpd = cpow(tmpd, tmpd);
16833         tmpd = cproj(tmpd);
16834         ld = cabsl(tmpld);
16835         ld = cargl(tmpld);
16836         tmpld = ccosl(tmpld);
16837         tmpld = ccoshl(tmpld);
16838         tmpld = cexpl(tmpld);
16839         tmpld = clogl(tmpld);
16840         tmpld = csinl(tmpld);
16841         tmpld = csinhl(tmpld);
16842         tmpld = csqrtl(tmpld);
16843         tmpld = ctanl(tmpld);
16844         tmpld = ctanhl(tmpld);
16845         tmpld = cpowl(tmpld, tmpld);
16846         tmpld = cprojl(tmpld);
16847
16848   ;
16849   return 0;
16850 }
16851 _ACEOF
16852 if ac_fn_cxx_try_link "$LINENO"; then :
16853   glibcxx_cv_c99_complex=yes
16854 else
16855   glibcxx_cv_c99_complex=no
16856 fi
16857 rm -f core conftest.err conftest.$ac_objext \
16858     conftest$ac_exeext conftest.$ac_ext
16859 fi
16860   fi
16861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16862 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16863   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16864
16865 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16866
16867   fi
16868
16869   # Check for the existence in <stdio.h> of vscanf, et. al.
16870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16871 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16872   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16873   $as_echo_n "(cached) " >&6
16874 else
16875
16876   if test x$gcc_no_link = xyes; then
16877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h.  */
16879 #include <stdio.h>
16880       #include <stdarg.h>
16881       void foo(char* fmt, ...)
16882       {
16883         va_list args; va_start(args, fmt);
16884         vfscanf(stderr, "%i", args);
16885         vscanf("%i", args);
16886         vsnprintf(fmt, 0, "%i", args);
16887         vsscanf(fmt, "%i", args);
16888       }
16889 int
16890 main ()
16891 {
16892 snprintf("12", 0, "%i");
16893   ;
16894   return 0;
16895 }
16896 _ACEOF
16897 if ac_fn_cxx_try_compile "$LINENO"; then :
16898   glibcxx_cv_c99_stdio=yes
16899 else
16900   glibcxx_cv_c99_stdio=no
16901 fi
16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16903 else
16904   if test x$gcc_no_link = xyes; then
16905   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16906 fi
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h.  */
16909 #include <stdio.h>
16910       #include <stdarg.h>
16911       void foo(char* fmt, ...)
16912       {
16913         va_list args; va_start(args, fmt);
16914         vfscanf(stderr, "%i", args);
16915         vscanf("%i", args);
16916         vsnprintf(fmt, 0, "%i", args);
16917         vsscanf(fmt, "%i", args);
16918       }
16919 int
16920 main ()
16921 {
16922 snprintf("12", 0, "%i");
16923   ;
16924   return 0;
16925 }
16926 _ACEOF
16927 if ac_fn_cxx_try_link "$LINENO"; then :
16928   glibcxx_cv_c99_stdio=yes
16929 else
16930   glibcxx_cv_c99_stdio=no
16931 fi
16932 rm -f core conftest.err conftest.$ac_objext \
16933     conftest$ac_exeext conftest.$ac_ext
16934 fi
16935
16936 fi
16937
16938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16939 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16940
16941   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16943 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16944   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16945   $as_echo_n "(cached) " >&6
16946 else
16947
16948   if test x$gcc_no_link = xyes; then
16949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h.  */
16951 #include <stdlib.h>
16952       volatile float f;
16953       volatile long double ld;
16954       volatile unsigned long long ll;
16955       lldiv_t mydivt;
16956 int
16957 main ()
16958 {
16959 char* tmp;
16960       f = strtof("gnu", &tmp);
16961       ld = strtold("gnu", &tmp);
16962       ll = strtoll("gnu", &tmp, 10);
16963       ll = strtoull("gnu", &tmp, 10);
16964       ll = llabs(10);
16965       mydivt = lldiv(10,1);
16966       ll = mydivt.quot;
16967       ll = mydivt.rem;
16968       ll = atoll("10");
16969       _Exit(0);
16970
16971   ;
16972   return 0;
16973 }
16974 _ACEOF
16975 if ac_fn_cxx_try_compile "$LINENO"; then :
16976   glibcxx_cv_c99_stdlib=yes
16977 else
16978   glibcxx_cv_c99_stdlib=no
16979 fi
16980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16981 else
16982   if test x$gcc_no_link = xyes; then
16983   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16984 fi
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h.  */
16987 #include <stdlib.h>
16988       volatile float f;
16989       volatile long double ld;
16990       volatile unsigned long long ll;
16991       lldiv_t mydivt;
16992 int
16993 main ()
16994 {
16995 char* tmp;
16996       f = strtof("gnu", &tmp);
16997       ld = strtold("gnu", &tmp);
16998       ll = strtoll("gnu", &tmp, 10);
16999       ll = strtoull("gnu", &tmp, 10);
17000       ll = llabs(10);
17001       mydivt = lldiv(10,1);
17002       ll = mydivt.quot;
17003       ll = mydivt.rem;
17004       ll = atoll("10");
17005       _Exit(0);
17006
17007   ;
17008   return 0;
17009 }
17010 _ACEOF
17011 if ac_fn_cxx_try_link "$LINENO"; then :
17012   glibcxx_cv_c99_stdlib=yes
17013 else
17014   glibcxx_cv_c99_stdlib=no
17015 fi
17016 rm -f core conftest.err conftest.$ac_objext \
17017     conftest$ac_exeext conftest.$ac_ext
17018 fi
17019
17020 fi
17021
17022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17023 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17024
17025   # Check for the existence in <wchar.h> of wcstold, etc.
17026   glibcxx_cv_c99_wchar=no;
17027   if test x"$ac_has_wchar_h" = xyes &&
17028      test x"$ac_has_wctype_h" = xyes; then
17029     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17030 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17031     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h.  */
17033 #include <wchar.h>
17034                     namespace test
17035                     {
17036                       using ::wcstold;
17037                       using ::wcstoll;
17038                       using ::wcstoull;
17039                     }
17040
17041 int
17042 main ()
17043 {
17044
17045   ;
17046   return 0;
17047 }
17048 _ACEOF
17049 if ac_fn_cxx_try_compile "$LINENO"; then :
17050   glibcxx_cv_c99_wchar=yes
17051 else
17052   glibcxx_cv_c99_wchar=no
17053 fi
17054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17055
17056     # Checks for wide character functions that may not be present.
17057     # Injection of these is wrapped with guard macros.
17058     # NB: only put functions here, instead of immediately above, if
17059     # absolutely necessary.
17060     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h.  */
17062 #include <wchar.h>
17063                     namespace test { using ::vfwscanf; }
17064 int
17065 main ()
17066 {
17067
17068   ;
17069   return 0;
17070 }
17071 _ACEOF
17072 if ac_fn_cxx_try_compile "$LINENO"; then :
17073
17074 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17075
17076 fi
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078
17079     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h.  */
17081 #include <wchar.h>
17082                     namespace test { using ::vswscanf; }
17083 int
17084 main ()
17085 {
17086
17087   ;
17088   return 0;
17089 }
17090 _ACEOF
17091 if ac_fn_cxx_try_compile "$LINENO"; then :
17092
17093 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17094
17095 fi
17096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17097
17098     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h.  */
17100 #include <wchar.h>
17101                     namespace test { using ::vwscanf; }
17102 int
17103 main ()
17104 {
17105
17106   ;
17107   return 0;
17108 }
17109 _ACEOF
17110 if ac_fn_cxx_try_compile "$LINENO"; then :
17111
17112 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17113
17114 fi
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116
17117     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h.  */
17119 #include <wchar.h>
17120                     namespace test { using ::wcstof; }
17121 int
17122 main ()
17123 {
17124
17125   ;
17126   return 0;
17127 }
17128 _ACEOF
17129 if ac_fn_cxx_try_compile "$LINENO"; then :
17130
17131 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17132
17133 fi
17134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17135
17136     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h.  */
17138 #include <wctype.h>
17139 int
17140 main ()
17141 {
17142  wint_t t; int i = iswblank(t);
17143   ;
17144   return 0;
17145 }
17146 _ACEOF
17147 if ac_fn_cxx_try_compile "$LINENO"; then :
17148
17149 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17150
17151 fi
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153
17154     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17155 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17156   fi
17157
17158   # Option parsed, now set things appropriately.
17159   if test x"$glibcxx_cv_c99_math" = x"no" ||
17160      test x"$glibcxx_cv_c99_complex" = x"no" ||
17161      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17162      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17163      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17164     enable_c99=no;
17165   else
17166
17167 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17168
17169   fi
17170
17171   gcc_no_link="$ac_save_gcc_no_link"
17172   LIBS="$ac_save_LIBS"
17173   CXXFLAGS="$ac_save_CXXFLAGS"
17174   ac_ext=c
17175 ac_cpp='$CPP $CPPFLAGS'
17176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17179
17180   fi
17181
17182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17183 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17185 $as_echo "$enable_c99" >&6; }
17186
17187
17188    # Check whether --enable-concept-checks was given.
17189 if test "${enable_concept_checks+set}" = set; then :
17190   enableval=$enable_concept_checks;
17191       case "$enableval" in
17192        yes|no) ;;
17193        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17194       esac
17195
17196 else
17197   enable_concept_checks=no
17198 fi
17199
17200
17201   if test $enable_concept_checks = yes; then
17202
17203 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17204
17205   fi
17206
17207
17208    # Check whether --enable-libstdcxx-debug-flags was given.
17209 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17210   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17211       xno | x)    enable_libstdcxx_debug_flags= ;;
17212       x-*)        ;;
17213       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17214      esac
17215 else
17216   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17217 fi
17218
17219
17220
17221   # Option parsed, now set things appropriately
17222   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17223
17224
17225   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17226 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17227
17228
17229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17230 $as_echo_n "checking for additional debug build... " >&6; }
17231    # Check whether --enable-libstdcxx-debug was given.
17232 if test "${enable_libstdcxx_debug+set}" = set; then :
17233   enableval=$enable_libstdcxx_debug;
17234       case "$enableval" in
17235        yes|no) ;;
17236        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17237       esac
17238
17239 else
17240   enable_libstdcxx_debug=no
17241 fi
17242
17243
17244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17245 $as_echo "$enable_libstdcxx_debug" >&6; }
17246
17247
17248
17249
17250   enable_parallel=no;
17251
17252   # See if configured libgomp/omp.h exists. (libgomp may be in
17253   # noconfigdirs but not explicitly disabled.)
17254   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17255     enable_parallel=yes;
17256   else
17257     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17258 $as_echo "$as_me: target-libgomp not built" >&6;}
17259   fi
17260
17261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17262 $as_echo_n "checking for parallel mode support... " >&6; }
17263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17264 $as_echo "$enable_parallel" >&6; }
17265
17266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17267 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17268    # Check whether --enable-cxx-flags was given.
17269 if test "${enable_cxx_flags+set}" = set; then :
17270   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17271       xno | x)   enable_cxx_flags= ;;
17272       x-*)       ;;
17273       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17274      esac
17275 else
17276   enable_cxx_flags=
17277 fi
17278
17279
17280
17281   # Run through flags (either default or command-line) and set anything
17282   # extra (e.g., #defines) that must accompany particular g++ options.
17283   if test -n "$enable_cxx_flags"; then
17284     for f in $enable_cxx_flags; do
17285       case "$f" in
17286         -fhonor-std)  ;;
17287         -*)  ;;
17288         *)   # and we're trying to pass /what/ exactly?
17289              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17290       esac
17291     done
17292   fi
17293
17294   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17296 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17297
17298
17299
17300    # Check whether --enable-fully-dynamic-string was given.
17301 if test "${enable_fully_dynamic_string+set}" = set; then :
17302   enableval=$enable_fully_dynamic_string;
17303       case "$enableval" in
17304        yes|no) ;;
17305        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17306       esac
17307
17308 else
17309   enable_fully_dynamic_string=no
17310 fi
17311
17312
17313   if test $enable_fully_dynamic_string = yes; then
17314     enable_fully_dynamic_string_def=1
17315   else
17316     enable_fully_dynamic_string_def=0
17317   fi
17318
17319 cat >>confdefs.h <<_ACEOF
17320 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17321 _ACEOF
17322
17323
17324
17325
17326    # Check whether --enable-extern-template was given.
17327 if test "${enable_extern_template+set}" = set; then :
17328   enableval=$enable_extern_template;
17329       case "$enableval" in
17330        yes|no) ;;
17331        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17332       esac
17333
17334 else
17335   enable_extern_template=yes
17336 fi
17337
17338
17339
17340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17341 $as_echo_n "checking for extern template support... " >&6; }
17342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17343 $as_echo "$enable_extern_template" >&6; }
17344
17345
17346
17347
17348
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17350 $as_echo_n "checking for custom python install directory... " >&6; }
17351
17352 # Check whether --with-python-dir was given.
17353 if test "${with_python_dir+set}" = set; then :
17354   withval=$with_python_dir; with_python_dir=$withval
17355 else
17356   with_python_dir="no"
17357 fi
17358
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17360 $as_echo "${with_python_dir}" >&6; }
17361
17362 # Needed for installing Python modules during make install.
17363 python_mod_dir="${with_python_dir}"
17364
17365
17366
17367
17368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17369 $as_echo_n "checking for -Werror... " >&6; }
17370    # Check whether --enable-werror was given.
17371 if test "${enable_werror+set}" = set; then :
17372   enableval=$enable_werror;
17373       case "$enableval" in
17374        yes|no) ;;
17375        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17376       esac
17377
17378 else
17379   enable_werror=yes
17380 fi
17381
17382
17383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17384 $as_echo "$enable_werror" >&6; }
17385
17386
17387
17388 # Checks for operating systems support that doesn't require linking.
17389
17390
17391
17392   ac_ext=cpp
17393 ac_cpp='$CXXCPP $CPPFLAGS'
17394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17397
17398
17399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17400 $as_echo_n "checking for gets declaration... " >&6; }
17401   if test "${glibcxx_cv_gets+set}" = set; then :
17402   $as_echo_n "(cached) " >&6
17403 else
17404
17405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h.  */
17407 #include <stdio.h>
17408            namespace test
17409            {
17410               using ::gets;
17411            }
17412
17413 _ACEOF
17414 if ac_fn_cxx_try_compile "$LINENO"; then :
17415   glibcxx_cv_gets=yes
17416 else
17417   glibcxx_cv_gets=no
17418
17419 fi
17420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17421 fi
17422
17423
17424   if test $glibcxx_cv_gets = yes; then
17425
17426 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17427
17428   fi
17429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17430 $as_echo "$glibcxx_cv_gets" >&6; }
17431
17432   ac_ext=c
17433 ac_cpp='$CPP $CPPFLAGS'
17434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17437
17438
17439
17440
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17442 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17443 if test "${glibcxx_cv_system_error1+set}" = set; then :
17444   $as_echo_n "(cached) " >&6
17445 else
17446
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h.  */
17449 #include <errno.h>
17450 int
17451 main ()
17452 {
17453 int i = EOWNERDEAD;
17454   ;
17455   return 0;
17456 }
17457 _ACEOF
17458 if ac_fn_c_try_compile "$LINENO"; then :
17459   glibcxx_cv_system_error1=yes
17460 else
17461   glibcxx_cv_system_error1=no
17462 fi
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464
17465 fi
17466
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17468 $as_echo "$glibcxx_cv_system_error1" >&6; }
17469 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17470
17471 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17472
17473 fi
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17475 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17476 if test "${glibcxx_cv_system_error2+set}" = set; then :
17477   $as_echo_n "(cached) " >&6
17478 else
17479
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h.  */
17482 #include <errno.h>
17483 int
17484 main ()
17485 {
17486 int i = ENOTRECOVERABLE;
17487   ;
17488   return 0;
17489 }
17490 _ACEOF
17491 if ac_fn_c_try_compile "$LINENO"; then :
17492   glibcxx_cv_system_error2=yes
17493 else
17494   glibcxx_cv_system_error2=no
17495 fi
17496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17497
17498 fi
17499
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17501 $as_echo "$glibcxx_cv_system_error2" >&6; }
17502 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17503
17504 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17505
17506 fi
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17508 $as_echo_n "checking for ENOLINK... " >&6; }
17509 if test "${glibcxx_cv_system_error3+set}" = set; then :
17510   $as_echo_n "(cached) " >&6
17511 else
17512
17513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h.  */
17515 #include <errno.h>
17516 int
17517 main ()
17518 {
17519 int i = ENOLINK;
17520   ;
17521   return 0;
17522 }
17523 _ACEOF
17524 if ac_fn_c_try_compile "$LINENO"; then :
17525   glibcxx_cv_system_error3=yes
17526 else
17527   glibcxx_cv_system_error3=no
17528 fi
17529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17530
17531 fi
17532
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17534 $as_echo "$glibcxx_cv_system_error3" >&6; }
17535 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17536
17537 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17538
17539 fi
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17541 $as_echo_n "checking for EPROTO... " >&6; }
17542 if test "${glibcxx_cv_system_error4+set}" = set; then :
17543   $as_echo_n "(cached) " >&6
17544 else
17545
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h.  */
17548 #include <errno.h>
17549 int
17550 main ()
17551 {
17552 int i = EPROTO;
17553   ;
17554   return 0;
17555 }
17556 _ACEOF
17557 if ac_fn_c_try_compile "$LINENO"; then :
17558   glibcxx_cv_system_error4=yes
17559 else
17560   glibcxx_cv_system_error4=no
17561 fi
17562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17563
17564 fi
17565
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17567 $as_echo "$glibcxx_cv_system_error4" >&6; }
17568 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17569
17570 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17571
17572 fi
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17574 $as_echo_n "checking for ENODATA... " >&6; }
17575 if test "${glibcxx_cv_system_error5+set}" = set; then :
17576   $as_echo_n "(cached) " >&6
17577 else
17578
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h.  */
17581 #include <errno.h>
17582 int
17583 main ()
17584 {
17585 int i = ENODATA;
17586   ;
17587   return 0;
17588 }
17589 _ACEOF
17590 if ac_fn_c_try_compile "$LINENO"; then :
17591   glibcxx_cv_system_error5=yes
17592 else
17593   glibcxx_cv_system_error5=no
17594 fi
17595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596
17597 fi
17598
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17600 $as_echo "$glibcxx_cv_system_error5" >&6; }
17601 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17602
17603 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17604
17605 fi
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17607 $as_echo_n "checking for ENOSR... " >&6; }
17608 if test "${glibcxx_cv_system_error6+set}" = set; then :
17609   $as_echo_n "(cached) " >&6
17610 else
17611
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h.  */
17614 #include <errno.h>
17615 int
17616 main ()
17617 {
17618 int i = ENOSR;
17619   ;
17620   return 0;
17621 }
17622 _ACEOF
17623 if ac_fn_c_try_compile "$LINENO"; then :
17624   glibcxx_cv_system_error6=yes
17625 else
17626   glibcxx_cv_system_error6=no
17627 fi
17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17629
17630 fi
17631
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17633 $as_echo "$glibcxx_cv_system_error6" >&6; }
17634 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17635
17636 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17637
17638 fi
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17640 $as_echo_n "checking for ENOSTR... " >&6; }
17641 if test "${glibcxx_cv_system_error7+set}" = set; then :
17642   $as_echo_n "(cached) " >&6
17643 else
17644
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h.  */
17647 #include <errno.h>
17648 int
17649 main ()
17650 {
17651 int i = ENOSTR;
17652   ;
17653   return 0;
17654 }
17655 _ACEOF
17656 if ac_fn_c_try_compile "$LINENO"; then :
17657   glibcxx_cv_system_error7=yes
17658 else
17659   glibcxx_cv_system_error7=no
17660 fi
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662
17663 fi
17664
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17666 $as_echo "$glibcxx_cv_system_error7" >&6; }
17667 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17668
17669 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17670
17671 fi
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17673 $as_echo_n "checking for ETIME... " >&6; }
17674 if test "${glibcxx_cv_system_error8+set}" = set; then :
17675   $as_echo_n "(cached) " >&6
17676 else
17677
17678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h.  */
17680 #include <errno.h>
17681 int
17682 main ()
17683 {
17684 int i = ETIME;
17685   ;
17686   return 0;
17687 }
17688 _ACEOF
17689 if ac_fn_c_try_compile "$LINENO"; then :
17690   glibcxx_cv_system_error8=yes
17691 else
17692   glibcxx_cv_system_error8=no
17693 fi
17694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17695
17696 fi
17697
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17699 $as_echo "$glibcxx_cv_system_error8" >&6; }
17700 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17701
17702 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17703
17704 fi
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17706 $as_echo_n "checking for EBADMSG... " >&6; }
17707 if test "${glibcxx_cv_system_error9+set}" = set; then :
17708   $as_echo_n "(cached) " >&6
17709 else
17710
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h.  */
17713 #include <errno.h>
17714 int
17715 main ()
17716 {
17717 int i = EBADMSG;
17718   ;
17719   return 0;
17720 }
17721 _ACEOF
17722 if ac_fn_c_try_compile "$LINENO"; then :
17723   glibcxx_cv_system_error9=yes
17724 else
17725   glibcxx_cv_system_error9=no
17726 fi
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728
17729 fi
17730
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17732 $as_echo "$glibcxx_cv_system_error9" >&6; }
17733 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17734
17735 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17736
17737 fi
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17739 $as_echo_n "checking for ECANCELED... " >&6; }
17740 if test "${glibcxx_cv_system_error10+set}" = set; then :
17741   $as_echo_n "(cached) " >&6
17742 else
17743
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h.  */
17746 #include <errno.h>
17747 int
17748 main ()
17749 {
17750 int i = ECANCELED;
17751   ;
17752   return 0;
17753 }
17754 _ACEOF
17755 if ac_fn_c_try_compile "$LINENO"; then :
17756   glibcxx_cv_system_error10=yes
17757 else
17758   glibcxx_cv_system_error10=no
17759 fi
17760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17761
17762 fi
17763
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17765 $as_echo "$glibcxx_cv_system_error10" >&6; }
17766 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17767
17768 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17769
17770 fi
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17772 $as_echo_n "checking for EOVERFLOW... " >&6; }
17773 if test "${glibcxx_cv_system_error11+set}" = set; then :
17774   $as_echo_n "(cached) " >&6
17775 else
17776
17777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h.  */
17779 #include <errno.h>
17780 int
17781 main ()
17782 {
17783 int i = EOVERFLOW;
17784   ;
17785   return 0;
17786 }
17787 _ACEOF
17788 if ac_fn_c_try_compile "$LINENO"; then :
17789   glibcxx_cv_system_error11=yes
17790 else
17791   glibcxx_cv_system_error11=no
17792 fi
17793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17794
17795 fi
17796
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17798 $as_echo "$glibcxx_cv_system_error11" >&6; }
17799 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17800
17801 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17802
17803 fi
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17805 $as_echo_n "checking for ENOTSUP... " >&6; }
17806 if test "${glibcxx_cv_system_error12+set}" = set; then :
17807   $as_echo_n "(cached) " >&6
17808 else
17809
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h.  */
17812 #include <errno.h>
17813 int
17814 main ()
17815 {
17816 int i = ENOTSUP;
17817   ;
17818   return 0;
17819 }
17820 _ACEOF
17821 if ac_fn_c_try_compile "$LINENO"; then :
17822   glibcxx_cv_system_error12=yes
17823 else
17824   glibcxx_cv_system_error12=no
17825 fi
17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827
17828 fi
17829
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17831 $as_echo "$glibcxx_cv_system_error12" >&6; }
17832 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17833
17834 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17835
17836 fi
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17838 $as_echo_n "checking for EIDRM... " >&6; }
17839 if test "${glibcxx_cv_system_error13+set}" = set; then :
17840   $as_echo_n "(cached) " >&6
17841 else
17842
17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h.  */
17845 #include <errno.h>
17846 int
17847 main ()
17848 {
17849 int i = EIDRM;
17850   ;
17851   return 0;
17852 }
17853 _ACEOF
17854 if ac_fn_c_try_compile "$LINENO"; then :
17855   glibcxx_cv_system_error13=yes
17856 else
17857   glibcxx_cv_system_error13=no
17858 fi
17859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17860
17861 fi
17862
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17864 $as_echo "$glibcxx_cv_system_error13" >&6; }
17865 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17866
17867 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17868
17869 fi
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17871 $as_echo_n "checking for ETXTBSY... " >&6; }
17872 if test "${glibcxx_cv_system_error14+set}" = set; then :
17873   $as_echo_n "(cached) " >&6
17874 else
17875
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h.  */
17878 #include <errno.h>
17879 int
17880 main ()
17881 {
17882 int i = ETXTBSY;
17883   ;
17884   return 0;
17885 }
17886 _ACEOF
17887 if ac_fn_c_try_compile "$LINENO"; then :
17888   glibcxx_cv_system_error14=yes
17889 else
17890   glibcxx_cv_system_error14=no
17891 fi
17892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17893
17894 fi
17895
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17897 $as_echo "$glibcxx_cv_system_error14" >&6; }
17898 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17899
17900 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17901
17902 fi
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17904 $as_echo_n "checking for ECHILD... " >&6; }
17905 if test "${glibcxx_cv_system_error15+set}" = set; then :
17906   $as_echo_n "(cached) " >&6
17907 else
17908
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h.  */
17911 #include <errno.h>
17912 int
17913 main ()
17914 {
17915 int i = ECHILD;
17916   ;
17917   return 0;
17918 }
17919 _ACEOF
17920 if ac_fn_c_try_compile "$LINENO"; then :
17921   glibcxx_cv_system_error15=yes
17922 else
17923   glibcxx_cv_system_error15=no
17924 fi
17925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17926
17927 fi
17928
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17930 $as_echo "$glibcxx_cv_system_error15" >&6; }
17931 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17932
17933 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17934
17935 fi
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17937 $as_echo_n "checking for ENOSPC... " >&6; }
17938 if test "${glibcxx_cv_system_error16+set}" = set; then :
17939   $as_echo_n "(cached) " >&6
17940 else
17941
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h.  */
17944 #include <errno.h>
17945 int
17946 main ()
17947 {
17948 int i = ENOSPC;
17949   ;
17950   return 0;
17951 }
17952 _ACEOF
17953 if ac_fn_c_try_compile "$LINENO"; then :
17954   glibcxx_cv_system_error16=yes
17955 else
17956   glibcxx_cv_system_error16=no
17957 fi
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17959
17960 fi
17961
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17963 $as_echo "$glibcxx_cv_system_error16" >&6; }
17964 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17965
17966 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17967
17968 fi
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17970 $as_echo_n "checking for EPERM... " >&6; }
17971 if test "${glibcxx_cv_system_error17+set}" = set; then :
17972   $as_echo_n "(cached) " >&6
17973 else
17974
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h.  */
17977 #include <errno.h>
17978 int
17979 main ()
17980 {
17981 int i = EPERM;
17982   ;
17983   return 0;
17984 }
17985 _ACEOF
17986 if ac_fn_c_try_compile "$LINENO"; then :
17987   glibcxx_cv_system_error17=yes
17988 else
17989   glibcxx_cv_system_error17=no
17990 fi
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17992
17993 fi
17994
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17996 $as_echo "$glibcxx_cv_system_error17" >&6; }
17997 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17998
17999 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18000
18001 fi
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18003 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18004 if test "${glibcxx_cv_system_error18+set}" = set; then :
18005   $as_echo_n "(cached) " >&6
18006 else
18007
18008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h.  */
18010 #include <errno.h>
18011 int
18012 main ()
18013 {
18014 int i = ETIMEDOUT;
18015   ;
18016   return 0;
18017 }
18018 _ACEOF
18019 if ac_fn_c_try_compile "$LINENO"; then :
18020   glibcxx_cv_system_error18=yes
18021 else
18022   glibcxx_cv_system_error18=no
18023 fi
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18025
18026 fi
18027
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18029 $as_echo "$glibcxx_cv_system_error18" >&6; }
18030 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18031
18032 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18033
18034 fi
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18036 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18037 if test "${glibcxx_cv_system_error19+set}" = set; then :
18038   $as_echo_n "(cached) " >&6
18039 else
18040
18041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18042 /* end confdefs.h.  */
18043 #include <errno.h>
18044 int
18045 main ()
18046 {
18047 int i = EWOULDBLOCK;
18048   ;
18049   return 0;
18050 }
18051 _ACEOF
18052 if ac_fn_c_try_compile "$LINENO"; then :
18053   glibcxx_cv_system_error19=yes
18054 else
18055   glibcxx_cv_system_error19=no
18056 fi
18057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18058
18059 fi
18060
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18062 $as_echo "$glibcxx_cv_system_error19" >&6; }
18063 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18064
18065 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18066
18067 fi
18068
18069
18070
18071 # For the streamoff typedef.
18072
18073
18074
18075   ac_ext=cpp
18076 ac_cpp='$CXXCPP $CPPFLAGS'
18077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18080
18081
18082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18083 $as_echo_n "checking for int64_t... " >&6; }
18084   if test "${glibcxx_cv_INT64_T+set}" = set; then :
18085   $as_echo_n "(cached) " >&6
18086 else
18087
18088     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h.  */
18090 #include <stdint.h>
18091 int
18092 main ()
18093 {
18094 int64_t var;
18095   ;
18096   return 0;
18097 }
18098 _ACEOF
18099 if ac_fn_cxx_try_compile "$LINENO"; then :
18100   glibcxx_cv_INT64_T=yes
18101 else
18102   glibcxx_cv_INT64_T=no
18103 fi
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105
18106 fi
18107
18108
18109   if test $glibcxx_cv_INT64_T = yes; then
18110
18111 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18112
18113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18114 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18115
18116     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18117 $as_echo_n "checking for int64_t as long... " >&6; }
18118     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18119   $as_echo_n "(cached) " >&6
18120 else
18121
18122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h.  */
18124 #include <stdint.h>
18125         template<typename, typename> struct same { enum { value = -1 }; };
18126         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18127         int array[same<int64_t, long>::value];
18128 int
18129 main ()
18130 {
18131
18132   ;
18133   return 0;
18134 }
18135 _ACEOF
18136 if ac_fn_cxx_try_compile "$LINENO"; then :
18137   glibcxx_cv_int64_t_long=yes
18138 else
18139   glibcxx_cv_int64_t_long=no
18140 fi
18141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18142
18143 fi
18144
18145
18146     if test $glibcxx_cv_int64_t_long = yes; then
18147
18148 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18149
18150       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18151 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18152     fi
18153
18154     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18155 $as_echo_n "checking for int64_t as long long... " >&6; }
18156     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18157   $as_echo_n "(cached) " >&6
18158 else
18159
18160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18161 /* end confdefs.h.  */
18162 #include <stdint.h>
18163         template<typename, typename> struct same { enum { value = -1 }; };
18164         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18165         int array[same<int64_t, long long>::value];
18166 int
18167 main ()
18168 {
18169
18170   ;
18171   return 0;
18172 }
18173 _ACEOF
18174 if ac_fn_cxx_try_compile "$LINENO"; then :
18175   glibcxx_cv_int64_t_long_long=yes
18176 else
18177   glibcxx_cv_int64_t_long_long=no
18178 fi
18179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18180
18181 fi
18182
18183
18184     if test $glibcxx_cv_int64_t_long_long = yes; then
18185
18186 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18187
18188       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18189 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18190     fi
18191   fi
18192
18193   ac_ext=c
18194 ac_cpp='$CPP $CPPFLAGS'
18195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18198
18199
18200
18201 # For LFS support.
18202
18203
18204   ac_ext=cpp
18205 ac_cpp='$CXXCPP $CPPFLAGS'
18206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18209
18210   ac_save_CXXFLAGS="$CXXFLAGS"
18211   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18213 $as_echo_n "checking for LFS support... " >&6; }
18214   if test "${glibcxx_cv_LFS+set}" = set; then :
18215   $as_echo_n "(cached) " >&6
18216 else
18217
18218     if test x$gcc_no_link = xyes; then
18219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18220 /* end confdefs.h.  */
18221 #include <unistd.h>
18222        #include <stdio.h>
18223        #include <sys/stat.h>
18224
18225 int
18226 main ()
18227 {
18228 FILE* fp;
18229        fopen64("t", "w");
18230        fseeko64(fp, 0, SEEK_CUR);
18231        ftello64(fp);
18232        lseek64(1, 0, SEEK_CUR);
18233        struct stat64 buf;
18234        fstat64(1, &buf);
18235   ;
18236   return 0;
18237 }
18238 _ACEOF
18239 if ac_fn_cxx_try_compile "$LINENO"; then :
18240   glibcxx_cv_LFS=yes
18241 else
18242   glibcxx_cv_LFS=no
18243 fi
18244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18245 else
18246   if test x$gcc_no_link = xyes; then
18247   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18248 fi
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h.  */
18251 #include <unistd.h>
18252        #include <stdio.h>
18253        #include <sys/stat.h>
18254
18255 int
18256 main ()
18257 {
18258 FILE* fp;
18259        fopen64("t", "w");
18260        fseeko64(fp, 0, SEEK_CUR);
18261        ftello64(fp);
18262        lseek64(1, 0, SEEK_CUR);
18263        struct stat64 buf;
18264        fstat64(1, &buf);
18265   ;
18266   return 0;
18267 }
18268 _ACEOF
18269 if ac_fn_cxx_try_link "$LINENO"; then :
18270   glibcxx_cv_LFS=yes
18271 else
18272   glibcxx_cv_LFS=no
18273 fi
18274 rm -f core conftest.err conftest.$ac_objext \
18275     conftest$ac_exeext conftest.$ac_ext
18276 fi
18277
18278 fi
18279
18280   if test $glibcxx_cv_LFS = yes; then
18281
18282 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18283
18284   fi
18285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18286 $as_echo "$glibcxx_cv_LFS" >&6; }
18287   CXXFLAGS="$ac_save_CXXFLAGS"
18288   ac_ext=c
18289 ac_cpp='$CPP $CPPFLAGS'
18290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18293
18294
18295
18296 # For showmanyc_helper().
18297 for ac_header in sys/ioctl.h sys/filio.h
18298 do :
18299   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18300 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18301 eval as_val=\$$as_ac_Header
18302    if test "x$as_val" = x""yes; then :
18303   cat >>confdefs.h <<_ACEOF
18304 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18305 _ACEOF
18306
18307 fi
18308
18309 done
18310
18311
18312
18313
18314   ac_ext=cpp
18315 ac_cpp='$CXXCPP $CPPFLAGS'
18316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18319
18320   ac_save_CXXFLAGS="$CXXFLAGS"
18321   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18322
18323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18324 $as_echo_n "checking for poll... " >&6; }
18325   if test "${glibcxx_cv_POLL+set}" = set; then :
18326   $as_echo_n "(cached) " >&6
18327 else
18328
18329     if test x$gcc_no_link = xyes; then
18330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h.  */
18332 #include <poll.h>
18333 int
18334 main ()
18335 {
18336 struct pollfd pfd[1];
18337        pfd[0].events = POLLIN;
18338        poll(pfd, 1, 0);
18339   ;
18340   return 0;
18341 }
18342 _ACEOF
18343 if ac_fn_cxx_try_compile "$LINENO"; then :
18344   glibcxx_cv_POLL=yes
18345 else
18346   glibcxx_cv_POLL=no
18347 fi
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 else
18350   if test x$gcc_no_link = xyes; then
18351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18352 fi
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h.  */
18355 #include <poll.h>
18356 int
18357 main ()
18358 {
18359 struct pollfd pfd[1];
18360        pfd[0].events = POLLIN;
18361        poll(pfd, 1, 0);
18362   ;
18363   return 0;
18364 }
18365 _ACEOF
18366 if ac_fn_cxx_try_link "$LINENO"; then :
18367   glibcxx_cv_POLL=yes
18368 else
18369   glibcxx_cv_POLL=no
18370 fi
18371 rm -f core conftest.err conftest.$ac_objext \
18372     conftest$ac_exeext conftest.$ac_ext
18373 fi
18374
18375 fi
18376
18377   if test $glibcxx_cv_POLL = yes; then
18378
18379 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18380
18381   fi
18382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18383 $as_echo "$glibcxx_cv_POLL" >&6; }
18384
18385   CXXFLAGS="$ac_save_CXXFLAGS"
18386   ac_ext=c
18387 ac_cpp='$CPP $CPPFLAGS'
18388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18391
18392
18393
18394
18395
18396   ac_ext=cpp
18397 ac_cpp='$CXXCPP $CPPFLAGS'
18398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18401
18402   ac_save_CXXFLAGS="$CXXFLAGS"
18403   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18404
18405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18406 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18407   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18408   $as_echo_n "(cached) " >&6
18409 else
18410
18411     if test x$gcc_no_link = xyes; then
18412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h.  */
18414 #include <sys/stat.h>
18415 int
18416 main ()
18417 {
18418 struct stat buffer;
18419        fstat(0, &buffer);
18420        S_ISREG(buffer.st_mode);
18421   ;
18422   return 0;
18423 }
18424 _ACEOF
18425 if ac_fn_cxx_try_compile "$LINENO"; then :
18426   glibcxx_cv_S_ISREG=yes
18427 else
18428   glibcxx_cv_S_ISREG=no
18429 fi
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 else
18432   if test x$gcc_no_link = xyes; then
18433   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18434 fi
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h.  */
18437 #include <sys/stat.h>
18438 int
18439 main ()
18440 {
18441 struct stat buffer;
18442        fstat(0, &buffer);
18443        S_ISREG(buffer.st_mode);
18444   ;
18445   return 0;
18446 }
18447 _ACEOF
18448 if ac_fn_cxx_try_link "$LINENO"; then :
18449   glibcxx_cv_S_ISREG=yes
18450 else
18451   glibcxx_cv_S_ISREG=no
18452 fi
18453 rm -f core conftest.err conftest.$ac_objext \
18454     conftest$ac_exeext conftest.$ac_ext
18455 fi
18456
18457 fi
18458
18459   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18460   $as_echo_n "(cached) " >&6
18461 else
18462
18463     if test x$gcc_no_link = xyes; then
18464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h.  */
18466 #include <sys/stat.h>
18467 int
18468 main ()
18469 {
18470 struct stat buffer;
18471        fstat(0, &buffer);
18472        S_IFREG & buffer.st_mode;
18473   ;
18474   return 0;
18475 }
18476 _ACEOF
18477 if ac_fn_cxx_try_compile "$LINENO"; then :
18478   glibcxx_cv_S_IFREG=yes
18479 else
18480   glibcxx_cv_S_IFREG=no
18481 fi
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 else
18484   if test x$gcc_no_link = xyes; then
18485   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18486 fi
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h.  */
18489 #include <sys/stat.h>
18490 int
18491 main ()
18492 {
18493 struct stat buffer;
18494        fstat(0, &buffer);
18495        S_IFREG & buffer.st_mode;
18496   ;
18497   return 0;
18498 }
18499 _ACEOF
18500 if ac_fn_cxx_try_link "$LINENO"; then :
18501   glibcxx_cv_S_IFREG=yes
18502 else
18503   glibcxx_cv_S_IFREG=no
18504 fi
18505 rm -f core conftest.err conftest.$ac_objext \
18506     conftest$ac_exeext conftest.$ac_ext
18507 fi
18508
18509 fi
18510
18511   res=no
18512   if test $glibcxx_cv_S_ISREG = yes; then
18513
18514 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18515
18516     res=S_ISREG
18517   elif test $glibcxx_cv_S_IFREG = yes; then
18518
18519 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18520
18521     res=S_IFREG
18522   fi
18523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18524 $as_echo "$res" >&6; }
18525
18526   CXXFLAGS="$ac_save_CXXFLAGS"
18527   ac_ext=c
18528 ac_cpp='$CPP $CPPFLAGS'
18529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18532
18533
18534
18535 # For xsputn_2().
18536 for ac_header in sys/uio.h
18537 do :
18538   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18539 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18540   cat >>confdefs.h <<_ACEOF
18541 #define HAVE_SYS_UIO_H 1
18542 _ACEOF
18543
18544 fi
18545
18546 done
18547
18548
18549
18550
18551   ac_ext=cpp
18552 ac_cpp='$CXXCPP $CPPFLAGS'
18553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18556
18557   ac_save_CXXFLAGS="$CXXFLAGS"
18558   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18559
18560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18561 $as_echo_n "checking for writev... " >&6; }
18562   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18563   $as_echo_n "(cached) " >&6
18564 else
18565
18566     if test x$gcc_no_link = xyes; then
18567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h.  */
18569 #include <sys/uio.h>
18570 int
18571 main ()
18572 {
18573 struct iovec iov[2];
18574        writev(0, iov, 0);
18575   ;
18576   return 0;
18577 }
18578 _ACEOF
18579 if ac_fn_cxx_try_compile "$LINENO"; then :
18580   glibcxx_cv_WRITEV=yes
18581 else
18582   glibcxx_cv_WRITEV=no
18583 fi
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 else
18586   if test x$gcc_no_link = xyes; then
18587   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18588 fi
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h.  */
18591 #include <sys/uio.h>
18592 int
18593 main ()
18594 {
18595 struct iovec iov[2];
18596        writev(0, iov, 0);
18597   ;
18598   return 0;
18599 }
18600 _ACEOF
18601 if ac_fn_cxx_try_link "$LINENO"; then :
18602   glibcxx_cv_WRITEV=yes
18603 else
18604   glibcxx_cv_WRITEV=no
18605 fi
18606 rm -f core conftest.err conftest.$ac_objext \
18607     conftest$ac_exeext conftest.$ac_ext
18608 fi
18609
18610 fi
18611
18612   if test $glibcxx_cv_WRITEV = yes; then
18613
18614 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18615
18616   fi
18617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18618 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18619
18620   CXXFLAGS="$ac_save_CXXFLAGS"
18621   ac_ext=c
18622 ac_cpp='$CPP $CPPFLAGS'
18623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18626
18627
18628
18629 # For C99 support to TR1.
18630
18631
18632
18633   ac_ext=cpp
18634 ac_cpp='$CXXCPP $CPPFLAGS'
18635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18638
18639
18640   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18641   # undefined and fake C99 facilities may be spuriously enabled.
18642   ac_save_CXXFLAGS="$CXXFLAGS"
18643   CXXFLAGS="$CXXFLAGS -std=c++98"
18644
18645   # Check for the existence of <complex.h> complex math functions used
18646   # by tr1/complex.
18647   for ac_header in complex.h
18648 do :
18649   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18650 if test "x$ac_cv_header_complex_h" = x""yes; then :
18651   cat >>confdefs.h <<_ACEOF
18652 #define HAVE_COMPLEX_H 1
18653 _ACEOF
18654  ac_has_complex_h=yes
18655 else
18656   ac_has_complex_h=no
18657 fi
18658
18659 done
18660
18661   ac_c99_complex_tr1=no;
18662   if test x"$ac_has_complex_h" = x"yes"; then
18663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18664 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18665     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h.  */
18667 #include <complex.h>
18668 int
18669 main ()
18670 {
18671 typedef __complex__ float float_type; float_type tmpf;
18672                     cacosf(tmpf);
18673                     casinf(tmpf);
18674                     catanf(tmpf);
18675                     cacoshf(tmpf);
18676                     casinhf(tmpf);
18677                     catanhf(tmpf);
18678                     typedef __complex__ double double_type; double_type tmpd;
18679                     cacos(tmpd);
18680                     casin(tmpd);
18681                     catan(tmpd);
18682                     cacosh(tmpd);
18683                     casinh(tmpd);
18684                     catanh(tmpd);
18685                     typedef __complex__ long double ld_type; ld_type tmpld;
18686                     cacosl(tmpld);
18687                     casinl(tmpld);
18688                     catanl(tmpld);
18689                     cacoshl(tmpld);
18690                     casinhl(tmpld);
18691                     catanhl(tmpld);
18692
18693   ;
18694   return 0;
18695 }
18696 _ACEOF
18697 if ac_fn_cxx_try_compile "$LINENO"; then :
18698   ac_c99_complex_tr1=yes
18699 else
18700   ac_c99_complex_tr1=no
18701 fi
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18703   fi
18704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18705 $as_echo "$ac_c99_complex_tr1" >&6; }
18706   if test x"$ac_c99_complex_tr1" = x"yes"; then
18707
18708 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18709
18710   fi
18711
18712   # Check for the existence of <ctype.h> functions.
18713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18714 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18715   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18716   $as_echo_n "(cached) " >&6
18717 else
18718
18719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h.  */
18721 #include <ctype.h>
18722 int
18723 main ()
18724 {
18725 int ch;
18726                   int ret;
18727                   ret = isblank(ch);
18728
18729   ;
18730   return 0;
18731 }
18732 _ACEOF
18733 if ac_fn_cxx_try_compile "$LINENO"; then :
18734   glibcxx_cv_c99_ctype_tr1=yes
18735 else
18736   glibcxx_cv_c99_ctype_tr1=no
18737 fi
18738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18739
18740 fi
18741
18742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18743 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18744   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18745
18746 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18747
18748   fi
18749
18750   # Check for the existence of <fenv.h> functions.
18751   for ac_header in fenv.h
18752 do :
18753   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18754 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18755   cat >>confdefs.h <<_ACEOF
18756 #define HAVE_FENV_H 1
18757 _ACEOF
18758  ac_has_fenv_h=yes
18759 else
18760   ac_has_fenv_h=no
18761 fi
18762
18763 done
18764
18765   ac_c99_fenv_tr1=no;
18766   if test x"$ac_has_fenv_h" = x"yes"; then
18767     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18768 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18769     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h.  */
18771 #include <fenv.h>
18772 int
18773 main ()
18774 {
18775 int except, mode;
18776                     fexcept_t* pflag;
18777                     fenv_t* penv;
18778                     int ret;
18779                     ret = feclearexcept(except);
18780                     ret = fegetexceptflag(pflag, except);
18781                     ret = feraiseexcept(except);
18782                     ret = fesetexceptflag(pflag, except);
18783                     ret = fetestexcept(except);
18784                     ret = fegetround();
18785                     ret = fesetround(mode);
18786                     ret = fegetenv(penv);
18787                     ret = feholdexcept(penv);
18788                     ret = fesetenv(penv);
18789                     ret = feupdateenv(penv);
18790
18791   ;
18792   return 0;
18793 }
18794 _ACEOF
18795 if ac_fn_cxx_try_compile "$LINENO"; then :
18796   ac_c99_fenv_tr1=yes
18797 else
18798   ac_c99_fenv_tr1=no
18799 fi
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801   fi
18802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18803 $as_echo "$ac_c99_fenv_tr1" >&6; }
18804   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18805
18806 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18807
18808   fi
18809
18810   # Check for the existence of <stdint.h> types.
18811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18812 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18813   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18814   $as_echo_n "(cached) " >&6
18815 else
18816
18817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18818 /* end confdefs.h.  */
18819 #define __STDC_LIMIT_MACROS
18820                   #define __STDC_CONSTANT_MACROS
18821                   #include <stdint.h>
18822 int
18823 main ()
18824 {
18825 typedef int8_t          my_int8_t;
18826                   my_int8_t               i8 = INT8_MIN;
18827                   i8 = INT8_MAX;
18828                   typedef int16_t         my_int16_t;
18829                   my_int16_t              i16 = INT16_MIN;
18830                   i16 = INT16_MAX;
18831                   typedef int32_t         my_int32_t;
18832                   my_int32_t              i32 = INT32_MIN;
18833                   i32 = INT32_MAX;
18834                   typedef int64_t         my_int64_t;
18835                   my_int64_t              i64 = INT64_MIN;
18836                   i64 = INT64_MAX;
18837                   typedef int_fast8_t     my_int_fast8_t;
18838                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18839                   if8 = INT_FAST8_MAX;
18840                   typedef int_fast16_t    my_int_fast16_t;
18841                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18842                   if16 = INT_FAST16_MAX;
18843                   typedef int_fast32_t    my_int_fast32_t;
18844                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18845                   if32 = INT_FAST32_MAX;
18846                   typedef int_fast64_t    my_int_fast64_t;
18847                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18848                   if64 = INT_FAST64_MAX;
18849                   typedef int_least8_t    my_int_least8_t;
18850                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18851                   il8 = INT_LEAST8_MAX;
18852                   typedef int_least16_t   my_int_least16_t;
18853                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18854                   il16 = INT_LEAST16_MAX;
18855                   typedef int_least32_t   my_int_least32_t;
18856                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18857                   il32 = INT_LEAST32_MAX;
18858                   typedef int_least64_t   my_int_least64_t;
18859                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18860                   il64 = INT_LEAST64_MAX;
18861                   typedef intmax_t        my_intmax_t;
18862                   my_intmax_t             im = INTMAX_MAX;
18863                   im = INTMAX_MIN;
18864                   typedef intptr_t        my_intptr_t;
18865                   my_intptr_t             ip = INTPTR_MAX;
18866                   ip = INTPTR_MIN;
18867                   typedef uint8_t         my_uint8_t;
18868                   my_uint8_t              ui8 = UINT8_MAX;
18869                   ui8 = UINT8_MAX;
18870                   typedef uint16_t        my_uint16_t;
18871                   my_uint16_t             ui16 = UINT16_MAX;
18872                   ui16 = UINT16_MAX;
18873                   typedef uint32_t        my_uint32_t;
18874                   my_uint32_t             ui32 = UINT32_MAX;
18875                   ui32 = UINT32_MAX;
18876                   typedef uint64_t        my_uint64_t;
18877                   my_uint64_t             ui64 = UINT64_MAX;
18878                   ui64 = UINT64_MAX;
18879                   typedef uint_fast8_t    my_uint_fast8_t;
18880                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18881                   uif8 = UINT_FAST8_MAX;
18882                   typedef uint_fast16_t   my_uint_fast16_t;
18883                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18884                   uif16 = UINT_FAST16_MAX;
18885                   typedef uint_fast32_t   my_uint_fast32_t;
18886                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18887                   uif32 = UINT_FAST32_MAX;
18888                   typedef uint_fast64_t   my_uint_fast64_t;
18889                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18890                   uif64 = UINT_FAST64_MAX;
18891                   typedef uint_least8_t   my_uint_least8_t;
18892                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18893                   uil8 = UINT_LEAST8_MAX;
18894                   typedef uint_least16_t  my_uint_least16_t;
18895                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18896                   uil16 = UINT_LEAST16_MAX;
18897                   typedef uint_least32_t  my_uint_least32_t;
18898                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18899                   uil32 = UINT_LEAST32_MAX;
18900                   typedef uint_least64_t  my_uint_least64_t;
18901                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18902                   uil64 = UINT_LEAST64_MAX;
18903                   typedef uintmax_t       my_uintmax_t;
18904                   my_uintmax_t            uim = UINTMAX_MAX;
18905                   uim = UINTMAX_MAX;
18906                   typedef uintptr_t       my_uintptr_t;
18907                   my_uintptr_t            uip = UINTPTR_MAX;
18908                   uip = UINTPTR_MAX;
18909
18910   ;
18911   return 0;
18912 }
18913 _ACEOF
18914 if ac_fn_cxx_try_compile "$LINENO"; then :
18915   glibcxx_cv_c99_stdint_tr1=yes
18916 else
18917   glibcxx_cv_c99_stdint_tr1=no
18918 fi
18919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18920
18921 fi
18922
18923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18924 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18925   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18926
18927 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18928
18929   fi
18930
18931   # Check for the existence of <math.h> functions.
18932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18933 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18934   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18935   $as_echo_n "(cached) " >&6
18936 else
18937
18938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h.  */
18940 #include <math.h>
18941 int
18942 main ()
18943 {
18944 typedef double_t  my_double_t;
18945                   typedef float_t   my_float_t;
18946                   acosh(0.0);
18947                   acoshf(0.0f);
18948                   acoshl(0.0l);
18949                   asinh(0.0);
18950                   asinhf(0.0f);
18951                   asinhl(0.0l);
18952                   atanh(0.0);
18953                   atanhf(0.0f);
18954                   atanhl(0.0l);
18955                   cbrt(0.0);
18956                   cbrtf(0.0f);
18957                   cbrtl(0.0l);
18958                   copysign(0.0, 0.0);
18959                   copysignf(0.0f, 0.0f);
18960                   copysignl(0.0l, 0.0l);
18961                   erf(0.0);
18962                   erff(0.0f);
18963                   erfl(0.0l);
18964                   erfc(0.0);
18965                   erfcf(0.0f);
18966                   erfcl(0.0l);
18967                   exp2(0.0);
18968                   exp2f(0.0f);
18969                   exp2l(0.0l);
18970                   expm1(0.0);
18971                   expm1f(0.0f);
18972                   expm1l(0.0l);
18973                   fdim(0.0, 0.0);
18974                   fdimf(0.0f, 0.0f);
18975                   fdiml(0.0l, 0.0l);
18976                   fma(0.0, 0.0, 0.0);
18977                   fmaf(0.0f, 0.0f, 0.0f);
18978                   fmal(0.0l, 0.0l, 0.0l);
18979                   fmax(0.0, 0.0);
18980                   fmaxf(0.0f, 0.0f);
18981                   fmaxl(0.0l, 0.0l);
18982                   fmin(0.0, 0.0);
18983                   fminf(0.0f, 0.0f);
18984                   fminl(0.0l, 0.0l);
18985                   hypot(0.0, 0.0);
18986                   hypotf(0.0f, 0.0f);
18987                   hypotl(0.0l, 0.0l);
18988                   ilogb(0.0);
18989                   ilogbf(0.0f);
18990                   ilogbl(0.0l);
18991                   lgamma(0.0);
18992                   lgammaf(0.0f);
18993                   lgammal(0.0l);
18994                   llrint(0.0);
18995                   llrintf(0.0f);
18996                   llrintl(0.0l);
18997                   llround(0.0);
18998                   llroundf(0.0f);
18999                   llroundl(0.0l);
19000                   log1p(0.0);
19001                   log1pf(0.0f);
19002                   log1pl(0.0l);
19003                   log2(0.0);
19004                   log2f(0.0f);
19005                   log2l(0.0l);
19006                   logb(0.0);
19007                   logbf(0.0f);
19008                   logbl(0.0l);
19009                   lrint(0.0);
19010                   lrintf(0.0f);
19011                   lrintl(0.0l);
19012                   lround(0.0);
19013                   lroundf(0.0f);
19014                   lroundl(0.0l);
19015                   nan(0);
19016                   nanf(0);
19017                   nanl(0);
19018                   nearbyint(0.0);
19019                   nearbyintf(0.0f);
19020                   nearbyintl(0.0l);
19021                   nextafter(0.0, 0.0);
19022                   nextafterf(0.0f, 0.0f);
19023                   nextafterl(0.0l, 0.0l);
19024                   nexttoward(0.0, 0.0);
19025                   nexttowardf(0.0f, 0.0f);
19026                   nexttowardl(0.0l, 0.0l);
19027                   remainder(0.0, 0.0);
19028                   remainderf(0.0f, 0.0f);
19029                   remainderl(0.0l, 0.0l);
19030                   remquo(0.0, 0.0, 0);
19031                   remquof(0.0f, 0.0f, 0);
19032                   remquol(0.0l, 0.0l, 0);
19033                   rint(0.0);
19034                   rintf(0.0f);
19035                   rintl(0.0l);
19036                   round(0.0);
19037                   roundf(0.0f);
19038                   roundl(0.0l);
19039                   scalbln(0.0, 0l);
19040                   scalblnf(0.0f, 0l);
19041                   scalblnl(0.0l, 0l);
19042                   scalbn(0.0, 0);
19043                   scalbnf(0.0f, 0);
19044                   scalbnl(0.0l, 0);
19045                   tgamma(0.0);
19046                   tgammaf(0.0f);
19047                   tgammal(0.0l);
19048                   trunc(0.0);
19049                   truncf(0.0f);
19050                   truncl(0.0l);
19051
19052   ;
19053   return 0;
19054 }
19055 _ACEOF
19056 if ac_fn_cxx_try_compile "$LINENO"; then :
19057   glibcxx_cv_c99_math_tr1=yes
19058 else
19059   glibcxx_cv_c99_math_tr1=no
19060 fi
19061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19062
19063 fi
19064
19065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19066 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19067   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19068
19069 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19070
19071   fi
19072
19073   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19074   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19075   ac_c99_inttypes_tr1=no;
19076   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19078 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19079     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h.  */
19081 #include <inttypes.h>
19082 int
19083 main ()
19084 {
19085 intmax_t i, numer, denom, base;
19086                     const char* s;
19087                     char** endptr;
19088                     intmax_t ret = imaxabs(i);
19089                     imaxdiv_t dret = imaxdiv(numer, denom);
19090                     ret = strtoimax(s, endptr, base);
19091                     uintmax_t uret = strtoumax(s, endptr, base);
19092
19093   ;
19094   return 0;
19095 }
19096 _ACEOF
19097 if ac_fn_cxx_try_compile "$LINENO"; then :
19098   ac_c99_inttypes_tr1=yes
19099 else
19100   ac_c99_inttypes_tr1=no
19101 fi
19102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19103   fi
19104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19105 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19106   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19107
19108 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19109
19110   fi
19111
19112   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19113   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19114   ac_c99_inttypes_wchar_t_tr1=no;
19115   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19116     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19117 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19118     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h.  */
19120 #include <inttypes.h>
19121 int
19122 main ()
19123 {
19124 intmax_t base;
19125                     const wchar_t* s;
19126                     wchar_t** endptr;
19127                     intmax_t ret = wcstoimax(s, endptr, base);
19128                     uintmax_t uret = wcstoumax(s, endptr, base);
19129
19130   ;
19131   return 0;
19132 }
19133 _ACEOF
19134 if ac_fn_cxx_try_compile "$LINENO"; then :
19135   ac_c99_inttypes_wchar_t_tr1=yes
19136 else
19137   ac_c99_inttypes_wchar_t_tr1=no
19138 fi
19139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19140   fi
19141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19142 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19143   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19144
19145 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19146
19147   fi
19148
19149   # Check for the existence of the <stdbool.h> header.
19150   for ac_header in stdbool.h
19151 do :
19152   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19153 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19154   cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STDBOOL_H 1
19156 _ACEOF
19157
19158 fi
19159
19160 done
19161
19162
19163   # Check for the existence of the <stdalign.h> header.
19164   for ac_header in stdalign.h
19165 do :
19166   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19167 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19168   cat >>confdefs.h <<_ACEOF
19169 #define HAVE_STDALIGN_H 1
19170 _ACEOF
19171
19172 fi
19173
19174 done
19175
19176
19177   CXXFLAGS="$ac_save_CXXFLAGS"
19178   ac_ext=c
19179 ac_cpp='$CPP $CPPFLAGS'
19180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19183
19184
19185
19186 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19187
19188
19189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19190 $as_echo_n "checking for the value of EOF... " >&6; }
19191 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19192   $as_echo_n "(cached) " >&6
19193 else
19194
19195   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19196
19197 else
19198   as_fn_error "computing EOF failed" "$LINENO" 5
19199 fi
19200
19201
19202 fi
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19204 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19205
19206 cat >>confdefs.h <<_ACEOF
19207 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19208 _ACEOF
19209
19210
19211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19212 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19213 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19214   $as_echo_n "(cached) " >&6
19215 else
19216
19217   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19218
19219 else
19220   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19221 fi
19222
19223
19224 fi
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19226 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19227
19228 cat >>confdefs.h <<_ACEOF
19229 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19230 _ACEOF
19231
19232
19233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19234 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19235 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19236   $as_echo_n "(cached) " >&6
19237 else
19238
19239   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19240
19241 else
19242   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19243 fi
19244
19245
19246 fi
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19248 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19249
19250 cat >>confdefs.h <<_ACEOF
19251 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19252 _ACEOF
19253
19254
19255
19256 # For gettimeofday support.
19257
19258
19259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19260 $as_echo_n "checking for gettimeofday... " >&6; }
19261
19262
19263   ac_ext=cpp
19264 ac_cpp='$CXXCPP $CPPFLAGS'
19265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19268
19269   ac_save_CXXFLAGS="$CXXFLAGS"
19270   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19271
19272   ac_has_gettimeofday=no;
19273   for ac_header in sys/time.h
19274 do :
19275   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19276 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19277   cat >>confdefs.h <<_ACEOF
19278 #define HAVE_SYS_TIME_H 1
19279 _ACEOF
19280  ac_has_sys_time_h=yes
19281 else
19282   ac_has_sys_time_h=no
19283 fi
19284
19285 done
19286
19287   if test x"$ac_has_sys_time_h" = x"yes"; then
19288     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19289 $as_echo_n "checking for gettimeofday... " >&6; }
19290     if test x$gcc_no_link = xyes; then
19291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h.  */
19293 #include <sys/time.h>
19294 int
19295 main ()
19296 {
19297 timeval tv; gettimeofday(&tv, 0);
19298   ;
19299   return 0;
19300 }
19301 _ACEOF
19302 if ac_fn_cxx_try_compile "$LINENO"; then :
19303   ac_has_gettimeofday=yes
19304 else
19305   ac_has_gettimeofday=no
19306 fi
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 else
19309   if test x$gcc_no_link = xyes; then
19310   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19311 fi
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h.  */
19314 #include <sys/time.h>
19315 int
19316 main ()
19317 {
19318 timeval tv; gettimeofday(&tv, 0);
19319   ;
19320   return 0;
19321 }
19322 _ACEOF
19323 if ac_fn_cxx_try_link "$LINENO"; then :
19324   ac_has_gettimeofday=yes
19325 else
19326   ac_has_gettimeofday=no
19327 fi
19328 rm -f core conftest.err conftest.$ac_objext \
19329     conftest$ac_exeext conftest.$ac_ext
19330 fi
19331
19332     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19333 $as_echo "$ac_has_gettimeofday" >&6; }
19334   fi
19335
19336   if test x"$ac_has_gettimeofday" = x"yes"; then
19337
19338 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19339
19340   fi
19341
19342   CXXFLAGS="$ac_save_CXXFLAGS"
19343   ac_ext=c
19344 ac_cpp='$CPP $CPPFLAGS'
19345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19348
19349
19350
19351 # For clock_gettime, nanosleep and sched_yield support.
19352 # NB: The default is [no], because otherwise it requires linking.
19353
19354
19355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19356 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19357    # Check whether --enable-libstdcxx-time was given.
19358 if test "${enable_libstdcxx_time+set}" = set; then :
19359   enableval=$enable_libstdcxx_time;
19360       case "$enableval" in
19361        yes|no|rt) ;;
19362        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19363                         esac
19364
19365 else
19366   enable_libstdcxx_time=no
19367 fi
19368
19369
19370
19371
19372   ac_ext=cpp
19373 ac_cpp='$CXXCPP $CPPFLAGS'
19374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19377
19378   ac_save_CXXFLAGS="$CXXFLAGS"
19379   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19380   ac_save_LIBS="$LIBS"
19381
19382   ac_has_clock_monotonic=no
19383   ac_has_clock_realtime=no
19384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19385 $as_echo "$enable_libstdcxx_time" >&6; }
19386
19387   if test x"$enable_libstdcxx_time" != x"no"; then
19388
19389     if test x"$enable_libstdcxx_time" = x"rt"; then
19390       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19391 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19392 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19393   $as_echo_n "(cached) " >&6
19394 else
19395   ac_func_search_save_LIBS=$LIBS
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h.  */
19398
19399 /* Override any GCC internal prototype to avoid an error.
19400    Use char because int might match the return type of a GCC
19401    builtin and then its argument prototype would still apply.  */
19402 #ifdef __cplusplus
19403 extern "C"
19404 #endif
19405 char clock_gettime ();
19406 int
19407 main ()
19408 {
19409 return clock_gettime ();
19410   ;
19411   return 0;
19412 }
19413 _ACEOF
19414 for ac_lib in '' rt posix4; do
19415   if test -z "$ac_lib"; then
19416     ac_res="none required"
19417   else
19418     ac_res=-l$ac_lib
19419     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19420   fi
19421   if test x$gcc_no_link = xyes; then
19422   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19423 fi
19424 if ac_fn_cxx_try_link "$LINENO"; then :
19425   ac_cv_search_clock_gettime=$ac_res
19426 fi
19427 rm -f core conftest.err conftest.$ac_objext \
19428     conftest$ac_exeext
19429   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19430   break
19431 fi
19432 done
19433 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19434
19435 else
19436   ac_cv_search_clock_gettime=no
19437 fi
19438 rm conftest.$ac_ext
19439 LIBS=$ac_func_search_save_LIBS
19440 fi
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19442 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19443 ac_res=$ac_cv_search_clock_gettime
19444 if test "$ac_res" != no; then :
19445   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19446
19447 fi
19448
19449       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19450 $as_echo_n "checking for library containing nanosleep... " >&6; }
19451 if test "${ac_cv_search_nanosleep+set}" = set; then :
19452   $as_echo_n "(cached) " >&6
19453 else
19454   ac_func_search_save_LIBS=$LIBS
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h.  */
19457
19458 /* Override any GCC internal prototype to avoid an error.
19459    Use char because int might match the return type of a GCC
19460    builtin and then its argument prototype would still apply.  */
19461 #ifdef __cplusplus
19462 extern "C"
19463 #endif
19464 char nanosleep ();
19465 int
19466 main ()
19467 {
19468 return nanosleep ();
19469   ;
19470   return 0;
19471 }
19472 _ACEOF
19473 for ac_lib in '' rt posix4; do
19474   if test -z "$ac_lib"; then
19475     ac_res="none required"
19476   else
19477     ac_res=-l$ac_lib
19478     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19479   fi
19480   if test x$gcc_no_link = xyes; then
19481   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19482 fi
19483 if ac_fn_cxx_try_link "$LINENO"; then :
19484   ac_cv_search_nanosleep=$ac_res
19485 fi
19486 rm -f core conftest.err conftest.$ac_objext \
19487     conftest$ac_exeext
19488   if test "${ac_cv_search_nanosleep+set}" = set; then :
19489   break
19490 fi
19491 done
19492 if test "${ac_cv_search_nanosleep+set}" = set; then :
19493
19494 else
19495   ac_cv_search_nanosleep=no
19496 fi
19497 rm conftest.$ac_ext
19498 LIBS=$ac_func_search_save_LIBS
19499 fi
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19501 $as_echo "$ac_cv_search_nanosleep" >&6; }
19502 ac_res=$ac_cv_search_nanosleep
19503 if test "$ac_res" != no; then :
19504   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19505
19506 fi
19507
19508     else
19509       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19510 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19511 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19512   $as_echo_n "(cached) " >&6
19513 else
19514   ac_func_search_save_LIBS=$LIBS
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h.  */
19517
19518 /* Override any GCC internal prototype to avoid an error.
19519    Use char because int might match the return type of a GCC
19520    builtin and then its argument prototype would still apply.  */
19521 #ifdef __cplusplus
19522 extern "C"
19523 #endif
19524 char clock_gettime ();
19525 int
19526 main ()
19527 {
19528 return clock_gettime ();
19529   ;
19530   return 0;
19531 }
19532 _ACEOF
19533 for ac_lib in '' posix4; do
19534   if test -z "$ac_lib"; then
19535     ac_res="none required"
19536   else
19537     ac_res=-l$ac_lib
19538     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19539   fi
19540   if test x$gcc_no_link = xyes; then
19541   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19542 fi
19543 if ac_fn_cxx_try_link "$LINENO"; then :
19544   ac_cv_search_clock_gettime=$ac_res
19545 fi
19546 rm -f core conftest.err conftest.$ac_objext \
19547     conftest$ac_exeext
19548   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19549   break
19550 fi
19551 done
19552 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19553
19554 else
19555   ac_cv_search_clock_gettime=no
19556 fi
19557 rm conftest.$ac_ext
19558 LIBS=$ac_func_search_save_LIBS
19559 fi
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19561 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19562 ac_res=$ac_cv_search_clock_gettime
19563 if test "$ac_res" != no; then :
19564   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19565
19566 fi
19567
19568       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19569 $as_echo_n "checking for library containing nanosleep... " >&6; }
19570 if test "${ac_cv_search_nanosleep+set}" = set; then :
19571   $as_echo_n "(cached) " >&6
19572 else
19573   ac_func_search_save_LIBS=$LIBS
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h.  */
19576
19577 /* Override any GCC internal prototype to avoid an error.
19578    Use char because int might match the return type of a GCC
19579    builtin and then its argument prototype would still apply.  */
19580 #ifdef __cplusplus
19581 extern "C"
19582 #endif
19583 char nanosleep ();
19584 int
19585 main ()
19586 {
19587 return nanosleep ();
19588   ;
19589   return 0;
19590 }
19591 _ACEOF
19592 for ac_lib in '' posix4; do
19593   if test -z "$ac_lib"; then
19594     ac_res="none required"
19595   else
19596     ac_res=-l$ac_lib
19597     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19598   fi
19599   if test x$gcc_no_link = xyes; then
19600   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19601 fi
19602 if ac_fn_cxx_try_link "$LINENO"; then :
19603   ac_cv_search_nanosleep=$ac_res
19604 fi
19605 rm -f core conftest.err conftest.$ac_objext \
19606     conftest$ac_exeext
19607   if test "${ac_cv_search_nanosleep+set}" = set; then :
19608   break
19609 fi
19610 done
19611 if test "${ac_cv_search_nanosleep+set}" = set; then :
19612
19613 else
19614   ac_cv_search_nanosleep=no
19615 fi
19616 rm conftest.$ac_ext
19617 LIBS=$ac_func_search_save_LIBS
19618 fi
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19620 $as_echo "$ac_cv_search_nanosleep" >&6; }
19621 ac_res=$ac_cv_search_nanosleep
19622 if test "$ac_res" != no; then :
19623   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19624
19625 fi
19626
19627     fi
19628
19629     case "$ac_cv_search_clock_gettime" in
19630       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19631       ;;
19632     esac
19633     case "$ac_cv_search_nanosleep" in
19634       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19635       ;;
19636     esac
19637
19638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19639 $as_echo_n "checking for library containing sched_yield... " >&6; }
19640 if test "${ac_cv_search_sched_yield+set}" = set; then :
19641   $as_echo_n "(cached) " >&6
19642 else
19643   ac_func_search_save_LIBS=$LIBS
19644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19645 /* end confdefs.h.  */
19646
19647 /* Override any GCC internal prototype to avoid an error.
19648    Use char because int might match the return type of a GCC
19649    builtin and then its argument prototype would still apply.  */
19650 #ifdef __cplusplus
19651 extern "C"
19652 #endif
19653 char sched_yield ();
19654 int
19655 main ()
19656 {
19657 return sched_yield ();
19658   ;
19659   return 0;
19660 }
19661 _ACEOF
19662 for ac_lib in '' rt posix4; do
19663   if test -z "$ac_lib"; then
19664     ac_res="none required"
19665   else
19666     ac_res=-l$ac_lib
19667     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19668   fi
19669   if test x$gcc_no_link = xyes; then
19670   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19671 fi
19672 if ac_fn_cxx_try_link "$LINENO"; then :
19673   ac_cv_search_sched_yield=$ac_res
19674 fi
19675 rm -f core conftest.err conftest.$ac_objext \
19676     conftest$ac_exeext
19677   if test "${ac_cv_search_sched_yield+set}" = set; then :
19678   break
19679 fi
19680 done
19681 if test "${ac_cv_search_sched_yield+set}" = set; then :
19682
19683 else
19684   ac_cv_search_sched_yield=no
19685 fi
19686 rm conftest.$ac_ext
19687 LIBS=$ac_func_search_save_LIBS
19688 fi
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19690 $as_echo "$ac_cv_search_sched_yield" >&6; }
19691 ac_res=$ac_cv_search_sched_yield
19692 if test "$ac_res" != no; then :
19693   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19694
19695 fi
19696
19697
19698     case "$ac_cv_search_sched_yield" in
19699       -lposix4*)
19700       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19701
19702 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19703
19704       ;;
19705       -lrt*)
19706       if test x"$enable_libstdcxx_time" = x"rt"; then
19707         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19708
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19710
19711       fi
19712       ;;
19713       *)
19714
19715 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19716
19717       ;;
19718     esac
19719
19720     for ac_header in unistd.h
19721 do :
19722   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19723 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19724   cat >>confdefs.h <<_ACEOF
19725 #define HAVE_UNISTD_H 1
19726 _ACEOF
19727  ac_has_unistd_h=yes
19728 else
19729   ac_has_unistd_h=no
19730 fi
19731
19732 done
19733
19734
19735     if test x"$ac_has_unistd_h" = x"yes"; then
19736       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19737 $as_echo_n "checking for monotonic clock... " >&6; }
19738       if test x$gcc_no_link = xyes; then
19739   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19740 fi
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h.  */
19743 #include <unistd.h>
19744          #include <time.h>
19745
19746 int
19747 main ()
19748 {
19749 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19750           timespec tp;
19751          #endif
19752           clock_gettime(CLOCK_MONOTONIC, &tp);
19753
19754   ;
19755   return 0;
19756 }
19757 _ACEOF
19758 if ac_fn_cxx_try_link "$LINENO"; then :
19759   ac_has_clock_monotonic=yes
19760 else
19761   ac_has_clock_monotonic=no
19762 fi
19763 rm -f core conftest.err conftest.$ac_objext \
19764     conftest$ac_exeext conftest.$ac_ext
19765
19766       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19767 $as_echo "$ac_has_clock_monotonic" >&6; }
19768
19769       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19770 $as_echo_n "checking for realtime clock... " >&6; }
19771       if test x$gcc_no_link = xyes; then
19772   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19773 fi
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h.  */
19776 #include <unistd.h>
19777          #include <time.h>
19778
19779 int
19780 main ()
19781 {
19782 #if _POSIX_TIMERS > 0
19783           timespec tp;
19784          #endif
19785           clock_gettime(CLOCK_REALTIME, &tp);
19786
19787   ;
19788   return 0;
19789 }
19790 _ACEOF
19791 if ac_fn_cxx_try_link "$LINENO"; then :
19792   ac_has_clock_realtime=yes
19793 else
19794   ac_has_clock_realtime=no
19795 fi
19796 rm -f core conftest.err conftest.$ac_objext \
19797     conftest$ac_exeext conftest.$ac_ext
19798
19799       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19800 $as_echo "$ac_has_clock_realtime" >&6; }
19801
19802       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19803 $as_echo_n "checking for nanosleep... " >&6; }
19804       if test x$gcc_no_link = xyes; then
19805   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19806 fi
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h.  */
19809 #include <unistd.h>
19810          #include <time.h>
19811
19812 int
19813 main ()
19814 {
19815 #if _POSIX_TIMERS > 0
19816           timespec tp;
19817          #endif
19818           nanosleep(&tp, 0);
19819
19820   ;
19821   return 0;
19822 }
19823 _ACEOF
19824 if ac_fn_cxx_try_link "$LINENO"; then :
19825   ac_has_nanosleep=yes
19826 else
19827   ac_has_nanosleep=no
19828 fi
19829 rm -f core conftest.err conftest.$ac_objext \
19830     conftest$ac_exeext conftest.$ac_ext
19831
19832       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19833 $as_echo "$ac_has_nanosleep" >&6; }
19834     fi
19835   fi
19836
19837   if test x"$ac_has_clock_monotonic" != x"yes"; then
19838     case ${target_os} in
19839       linux*)
19840         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19841 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19842         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h.  */
19844 #include <unistd.h>
19845            #include <time.h>
19846            #include <sys/syscall.h>
19847
19848 int
19849 main ()
19850 {
19851 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19852             timespec tp;
19853            #endif
19854            syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19855            syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19856
19857   ;
19858   return 0;
19859 }
19860 _ACEOF
19861 if ac_fn_cxx_try_compile "$LINENO"; then :
19862   ac_has_clock_monotonic_syscall=yes
19863 else
19864   ac_has_clock_monotonic_syscall=no
19865 fi
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19868 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19869         if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19870
19871 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19872
19873           ac_has_clock_monotonic=yes
19874           ac_has_clock_realtime=yes
19875         fi;;
19876     esac
19877   fi
19878
19879   if test x"$ac_has_clock_monotonic" = x"yes"; then
19880
19881 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19882
19883   fi
19884
19885   if test x"$ac_has_clock_realtime" = x"yes"; then
19886
19887 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19888
19889   fi
19890
19891   if test x"$ac_has_nanosleep" = x"yes"; then
19892
19893 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19894
19895   else
19896       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19897 $as_echo_n "checking for sleep... " >&6; }
19898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h.  */
19900 #include <unistd.h>
19901 int
19902 main ()
19903 {
19904 sleep(1)
19905   ;
19906   return 0;
19907 }
19908 _ACEOF
19909 if ac_fn_cxx_try_compile "$LINENO"; then :
19910   ac_has_sleep=yes
19911 else
19912   ac_has_sleep=no
19913 fi
19914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19915       if test x"$ac_has_sleep" = x"yes"; then
19916
19917 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19918
19919       fi
19920       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19921 $as_echo "$ac_has_sleep" >&6; }
19922       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19923 $as_echo_n "checking for usleep... " >&6; }
19924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h.  */
19926 #include <unistd.h>
19927 int
19928 main ()
19929 {
19930 sleep(1);
19931                       usleep(100);
19932   ;
19933   return 0;
19934 }
19935 _ACEOF
19936 if ac_fn_cxx_try_compile "$LINENO"; then :
19937   ac_has_usleep=yes
19938 else
19939   ac_has_usleep=no
19940 fi
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19942       if test x"$ac_has_usleep" = x"yes"; then
19943
19944 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19945
19946       fi
19947       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19948 $as_echo "$ac_has_usleep" >&6; }
19949   fi
19950
19951   if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19952       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19953 $as_echo_n "checking for Sleep... " >&6; }
19954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h.  */
19956 #include <windows.h>
19957 int
19958 main ()
19959 {
19960 Sleep(1)
19961   ;
19962   return 0;
19963 }
19964 _ACEOF
19965 if ac_fn_cxx_try_compile "$LINENO"; then :
19966   ac_has_win32_sleep=yes
19967 else
19968   ac_has_win32_sleep=no
19969 fi
19970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19971       if test x"$ac_has_win32_sleep" = x"yes"; then
19972
19973 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19974
19975       fi
19976       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19977 $as_echo "$ac_has_win32_sleep" >&6; }
19978   fi
19979
19980
19981
19982   CXXFLAGS="$ac_save_CXXFLAGS"
19983   LIBS="$ac_save_LIBS"
19984   ac_ext=c
19985 ac_cpp='$CPP $CPPFLAGS'
19986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19989
19990
19991
19992
19993   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19994 if test "x$ac_cv_header_locale_h" = x""yes; then :
19995
19996     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19997 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19998 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19999   $as_echo_n "(cached) " >&6
20000 else
20001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 /* end confdefs.h.  */
20003 #include <locale.h>
20004 int
20005 main ()
20006 {
20007 return LC_MESSAGES
20008   ;
20009   return 0;
20010 }
20011 _ACEOF
20012 if ac_fn_c_try_compile "$LINENO"; then :
20013   ac_cv_val_LC_MESSAGES=yes
20014 else
20015   ac_cv_val_LC_MESSAGES=no
20016 fi
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20018 fi
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20020 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20021     if test $ac_cv_val_LC_MESSAGES = yes; then
20022
20023 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20024
20025     fi
20026
20027 fi
20028
20029
20030
20031
20032 # For hardware_concurrency
20033 for ac_header in sys/sysinfo.h
20034 do :
20035   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20036 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20037   cat >>confdefs.h <<_ACEOF
20038 #define HAVE_SYS_SYSINFO_H 1
20039 _ACEOF
20040
20041 fi
20042
20043 done
20044
20045
20046
20047
20048   ac_ext=cpp
20049 ac_cpp='$CXXCPP $CPPFLAGS'
20050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20053
20054   ac_save_CXXFLAGS="$CXXFLAGS"
20055   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20056
20057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20058 $as_echo_n "checking for get_nprocs... " >&6; }
20059   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20060   $as_echo_n "(cached) " >&6
20061 else
20062
20063     if test x$gcc_no_link = xyes; then
20064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h.  */
20066 #include <sys/sysinfo.h>
20067 int
20068 main ()
20069 {
20070 int n = get_nprocs();
20071   ;
20072   return 0;
20073 }
20074 _ACEOF
20075 if ac_fn_cxx_try_compile "$LINENO"; then :
20076   glibcxx_cv_GET_NPROCS=yes
20077 else
20078   glibcxx_cv_GET_NPROCS=no
20079 fi
20080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20081 else
20082   if test x$gcc_no_link = xyes; then
20083   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20084 fi
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h.  */
20087 #include <sys/sysinfo.h>
20088 int
20089 main ()
20090 {
20091 int n = get_nprocs();
20092   ;
20093   return 0;
20094 }
20095 _ACEOF
20096 if ac_fn_cxx_try_link "$LINENO"; then :
20097   glibcxx_cv_GET_NPROCS=yes
20098 else
20099   glibcxx_cv_GET_NPROCS=no
20100 fi
20101 rm -f core conftest.err conftest.$ac_objext \
20102     conftest$ac_exeext conftest.$ac_ext
20103 fi
20104
20105 fi
20106
20107   if test $glibcxx_cv_GET_NPROCS = yes; then
20108
20109 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20110
20111   fi
20112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20113 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20114
20115   CXXFLAGS="$ac_save_CXXFLAGS"
20116   ac_ext=c
20117 ac_cpp='$CPP $CPPFLAGS'
20118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20121
20122
20123 for ac_header in unistd.h
20124 do :
20125   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20126 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20127   cat >>confdefs.h <<_ACEOF
20128 #define HAVE_UNISTD_H 1
20129 _ACEOF
20130
20131 fi
20132
20133 done
20134
20135
20136
20137
20138   ac_ext=cpp
20139 ac_cpp='$CXXCPP $CPPFLAGS'
20140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20143
20144   ac_save_CXXFLAGS="$CXXFLAGS"
20145   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20146
20147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20148 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20149   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20150   $as_echo_n "(cached) " >&6
20151 else
20152
20153     if test x$gcc_no_link = xyes; then
20154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20155 /* end confdefs.h.  */
20156 #include <unistd.h>
20157 int
20158 main ()
20159 {
20160 int n = sysconf(_SC_NPROCESSORS_ONLN);
20161   ;
20162   return 0;
20163 }
20164 _ACEOF
20165 if ac_fn_cxx_try_compile "$LINENO"; then :
20166   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20167 else
20168   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20169 fi
20170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20171 else
20172   if test x$gcc_no_link = xyes; then
20173   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20174 fi
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h.  */
20177 #include <unistd.h>
20178 int
20179 main ()
20180 {
20181 int n = sysconf(_SC_NPROCESSORS_ONLN);
20182   ;
20183   return 0;
20184 }
20185 _ACEOF
20186 if ac_fn_cxx_try_link "$LINENO"; then :
20187   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20188 else
20189   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20190 fi
20191 rm -f core conftest.err conftest.$ac_objext \
20192     conftest$ac_exeext conftest.$ac_ext
20193 fi
20194
20195 fi
20196
20197   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20198
20199 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20200
20201   fi
20202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20203 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20204
20205   CXXFLAGS="$ac_save_CXXFLAGS"
20206   ac_ext=c
20207 ac_cpp='$CPP $CPPFLAGS'
20208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20211
20212
20213
20214
20215
20216   ac_ext=cpp
20217 ac_cpp='$CXXCPP $CPPFLAGS'
20218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20221
20222   ac_save_CXXFLAGS="$CXXFLAGS"
20223   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20224
20225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20226 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20227   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20228   $as_echo_n "(cached) " >&6
20229 else
20230
20231     if test x$gcc_no_link = xyes; then
20232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20233 /* end confdefs.h.  */
20234 #include <unistd.h>
20235 int
20236 main ()
20237 {
20238 int n = sysconf(_SC_NPROC_ONLN);
20239   ;
20240   return 0;
20241 }
20242 _ACEOF
20243 if ac_fn_cxx_try_compile "$LINENO"; then :
20244   glibcxx_cv_SC_NPROC_ONLN=yes
20245 else
20246   glibcxx_cv_SC_NPROC_ONLN=no
20247 fi
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20249 else
20250   if test x$gcc_no_link = xyes; then
20251   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20252 fi
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h.  */
20255 #include <unistd.h>
20256 int
20257 main ()
20258 {
20259 int n = sysconf(_SC_NPROC_ONLN);
20260   ;
20261   return 0;
20262 }
20263 _ACEOF
20264 if ac_fn_cxx_try_link "$LINENO"; then :
20265   glibcxx_cv_SC_NPROC_ONLN=yes
20266 else
20267   glibcxx_cv_SC_NPROC_ONLN=no
20268 fi
20269 rm -f core conftest.err conftest.$ac_objext \
20270     conftest$ac_exeext conftest.$ac_ext
20271 fi
20272
20273 fi
20274
20275   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20276
20277 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20278
20279   fi
20280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20281 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20282
20283   CXXFLAGS="$ac_save_CXXFLAGS"
20284   ac_ext=c
20285 ac_cpp='$CPP $CPPFLAGS'
20286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20289
20290
20291
20292
20293
20294   ac_ext=cpp
20295 ac_cpp='$CXXCPP $CPPFLAGS'
20296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20299
20300   ac_save_CXXFLAGS="$CXXFLAGS"
20301   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20302
20303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20304 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20305   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20306   $as_echo_n "(cached) " >&6
20307 else
20308
20309     if test x$gcc_no_link = xyes; then
20310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h.  */
20312 #include <pthread.h>
20313 int
20314 main ()
20315 {
20316 int n = pthread_num_processors_np();
20317   ;
20318   return 0;
20319 }
20320 _ACEOF
20321 if ac_fn_cxx_try_compile "$LINENO"; then :
20322   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20323 else
20324   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20325 fi
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20327 else
20328   if test x$gcc_no_link = xyes; then
20329   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20330 fi
20331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20332 /* end confdefs.h.  */
20333 #include <pthread.h>
20334 int
20335 main ()
20336 {
20337 int n = pthread_num_processors_np();
20338   ;
20339   return 0;
20340 }
20341 _ACEOF
20342 if ac_fn_cxx_try_link "$LINENO"; then :
20343   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20344 else
20345   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20346 fi
20347 rm -f core conftest.err conftest.$ac_objext \
20348     conftest$ac_exeext conftest.$ac_ext
20349 fi
20350
20351 fi
20352
20353   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20354
20355 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20356
20357   fi
20358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20359 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20360
20361   CXXFLAGS="$ac_save_CXXFLAGS"
20362   ac_ext=c
20363 ac_cpp='$CPP $CPPFLAGS'
20364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20367
20368
20369
20370
20371
20372   ac_ext=cpp
20373 ac_cpp='$CXXCPP $CPPFLAGS'
20374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20377
20378   ac_save_CXXFLAGS="$CXXFLAGS"
20379   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20380
20381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20382 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20383   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20384   $as_echo_n "(cached) " >&6
20385 else
20386
20387     if test x$gcc_no_link = xyes; then
20388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20389 /* end confdefs.h.  */
20390
20391        #include <stddef.h>
20392        #include <sys/sysctl.h>
20393
20394 int
20395 main ()
20396 {
20397
20398        int count;
20399        size_t size = sizeof(count);
20400        int mib[] = { CTL_HW, HW_NCPU };
20401        sysctl(mib, 2, &count, &size, NULL, 0);
20402
20403   ;
20404   return 0;
20405 }
20406 _ACEOF
20407 if ac_fn_cxx_try_compile "$LINENO"; then :
20408   glibcxx_cv_SYSCTL_HW_NCPU=yes
20409 else
20410   glibcxx_cv_SYSCTL_HW_NCPU=no
20411 fi
20412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20413 else
20414   if test x$gcc_no_link = xyes; then
20415   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20416 fi
20417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20418 /* end confdefs.h.  */
20419
20420        #include <stddef.h>
20421        #include <sys/sysctl.h>
20422
20423 int
20424 main ()
20425 {
20426
20427        int count;
20428        size_t size = sizeof(count);
20429        int mib[] = { CTL_HW, HW_NCPU };
20430        sysctl(mib, 2, &count, &size, NULL, 0);
20431
20432   ;
20433   return 0;
20434 }
20435 _ACEOF
20436 if ac_fn_cxx_try_link "$LINENO"; then :
20437   glibcxx_cv_SYSCTL_HW_NCPU=yes
20438 else
20439   glibcxx_cv_SYSCTL_HW_NCPU=no
20440 fi
20441 rm -f core conftest.err conftest.$ac_objext \
20442     conftest$ac_exeext conftest.$ac_ext
20443 fi
20444
20445 fi
20446
20447   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20448
20449 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20450
20451   fi
20452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20453 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20454
20455   CXXFLAGS="$ac_save_CXXFLAGS"
20456   ac_ext=c
20457 ac_cpp='$CPP $CPPFLAGS'
20458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20461
20462
20463
20464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20465 $as_echo "for suitable sys/sdt.h" >&6; }
20466   # Note that this test has to be run with the C language.
20467   # Otherwise, sdt.h will try to include some headers from
20468   # libstdc++ itself.
20469
20470   ac_ext=c
20471 ac_cpp='$CPP $CPPFLAGS'
20472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20475
20476   if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20477   $as_echo_n "(cached) " >&6
20478 else
20479
20480     # Because we have to run the test in C, we use grep rather
20481     # than the compiler to check for the bug.  The bug is that
20482     # were strings without trailing whitespace, causing g++
20483     # to look for operator"".  The pattern searches for the fixed
20484     # output.
20485     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h.  */
20487
20488       #include <sys/sdt.h>
20489       int f() { STAP_PROBE(hi, bob); }
20490
20491 _ACEOF
20492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20493   $EGREP " \",\" " >/dev/null 2>&1; then :
20494   glibcxx_cv_sys_sdt_h=yes
20495 else
20496   glibcxx_cv_sys_sdt_h=no
20497 fi
20498 rm -f conftest*
20499
20500
20501 fi
20502
20503   ac_ext=c
20504 ac_cpp='$CPP $CPPFLAGS'
20505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20508
20509   if test $glibcxx_cv_sys_sdt_h = yes; then
20510
20511 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20512
20513   fi
20514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20515 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20516
20517
20518 # Check for available headers.
20519 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20520 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20521 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20522 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20523 wchar.h wctype.h
20524 do :
20525   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20526 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20527 eval as_val=\$$as_ac_Header
20528    if test "x$as_val" = x""yes; then :
20529   cat >>confdefs.h <<_ACEOF
20530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20531 _ACEOF
20532
20533 fi
20534
20535 done
20536
20537
20538 # Only do link tests if native. Else, hardcode.
20539 if $GLIBCXX_IS_NATIVE; then
20540
20541   # We can do more elaborate tests that assume a working linker.
20542   CANADIAN=no
20543
20544
20545
20546 # Check whether --with-gnu-ld was given.
20547 if test "${with_gnu_ld+set}" = set; then :
20548   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20549 else
20550   with_gnu_ld=no
20551 fi
20552
20553 ac_prog=ld
20554 if test "$GCC" = yes; then
20555   # Check if gcc -print-prog-name=ld gives a path.
20556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20557 $as_echo_n "checking for ld used by $CC... " >&6; }
20558   case $host in
20559   *-*-mingw*)
20560     # gcc leaves a trailing carriage return which upsets mingw
20561     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20562   *)
20563     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20564   esac
20565   case $ac_prog in
20566     # Accept absolute paths.
20567     [\\/]* | ?:[\\/]*)
20568       re_direlt='/[^/][^/]*/\.\./'
20569       # Canonicalize the pathname of ld
20570       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20571       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20572         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20573       done
20574       test -z "$LD" && LD="$ac_prog"
20575       ;;
20576   "")
20577     # If it fails, then pretend we aren't using GCC.
20578     ac_prog=ld
20579     ;;
20580   *)
20581     # If it is relative, then search for the first ld in PATH.
20582     with_gnu_ld=unknown
20583     ;;
20584   esac
20585 elif test "$with_gnu_ld" = yes; then
20586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20587 $as_echo_n "checking for GNU ld... " >&6; }
20588 else
20589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20590 $as_echo_n "checking for non-GNU ld... " >&6; }
20591 fi
20592 if test "${lt_cv_path_LD+set}" = set; then :
20593   $as_echo_n "(cached) " >&6
20594 else
20595   if test -z "$LD"; then
20596   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20597   for ac_dir in $PATH; do
20598     IFS="$lt_save_ifs"
20599     test -z "$ac_dir" && ac_dir=.
20600     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20601       lt_cv_path_LD="$ac_dir/$ac_prog"
20602       # Check to see if the program is GNU ld.  I'd rather use --version,
20603       # but apparently some variants of GNU ld only accept -v.
20604       # Break only if it was the GNU/non-GNU ld that we prefer.
20605       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20606       *GNU* | *'with BFD'*)
20607         test "$with_gnu_ld" != no && break
20608         ;;
20609       *)
20610         test "$with_gnu_ld" != yes && break
20611         ;;
20612       esac
20613     fi
20614   done
20615   IFS="$lt_save_ifs"
20616 else
20617   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20618 fi
20619 fi
20620
20621 LD="$lt_cv_path_LD"
20622 if test -n "$LD"; then
20623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20624 $as_echo "$LD" >&6; }
20625 else
20626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20627 $as_echo "no" >&6; }
20628 fi
20629 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20631 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20632 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20633   $as_echo_n "(cached) " >&6
20634 else
20635   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20636 case `$LD -v 2>&1 </dev/null` in
20637 *GNU* | *'with BFD'*)
20638   lt_cv_prog_gnu_ld=yes
20639   ;;
20640 *)
20641   lt_cv_prog_gnu_ld=no
20642   ;;
20643 esac
20644 fi
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20646 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20647 with_gnu_ld=$lt_cv_prog_gnu_ld
20648
20649
20650
20651
20652
20653
20654
20655   # If we're not using GNU ld, then there's no point in even trying these
20656   # tests.  Check for that first.  We should have already tested for gld
20657   # by now (in libtool), but require it now just to be safe...
20658   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20659   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20660
20661
20662
20663   # The name set by libtool depends on the version of libtool.  Shame on us
20664   # for depending on an impl detail, but c'est la vie.  Older versions used
20665   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20666   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20667   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20668   # set (hence we're using an older libtool), then set it.
20669   if test x${with_gnu_ld+set} != xset; then
20670     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20671       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20672       with_gnu_ld=no
20673     else
20674       with_gnu_ld=$ac_cv_prog_gnu_ld
20675     fi
20676   fi
20677
20678   # Start by getting the version number.  I think the libtool test already
20679   # does some of this, but throws away the result.
20680   glibcxx_ld_is_gold=no
20681   if test x"$with_gnu_ld" = x"yes"; then
20682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20683 $as_echo_n "checking for ld version... " >&6; }
20684
20685     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20686       glibcxx_ld_is_gold=yes
20687     fi
20688     ldver=`$LD --version 2>/dev/null |
20689            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'`
20690
20691     glibcxx_gnu_ld_version=`echo $ldver | \
20692            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20693     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20694 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20695   fi
20696
20697   # Set --gc-sections.
20698   glibcxx_have_gc_sections=no
20699   if test "$glibcxx_ld_is_gold" = "yes"; then
20700     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20701       glibcxx_have_gc_sections=yes
20702     fi
20703   else
20704     glibcxx_gcsections_min_ld=21602
20705     if test x"$with_gnu_ld" = x"yes" &&
20706         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20707       glibcxx_have_gc_sections=yes
20708     fi
20709   fi
20710   if test "$glibcxx_have_gc_sections" = "yes"; then
20711     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20712     # NB: This flag only works reliably after 2.16.1. Configure tests
20713     # for this are difficult, so hard wire a value that should work.
20714
20715     ac_test_CFLAGS="${CFLAGS+set}"
20716     ac_save_CFLAGS="$CFLAGS"
20717     CFLAGS='-Wl,--gc-sections'
20718
20719     # Check for -Wl,--gc-sections
20720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20721 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20722     if test x$gcc_no_link = xyes; then
20723   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20724 fi
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h.  */
20727  int one(void) { return 1; }
20728      int two(void) { return 2; }
20729
20730 int
20731 main ()
20732 {
20733  two();
20734   ;
20735   return 0;
20736 }
20737 _ACEOF
20738 if ac_fn_c_try_link "$LINENO"; then :
20739   ac_gcsections=yes
20740 else
20741   ac_gcsections=no
20742 fi
20743 rm -f core conftest.err conftest.$ac_objext \
20744     conftest$ac_exeext conftest.$ac_ext
20745     if test "$ac_gcsections" = "yes"; then
20746       rm -f conftest.c
20747       touch conftest.c
20748       if $CC -c conftest.c; then
20749         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20750            grep "Warning: gc-sections option ignored" > /dev/null; then
20751           ac_gcsections=no
20752         fi
20753       fi
20754       rm -f conftest.c conftest.o conftest
20755     fi
20756     if test "$ac_gcsections" = "yes"; then
20757       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20758     fi
20759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20760 $as_echo "$ac_gcsections" >&6; }
20761
20762     if test "$ac_test_CFLAGS" = set; then
20763       CFLAGS="$ac_save_CFLAGS"
20764     else
20765       # this is the suspicious part
20766       CFLAGS=''
20767     fi
20768   fi
20769
20770   # Set -z,relro.
20771   # Note this is only for shared objects.
20772   ac_ld_relro=no
20773   if test x"$with_gnu_ld" = x"yes"; then
20774     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20775 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20776     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20777     if test -n "$cxx_z_relo"; then
20778       OPT_LDFLAGS="-Wl,-z,relro"
20779       ac_ld_relro=yes
20780     fi
20781     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20782 $as_echo "$ac_ld_relro" >&6; }
20783   fi
20784
20785   # Set linker optimization flags.
20786   if test x"$with_gnu_ld" = x"yes"; then
20787     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20788   fi
20789
20790
20791
20792
20793
20794   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20795   ac_save_CXXFLAGS="$CXXFLAGS"
20796   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20797
20798     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20799 $as_echo_n "checking for sin in -lm... " >&6; }
20800 if test "${ac_cv_lib_m_sin+set}" = set; then :
20801   $as_echo_n "(cached) " >&6
20802 else
20803   ac_check_lib_save_LIBS=$LIBS
20804 LIBS="-lm  $LIBS"
20805 if test x$gcc_no_link = xyes; then
20806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 fi
20808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809 /* end confdefs.h.  */
20810
20811 /* Override any GCC internal prototype to avoid an error.
20812    Use char because int might match the return type of a GCC
20813    builtin and then its argument prototype would still apply.  */
20814 #ifdef __cplusplus
20815 extern "C"
20816 #endif
20817 char sin ();
20818 int
20819 main ()
20820 {
20821 return sin ();
20822   ;
20823   return 0;
20824 }
20825 _ACEOF
20826 if ac_fn_c_try_link "$LINENO"; then :
20827   ac_cv_lib_m_sin=yes
20828 else
20829   ac_cv_lib_m_sin=no
20830 fi
20831 rm -f core conftest.err conftest.$ac_objext \
20832     conftest$ac_exeext conftest.$ac_ext
20833 LIBS=$ac_check_lib_save_LIBS
20834 fi
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20836 $as_echo "$ac_cv_lib_m_sin" >&6; }
20837 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20838   libm="-lm"
20839 fi
20840
20841   ac_save_LIBS="$LIBS"
20842   LIBS="$LIBS $libm"
20843
20844
20845
20846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20847 $as_echo_n "checking for isinf declaration... " >&6; }
20848   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20849     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20850   $as_echo_n "(cached) " >&6
20851 else
20852
20853
20854       ac_ext=cpp
20855 ac_cpp='$CXXCPP $CPPFLAGS'
20856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20859
20860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20861 /* end confdefs.h.  */
20862 #include <math.h>
20863                       #ifdef HAVE_IEEEFP_H
20864                       #include <ieeefp.h>
20865                       #endif
20866
20867 int
20868 main ()
20869 {
20870  isinf(0);
20871   ;
20872   return 0;
20873 }
20874 _ACEOF
20875 if ac_fn_cxx_try_compile "$LINENO"; then :
20876   glibcxx_cv_func_isinf_use=yes
20877 else
20878   glibcxx_cv_func_isinf_use=no
20879 fi
20880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881       ac_ext=c
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20886
20887
20888 fi
20889
20890   fi
20891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20892 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20893
20894   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20895     for ac_func in isinf
20896 do :
20897   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20898 if test "x$ac_cv_func_isinf" = x""yes; then :
20899   cat >>confdefs.h <<_ACEOF
20900 #define HAVE_ISINF 1
20901 _ACEOF
20902
20903 fi
20904 done
20905
20906   else
20907
20908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20909 $as_echo_n "checking for _isinf declaration... " >&6; }
20910   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20911     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20912   $as_echo_n "(cached) " >&6
20913 else
20914
20915
20916       ac_ext=cpp
20917 ac_cpp='$CXXCPP $CPPFLAGS'
20918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20921
20922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h.  */
20924 #include <math.h>
20925                       #ifdef HAVE_IEEEFP_H
20926                       #include <ieeefp.h>
20927                       #endif
20928
20929 int
20930 main ()
20931 {
20932  _isinf(0);
20933   ;
20934   return 0;
20935 }
20936 _ACEOF
20937 if ac_fn_cxx_try_compile "$LINENO"; then :
20938   glibcxx_cv_func__isinf_use=yes
20939 else
20940   glibcxx_cv_func__isinf_use=no
20941 fi
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943       ac_ext=c
20944 ac_cpp='$CPP $CPPFLAGS'
20945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20948
20949
20950 fi
20951
20952   fi
20953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20954 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20955
20956     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20957       for ac_func in _isinf
20958 do :
20959   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20960 if test "x$ac_cv_func__isinf" = x""yes; then :
20961   cat >>confdefs.h <<_ACEOF
20962 #define HAVE__ISINF 1
20963 _ACEOF
20964
20965 fi
20966 done
20967
20968     fi
20969   fi
20970
20971
20972
20973
20974
20975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20976 $as_echo_n "checking for isnan declaration... " >&6; }
20977   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20978     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20979   $as_echo_n "(cached) " >&6
20980 else
20981
20982
20983       ac_ext=cpp
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20988
20989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h.  */
20991 #include <math.h>
20992                       #ifdef HAVE_IEEEFP_H
20993                       #include <ieeefp.h>
20994                       #endif
20995
20996 int
20997 main ()
20998 {
20999  isnan(0);
21000   ;
21001   return 0;
21002 }
21003 _ACEOF
21004 if ac_fn_cxx_try_compile "$LINENO"; then :
21005   glibcxx_cv_func_isnan_use=yes
21006 else
21007   glibcxx_cv_func_isnan_use=no
21008 fi
21009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21010       ac_ext=c
21011 ac_cpp='$CPP $CPPFLAGS'
21012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21015
21016
21017 fi
21018
21019   fi
21020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21021 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21022
21023   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21024     for ac_func in isnan
21025 do :
21026   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21027 if test "x$ac_cv_func_isnan" = x""yes; then :
21028   cat >>confdefs.h <<_ACEOF
21029 #define HAVE_ISNAN 1
21030 _ACEOF
21031
21032 fi
21033 done
21034
21035   else
21036
21037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21038 $as_echo_n "checking for _isnan declaration... " >&6; }
21039   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21040     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21041   $as_echo_n "(cached) " >&6
21042 else
21043
21044
21045       ac_ext=cpp
21046 ac_cpp='$CXXCPP $CPPFLAGS'
21047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21050
21051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h.  */
21053 #include <math.h>
21054                       #ifdef HAVE_IEEEFP_H
21055                       #include <ieeefp.h>
21056                       #endif
21057
21058 int
21059 main ()
21060 {
21061  _isnan(0);
21062   ;
21063   return 0;
21064 }
21065 _ACEOF
21066 if ac_fn_cxx_try_compile "$LINENO"; then :
21067   glibcxx_cv_func__isnan_use=yes
21068 else
21069   glibcxx_cv_func__isnan_use=no
21070 fi
21071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21072       ac_ext=c
21073 ac_cpp='$CPP $CPPFLAGS'
21074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21077
21078
21079 fi
21080
21081   fi
21082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21083 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21084
21085     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21086       for ac_func in _isnan
21087 do :
21088   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21089 if test "x$ac_cv_func__isnan" = x""yes; then :
21090   cat >>confdefs.h <<_ACEOF
21091 #define HAVE__ISNAN 1
21092 _ACEOF
21093
21094 fi
21095 done
21096
21097     fi
21098   fi
21099
21100
21101
21102
21103
21104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21105 $as_echo_n "checking for finite declaration... " >&6; }
21106   if test x${glibcxx_cv_func_finite_use+set} != xset; then
21107     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21108   $as_echo_n "(cached) " >&6
21109 else
21110
21111
21112       ac_ext=cpp
21113 ac_cpp='$CXXCPP $CPPFLAGS'
21114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21117
21118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21119 /* end confdefs.h.  */
21120 #include <math.h>
21121                       #ifdef HAVE_IEEEFP_H
21122                       #include <ieeefp.h>
21123                       #endif
21124
21125 int
21126 main ()
21127 {
21128  finite(0);
21129   ;
21130   return 0;
21131 }
21132 _ACEOF
21133 if ac_fn_cxx_try_compile "$LINENO"; then :
21134   glibcxx_cv_func_finite_use=yes
21135 else
21136   glibcxx_cv_func_finite_use=no
21137 fi
21138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21139       ac_ext=c
21140 ac_cpp='$CPP $CPPFLAGS'
21141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21144
21145
21146 fi
21147
21148   fi
21149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21150 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21151
21152   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21153     for ac_func in finite
21154 do :
21155   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21156 if test "x$ac_cv_func_finite" = x""yes; then :
21157   cat >>confdefs.h <<_ACEOF
21158 #define HAVE_FINITE 1
21159 _ACEOF
21160
21161 fi
21162 done
21163
21164   else
21165
21166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21167 $as_echo_n "checking for _finite declaration... " >&6; }
21168   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21169     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21170   $as_echo_n "(cached) " >&6
21171 else
21172
21173
21174       ac_ext=cpp
21175 ac_cpp='$CXXCPP $CPPFLAGS'
21176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21179
21180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21181 /* end confdefs.h.  */
21182 #include <math.h>
21183                       #ifdef HAVE_IEEEFP_H
21184                       #include <ieeefp.h>
21185                       #endif
21186
21187 int
21188 main ()
21189 {
21190  _finite(0);
21191   ;
21192   return 0;
21193 }
21194 _ACEOF
21195 if ac_fn_cxx_try_compile "$LINENO"; then :
21196   glibcxx_cv_func__finite_use=yes
21197 else
21198   glibcxx_cv_func__finite_use=no
21199 fi
21200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21201       ac_ext=c
21202 ac_cpp='$CPP $CPPFLAGS'
21203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21206
21207
21208 fi
21209
21210   fi
21211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21212 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21213
21214     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21215       for ac_func in _finite
21216 do :
21217   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21218 if test "x$ac_cv_func__finite" = x""yes; then :
21219   cat >>confdefs.h <<_ACEOF
21220 #define HAVE__FINITE 1
21221 _ACEOF
21222
21223 fi
21224 done
21225
21226     fi
21227   fi
21228
21229
21230
21231
21232
21233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21234 $as_echo_n "checking for sincos declaration... " >&6; }
21235   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21236     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21237   $as_echo_n "(cached) " >&6
21238 else
21239
21240
21241       ac_ext=cpp
21242 ac_cpp='$CXXCPP $CPPFLAGS'
21243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21246
21247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h.  */
21249 #include <math.h>
21250 int
21251 main ()
21252 {
21253  sincos(0, 0, 0);
21254   ;
21255   return 0;
21256 }
21257 _ACEOF
21258 if ac_fn_cxx_try_compile "$LINENO"; then :
21259   glibcxx_cv_func_sincos_use=yes
21260 else
21261   glibcxx_cv_func_sincos_use=no
21262 fi
21263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21264       ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21269
21270
21271 fi
21272
21273   fi
21274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21275 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21276
21277   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21278     for ac_func in sincos
21279 do :
21280   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21281 if test "x$ac_cv_func_sincos" = x""yes; then :
21282   cat >>confdefs.h <<_ACEOF
21283 #define HAVE_SINCOS 1
21284 _ACEOF
21285
21286 fi
21287 done
21288
21289   else
21290
21291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21292 $as_echo_n "checking for _sincos declaration... " >&6; }
21293   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21294     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21295   $as_echo_n "(cached) " >&6
21296 else
21297
21298
21299       ac_ext=cpp
21300 ac_cpp='$CXXCPP $CPPFLAGS'
21301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21304
21305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h.  */
21307 #include <math.h>
21308 int
21309 main ()
21310 {
21311  _sincos(0, 0, 0);
21312   ;
21313   return 0;
21314 }
21315 _ACEOF
21316 if ac_fn_cxx_try_compile "$LINENO"; then :
21317   glibcxx_cv_func__sincos_use=yes
21318 else
21319   glibcxx_cv_func__sincos_use=no
21320 fi
21321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21322       ac_ext=c
21323 ac_cpp='$CPP $CPPFLAGS'
21324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21327
21328
21329 fi
21330
21331   fi
21332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21333 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21334
21335     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21336       for ac_func in _sincos
21337 do :
21338   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21339 if test "x$ac_cv_func__sincos" = x""yes; then :
21340   cat >>confdefs.h <<_ACEOF
21341 #define HAVE__SINCOS 1
21342 _ACEOF
21343
21344 fi
21345 done
21346
21347     fi
21348   fi
21349
21350
21351
21352
21353
21354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21355 $as_echo_n "checking for fpclass declaration... " >&6; }
21356   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21357     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21358   $as_echo_n "(cached) " >&6
21359 else
21360
21361
21362       ac_ext=cpp
21363 ac_cpp='$CXXCPP $CPPFLAGS'
21364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21367
21368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h.  */
21370 #include <math.h>
21371                       #ifdef HAVE_IEEEFP_H
21372                       #include <ieeefp.h>
21373                       #endif
21374
21375 int
21376 main ()
21377 {
21378  fpclass(0);
21379   ;
21380   return 0;
21381 }
21382 _ACEOF
21383 if ac_fn_cxx_try_compile "$LINENO"; then :
21384   glibcxx_cv_func_fpclass_use=yes
21385 else
21386   glibcxx_cv_func_fpclass_use=no
21387 fi
21388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21389       ac_ext=c
21390 ac_cpp='$CPP $CPPFLAGS'
21391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21394
21395
21396 fi
21397
21398   fi
21399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21400 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21401
21402   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21403     for ac_func in fpclass
21404 do :
21405   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21406 if test "x$ac_cv_func_fpclass" = x""yes; then :
21407   cat >>confdefs.h <<_ACEOF
21408 #define HAVE_FPCLASS 1
21409 _ACEOF
21410
21411 fi
21412 done
21413
21414   else
21415
21416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21417 $as_echo_n "checking for _fpclass declaration... " >&6; }
21418   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21419     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21420   $as_echo_n "(cached) " >&6
21421 else
21422
21423
21424       ac_ext=cpp
21425 ac_cpp='$CXXCPP $CPPFLAGS'
21426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21429
21430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21431 /* end confdefs.h.  */
21432 #include <math.h>
21433                       #ifdef HAVE_IEEEFP_H
21434                       #include <ieeefp.h>
21435                       #endif
21436
21437 int
21438 main ()
21439 {
21440  _fpclass(0);
21441   ;
21442   return 0;
21443 }
21444 _ACEOF
21445 if ac_fn_cxx_try_compile "$LINENO"; then :
21446   glibcxx_cv_func__fpclass_use=yes
21447 else
21448   glibcxx_cv_func__fpclass_use=no
21449 fi
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451       ac_ext=c
21452 ac_cpp='$CPP $CPPFLAGS'
21453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21456
21457
21458 fi
21459
21460   fi
21461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21462 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21463
21464     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21465       for ac_func in _fpclass
21466 do :
21467   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21468 if test "x$ac_cv_func__fpclass" = x""yes; then :
21469   cat >>confdefs.h <<_ACEOF
21470 #define HAVE__FPCLASS 1
21471 _ACEOF
21472
21473 fi
21474 done
21475
21476     fi
21477   fi
21478
21479
21480
21481
21482
21483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21484 $as_echo_n "checking for qfpclass declaration... " >&6; }
21485   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21486     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21487   $as_echo_n "(cached) " >&6
21488 else
21489
21490
21491       ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496
21497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21498 /* end confdefs.h.  */
21499 #include <math.h>
21500                       #ifdef HAVE_IEEEFP_H
21501                       #include <ieeefp.h>
21502                       #endif
21503
21504 int
21505 main ()
21506 {
21507  qfpclass(0);
21508   ;
21509   return 0;
21510 }
21511 _ACEOF
21512 if ac_fn_cxx_try_compile "$LINENO"; then :
21513   glibcxx_cv_func_qfpclass_use=yes
21514 else
21515   glibcxx_cv_func_qfpclass_use=no
21516 fi
21517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518       ac_ext=c
21519 ac_cpp='$CPP $CPPFLAGS'
21520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21523
21524
21525 fi
21526
21527   fi
21528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21529 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21530
21531   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21532     for ac_func in qfpclass
21533 do :
21534   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21535 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21536   cat >>confdefs.h <<_ACEOF
21537 #define HAVE_QFPCLASS 1
21538 _ACEOF
21539
21540 fi
21541 done
21542
21543   else
21544
21545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21546 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21547   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21548     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21549   $as_echo_n "(cached) " >&6
21550 else
21551
21552
21553       ac_ext=cpp
21554 ac_cpp='$CXXCPP $CPPFLAGS'
21555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21558
21559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21560 /* end confdefs.h.  */
21561 #include <math.h>
21562                       #ifdef HAVE_IEEEFP_H
21563                       #include <ieeefp.h>
21564                       #endif
21565
21566 int
21567 main ()
21568 {
21569  _qfpclass(0);
21570   ;
21571   return 0;
21572 }
21573 _ACEOF
21574 if ac_fn_cxx_try_compile "$LINENO"; then :
21575   glibcxx_cv_func__qfpclass_use=yes
21576 else
21577   glibcxx_cv_func__qfpclass_use=no
21578 fi
21579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21580       ac_ext=c
21581 ac_cpp='$CPP $CPPFLAGS'
21582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21585
21586
21587 fi
21588
21589   fi
21590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21591 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21592
21593     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21594       for ac_func in _qfpclass
21595 do :
21596   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21597 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21598   cat >>confdefs.h <<_ACEOF
21599 #define HAVE__QFPCLASS 1
21600 _ACEOF
21601
21602 fi
21603 done
21604
21605     fi
21606   fi
21607
21608
21609
21610
21611
21612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21613 $as_echo_n "checking for hypot declaration... " >&6; }
21614   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21615     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21616   $as_echo_n "(cached) " >&6
21617 else
21618
21619
21620       ac_ext=cpp
21621 ac_cpp='$CXXCPP $CPPFLAGS'
21622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21625
21626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21627 /* end confdefs.h.  */
21628 #include <math.h>
21629 int
21630 main ()
21631 {
21632  hypot(0, 0);
21633   ;
21634   return 0;
21635 }
21636 _ACEOF
21637 if ac_fn_cxx_try_compile "$LINENO"; then :
21638   glibcxx_cv_func_hypot_use=yes
21639 else
21640   glibcxx_cv_func_hypot_use=no
21641 fi
21642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21643       ac_ext=c
21644 ac_cpp='$CPP $CPPFLAGS'
21645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21648
21649
21650 fi
21651
21652   fi
21653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21654 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21655
21656   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21657     for ac_func in hypot
21658 do :
21659   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21660 if test "x$ac_cv_func_hypot" = x""yes; then :
21661   cat >>confdefs.h <<_ACEOF
21662 #define HAVE_HYPOT 1
21663 _ACEOF
21664
21665 fi
21666 done
21667
21668   else
21669
21670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21671 $as_echo_n "checking for _hypot declaration... " >&6; }
21672   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21673     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21674   $as_echo_n "(cached) " >&6
21675 else
21676
21677
21678       ac_ext=cpp
21679 ac_cpp='$CXXCPP $CPPFLAGS'
21680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21683
21684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21685 /* end confdefs.h.  */
21686 #include <math.h>
21687 int
21688 main ()
21689 {
21690  _hypot(0, 0);
21691   ;
21692   return 0;
21693 }
21694 _ACEOF
21695 if ac_fn_cxx_try_compile "$LINENO"; then :
21696   glibcxx_cv_func__hypot_use=yes
21697 else
21698   glibcxx_cv_func__hypot_use=no
21699 fi
21700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21701       ac_ext=c
21702 ac_cpp='$CPP $CPPFLAGS'
21703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21706
21707
21708 fi
21709
21710   fi
21711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21712 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21713
21714     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21715       for ac_func in _hypot
21716 do :
21717   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21718 if test "x$ac_cv_func__hypot" = x""yes; then :
21719   cat >>confdefs.h <<_ACEOF
21720 #define HAVE__HYPOT 1
21721 _ACEOF
21722
21723 fi
21724 done
21725
21726     fi
21727   fi
21728
21729
21730
21731
21732
21733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21734 $as_echo_n "checking for float trig functions... " >&6; }
21735   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21736   $as_echo_n "(cached) " >&6
21737 else
21738
21739
21740     ac_ext=cpp
21741 ac_cpp='$CXXCPP $CPPFLAGS'
21742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21745
21746     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h.  */
21748 #include <math.h>
21749 int
21750 main ()
21751 {
21752 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21753   ;
21754   return 0;
21755 }
21756 _ACEOF
21757 if ac_fn_cxx_try_compile "$LINENO"; then :
21758   glibcxx_cv_func_float_trig_use=yes
21759 else
21760   glibcxx_cv_func_float_trig_use=no
21761 fi
21762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21763     ac_ext=c
21764 ac_cpp='$CPP $CPPFLAGS'
21765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21768
21769 fi
21770
21771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21772 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21773   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21774     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21775 do :
21776   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21778 eval as_val=\$$as_ac_var
21779    if test "x$as_val" = x""yes; then :
21780   cat >>confdefs.h <<_ACEOF
21781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21782 _ACEOF
21783
21784 fi
21785 done
21786
21787   else
21788     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21789 $as_echo_n "checking for _float trig functions... " >&6; }
21790     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21791   $as_echo_n "(cached) " >&6
21792 else
21793
21794
21795       ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800
21801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802 /* end confdefs.h.  */
21803 #include <math.h>
21804 int
21805 main ()
21806 {
21807 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21808   ;
21809   return 0;
21810 }
21811 _ACEOF
21812 if ac_fn_cxx_try_compile "$LINENO"; then :
21813   glibcxx_cv_func__float_trig_use=yes
21814 else
21815   glibcxx_cv_func__float_trig_use=no
21816 fi
21817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21818       ac_ext=c
21819 ac_cpp='$CPP $CPPFLAGS'
21820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21823
21824 fi
21825
21826     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21827 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21828     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21829       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21830 do :
21831   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21833 eval as_val=\$$as_ac_var
21834    if test "x$as_val" = x""yes; then :
21835   cat >>confdefs.h <<_ACEOF
21836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21837 _ACEOF
21838
21839 fi
21840 done
21841
21842     fi
21843   fi
21844
21845
21846
21847
21848
21849     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21850 $as_echo_n "checking for float round functions... " >&6; }
21851   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21852   $as_echo_n "(cached) " >&6
21853 else
21854
21855
21856     ac_ext=cpp
21857 ac_cpp='$CXXCPP $CPPFLAGS'
21858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21861
21862     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h.  */
21864 #include <math.h>
21865 int
21866 main ()
21867 {
21868 ceilf (0); floorf (0);
21869   ;
21870   return 0;
21871 }
21872 _ACEOF
21873 if ac_fn_cxx_try_compile "$LINENO"; then :
21874   glibcxx_cv_func_float_round_use=yes
21875 else
21876   glibcxx_cv_func_float_round_use=no
21877 fi
21878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879     ac_ext=c
21880 ac_cpp='$CPP $CPPFLAGS'
21881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21884
21885 fi
21886
21887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21888 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21889   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21890     for ac_func in ceilf floorf
21891 do :
21892   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21894 eval as_val=\$$as_ac_var
21895    if test "x$as_val" = x""yes; then :
21896   cat >>confdefs.h <<_ACEOF
21897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21898 _ACEOF
21899
21900 fi
21901 done
21902
21903   else
21904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21905 $as_echo_n "checking for _float round functions... " >&6; }
21906     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21907   $as_echo_n "(cached) " >&6
21908 else
21909
21910
21911       ac_ext=cpp
21912 ac_cpp='$CXXCPP $CPPFLAGS'
21913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21916
21917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21918 /* end confdefs.h.  */
21919 #include <math.h>
21920 int
21921 main ()
21922 {
21923 _ceilf (0); _floorf (0);
21924   ;
21925   return 0;
21926 }
21927 _ACEOF
21928 if ac_fn_cxx_try_compile "$LINENO"; then :
21929   glibcxx_cv_func__float_round_use=yes
21930 else
21931   glibcxx_cv_func__float_round_use=no
21932 fi
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934       ac_ext=c
21935 ac_cpp='$CPP $CPPFLAGS'
21936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21939
21940 fi
21941
21942     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21943 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21944     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21945       for ac_func in _ceilf _floorf
21946 do :
21947   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21949 eval as_val=\$$as_ac_var
21950    if test "x$as_val" = x""yes; then :
21951   cat >>confdefs.h <<_ACEOF
21952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21953 _ACEOF
21954
21955 fi
21956 done
21957
21958     fi
21959   fi
21960
21961
21962
21963
21964
21965
21966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21967 $as_echo_n "checking for expf declaration... " >&6; }
21968   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21969     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21970   $as_echo_n "(cached) " >&6
21971 else
21972
21973
21974       ac_ext=cpp
21975 ac_cpp='$CXXCPP $CPPFLAGS'
21976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21979
21980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h.  */
21982 #include <math.h>
21983                       #ifdef HAVE_IEEEFP_H
21984                       #include <ieeefp.h>
21985                       #endif
21986
21987 int
21988 main ()
21989 {
21990  expf(0);
21991   ;
21992   return 0;
21993 }
21994 _ACEOF
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996   glibcxx_cv_func_expf_use=yes
21997 else
21998   glibcxx_cv_func_expf_use=no
21999 fi
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001       ac_ext=c
22002 ac_cpp='$CPP $CPPFLAGS'
22003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22006
22007
22008 fi
22009
22010   fi
22011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22012 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22013
22014   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22015     for ac_func in expf
22016 do :
22017   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22018 if test "x$ac_cv_func_expf" = x""yes; then :
22019   cat >>confdefs.h <<_ACEOF
22020 #define HAVE_EXPF 1
22021 _ACEOF
22022
22023 fi
22024 done
22025
22026   else
22027
22028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22029 $as_echo_n "checking for _expf declaration... " >&6; }
22030   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22031     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22032   $as_echo_n "(cached) " >&6
22033 else
22034
22035
22036       ac_ext=cpp
22037 ac_cpp='$CXXCPP $CPPFLAGS'
22038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22041
22042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22043 /* end confdefs.h.  */
22044 #include <math.h>
22045                       #ifdef HAVE_IEEEFP_H
22046                       #include <ieeefp.h>
22047                       #endif
22048
22049 int
22050 main ()
22051 {
22052  _expf(0);
22053   ;
22054   return 0;
22055 }
22056 _ACEOF
22057 if ac_fn_cxx_try_compile "$LINENO"; then :
22058   glibcxx_cv_func__expf_use=yes
22059 else
22060   glibcxx_cv_func__expf_use=no
22061 fi
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063       ac_ext=c
22064 ac_cpp='$CPP $CPPFLAGS'
22065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22068
22069
22070 fi
22071
22072   fi
22073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22074 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22075
22076     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22077       for ac_func in _expf
22078 do :
22079   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22080 if test "x$ac_cv_func__expf" = x""yes; then :
22081   cat >>confdefs.h <<_ACEOF
22082 #define HAVE__EXPF 1
22083 _ACEOF
22084
22085 fi
22086 done
22087
22088     fi
22089   fi
22090
22091
22092
22093
22094
22095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22096 $as_echo_n "checking for isnanf declaration... " >&6; }
22097   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22098     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22099   $as_echo_n "(cached) " >&6
22100 else
22101
22102
22103       ac_ext=cpp
22104 ac_cpp='$CXXCPP $CPPFLAGS'
22105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22108
22109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22110 /* end confdefs.h.  */
22111 #include <math.h>
22112                       #ifdef HAVE_IEEEFP_H
22113                       #include <ieeefp.h>
22114                       #endif
22115
22116 int
22117 main ()
22118 {
22119  isnanf(0);
22120   ;
22121   return 0;
22122 }
22123 _ACEOF
22124 if ac_fn_cxx_try_compile "$LINENO"; then :
22125   glibcxx_cv_func_isnanf_use=yes
22126 else
22127   glibcxx_cv_func_isnanf_use=no
22128 fi
22129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22130       ac_ext=c
22131 ac_cpp='$CPP $CPPFLAGS'
22132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22135
22136
22137 fi
22138
22139   fi
22140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22141 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22142
22143   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22144     for ac_func in isnanf
22145 do :
22146   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22147 if test "x$ac_cv_func_isnanf" = x""yes; then :
22148   cat >>confdefs.h <<_ACEOF
22149 #define HAVE_ISNANF 1
22150 _ACEOF
22151
22152 fi
22153 done
22154
22155   else
22156
22157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22158 $as_echo_n "checking for _isnanf declaration... " >&6; }
22159   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22160     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22161   $as_echo_n "(cached) " >&6
22162 else
22163
22164
22165       ac_ext=cpp
22166 ac_cpp='$CXXCPP $CPPFLAGS'
22167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22170
22171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22172 /* end confdefs.h.  */
22173 #include <math.h>
22174                       #ifdef HAVE_IEEEFP_H
22175                       #include <ieeefp.h>
22176                       #endif
22177
22178 int
22179 main ()
22180 {
22181  _isnanf(0);
22182   ;
22183   return 0;
22184 }
22185 _ACEOF
22186 if ac_fn_cxx_try_compile "$LINENO"; then :
22187   glibcxx_cv_func__isnanf_use=yes
22188 else
22189   glibcxx_cv_func__isnanf_use=no
22190 fi
22191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22192       ac_ext=c
22193 ac_cpp='$CPP $CPPFLAGS'
22194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22197
22198
22199 fi
22200
22201   fi
22202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22203 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22204
22205     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22206       for ac_func in _isnanf
22207 do :
22208   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22209 if test "x$ac_cv_func__isnanf" = x""yes; then :
22210   cat >>confdefs.h <<_ACEOF
22211 #define HAVE__ISNANF 1
22212 _ACEOF
22213
22214 fi
22215 done
22216
22217     fi
22218   fi
22219
22220
22221
22222
22223
22224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22225 $as_echo_n "checking for isinff declaration... " >&6; }
22226   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22227     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22228   $as_echo_n "(cached) " >&6
22229 else
22230
22231
22232       ac_ext=cpp
22233 ac_cpp='$CXXCPP $CPPFLAGS'
22234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22237
22238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22239 /* end confdefs.h.  */
22240 #include <math.h>
22241                       #ifdef HAVE_IEEEFP_H
22242                       #include <ieeefp.h>
22243                       #endif
22244
22245 int
22246 main ()
22247 {
22248  isinff(0);
22249   ;
22250   return 0;
22251 }
22252 _ACEOF
22253 if ac_fn_cxx_try_compile "$LINENO"; then :
22254   glibcxx_cv_func_isinff_use=yes
22255 else
22256   glibcxx_cv_func_isinff_use=no
22257 fi
22258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259       ac_ext=c
22260 ac_cpp='$CPP $CPPFLAGS'
22261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22264
22265
22266 fi
22267
22268   fi
22269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22270 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22271
22272   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22273     for ac_func in isinff
22274 do :
22275   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22276 if test "x$ac_cv_func_isinff" = x""yes; then :
22277   cat >>confdefs.h <<_ACEOF
22278 #define HAVE_ISINFF 1
22279 _ACEOF
22280
22281 fi
22282 done
22283
22284   else
22285
22286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22287 $as_echo_n "checking for _isinff declaration... " >&6; }
22288   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22289     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22290   $as_echo_n "(cached) " >&6
22291 else
22292
22293
22294       ac_ext=cpp
22295 ac_cpp='$CXXCPP $CPPFLAGS'
22296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22299
22300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22301 /* end confdefs.h.  */
22302 #include <math.h>
22303                       #ifdef HAVE_IEEEFP_H
22304                       #include <ieeefp.h>
22305                       #endif
22306
22307 int
22308 main ()
22309 {
22310  _isinff(0);
22311   ;
22312   return 0;
22313 }
22314 _ACEOF
22315 if ac_fn_cxx_try_compile "$LINENO"; then :
22316   glibcxx_cv_func__isinff_use=yes
22317 else
22318   glibcxx_cv_func__isinff_use=no
22319 fi
22320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22321       ac_ext=c
22322 ac_cpp='$CPP $CPPFLAGS'
22323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22326
22327
22328 fi
22329
22330   fi
22331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22332 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22333
22334     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22335       for ac_func in _isinff
22336 do :
22337   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22338 if test "x$ac_cv_func__isinff" = x""yes; then :
22339   cat >>confdefs.h <<_ACEOF
22340 #define HAVE__ISINFF 1
22341 _ACEOF
22342
22343 fi
22344 done
22345
22346     fi
22347   fi
22348
22349
22350
22351
22352
22353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22354 $as_echo_n "checking for atan2f declaration... " >&6; }
22355   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22356     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22357   $as_echo_n "(cached) " >&6
22358 else
22359
22360
22361       ac_ext=cpp
22362 ac_cpp='$CXXCPP $CPPFLAGS'
22363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22366
22367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22368 /* end confdefs.h.  */
22369 #include <math.h>
22370 int
22371 main ()
22372 {
22373  atan2f(0, 0);
22374   ;
22375   return 0;
22376 }
22377 _ACEOF
22378 if ac_fn_cxx_try_compile "$LINENO"; then :
22379   glibcxx_cv_func_atan2f_use=yes
22380 else
22381   glibcxx_cv_func_atan2f_use=no
22382 fi
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384       ac_ext=c
22385 ac_cpp='$CPP $CPPFLAGS'
22386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22389
22390
22391 fi
22392
22393   fi
22394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22395 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22396
22397   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22398     for ac_func in atan2f
22399 do :
22400   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22401 if test "x$ac_cv_func_atan2f" = x""yes; then :
22402   cat >>confdefs.h <<_ACEOF
22403 #define HAVE_ATAN2F 1
22404 _ACEOF
22405
22406 fi
22407 done
22408
22409   else
22410
22411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22412 $as_echo_n "checking for _atan2f declaration... " >&6; }
22413   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22414     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22415   $as_echo_n "(cached) " >&6
22416 else
22417
22418
22419       ac_ext=cpp
22420 ac_cpp='$CXXCPP $CPPFLAGS'
22421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22424
22425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22426 /* end confdefs.h.  */
22427 #include <math.h>
22428 int
22429 main ()
22430 {
22431  _atan2f(0, 0);
22432   ;
22433   return 0;
22434 }
22435 _ACEOF
22436 if ac_fn_cxx_try_compile "$LINENO"; then :
22437   glibcxx_cv_func__atan2f_use=yes
22438 else
22439   glibcxx_cv_func__atan2f_use=no
22440 fi
22441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22442       ac_ext=c
22443 ac_cpp='$CPP $CPPFLAGS'
22444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22447
22448
22449 fi
22450
22451   fi
22452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22453 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22454
22455     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22456       for ac_func in _atan2f
22457 do :
22458   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22459 if test "x$ac_cv_func__atan2f" = x""yes; then :
22460   cat >>confdefs.h <<_ACEOF
22461 #define HAVE__ATAN2F 1
22462 _ACEOF
22463
22464 fi
22465 done
22466
22467     fi
22468   fi
22469
22470
22471
22472
22473
22474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22475 $as_echo_n "checking for fabsf declaration... " >&6; }
22476   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22477     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22478   $as_echo_n "(cached) " >&6
22479 else
22480
22481
22482       ac_ext=cpp
22483 ac_cpp='$CXXCPP $CPPFLAGS'
22484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22487
22488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489 /* end confdefs.h.  */
22490 #include <math.h>
22491                       #ifdef HAVE_IEEEFP_H
22492                       #include <ieeefp.h>
22493                       #endif
22494
22495 int
22496 main ()
22497 {
22498  fabsf(0);
22499   ;
22500   return 0;
22501 }
22502 _ACEOF
22503 if ac_fn_cxx_try_compile "$LINENO"; then :
22504   glibcxx_cv_func_fabsf_use=yes
22505 else
22506   glibcxx_cv_func_fabsf_use=no
22507 fi
22508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22509       ac_ext=c
22510 ac_cpp='$CPP $CPPFLAGS'
22511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22514
22515
22516 fi
22517
22518   fi
22519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22520 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22521
22522   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22523     for ac_func in fabsf
22524 do :
22525   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22526 if test "x$ac_cv_func_fabsf" = x""yes; then :
22527   cat >>confdefs.h <<_ACEOF
22528 #define HAVE_FABSF 1
22529 _ACEOF
22530
22531 fi
22532 done
22533
22534   else
22535
22536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22537 $as_echo_n "checking for _fabsf declaration... " >&6; }
22538   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22539     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22540   $as_echo_n "(cached) " >&6
22541 else
22542
22543
22544       ac_ext=cpp
22545 ac_cpp='$CXXCPP $CPPFLAGS'
22546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22549
22550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22551 /* end confdefs.h.  */
22552 #include <math.h>
22553                       #ifdef HAVE_IEEEFP_H
22554                       #include <ieeefp.h>
22555                       #endif
22556
22557 int
22558 main ()
22559 {
22560  _fabsf(0);
22561   ;
22562   return 0;
22563 }
22564 _ACEOF
22565 if ac_fn_cxx_try_compile "$LINENO"; then :
22566   glibcxx_cv_func__fabsf_use=yes
22567 else
22568   glibcxx_cv_func__fabsf_use=no
22569 fi
22570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22571       ac_ext=c
22572 ac_cpp='$CPP $CPPFLAGS'
22573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22576
22577
22578 fi
22579
22580   fi
22581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22582 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22583
22584     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22585       for ac_func in _fabsf
22586 do :
22587   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22588 if test "x$ac_cv_func__fabsf" = x""yes; then :
22589   cat >>confdefs.h <<_ACEOF
22590 #define HAVE__FABSF 1
22591 _ACEOF
22592
22593 fi
22594 done
22595
22596     fi
22597   fi
22598
22599
22600
22601
22602
22603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22604 $as_echo_n "checking for fmodf declaration... " >&6; }
22605   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22606     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22607   $as_echo_n "(cached) " >&6
22608 else
22609
22610
22611       ac_ext=cpp
22612 ac_cpp='$CXXCPP $CPPFLAGS'
22613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22616
22617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22618 /* end confdefs.h.  */
22619 #include <math.h>
22620 int
22621 main ()
22622 {
22623  fmodf(0, 0);
22624   ;
22625   return 0;
22626 }
22627 _ACEOF
22628 if ac_fn_cxx_try_compile "$LINENO"; then :
22629   glibcxx_cv_func_fmodf_use=yes
22630 else
22631   glibcxx_cv_func_fmodf_use=no
22632 fi
22633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22634       ac_ext=c
22635 ac_cpp='$CPP $CPPFLAGS'
22636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22639
22640
22641 fi
22642
22643   fi
22644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22645 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22646
22647   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22648     for ac_func in fmodf
22649 do :
22650   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22651 if test "x$ac_cv_func_fmodf" = x""yes; then :
22652   cat >>confdefs.h <<_ACEOF
22653 #define HAVE_FMODF 1
22654 _ACEOF
22655
22656 fi
22657 done
22658
22659   else
22660
22661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22662 $as_echo_n "checking for _fmodf declaration... " >&6; }
22663   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22664     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22665   $as_echo_n "(cached) " >&6
22666 else
22667
22668
22669       ac_ext=cpp
22670 ac_cpp='$CXXCPP $CPPFLAGS'
22671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22674
22675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22676 /* end confdefs.h.  */
22677 #include <math.h>
22678 int
22679 main ()
22680 {
22681  _fmodf(0, 0);
22682   ;
22683   return 0;
22684 }
22685 _ACEOF
22686 if ac_fn_cxx_try_compile "$LINENO"; then :
22687   glibcxx_cv_func__fmodf_use=yes
22688 else
22689   glibcxx_cv_func__fmodf_use=no
22690 fi
22691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22692       ac_ext=c
22693 ac_cpp='$CPP $CPPFLAGS'
22694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22697
22698
22699 fi
22700
22701   fi
22702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22703 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22704
22705     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22706       for ac_func in _fmodf
22707 do :
22708   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22709 if test "x$ac_cv_func__fmodf" = x""yes; then :
22710   cat >>confdefs.h <<_ACEOF
22711 #define HAVE__FMODF 1
22712 _ACEOF
22713
22714 fi
22715 done
22716
22717     fi
22718   fi
22719
22720
22721
22722
22723
22724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22725 $as_echo_n "checking for frexpf declaration... " >&6; }
22726   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22727     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22728   $as_echo_n "(cached) " >&6
22729 else
22730
22731
22732       ac_ext=cpp
22733 ac_cpp='$CXXCPP $CPPFLAGS'
22734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22737
22738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22739 /* end confdefs.h.  */
22740 #include <math.h>
22741 int
22742 main ()
22743 {
22744  frexpf(0, 0);
22745   ;
22746   return 0;
22747 }
22748 _ACEOF
22749 if ac_fn_cxx_try_compile "$LINENO"; then :
22750   glibcxx_cv_func_frexpf_use=yes
22751 else
22752   glibcxx_cv_func_frexpf_use=no
22753 fi
22754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22755       ac_ext=c
22756 ac_cpp='$CPP $CPPFLAGS'
22757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22760
22761
22762 fi
22763
22764   fi
22765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22766 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22767
22768   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22769     for ac_func in frexpf
22770 do :
22771   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22772 if test "x$ac_cv_func_frexpf" = x""yes; then :
22773   cat >>confdefs.h <<_ACEOF
22774 #define HAVE_FREXPF 1
22775 _ACEOF
22776
22777 fi
22778 done
22779
22780   else
22781
22782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22783 $as_echo_n "checking for _frexpf declaration... " >&6; }
22784   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22785     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22786   $as_echo_n "(cached) " >&6
22787 else
22788
22789
22790       ac_ext=cpp
22791 ac_cpp='$CXXCPP $CPPFLAGS'
22792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22795
22796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22797 /* end confdefs.h.  */
22798 #include <math.h>
22799 int
22800 main ()
22801 {
22802  _frexpf(0, 0);
22803   ;
22804   return 0;
22805 }
22806 _ACEOF
22807 if ac_fn_cxx_try_compile "$LINENO"; then :
22808   glibcxx_cv_func__frexpf_use=yes
22809 else
22810   glibcxx_cv_func__frexpf_use=no
22811 fi
22812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22813       ac_ext=c
22814 ac_cpp='$CPP $CPPFLAGS'
22815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22818
22819
22820 fi
22821
22822   fi
22823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22824 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22825
22826     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22827       for ac_func in _frexpf
22828 do :
22829   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22830 if test "x$ac_cv_func__frexpf" = x""yes; then :
22831   cat >>confdefs.h <<_ACEOF
22832 #define HAVE__FREXPF 1
22833 _ACEOF
22834
22835 fi
22836 done
22837
22838     fi
22839   fi
22840
22841
22842
22843
22844
22845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22846 $as_echo_n "checking for hypotf declaration... " >&6; }
22847   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22848     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22849   $as_echo_n "(cached) " >&6
22850 else
22851
22852
22853       ac_ext=cpp
22854 ac_cpp='$CXXCPP $CPPFLAGS'
22855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22858
22859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h.  */
22861 #include <math.h>
22862 int
22863 main ()
22864 {
22865  hypotf(0, 0);
22866   ;
22867   return 0;
22868 }
22869 _ACEOF
22870 if ac_fn_cxx_try_compile "$LINENO"; then :
22871   glibcxx_cv_func_hypotf_use=yes
22872 else
22873   glibcxx_cv_func_hypotf_use=no
22874 fi
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22876       ac_ext=c
22877 ac_cpp='$CPP $CPPFLAGS'
22878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22881
22882
22883 fi
22884
22885   fi
22886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22887 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22888
22889   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22890     for ac_func in hypotf
22891 do :
22892   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22893 if test "x$ac_cv_func_hypotf" = x""yes; then :
22894   cat >>confdefs.h <<_ACEOF
22895 #define HAVE_HYPOTF 1
22896 _ACEOF
22897
22898 fi
22899 done
22900
22901   else
22902
22903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22904 $as_echo_n "checking for _hypotf declaration... " >&6; }
22905   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22906     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22907   $as_echo_n "(cached) " >&6
22908 else
22909
22910
22911       ac_ext=cpp
22912 ac_cpp='$CXXCPP $CPPFLAGS'
22913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22916
22917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22918 /* end confdefs.h.  */
22919 #include <math.h>
22920 int
22921 main ()
22922 {
22923  _hypotf(0, 0);
22924   ;
22925   return 0;
22926 }
22927 _ACEOF
22928 if ac_fn_cxx_try_compile "$LINENO"; then :
22929   glibcxx_cv_func__hypotf_use=yes
22930 else
22931   glibcxx_cv_func__hypotf_use=no
22932 fi
22933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22934       ac_ext=c
22935 ac_cpp='$CPP $CPPFLAGS'
22936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22939
22940
22941 fi
22942
22943   fi
22944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22945 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22946
22947     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22948       for ac_func in _hypotf
22949 do :
22950   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22951 if test "x$ac_cv_func__hypotf" = x""yes; then :
22952   cat >>confdefs.h <<_ACEOF
22953 #define HAVE__HYPOTF 1
22954 _ACEOF
22955
22956 fi
22957 done
22958
22959     fi
22960   fi
22961
22962
22963
22964
22965
22966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22967 $as_echo_n "checking for ldexpf declaration... " >&6; }
22968   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22969     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22970   $as_echo_n "(cached) " >&6
22971 else
22972
22973
22974       ac_ext=cpp
22975 ac_cpp='$CXXCPP $CPPFLAGS'
22976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22979
22980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22981 /* end confdefs.h.  */
22982 #include <math.h>
22983 int
22984 main ()
22985 {
22986  ldexpf(0, 0);
22987   ;
22988   return 0;
22989 }
22990 _ACEOF
22991 if ac_fn_cxx_try_compile "$LINENO"; then :
22992   glibcxx_cv_func_ldexpf_use=yes
22993 else
22994   glibcxx_cv_func_ldexpf_use=no
22995 fi
22996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997       ac_ext=c
22998 ac_cpp='$CPP $CPPFLAGS'
22999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23002
23003
23004 fi
23005
23006   fi
23007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23008 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23009
23010   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23011     for ac_func in ldexpf
23012 do :
23013   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23014 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23015   cat >>confdefs.h <<_ACEOF
23016 #define HAVE_LDEXPF 1
23017 _ACEOF
23018
23019 fi
23020 done
23021
23022   else
23023
23024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23025 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23026   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23027     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23028   $as_echo_n "(cached) " >&6
23029 else
23030
23031
23032       ac_ext=cpp
23033 ac_cpp='$CXXCPP $CPPFLAGS'
23034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23037
23038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h.  */
23040 #include <math.h>
23041 int
23042 main ()
23043 {
23044  _ldexpf(0, 0);
23045   ;
23046   return 0;
23047 }
23048 _ACEOF
23049 if ac_fn_cxx_try_compile "$LINENO"; then :
23050   glibcxx_cv_func__ldexpf_use=yes
23051 else
23052   glibcxx_cv_func__ldexpf_use=no
23053 fi
23054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23055       ac_ext=c
23056 ac_cpp='$CPP $CPPFLAGS'
23057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23060
23061
23062 fi
23063
23064   fi
23065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23066 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23067
23068     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23069       for ac_func in _ldexpf
23070 do :
23071   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23072 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23073   cat >>confdefs.h <<_ACEOF
23074 #define HAVE__LDEXPF 1
23075 _ACEOF
23076
23077 fi
23078 done
23079
23080     fi
23081   fi
23082
23083
23084
23085
23086
23087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23088 $as_echo_n "checking for logf declaration... " >&6; }
23089   if test x${glibcxx_cv_func_logf_use+set} != xset; then
23090     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23091   $as_echo_n "(cached) " >&6
23092 else
23093
23094
23095       ac_ext=cpp
23096 ac_cpp='$CXXCPP $CPPFLAGS'
23097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23100
23101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23102 /* end confdefs.h.  */
23103 #include <math.h>
23104                       #ifdef HAVE_IEEEFP_H
23105                       #include <ieeefp.h>
23106                       #endif
23107
23108 int
23109 main ()
23110 {
23111  logf(0);
23112   ;
23113   return 0;
23114 }
23115 _ACEOF
23116 if ac_fn_cxx_try_compile "$LINENO"; then :
23117   glibcxx_cv_func_logf_use=yes
23118 else
23119   glibcxx_cv_func_logf_use=no
23120 fi
23121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122       ac_ext=c
23123 ac_cpp='$CPP $CPPFLAGS'
23124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23127
23128
23129 fi
23130
23131   fi
23132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23133 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23134
23135   if test x$glibcxx_cv_func_logf_use = x"yes"; then
23136     for ac_func in logf
23137 do :
23138   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23139 if test "x$ac_cv_func_logf" = x""yes; then :
23140   cat >>confdefs.h <<_ACEOF
23141 #define HAVE_LOGF 1
23142 _ACEOF
23143
23144 fi
23145 done
23146
23147   else
23148
23149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23150 $as_echo_n "checking for _logf declaration... " >&6; }
23151   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23152     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23153   $as_echo_n "(cached) " >&6
23154 else
23155
23156
23157       ac_ext=cpp
23158 ac_cpp='$CXXCPP $CPPFLAGS'
23159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23162
23163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23164 /* end confdefs.h.  */
23165 #include <math.h>
23166                       #ifdef HAVE_IEEEFP_H
23167                       #include <ieeefp.h>
23168                       #endif
23169
23170 int
23171 main ()
23172 {
23173  _logf(0);
23174   ;
23175   return 0;
23176 }
23177 _ACEOF
23178 if ac_fn_cxx_try_compile "$LINENO"; then :
23179   glibcxx_cv_func__logf_use=yes
23180 else
23181   glibcxx_cv_func__logf_use=no
23182 fi
23183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23184       ac_ext=c
23185 ac_cpp='$CPP $CPPFLAGS'
23186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23189
23190
23191 fi
23192
23193   fi
23194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23195 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23196
23197     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23198       for ac_func in _logf
23199 do :
23200   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23201 if test "x$ac_cv_func__logf" = x""yes; then :
23202   cat >>confdefs.h <<_ACEOF
23203 #define HAVE__LOGF 1
23204 _ACEOF
23205
23206 fi
23207 done
23208
23209     fi
23210   fi
23211
23212
23213
23214
23215
23216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23217 $as_echo_n "checking for log10f declaration... " >&6; }
23218   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23219     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23220   $as_echo_n "(cached) " >&6
23221 else
23222
23223
23224       ac_ext=cpp
23225 ac_cpp='$CXXCPP $CPPFLAGS'
23226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23229
23230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 /* end confdefs.h.  */
23232 #include <math.h>
23233                       #ifdef HAVE_IEEEFP_H
23234                       #include <ieeefp.h>
23235                       #endif
23236
23237 int
23238 main ()
23239 {
23240  log10f(0);
23241   ;
23242   return 0;
23243 }
23244 _ACEOF
23245 if ac_fn_cxx_try_compile "$LINENO"; then :
23246   glibcxx_cv_func_log10f_use=yes
23247 else
23248   glibcxx_cv_func_log10f_use=no
23249 fi
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251       ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256
23257
23258 fi
23259
23260   fi
23261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23262 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23263
23264   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23265     for ac_func in log10f
23266 do :
23267   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23268 if test "x$ac_cv_func_log10f" = x""yes; then :
23269   cat >>confdefs.h <<_ACEOF
23270 #define HAVE_LOG10F 1
23271 _ACEOF
23272
23273 fi
23274 done
23275
23276   else
23277
23278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23279 $as_echo_n "checking for _log10f declaration... " >&6; }
23280   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23281     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23282   $as_echo_n "(cached) " >&6
23283 else
23284
23285
23286       ac_ext=cpp
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23291
23292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h.  */
23294 #include <math.h>
23295                       #ifdef HAVE_IEEEFP_H
23296                       #include <ieeefp.h>
23297                       #endif
23298
23299 int
23300 main ()
23301 {
23302  _log10f(0);
23303   ;
23304   return 0;
23305 }
23306 _ACEOF
23307 if ac_fn_cxx_try_compile "$LINENO"; then :
23308   glibcxx_cv_func__log10f_use=yes
23309 else
23310   glibcxx_cv_func__log10f_use=no
23311 fi
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313       ac_ext=c
23314 ac_cpp='$CPP $CPPFLAGS'
23315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23318
23319
23320 fi
23321
23322   fi
23323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23324 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23325
23326     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23327       for ac_func in _log10f
23328 do :
23329   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23330 if test "x$ac_cv_func__log10f" = x""yes; then :
23331   cat >>confdefs.h <<_ACEOF
23332 #define HAVE__LOG10F 1
23333 _ACEOF
23334
23335 fi
23336 done
23337
23338     fi
23339   fi
23340
23341
23342
23343
23344
23345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23346 $as_echo_n "checking for modff declaration... " >&6; }
23347   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23348     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23349   $as_echo_n "(cached) " >&6
23350 else
23351
23352
23353       ac_ext=cpp
23354 ac_cpp='$CXXCPP $CPPFLAGS'
23355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23358
23359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h.  */
23361 #include <math.h>
23362 int
23363 main ()
23364 {
23365  modff(0, 0);
23366   ;
23367   return 0;
23368 }
23369 _ACEOF
23370 if ac_fn_cxx_try_compile "$LINENO"; then :
23371   glibcxx_cv_func_modff_use=yes
23372 else
23373   glibcxx_cv_func_modff_use=no
23374 fi
23375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23376       ac_ext=c
23377 ac_cpp='$CPP $CPPFLAGS'
23378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23381
23382
23383 fi
23384
23385   fi
23386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23387 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23388
23389   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23390     for ac_func in modff
23391 do :
23392   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23393 if test "x$ac_cv_func_modff" = x""yes; then :
23394   cat >>confdefs.h <<_ACEOF
23395 #define HAVE_MODFF 1
23396 _ACEOF
23397
23398 fi
23399 done
23400
23401   else
23402
23403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23404 $as_echo_n "checking for _modff declaration... " >&6; }
23405   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23406     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23407   $as_echo_n "(cached) " >&6
23408 else
23409
23410
23411       ac_ext=cpp
23412 ac_cpp='$CXXCPP $CPPFLAGS'
23413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23416
23417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23418 /* end confdefs.h.  */
23419 #include <math.h>
23420 int
23421 main ()
23422 {
23423  _modff(0, 0);
23424   ;
23425   return 0;
23426 }
23427 _ACEOF
23428 if ac_fn_cxx_try_compile "$LINENO"; then :
23429   glibcxx_cv_func__modff_use=yes
23430 else
23431   glibcxx_cv_func__modff_use=no
23432 fi
23433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23434       ac_ext=c
23435 ac_cpp='$CPP $CPPFLAGS'
23436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23439
23440
23441 fi
23442
23443   fi
23444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23445 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23446
23447     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23448       for ac_func in _modff
23449 do :
23450   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23451 if test "x$ac_cv_func__modff" = x""yes; then :
23452   cat >>confdefs.h <<_ACEOF
23453 #define HAVE__MODFF 1
23454 _ACEOF
23455
23456 fi
23457 done
23458
23459     fi
23460   fi
23461
23462
23463
23464
23465
23466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23467 $as_echo_n "checking for modf declaration... " >&6; }
23468   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23469     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23470   $as_echo_n "(cached) " >&6
23471 else
23472
23473
23474       ac_ext=cpp
23475 ac_cpp='$CXXCPP $CPPFLAGS'
23476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23479
23480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23481 /* end confdefs.h.  */
23482 #include <math.h>
23483 int
23484 main ()
23485 {
23486  modf(0, 0);
23487   ;
23488   return 0;
23489 }
23490 _ACEOF
23491 if ac_fn_cxx_try_compile "$LINENO"; then :
23492   glibcxx_cv_func_modf_use=yes
23493 else
23494   glibcxx_cv_func_modf_use=no
23495 fi
23496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23497       ac_ext=c
23498 ac_cpp='$CPP $CPPFLAGS'
23499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23502
23503
23504 fi
23505
23506   fi
23507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23508 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23509
23510   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23511     for ac_func in modf
23512 do :
23513   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23514 if test "x$ac_cv_func_modf" = x""yes; then :
23515   cat >>confdefs.h <<_ACEOF
23516 #define HAVE_MODF 1
23517 _ACEOF
23518
23519 fi
23520 done
23521
23522   else
23523
23524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23525 $as_echo_n "checking for _modf declaration... " >&6; }
23526   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23527     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23528   $as_echo_n "(cached) " >&6
23529 else
23530
23531
23532       ac_ext=cpp
23533 ac_cpp='$CXXCPP $CPPFLAGS'
23534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23537
23538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23539 /* end confdefs.h.  */
23540 #include <math.h>
23541 int
23542 main ()
23543 {
23544  _modf(0, 0);
23545   ;
23546   return 0;
23547 }
23548 _ACEOF
23549 if ac_fn_cxx_try_compile "$LINENO"; then :
23550   glibcxx_cv_func__modf_use=yes
23551 else
23552   glibcxx_cv_func__modf_use=no
23553 fi
23554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555       ac_ext=c
23556 ac_cpp='$CPP $CPPFLAGS'
23557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23560
23561
23562 fi
23563
23564   fi
23565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23566 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23567
23568     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23569       for ac_func in _modf
23570 do :
23571   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23572 if test "x$ac_cv_func__modf" = x""yes; then :
23573   cat >>confdefs.h <<_ACEOF
23574 #define HAVE__MODF 1
23575 _ACEOF
23576
23577 fi
23578 done
23579
23580     fi
23581   fi
23582
23583
23584
23585
23586
23587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23588 $as_echo_n "checking for powf declaration... " >&6; }
23589   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23590     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23591   $as_echo_n "(cached) " >&6
23592 else
23593
23594
23595       ac_ext=cpp
23596 ac_cpp='$CXXCPP $CPPFLAGS'
23597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23600
23601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23602 /* end confdefs.h.  */
23603 #include <math.h>
23604 int
23605 main ()
23606 {
23607  powf(0, 0);
23608   ;
23609   return 0;
23610 }
23611 _ACEOF
23612 if ac_fn_cxx_try_compile "$LINENO"; then :
23613   glibcxx_cv_func_powf_use=yes
23614 else
23615   glibcxx_cv_func_powf_use=no
23616 fi
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618       ac_ext=c
23619 ac_cpp='$CPP $CPPFLAGS'
23620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23623
23624
23625 fi
23626
23627   fi
23628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23629 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23630
23631   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23632     for ac_func in powf
23633 do :
23634   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23635 if test "x$ac_cv_func_powf" = x""yes; then :
23636   cat >>confdefs.h <<_ACEOF
23637 #define HAVE_POWF 1
23638 _ACEOF
23639
23640 fi
23641 done
23642
23643   else
23644
23645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23646 $as_echo_n "checking for _powf declaration... " >&6; }
23647   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23648     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23649   $as_echo_n "(cached) " >&6
23650 else
23651
23652
23653       ac_ext=cpp
23654 ac_cpp='$CXXCPP $CPPFLAGS'
23655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23658
23659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23660 /* end confdefs.h.  */
23661 #include <math.h>
23662 int
23663 main ()
23664 {
23665  _powf(0, 0);
23666   ;
23667   return 0;
23668 }
23669 _ACEOF
23670 if ac_fn_cxx_try_compile "$LINENO"; then :
23671   glibcxx_cv_func__powf_use=yes
23672 else
23673   glibcxx_cv_func__powf_use=no
23674 fi
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23676       ac_ext=c
23677 ac_cpp='$CPP $CPPFLAGS'
23678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23681
23682
23683 fi
23684
23685   fi
23686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23687 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23688
23689     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23690       for ac_func in _powf
23691 do :
23692   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23693 if test "x$ac_cv_func__powf" = x""yes; then :
23694   cat >>confdefs.h <<_ACEOF
23695 #define HAVE__POWF 1
23696 _ACEOF
23697
23698 fi
23699 done
23700
23701     fi
23702   fi
23703
23704
23705
23706
23707
23708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23709 $as_echo_n "checking for sqrtf declaration... " >&6; }
23710   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23711     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23712   $as_echo_n "(cached) " >&6
23713 else
23714
23715
23716       ac_ext=cpp
23717 ac_cpp='$CXXCPP $CPPFLAGS'
23718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23721
23722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23723 /* end confdefs.h.  */
23724 #include <math.h>
23725                       #ifdef HAVE_IEEEFP_H
23726                       #include <ieeefp.h>
23727                       #endif
23728
23729 int
23730 main ()
23731 {
23732  sqrtf(0);
23733   ;
23734   return 0;
23735 }
23736 _ACEOF
23737 if ac_fn_cxx_try_compile "$LINENO"; then :
23738   glibcxx_cv_func_sqrtf_use=yes
23739 else
23740   glibcxx_cv_func_sqrtf_use=no
23741 fi
23742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23743       ac_ext=c
23744 ac_cpp='$CPP $CPPFLAGS'
23745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23748
23749
23750 fi
23751
23752   fi
23753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23754 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23755
23756   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23757     for ac_func in sqrtf
23758 do :
23759   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23760 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23761   cat >>confdefs.h <<_ACEOF
23762 #define HAVE_SQRTF 1
23763 _ACEOF
23764
23765 fi
23766 done
23767
23768   else
23769
23770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23771 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23772   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23773     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23774   $as_echo_n "(cached) " >&6
23775 else
23776
23777
23778       ac_ext=cpp
23779 ac_cpp='$CXXCPP $CPPFLAGS'
23780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23783
23784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23785 /* end confdefs.h.  */
23786 #include <math.h>
23787                       #ifdef HAVE_IEEEFP_H
23788                       #include <ieeefp.h>
23789                       #endif
23790
23791 int
23792 main ()
23793 {
23794  _sqrtf(0);
23795   ;
23796   return 0;
23797 }
23798 _ACEOF
23799 if ac_fn_cxx_try_compile "$LINENO"; then :
23800   glibcxx_cv_func__sqrtf_use=yes
23801 else
23802   glibcxx_cv_func__sqrtf_use=no
23803 fi
23804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23805       ac_ext=c
23806 ac_cpp='$CPP $CPPFLAGS'
23807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23810
23811
23812 fi
23813
23814   fi
23815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23816 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23817
23818     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23819       for ac_func in _sqrtf
23820 do :
23821   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23822 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23823   cat >>confdefs.h <<_ACEOF
23824 #define HAVE__SQRTF 1
23825 _ACEOF
23826
23827 fi
23828 done
23829
23830     fi
23831   fi
23832
23833
23834
23835
23836
23837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23838 $as_echo_n "checking for sincosf declaration... " >&6; }
23839   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23840     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23841   $as_echo_n "(cached) " >&6
23842 else
23843
23844
23845       ac_ext=cpp
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23850
23851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23852 /* end confdefs.h.  */
23853 #include <math.h>
23854 int
23855 main ()
23856 {
23857  sincosf(0, 0, 0);
23858   ;
23859   return 0;
23860 }
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863   glibcxx_cv_func_sincosf_use=yes
23864 else
23865   glibcxx_cv_func_sincosf_use=no
23866 fi
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868       ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23873
23874
23875 fi
23876
23877   fi
23878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23879 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23880
23881   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23882     for ac_func in sincosf
23883 do :
23884   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23885 if test "x$ac_cv_func_sincosf" = x""yes; then :
23886   cat >>confdefs.h <<_ACEOF
23887 #define HAVE_SINCOSF 1
23888 _ACEOF
23889
23890 fi
23891 done
23892
23893   else
23894
23895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23896 $as_echo_n "checking for _sincosf declaration... " >&6; }
23897   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23898     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23899   $as_echo_n "(cached) " >&6
23900 else
23901
23902
23903       ac_ext=cpp
23904 ac_cpp='$CXXCPP $CPPFLAGS'
23905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23908
23909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23910 /* end confdefs.h.  */
23911 #include <math.h>
23912 int
23913 main ()
23914 {
23915  _sincosf(0, 0, 0);
23916   ;
23917   return 0;
23918 }
23919 _ACEOF
23920 if ac_fn_cxx_try_compile "$LINENO"; then :
23921   glibcxx_cv_func__sincosf_use=yes
23922 else
23923   glibcxx_cv_func__sincosf_use=no
23924 fi
23925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23926       ac_ext=c
23927 ac_cpp='$CPP $CPPFLAGS'
23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23931
23932
23933 fi
23934
23935   fi
23936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23937 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23938
23939     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23940       for ac_func in _sincosf
23941 do :
23942   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23943 if test "x$ac_cv_func__sincosf" = x""yes; then :
23944   cat >>confdefs.h <<_ACEOF
23945 #define HAVE__SINCOSF 1
23946 _ACEOF
23947
23948 fi
23949 done
23950
23951     fi
23952   fi
23953
23954
23955
23956
23957
23958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23959 $as_echo_n "checking for finitef declaration... " >&6; }
23960   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23961     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23962   $as_echo_n "(cached) " >&6
23963 else
23964
23965
23966       ac_ext=cpp
23967 ac_cpp='$CXXCPP $CPPFLAGS'
23968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23971
23972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h.  */
23974 #include <math.h>
23975                       #ifdef HAVE_IEEEFP_H
23976                       #include <ieeefp.h>
23977                       #endif
23978
23979 int
23980 main ()
23981 {
23982  finitef(0);
23983   ;
23984   return 0;
23985 }
23986 _ACEOF
23987 if ac_fn_cxx_try_compile "$LINENO"; then :
23988   glibcxx_cv_func_finitef_use=yes
23989 else
23990   glibcxx_cv_func_finitef_use=no
23991 fi
23992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23993       ac_ext=c
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23998
23999
24000 fi
24001
24002   fi
24003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24004 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24005
24006   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24007     for ac_func in finitef
24008 do :
24009   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24010 if test "x$ac_cv_func_finitef" = x""yes; then :
24011   cat >>confdefs.h <<_ACEOF
24012 #define HAVE_FINITEF 1
24013 _ACEOF
24014
24015 fi
24016 done
24017
24018   else
24019
24020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24021 $as_echo_n "checking for _finitef declaration... " >&6; }
24022   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24023     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24024   $as_echo_n "(cached) " >&6
24025 else
24026
24027
24028       ac_ext=cpp
24029 ac_cpp='$CXXCPP $CPPFLAGS'
24030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24033
24034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24035 /* end confdefs.h.  */
24036 #include <math.h>
24037                       #ifdef HAVE_IEEEFP_H
24038                       #include <ieeefp.h>
24039                       #endif
24040
24041 int
24042 main ()
24043 {
24044  _finitef(0);
24045   ;
24046   return 0;
24047 }
24048 _ACEOF
24049 if ac_fn_cxx_try_compile "$LINENO"; then :
24050   glibcxx_cv_func__finitef_use=yes
24051 else
24052   glibcxx_cv_func__finitef_use=no
24053 fi
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24055       ac_ext=c
24056 ac_cpp='$CPP $CPPFLAGS'
24057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24060
24061
24062 fi
24063
24064   fi
24065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24066 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24067
24068     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24069       for ac_func in _finitef
24070 do :
24071   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24072 if test "x$ac_cv_func__finitef" = x""yes; then :
24073   cat >>confdefs.h <<_ACEOF
24074 #define HAVE__FINITEF 1
24075 _ACEOF
24076
24077 fi
24078 done
24079
24080     fi
24081   fi
24082
24083
24084
24085
24086
24087     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24088 $as_echo_n "checking for long double trig functions... " >&6; }
24089   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24090   $as_echo_n "(cached) " >&6
24091 else
24092
24093
24094     ac_ext=cpp
24095 ac_cpp='$CXXCPP $CPPFLAGS'
24096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24099
24100     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24101 /* end confdefs.h.  */
24102 #include <math.h>
24103 int
24104 main ()
24105 {
24106 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24107   ;
24108   return 0;
24109 }
24110 _ACEOF
24111 if ac_fn_cxx_try_compile "$LINENO"; then :
24112   glibcxx_cv_func_long_double_trig_use=yes
24113 else
24114   glibcxx_cv_func_long_double_trig_use=no
24115 fi
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117     ac_ext=c
24118 ac_cpp='$CPP $CPPFLAGS'
24119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24122
24123 fi
24124
24125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24126 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24127   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24128     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24129 do :
24130   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24132 eval as_val=\$$as_ac_var
24133    if test "x$as_val" = x""yes; then :
24134   cat >>confdefs.h <<_ACEOF
24135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24136 _ACEOF
24137
24138 fi
24139 done
24140
24141   else
24142     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24143 $as_echo_n "checking for _long double trig functions... " >&6; }
24144     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24145   $as_echo_n "(cached) " >&6
24146 else
24147
24148
24149       ac_ext=cpp
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24154
24155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h.  */
24157 #include <math.h>
24158 int
24159 main ()
24160 {
24161 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24162   ;
24163   return 0;
24164 }
24165 _ACEOF
24166 if ac_fn_cxx_try_compile "$LINENO"; then :
24167   glibcxx_cv_func__long_double_trig_use=yes
24168 else
24169   glibcxx_cv_func__long_double_trig_use=no
24170 fi
24171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172       ac_ext=c
24173 ac_cpp='$CPP $CPPFLAGS'
24174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24177
24178 fi
24179
24180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24181 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24182     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24183       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24184 do :
24185   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24187 eval as_val=\$$as_ac_var
24188    if test "x$as_val" = x""yes; then :
24189   cat >>confdefs.h <<_ACEOF
24190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24191 _ACEOF
24192
24193 fi
24194 done
24195
24196     fi
24197   fi
24198
24199
24200
24201
24202
24203     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24204 $as_echo_n "checking for long double round functions... " >&6; }
24205   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24206   $as_echo_n "(cached) " >&6
24207 else
24208
24209
24210     ac_ext=cpp
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215
24216     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24217 /* end confdefs.h.  */
24218 #include <math.h>
24219 int
24220 main ()
24221 {
24222 ceill (0); floorl (0);
24223   ;
24224   return 0;
24225 }
24226 _ACEOF
24227 if ac_fn_cxx_try_compile "$LINENO"; then :
24228   glibcxx_cv_func_long_double_round_use=yes
24229 else
24230   glibcxx_cv_func_long_double_round_use=no
24231 fi
24232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24233     ac_ext=c
24234 ac_cpp='$CPP $CPPFLAGS'
24235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24238
24239 fi
24240
24241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24242 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24243   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24244     for ac_func in ceill floorl
24245 do :
24246   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24248 eval as_val=\$$as_ac_var
24249    if test "x$as_val" = x""yes; then :
24250   cat >>confdefs.h <<_ACEOF
24251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24252 _ACEOF
24253
24254 fi
24255 done
24256
24257   else
24258     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24259 $as_echo_n "checking for _long double round functions... " >&6; }
24260     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24261   $as_echo_n "(cached) " >&6
24262 else
24263
24264
24265       ac_ext=cpp
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24270
24271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h.  */
24273 #include <math.h>
24274 int
24275 main ()
24276 {
24277 _ceill (0); _floorl (0);
24278   ;
24279   return 0;
24280 }
24281 _ACEOF
24282 if ac_fn_cxx_try_compile "$LINENO"; then :
24283   glibcxx_cv_func__long_double_round_use=yes
24284 else
24285   glibcxx_cv_func__long_double_round_use=no
24286 fi
24287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24288       ac_ext=c
24289 ac_cpp='$CPP $CPPFLAGS'
24290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24293
24294 fi
24295
24296     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24297 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24298     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24299       for ac_func in _ceill _floorl
24300 do :
24301   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24303 eval as_val=\$$as_ac_var
24304    if test "x$as_val" = x""yes; then :
24305   cat >>confdefs.h <<_ACEOF
24306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24307 _ACEOF
24308
24309 fi
24310 done
24311
24312     fi
24313   fi
24314
24315
24316
24317
24318
24319
24320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24321 $as_echo_n "checking for isnanl declaration... " >&6; }
24322   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24323     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24324   $as_echo_n "(cached) " >&6
24325 else
24326
24327
24328       ac_ext=cpp
24329 ac_cpp='$CXXCPP $CPPFLAGS'
24330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24333
24334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24335 /* end confdefs.h.  */
24336 #include <math.h>
24337                       #ifdef HAVE_IEEEFP_H
24338                       #include <ieeefp.h>
24339                       #endif
24340
24341 int
24342 main ()
24343 {
24344  isnanl(0);
24345   ;
24346   return 0;
24347 }
24348 _ACEOF
24349 if ac_fn_cxx_try_compile "$LINENO"; then :
24350   glibcxx_cv_func_isnanl_use=yes
24351 else
24352   glibcxx_cv_func_isnanl_use=no
24353 fi
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355       ac_ext=c
24356 ac_cpp='$CPP $CPPFLAGS'
24357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24360
24361
24362 fi
24363
24364   fi
24365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24366 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24367
24368   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24369     for ac_func in isnanl
24370 do :
24371   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24372 if test "x$ac_cv_func_isnanl" = x""yes; then :
24373   cat >>confdefs.h <<_ACEOF
24374 #define HAVE_ISNANL 1
24375 _ACEOF
24376
24377 fi
24378 done
24379
24380   else
24381
24382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24383 $as_echo_n "checking for _isnanl declaration... " >&6; }
24384   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24385     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24386   $as_echo_n "(cached) " >&6
24387 else
24388
24389
24390       ac_ext=cpp
24391 ac_cpp='$CXXCPP $CPPFLAGS'
24392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24395
24396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24397 /* end confdefs.h.  */
24398 #include <math.h>
24399                       #ifdef HAVE_IEEEFP_H
24400                       #include <ieeefp.h>
24401                       #endif
24402
24403 int
24404 main ()
24405 {
24406  _isnanl(0);
24407   ;
24408   return 0;
24409 }
24410 _ACEOF
24411 if ac_fn_cxx_try_compile "$LINENO"; then :
24412   glibcxx_cv_func__isnanl_use=yes
24413 else
24414   glibcxx_cv_func__isnanl_use=no
24415 fi
24416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24417       ac_ext=c
24418 ac_cpp='$CPP $CPPFLAGS'
24419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24422
24423
24424 fi
24425
24426   fi
24427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24428 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24429
24430     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24431       for ac_func in _isnanl
24432 do :
24433   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24434 if test "x$ac_cv_func__isnanl" = x""yes; then :
24435   cat >>confdefs.h <<_ACEOF
24436 #define HAVE__ISNANL 1
24437 _ACEOF
24438
24439 fi
24440 done
24441
24442     fi
24443   fi
24444
24445
24446
24447
24448
24449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24450 $as_echo_n "checking for isinfl declaration... " >&6; }
24451   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24452     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24453   $as_echo_n "(cached) " >&6
24454 else
24455
24456
24457       ac_ext=cpp
24458 ac_cpp='$CXXCPP $CPPFLAGS'
24459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24462
24463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464 /* end confdefs.h.  */
24465 #include <math.h>
24466                       #ifdef HAVE_IEEEFP_H
24467                       #include <ieeefp.h>
24468                       #endif
24469
24470 int
24471 main ()
24472 {
24473  isinfl(0);
24474   ;
24475   return 0;
24476 }
24477 _ACEOF
24478 if ac_fn_cxx_try_compile "$LINENO"; then :
24479   glibcxx_cv_func_isinfl_use=yes
24480 else
24481   glibcxx_cv_func_isinfl_use=no
24482 fi
24483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24484       ac_ext=c
24485 ac_cpp='$CPP $CPPFLAGS'
24486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24489
24490
24491 fi
24492
24493   fi
24494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24495 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24496
24497   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24498     for ac_func in isinfl
24499 do :
24500   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24501 if test "x$ac_cv_func_isinfl" = x""yes; then :
24502   cat >>confdefs.h <<_ACEOF
24503 #define HAVE_ISINFL 1
24504 _ACEOF
24505
24506 fi
24507 done
24508
24509   else
24510
24511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24512 $as_echo_n "checking for _isinfl declaration... " >&6; }
24513   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24514     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24515   $as_echo_n "(cached) " >&6
24516 else
24517
24518
24519       ac_ext=cpp
24520 ac_cpp='$CXXCPP $CPPFLAGS'
24521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24524
24525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24526 /* end confdefs.h.  */
24527 #include <math.h>
24528                       #ifdef HAVE_IEEEFP_H
24529                       #include <ieeefp.h>
24530                       #endif
24531
24532 int
24533 main ()
24534 {
24535  _isinfl(0);
24536   ;
24537   return 0;
24538 }
24539 _ACEOF
24540 if ac_fn_cxx_try_compile "$LINENO"; then :
24541   glibcxx_cv_func__isinfl_use=yes
24542 else
24543   glibcxx_cv_func__isinfl_use=no
24544 fi
24545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24546       ac_ext=c
24547 ac_cpp='$CPP $CPPFLAGS'
24548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24551
24552
24553 fi
24554
24555   fi
24556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24557 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24558
24559     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24560       for ac_func in _isinfl
24561 do :
24562   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24563 if test "x$ac_cv_func__isinfl" = x""yes; then :
24564   cat >>confdefs.h <<_ACEOF
24565 #define HAVE__ISINFL 1
24566 _ACEOF
24567
24568 fi
24569 done
24570
24571     fi
24572   fi
24573
24574
24575
24576
24577
24578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24579 $as_echo_n "checking for atan2l declaration... " >&6; }
24580   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24581     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24582   $as_echo_n "(cached) " >&6
24583 else
24584
24585
24586       ac_ext=cpp
24587 ac_cpp='$CXXCPP $CPPFLAGS'
24588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24591
24592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24593 /* end confdefs.h.  */
24594 #include <math.h>
24595 int
24596 main ()
24597 {
24598  atan2l(0, 0);
24599   ;
24600   return 0;
24601 }
24602 _ACEOF
24603 if ac_fn_cxx_try_compile "$LINENO"; then :
24604   glibcxx_cv_func_atan2l_use=yes
24605 else
24606   glibcxx_cv_func_atan2l_use=no
24607 fi
24608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24609       ac_ext=c
24610 ac_cpp='$CPP $CPPFLAGS'
24611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24614
24615
24616 fi
24617
24618   fi
24619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24620 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24621
24622   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24623     for ac_func in atan2l
24624 do :
24625   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24626 if test "x$ac_cv_func_atan2l" = x""yes; then :
24627   cat >>confdefs.h <<_ACEOF
24628 #define HAVE_ATAN2L 1
24629 _ACEOF
24630
24631 fi
24632 done
24633
24634   else
24635
24636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24637 $as_echo_n "checking for _atan2l declaration... " >&6; }
24638   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24639     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24640   $as_echo_n "(cached) " >&6
24641 else
24642
24643
24644       ac_ext=cpp
24645 ac_cpp='$CXXCPP $CPPFLAGS'
24646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24649
24650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h.  */
24652 #include <math.h>
24653 int
24654 main ()
24655 {
24656  _atan2l(0, 0);
24657   ;
24658   return 0;
24659 }
24660 _ACEOF
24661 if ac_fn_cxx_try_compile "$LINENO"; then :
24662   glibcxx_cv_func__atan2l_use=yes
24663 else
24664   glibcxx_cv_func__atan2l_use=no
24665 fi
24666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24667       ac_ext=c
24668 ac_cpp='$CPP $CPPFLAGS'
24669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24672
24673
24674 fi
24675
24676   fi
24677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24678 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24679
24680     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24681       for ac_func in _atan2l
24682 do :
24683   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24684 if test "x$ac_cv_func__atan2l" = x""yes; then :
24685   cat >>confdefs.h <<_ACEOF
24686 #define HAVE__ATAN2L 1
24687 _ACEOF
24688
24689 fi
24690 done
24691
24692     fi
24693   fi
24694
24695
24696
24697
24698
24699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24700 $as_echo_n "checking for expl declaration... " >&6; }
24701   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24702     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24703   $as_echo_n "(cached) " >&6
24704 else
24705
24706
24707       ac_ext=cpp
24708 ac_cpp='$CXXCPP $CPPFLAGS'
24709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24712
24713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24714 /* end confdefs.h.  */
24715 #include <math.h>
24716                       #ifdef HAVE_IEEEFP_H
24717                       #include <ieeefp.h>
24718                       #endif
24719
24720 int
24721 main ()
24722 {
24723  expl(0);
24724   ;
24725   return 0;
24726 }
24727 _ACEOF
24728 if ac_fn_cxx_try_compile "$LINENO"; then :
24729   glibcxx_cv_func_expl_use=yes
24730 else
24731   glibcxx_cv_func_expl_use=no
24732 fi
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734       ac_ext=c
24735 ac_cpp='$CPP $CPPFLAGS'
24736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24739
24740
24741 fi
24742
24743   fi
24744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24745 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24746
24747   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24748     for ac_func in expl
24749 do :
24750   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24751 if test "x$ac_cv_func_expl" = x""yes; then :
24752   cat >>confdefs.h <<_ACEOF
24753 #define HAVE_EXPL 1
24754 _ACEOF
24755
24756 fi
24757 done
24758
24759   else
24760
24761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24762 $as_echo_n "checking for _expl declaration... " >&6; }
24763   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24764     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24765   $as_echo_n "(cached) " >&6
24766 else
24767
24768
24769       ac_ext=cpp
24770 ac_cpp='$CXXCPP $CPPFLAGS'
24771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24774
24775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24776 /* end confdefs.h.  */
24777 #include <math.h>
24778                       #ifdef HAVE_IEEEFP_H
24779                       #include <ieeefp.h>
24780                       #endif
24781
24782 int
24783 main ()
24784 {
24785  _expl(0);
24786   ;
24787   return 0;
24788 }
24789 _ACEOF
24790 if ac_fn_cxx_try_compile "$LINENO"; then :
24791   glibcxx_cv_func__expl_use=yes
24792 else
24793   glibcxx_cv_func__expl_use=no
24794 fi
24795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24796       ac_ext=c
24797 ac_cpp='$CPP $CPPFLAGS'
24798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24801
24802
24803 fi
24804
24805   fi
24806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24807 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24808
24809     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24810       for ac_func in _expl
24811 do :
24812   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24813 if test "x$ac_cv_func__expl" = x""yes; then :
24814   cat >>confdefs.h <<_ACEOF
24815 #define HAVE__EXPL 1
24816 _ACEOF
24817
24818 fi
24819 done
24820
24821     fi
24822   fi
24823
24824
24825
24826
24827
24828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24829 $as_echo_n "checking for fabsl declaration... " >&6; }
24830   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24831     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24832   $as_echo_n "(cached) " >&6
24833 else
24834
24835
24836       ac_ext=cpp
24837 ac_cpp='$CXXCPP $CPPFLAGS'
24838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24841
24842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h.  */
24844 #include <math.h>
24845                       #ifdef HAVE_IEEEFP_H
24846                       #include <ieeefp.h>
24847                       #endif
24848
24849 int
24850 main ()
24851 {
24852  fabsl(0);
24853   ;
24854   return 0;
24855 }
24856 _ACEOF
24857 if ac_fn_cxx_try_compile "$LINENO"; then :
24858   glibcxx_cv_func_fabsl_use=yes
24859 else
24860   glibcxx_cv_func_fabsl_use=no
24861 fi
24862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863       ac_ext=c
24864 ac_cpp='$CPP $CPPFLAGS'
24865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24868
24869
24870 fi
24871
24872   fi
24873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24874 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24875
24876   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24877     for ac_func in fabsl
24878 do :
24879   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24880 if test "x$ac_cv_func_fabsl" = x""yes; then :
24881   cat >>confdefs.h <<_ACEOF
24882 #define HAVE_FABSL 1
24883 _ACEOF
24884
24885 fi
24886 done
24887
24888   else
24889
24890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24891 $as_echo_n "checking for _fabsl declaration... " >&6; }
24892   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24893     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24894   $as_echo_n "(cached) " >&6
24895 else
24896
24897
24898       ac_ext=cpp
24899 ac_cpp='$CXXCPP $CPPFLAGS'
24900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24903
24904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24905 /* end confdefs.h.  */
24906 #include <math.h>
24907                       #ifdef HAVE_IEEEFP_H
24908                       #include <ieeefp.h>
24909                       #endif
24910
24911 int
24912 main ()
24913 {
24914  _fabsl(0);
24915   ;
24916   return 0;
24917 }
24918 _ACEOF
24919 if ac_fn_cxx_try_compile "$LINENO"; then :
24920   glibcxx_cv_func__fabsl_use=yes
24921 else
24922   glibcxx_cv_func__fabsl_use=no
24923 fi
24924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24925       ac_ext=c
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24930
24931
24932 fi
24933
24934   fi
24935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24936 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24937
24938     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24939       for ac_func in _fabsl
24940 do :
24941   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24942 if test "x$ac_cv_func__fabsl" = x""yes; then :
24943   cat >>confdefs.h <<_ACEOF
24944 #define HAVE__FABSL 1
24945 _ACEOF
24946
24947 fi
24948 done
24949
24950     fi
24951   fi
24952
24953
24954
24955
24956
24957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24958 $as_echo_n "checking for fmodl declaration... " >&6; }
24959   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24960     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24961   $as_echo_n "(cached) " >&6
24962 else
24963
24964
24965       ac_ext=cpp
24966 ac_cpp='$CXXCPP $CPPFLAGS'
24967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24970
24971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24972 /* end confdefs.h.  */
24973 #include <math.h>
24974 int
24975 main ()
24976 {
24977  fmodl(0, 0);
24978   ;
24979   return 0;
24980 }
24981 _ACEOF
24982 if ac_fn_cxx_try_compile "$LINENO"; then :
24983   glibcxx_cv_func_fmodl_use=yes
24984 else
24985   glibcxx_cv_func_fmodl_use=no
24986 fi
24987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24988       ac_ext=c
24989 ac_cpp='$CPP $CPPFLAGS'
24990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24993
24994
24995 fi
24996
24997   fi
24998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24999 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25000
25001   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25002     for ac_func in fmodl
25003 do :
25004   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25005 if test "x$ac_cv_func_fmodl" = x""yes; then :
25006   cat >>confdefs.h <<_ACEOF
25007 #define HAVE_FMODL 1
25008 _ACEOF
25009
25010 fi
25011 done
25012
25013   else
25014
25015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25016 $as_echo_n "checking for _fmodl declaration... " >&6; }
25017   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25018     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25019   $as_echo_n "(cached) " >&6
25020 else
25021
25022
25023       ac_ext=cpp
25024 ac_cpp='$CXXCPP $CPPFLAGS'
25025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25028
25029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25030 /* end confdefs.h.  */
25031 #include <math.h>
25032 int
25033 main ()
25034 {
25035  _fmodl(0, 0);
25036   ;
25037   return 0;
25038 }
25039 _ACEOF
25040 if ac_fn_cxx_try_compile "$LINENO"; then :
25041   glibcxx_cv_func__fmodl_use=yes
25042 else
25043   glibcxx_cv_func__fmodl_use=no
25044 fi
25045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046       ac_ext=c
25047 ac_cpp='$CPP $CPPFLAGS'
25048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25051
25052
25053 fi
25054
25055   fi
25056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25057 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25058
25059     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25060       for ac_func in _fmodl
25061 do :
25062   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25063 if test "x$ac_cv_func__fmodl" = x""yes; then :
25064   cat >>confdefs.h <<_ACEOF
25065 #define HAVE__FMODL 1
25066 _ACEOF
25067
25068 fi
25069 done
25070
25071     fi
25072   fi
25073
25074
25075
25076
25077
25078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25079 $as_echo_n "checking for frexpl declaration... " >&6; }
25080   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25081     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25082   $as_echo_n "(cached) " >&6
25083 else
25084
25085
25086       ac_ext=cpp
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091
25092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h.  */
25094 #include <math.h>
25095 int
25096 main ()
25097 {
25098  frexpl(0, 0);
25099   ;
25100   return 0;
25101 }
25102 _ACEOF
25103 if ac_fn_cxx_try_compile "$LINENO"; then :
25104   glibcxx_cv_func_frexpl_use=yes
25105 else
25106   glibcxx_cv_func_frexpl_use=no
25107 fi
25108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109       ac_ext=c
25110 ac_cpp='$CPP $CPPFLAGS'
25111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25114
25115
25116 fi
25117
25118   fi
25119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25120 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25121
25122   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25123     for ac_func in frexpl
25124 do :
25125   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25126 if test "x$ac_cv_func_frexpl" = x""yes; then :
25127   cat >>confdefs.h <<_ACEOF
25128 #define HAVE_FREXPL 1
25129 _ACEOF
25130
25131 fi
25132 done
25133
25134   else
25135
25136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25137 $as_echo_n "checking for _frexpl declaration... " >&6; }
25138   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25139     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25140   $as_echo_n "(cached) " >&6
25141 else
25142
25143
25144       ac_ext=cpp
25145 ac_cpp='$CXXCPP $CPPFLAGS'
25146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25149
25150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25151 /* end confdefs.h.  */
25152 #include <math.h>
25153 int
25154 main ()
25155 {
25156  _frexpl(0, 0);
25157   ;
25158   return 0;
25159 }
25160 _ACEOF
25161 if ac_fn_cxx_try_compile "$LINENO"; then :
25162   glibcxx_cv_func__frexpl_use=yes
25163 else
25164   glibcxx_cv_func__frexpl_use=no
25165 fi
25166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25167       ac_ext=c
25168 ac_cpp='$CPP $CPPFLAGS'
25169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25172
25173
25174 fi
25175
25176   fi
25177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25178 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25179
25180     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25181       for ac_func in _frexpl
25182 do :
25183   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25184 if test "x$ac_cv_func__frexpl" = x""yes; then :
25185   cat >>confdefs.h <<_ACEOF
25186 #define HAVE__FREXPL 1
25187 _ACEOF
25188
25189 fi
25190 done
25191
25192     fi
25193   fi
25194
25195
25196
25197
25198
25199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25200 $as_echo_n "checking for hypotl declaration... " >&6; }
25201   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25202     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25203   $as_echo_n "(cached) " >&6
25204 else
25205
25206
25207       ac_ext=cpp
25208 ac_cpp='$CXXCPP $CPPFLAGS'
25209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25212
25213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25214 /* end confdefs.h.  */
25215 #include <math.h>
25216 int
25217 main ()
25218 {
25219  hypotl(0, 0);
25220   ;
25221   return 0;
25222 }
25223 _ACEOF
25224 if ac_fn_cxx_try_compile "$LINENO"; then :
25225   glibcxx_cv_func_hypotl_use=yes
25226 else
25227   glibcxx_cv_func_hypotl_use=no
25228 fi
25229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25230       ac_ext=c
25231 ac_cpp='$CPP $CPPFLAGS'
25232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25235
25236
25237 fi
25238
25239   fi
25240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25241 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25242
25243   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25244     for ac_func in hypotl
25245 do :
25246   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25247 if test "x$ac_cv_func_hypotl" = x""yes; then :
25248   cat >>confdefs.h <<_ACEOF
25249 #define HAVE_HYPOTL 1
25250 _ACEOF
25251
25252 fi
25253 done
25254
25255   else
25256
25257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25258 $as_echo_n "checking for _hypotl declaration... " >&6; }
25259   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25260     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25261   $as_echo_n "(cached) " >&6
25262 else
25263
25264
25265       ac_ext=cpp
25266 ac_cpp='$CXXCPP $CPPFLAGS'
25267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25270
25271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25272 /* end confdefs.h.  */
25273 #include <math.h>
25274 int
25275 main ()
25276 {
25277  _hypotl(0, 0);
25278   ;
25279   return 0;
25280 }
25281 _ACEOF
25282 if ac_fn_cxx_try_compile "$LINENO"; then :
25283   glibcxx_cv_func__hypotl_use=yes
25284 else
25285   glibcxx_cv_func__hypotl_use=no
25286 fi
25287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25288       ac_ext=c
25289 ac_cpp='$CPP $CPPFLAGS'
25290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25293
25294
25295 fi
25296
25297   fi
25298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25299 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25300
25301     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25302       for ac_func in _hypotl
25303 do :
25304   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25305 if test "x$ac_cv_func__hypotl" = x""yes; then :
25306   cat >>confdefs.h <<_ACEOF
25307 #define HAVE__HYPOTL 1
25308 _ACEOF
25309
25310 fi
25311 done
25312
25313     fi
25314   fi
25315
25316
25317
25318
25319
25320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25321 $as_echo_n "checking for ldexpl declaration... " >&6; }
25322   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25323     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25324   $as_echo_n "(cached) " >&6
25325 else
25326
25327
25328       ac_ext=cpp
25329 ac_cpp='$CXXCPP $CPPFLAGS'
25330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25333
25334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25335 /* end confdefs.h.  */
25336 #include <math.h>
25337 int
25338 main ()
25339 {
25340  ldexpl(0, 0);
25341   ;
25342   return 0;
25343 }
25344 _ACEOF
25345 if ac_fn_cxx_try_compile "$LINENO"; then :
25346   glibcxx_cv_func_ldexpl_use=yes
25347 else
25348   glibcxx_cv_func_ldexpl_use=no
25349 fi
25350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25351       ac_ext=c
25352 ac_cpp='$CPP $CPPFLAGS'
25353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25356
25357
25358 fi
25359
25360   fi
25361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25362 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25363
25364   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25365     for ac_func in ldexpl
25366 do :
25367   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25368 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25369   cat >>confdefs.h <<_ACEOF
25370 #define HAVE_LDEXPL 1
25371 _ACEOF
25372
25373 fi
25374 done
25375
25376   else
25377
25378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25379 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25380   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25381     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25382   $as_echo_n "(cached) " >&6
25383 else
25384
25385
25386       ac_ext=cpp
25387 ac_cpp='$CXXCPP $CPPFLAGS'
25388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25391
25392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25393 /* end confdefs.h.  */
25394 #include <math.h>
25395 int
25396 main ()
25397 {
25398  _ldexpl(0, 0);
25399   ;
25400   return 0;
25401 }
25402 _ACEOF
25403 if ac_fn_cxx_try_compile "$LINENO"; then :
25404   glibcxx_cv_func__ldexpl_use=yes
25405 else
25406   glibcxx_cv_func__ldexpl_use=no
25407 fi
25408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25409       ac_ext=c
25410 ac_cpp='$CPP $CPPFLAGS'
25411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25414
25415
25416 fi
25417
25418   fi
25419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25420 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25421
25422     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25423       for ac_func in _ldexpl
25424 do :
25425   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25426 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25427   cat >>confdefs.h <<_ACEOF
25428 #define HAVE__LDEXPL 1
25429 _ACEOF
25430
25431 fi
25432 done
25433
25434     fi
25435   fi
25436
25437
25438
25439
25440
25441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25442 $as_echo_n "checking for logl declaration... " >&6; }
25443   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25444     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25445   $as_echo_n "(cached) " >&6
25446 else
25447
25448
25449       ac_ext=cpp
25450 ac_cpp='$CXXCPP $CPPFLAGS'
25451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25454
25455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h.  */
25457 #include <math.h>
25458                       #ifdef HAVE_IEEEFP_H
25459                       #include <ieeefp.h>
25460                       #endif
25461
25462 int
25463 main ()
25464 {
25465  logl(0);
25466   ;
25467   return 0;
25468 }
25469 _ACEOF
25470 if ac_fn_cxx_try_compile "$LINENO"; then :
25471   glibcxx_cv_func_logl_use=yes
25472 else
25473   glibcxx_cv_func_logl_use=no
25474 fi
25475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25476       ac_ext=c
25477 ac_cpp='$CPP $CPPFLAGS'
25478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25481
25482
25483 fi
25484
25485   fi
25486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25487 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25488
25489   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25490     for ac_func in logl
25491 do :
25492   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25493 if test "x$ac_cv_func_logl" = x""yes; then :
25494   cat >>confdefs.h <<_ACEOF
25495 #define HAVE_LOGL 1
25496 _ACEOF
25497
25498 fi
25499 done
25500
25501   else
25502
25503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25504 $as_echo_n "checking for _logl declaration... " >&6; }
25505   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25506     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25507   $as_echo_n "(cached) " >&6
25508 else
25509
25510
25511       ac_ext=cpp
25512 ac_cpp='$CXXCPP $CPPFLAGS'
25513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25516
25517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25518 /* end confdefs.h.  */
25519 #include <math.h>
25520                       #ifdef HAVE_IEEEFP_H
25521                       #include <ieeefp.h>
25522                       #endif
25523
25524 int
25525 main ()
25526 {
25527  _logl(0);
25528   ;
25529   return 0;
25530 }
25531 _ACEOF
25532 if ac_fn_cxx_try_compile "$LINENO"; then :
25533   glibcxx_cv_func__logl_use=yes
25534 else
25535   glibcxx_cv_func__logl_use=no
25536 fi
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25538       ac_ext=c
25539 ac_cpp='$CPP $CPPFLAGS'
25540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25543
25544
25545 fi
25546
25547   fi
25548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25549 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25550
25551     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25552       for ac_func in _logl
25553 do :
25554   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25555 if test "x$ac_cv_func__logl" = x""yes; then :
25556   cat >>confdefs.h <<_ACEOF
25557 #define HAVE__LOGL 1
25558 _ACEOF
25559
25560 fi
25561 done
25562
25563     fi
25564   fi
25565
25566
25567
25568
25569
25570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25571 $as_echo_n "checking for log10l declaration... " >&6; }
25572   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25573     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25574   $as_echo_n "(cached) " >&6
25575 else
25576
25577
25578       ac_ext=cpp
25579 ac_cpp='$CXXCPP $CPPFLAGS'
25580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25583
25584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25585 /* end confdefs.h.  */
25586 #include <math.h>
25587                       #ifdef HAVE_IEEEFP_H
25588                       #include <ieeefp.h>
25589                       #endif
25590
25591 int
25592 main ()
25593 {
25594  log10l(0);
25595   ;
25596   return 0;
25597 }
25598 _ACEOF
25599 if ac_fn_cxx_try_compile "$LINENO"; then :
25600   glibcxx_cv_func_log10l_use=yes
25601 else
25602   glibcxx_cv_func_log10l_use=no
25603 fi
25604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25605       ac_ext=c
25606 ac_cpp='$CPP $CPPFLAGS'
25607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25610
25611
25612 fi
25613
25614   fi
25615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25616 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25617
25618   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25619     for ac_func in log10l
25620 do :
25621   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25622 if test "x$ac_cv_func_log10l" = x""yes; then :
25623   cat >>confdefs.h <<_ACEOF
25624 #define HAVE_LOG10L 1
25625 _ACEOF
25626
25627 fi
25628 done
25629
25630   else
25631
25632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25633 $as_echo_n "checking for _log10l declaration... " >&6; }
25634   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25635     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25636   $as_echo_n "(cached) " >&6
25637 else
25638
25639
25640       ac_ext=cpp
25641 ac_cpp='$CXXCPP $CPPFLAGS'
25642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25645
25646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25647 /* end confdefs.h.  */
25648 #include <math.h>
25649                       #ifdef HAVE_IEEEFP_H
25650                       #include <ieeefp.h>
25651                       #endif
25652
25653 int
25654 main ()
25655 {
25656  _log10l(0);
25657   ;
25658   return 0;
25659 }
25660 _ACEOF
25661 if ac_fn_cxx_try_compile "$LINENO"; then :
25662   glibcxx_cv_func__log10l_use=yes
25663 else
25664   glibcxx_cv_func__log10l_use=no
25665 fi
25666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25667       ac_ext=c
25668 ac_cpp='$CPP $CPPFLAGS'
25669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25672
25673
25674 fi
25675
25676   fi
25677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25678 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25679
25680     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25681       for ac_func in _log10l
25682 do :
25683   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25684 if test "x$ac_cv_func__log10l" = x""yes; then :
25685   cat >>confdefs.h <<_ACEOF
25686 #define HAVE__LOG10L 1
25687 _ACEOF
25688
25689 fi
25690 done
25691
25692     fi
25693   fi
25694
25695
25696
25697
25698
25699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25700 $as_echo_n "checking for modfl declaration... " >&6; }
25701   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25702     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25703   $as_echo_n "(cached) " >&6
25704 else
25705
25706
25707       ac_ext=cpp
25708 ac_cpp='$CXXCPP $CPPFLAGS'
25709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25712
25713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25714 /* end confdefs.h.  */
25715 #include <math.h>
25716 int
25717 main ()
25718 {
25719  modfl(0, 0);
25720   ;
25721   return 0;
25722 }
25723 _ACEOF
25724 if ac_fn_cxx_try_compile "$LINENO"; then :
25725   glibcxx_cv_func_modfl_use=yes
25726 else
25727   glibcxx_cv_func_modfl_use=no
25728 fi
25729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25730       ac_ext=c
25731 ac_cpp='$CPP $CPPFLAGS'
25732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25735
25736
25737 fi
25738
25739   fi
25740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25741 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25742
25743   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25744     for ac_func in modfl
25745 do :
25746   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25747 if test "x$ac_cv_func_modfl" = x""yes; then :
25748   cat >>confdefs.h <<_ACEOF
25749 #define HAVE_MODFL 1
25750 _ACEOF
25751
25752 fi
25753 done
25754
25755   else
25756
25757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25758 $as_echo_n "checking for _modfl declaration... " >&6; }
25759   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25760     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25761   $as_echo_n "(cached) " >&6
25762 else
25763
25764
25765       ac_ext=cpp
25766 ac_cpp='$CXXCPP $CPPFLAGS'
25767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25770
25771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h.  */
25773 #include <math.h>
25774 int
25775 main ()
25776 {
25777  _modfl(0, 0);
25778   ;
25779   return 0;
25780 }
25781 _ACEOF
25782 if ac_fn_cxx_try_compile "$LINENO"; then :
25783   glibcxx_cv_func__modfl_use=yes
25784 else
25785   glibcxx_cv_func__modfl_use=no
25786 fi
25787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25788       ac_ext=c
25789 ac_cpp='$CPP $CPPFLAGS'
25790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25793
25794
25795 fi
25796
25797   fi
25798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25799 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25800
25801     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25802       for ac_func in _modfl
25803 do :
25804   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25805 if test "x$ac_cv_func__modfl" = x""yes; then :
25806   cat >>confdefs.h <<_ACEOF
25807 #define HAVE__MODFL 1
25808 _ACEOF
25809
25810 fi
25811 done
25812
25813     fi
25814   fi
25815
25816
25817
25818
25819
25820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25821 $as_echo_n "checking for powl declaration... " >&6; }
25822   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25823     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25824   $as_echo_n "(cached) " >&6
25825 else
25826
25827
25828       ac_ext=cpp
25829 ac_cpp='$CXXCPP $CPPFLAGS'
25830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25833
25834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25835 /* end confdefs.h.  */
25836 #include <math.h>
25837 int
25838 main ()
25839 {
25840  powl(0, 0);
25841   ;
25842   return 0;
25843 }
25844 _ACEOF
25845 if ac_fn_cxx_try_compile "$LINENO"; then :
25846   glibcxx_cv_func_powl_use=yes
25847 else
25848   glibcxx_cv_func_powl_use=no
25849 fi
25850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25851       ac_ext=c
25852 ac_cpp='$CPP $CPPFLAGS'
25853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25856
25857
25858 fi
25859
25860   fi
25861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25862 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25863
25864   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25865     for ac_func in powl
25866 do :
25867   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25868 if test "x$ac_cv_func_powl" = x""yes; then :
25869   cat >>confdefs.h <<_ACEOF
25870 #define HAVE_POWL 1
25871 _ACEOF
25872
25873 fi
25874 done
25875
25876   else
25877
25878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25879 $as_echo_n "checking for _powl declaration... " >&6; }
25880   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25881     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25882   $as_echo_n "(cached) " >&6
25883 else
25884
25885
25886       ac_ext=cpp
25887 ac_cpp='$CXXCPP $CPPFLAGS'
25888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25891
25892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25893 /* end confdefs.h.  */
25894 #include <math.h>
25895 int
25896 main ()
25897 {
25898  _powl(0, 0);
25899   ;
25900   return 0;
25901 }
25902 _ACEOF
25903 if ac_fn_cxx_try_compile "$LINENO"; then :
25904   glibcxx_cv_func__powl_use=yes
25905 else
25906   glibcxx_cv_func__powl_use=no
25907 fi
25908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25909       ac_ext=c
25910 ac_cpp='$CPP $CPPFLAGS'
25911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25914
25915
25916 fi
25917
25918   fi
25919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25920 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25921
25922     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25923       for ac_func in _powl
25924 do :
25925   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25926 if test "x$ac_cv_func__powl" = x""yes; then :
25927   cat >>confdefs.h <<_ACEOF
25928 #define HAVE__POWL 1
25929 _ACEOF
25930
25931 fi
25932 done
25933
25934     fi
25935   fi
25936
25937
25938
25939
25940
25941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25942 $as_echo_n "checking for sqrtl declaration... " >&6; }
25943   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25944     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25945   $as_echo_n "(cached) " >&6
25946 else
25947
25948
25949       ac_ext=cpp
25950 ac_cpp='$CXXCPP $CPPFLAGS'
25951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25954
25955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h.  */
25957 #include <math.h>
25958                       #ifdef HAVE_IEEEFP_H
25959                       #include <ieeefp.h>
25960                       #endif
25961
25962 int
25963 main ()
25964 {
25965  sqrtl(0);
25966   ;
25967   return 0;
25968 }
25969 _ACEOF
25970 if ac_fn_cxx_try_compile "$LINENO"; then :
25971   glibcxx_cv_func_sqrtl_use=yes
25972 else
25973   glibcxx_cv_func_sqrtl_use=no
25974 fi
25975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25976       ac_ext=c
25977 ac_cpp='$CPP $CPPFLAGS'
25978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25981
25982
25983 fi
25984
25985   fi
25986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25987 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25988
25989   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25990     for ac_func in sqrtl
25991 do :
25992   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25993 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25994   cat >>confdefs.h <<_ACEOF
25995 #define HAVE_SQRTL 1
25996 _ACEOF
25997
25998 fi
25999 done
26000
26001   else
26002
26003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26004 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26005   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26006     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26007   $as_echo_n "(cached) " >&6
26008 else
26009
26010
26011       ac_ext=cpp
26012 ac_cpp='$CXXCPP $CPPFLAGS'
26013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26016
26017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26018 /* end confdefs.h.  */
26019 #include <math.h>
26020                       #ifdef HAVE_IEEEFP_H
26021                       #include <ieeefp.h>
26022                       #endif
26023
26024 int
26025 main ()
26026 {
26027  _sqrtl(0);
26028   ;
26029   return 0;
26030 }
26031 _ACEOF
26032 if ac_fn_cxx_try_compile "$LINENO"; then :
26033   glibcxx_cv_func__sqrtl_use=yes
26034 else
26035   glibcxx_cv_func__sqrtl_use=no
26036 fi
26037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26038       ac_ext=c
26039 ac_cpp='$CPP $CPPFLAGS'
26040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26043
26044
26045 fi
26046
26047   fi
26048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26049 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26050
26051     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26052       for ac_func in _sqrtl
26053 do :
26054   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26055 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26056   cat >>confdefs.h <<_ACEOF
26057 #define HAVE__SQRTL 1
26058 _ACEOF
26059
26060 fi
26061 done
26062
26063     fi
26064   fi
26065
26066
26067
26068
26069
26070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26071 $as_echo_n "checking for sincosl declaration... " >&6; }
26072   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26073     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26074   $as_echo_n "(cached) " >&6
26075 else
26076
26077
26078       ac_ext=cpp
26079 ac_cpp='$CXXCPP $CPPFLAGS'
26080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26083
26084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26085 /* end confdefs.h.  */
26086 #include <math.h>
26087 int
26088 main ()
26089 {
26090  sincosl(0, 0, 0);
26091   ;
26092   return 0;
26093 }
26094 _ACEOF
26095 if ac_fn_cxx_try_compile "$LINENO"; then :
26096   glibcxx_cv_func_sincosl_use=yes
26097 else
26098   glibcxx_cv_func_sincosl_use=no
26099 fi
26100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26101       ac_ext=c
26102 ac_cpp='$CPP $CPPFLAGS'
26103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26106
26107
26108 fi
26109
26110   fi
26111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26112 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26113
26114   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26115     for ac_func in sincosl
26116 do :
26117   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26118 if test "x$ac_cv_func_sincosl" = x""yes; then :
26119   cat >>confdefs.h <<_ACEOF
26120 #define HAVE_SINCOSL 1
26121 _ACEOF
26122
26123 fi
26124 done
26125
26126   else
26127
26128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26129 $as_echo_n "checking for _sincosl declaration... " >&6; }
26130   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26131     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26132   $as_echo_n "(cached) " >&6
26133 else
26134
26135
26136       ac_ext=cpp
26137 ac_cpp='$CXXCPP $CPPFLAGS'
26138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26141
26142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26143 /* end confdefs.h.  */
26144 #include <math.h>
26145 int
26146 main ()
26147 {
26148  _sincosl(0, 0, 0);
26149   ;
26150   return 0;
26151 }
26152 _ACEOF
26153 if ac_fn_cxx_try_compile "$LINENO"; then :
26154   glibcxx_cv_func__sincosl_use=yes
26155 else
26156   glibcxx_cv_func__sincosl_use=no
26157 fi
26158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26159       ac_ext=c
26160 ac_cpp='$CPP $CPPFLAGS'
26161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26164
26165
26166 fi
26167
26168   fi
26169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26170 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26171
26172     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26173       for ac_func in _sincosl
26174 do :
26175   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26176 if test "x$ac_cv_func__sincosl" = x""yes; then :
26177   cat >>confdefs.h <<_ACEOF
26178 #define HAVE__SINCOSL 1
26179 _ACEOF
26180
26181 fi
26182 done
26183
26184     fi
26185   fi
26186
26187
26188
26189
26190
26191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26192 $as_echo_n "checking for finitel declaration... " >&6; }
26193   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26194     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26195   $as_echo_n "(cached) " >&6
26196 else
26197
26198
26199       ac_ext=cpp
26200 ac_cpp='$CXXCPP $CPPFLAGS'
26201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26204
26205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26206 /* end confdefs.h.  */
26207 #include <math.h>
26208                       #ifdef HAVE_IEEEFP_H
26209                       #include <ieeefp.h>
26210                       #endif
26211
26212 int
26213 main ()
26214 {
26215  finitel(0);
26216   ;
26217   return 0;
26218 }
26219 _ACEOF
26220 if ac_fn_cxx_try_compile "$LINENO"; then :
26221   glibcxx_cv_func_finitel_use=yes
26222 else
26223   glibcxx_cv_func_finitel_use=no
26224 fi
26225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26226       ac_ext=c
26227 ac_cpp='$CPP $CPPFLAGS'
26228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26231
26232
26233 fi
26234
26235   fi
26236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26237 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26238
26239   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26240     for ac_func in finitel
26241 do :
26242   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26243 if test "x$ac_cv_func_finitel" = x""yes; then :
26244   cat >>confdefs.h <<_ACEOF
26245 #define HAVE_FINITEL 1
26246 _ACEOF
26247
26248 fi
26249 done
26250
26251   else
26252
26253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26254 $as_echo_n "checking for _finitel declaration... " >&6; }
26255   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26256     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26257   $as_echo_n "(cached) " >&6
26258 else
26259
26260
26261       ac_ext=cpp
26262 ac_cpp='$CXXCPP $CPPFLAGS'
26263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26266
26267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26268 /* end confdefs.h.  */
26269 #include <math.h>
26270                       #ifdef HAVE_IEEEFP_H
26271                       #include <ieeefp.h>
26272                       #endif
26273
26274 int
26275 main ()
26276 {
26277  _finitel(0);
26278   ;
26279   return 0;
26280 }
26281 _ACEOF
26282 if ac_fn_cxx_try_compile "$LINENO"; then :
26283   glibcxx_cv_func__finitel_use=yes
26284 else
26285   glibcxx_cv_func__finitel_use=no
26286 fi
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26288       ac_ext=c
26289 ac_cpp='$CPP $CPPFLAGS'
26290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26293
26294
26295 fi
26296
26297   fi
26298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26299 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26300
26301     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26302       for ac_func in _finitel
26303 do :
26304   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26305 if test "x$ac_cv_func__finitel" = x""yes; then :
26306   cat >>confdefs.h <<_ACEOF
26307 #define HAVE__FINITEL 1
26308 _ACEOF
26309
26310 fi
26311 done
26312
26313     fi
26314   fi
26315
26316
26317
26318
26319   LIBS="$ac_save_LIBS"
26320   CXXFLAGS="$ac_save_CXXFLAGS"
26321
26322
26323   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26324   ac_save_CXXFLAGS="$CXXFLAGS"
26325   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26326
26327
26328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26329 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26330   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26331     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26332   $as_echo_n "(cached) " >&6
26333 else
26334
26335
26336       ac_ext=cpp
26337 ac_cpp='$CXXCPP $CPPFLAGS'
26338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26341
26342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26343 /* end confdefs.h.  */
26344 #include <stdlib.h>
26345 int
26346 main ()
26347 {
26348  at_quick_exit(0);
26349   ;
26350   return 0;
26351 }
26352 _ACEOF
26353 if ac_fn_cxx_try_compile "$LINENO"; then :
26354   glibcxx_cv_func_at_quick_exit_use=yes
26355 else
26356   glibcxx_cv_func_at_quick_exit_use=no
26357 fi
26358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26359       ac_ext=c
26360 ac_cpp='$CPP $CPPFLAGS'
26361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26364
26365
26366 fi
26367
26368   fi
26369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26370 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26371   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26372     for ac_func in at_quick_exit
26373 do :
26374   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26375 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26376   cat >>confdefs.h <<_ACEOF
26377 #define HAVE_AT_QUICK_EXIT 1
26378 _ACEOF
26379
26380 fi
26381 done
26382
26383   fi
26384
26385
26386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26387 $as_echo_n "checking for quick_exit declaration... " >&6; }
26388   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26389     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26390   $as_echo_n "(cached) " >&6
26391 else
26392
26393
26394       ac_ext=cpp
26395 ac_cpp='$CXXCPP $CPPFLAGS'
26396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26399
26400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h.  */
26402 #include <stdlib.h>
26403 int
26404 main ()
26405 {
26406  quick_exit(0);
26407   ;
26408   return 0;
26409 }
26410 _ACEOF
26411 if ac_fn_cxx_try_compile "$LINENO"; then :
26412   glibcxx_cv_func_quick_exit_use=yes
26413 else
26414   glibcxx_cv_func_quick_exit_use=no
26415 fi
26416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26417       ac_ext=c
26418 ac_cpp='$CPP $CPPFLAGS'
26419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26422
26423
26424 fi
26425
26426   fi
26427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26428 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26429   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26430     for ac_func in quick_exit
26431 do :
26432   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26433 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26434   cat >>confdefs.h <<_ACEOF
26435 #define HAVE_QUICK_EXIT 1
26436 _ACEOF
26437
26438 fi
26439 done
26440
26441   fi
26442
26443
26444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26445 $as_echo_n "checking for strtold declaration... " >&6; }
26446   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26447     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26448   $as_echo_n "(cached) " >&6
26449 else
26450
26451
26452       ac_ext=cpp
26453 ac_cpp='$CXXCPP $CPPFLAGS'
26454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26457
26458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26459 /* end confdefs.h.  */
26460 #include <stdlib.h>
26461 int
26462 main ()
26463 {
26464  strtold(0, 0);
26465   ;
26466   return 0;
26467 }
26468 _ACEOF
26469 if ac_fn_cxx_try_compile "$LINENO"; then :
26470   glibcxx_cv_func_strtold_use=yes
26471 else
26472   glibcxx_cv_func_strtold_use=no
26473 fi
26474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26475       ac_ext=c
26476 ac_cpp='$CPP $CPPFLAGS'
26477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26480
26481
26482 fi
26483
26484   fi
26485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26486 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26487   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26488     for ac_func in strtold
26489 do :
26490   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26491 if test "x$ac_cv_func_strtold" = x""yes; then :
26492   cat >>confdefs.h <<_ACEOF
26493 #define HAVE_STRTOLD 1
26494 _ACEOF
26495
26496 fi
26497 done
26498
26499   fi
26500
26501
26502
26503
26504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26505 $as_echo_n "checking for strtof declaration... " >&6; }
26506   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26507     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26508   $as_echo_n "(cached) " >&6
26509 else
26510
26511
26512       ac_ext=cpp
26513 ac_cpp='$CXXCPP $CPPFLAGS'
26514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26517
26518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26519 /* end confdefs.h.  */
26520 #include <stdlib.h>
26521 int
26522 main ()
26523 {
26524  strtof(0, 0);
26525   ;
26526   return 0;
26527 }
26528 _ACEOF
26529 if ac_fn_cxx_try_compile "$LINENO"; then :
26530   glibcxx_cv_func_strtof_use=yes
26531 else
26532   glibcxx_cv_func_strtof_use=no
26533 fi
26534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26535       ac_ext=c
26536 ac_cpp='$CPP $CPPFLAGS'
26537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26540
26541
26542 fi
26543
26544   fi
26545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26546 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26547   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26548     for ac_func in strtof
26549 do :
26550   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26551 if test "x$ac_cv_func_strtof" = x""yes; then :
26552   cat >>confdefs.h <<_ACEOF
26553 #define HAVE_STRTOF 1
26554 _ACEOF
26555
26556 fi
26557 done
26558
26559   fi
26560
26561
26562
26563
26564   CXXFLAGS="$ac_save_CXXFLAGS"
26565
26566
26567   # For /dev/random and /dev/urandom for TR1.
26568
26569
26570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26571 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26572   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26573   $as_echo_n "(cached) " >&6
26574 else
26575
26576     if test -r /dev/random && test -r /dev/urandom; then
26577   ## For MSys environment the test above is detect as false-positive
26578   ## on mingw-targets.  So disable it explicit for them.
26579       case ${target_os} in
26580         *mingw*) glibcxx_cv_random_tr1=no ;;
26581         *) glibcxx_cv_random_tr1=yes ;;
26582       esac
26583     else
26584       glibcxx_cv_random_tr1=no;
26585     fi
26586
26587 fi
26588
26589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26590 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26591
26592   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26593
26594 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26595
26596   fi
26597
26598
26599
26600   # For TLS support.
26601
26602
26603    # Check whether --enable-tls was given.
26604 if test "${enable_tls+set}" = set; then :
26605   enableval=$enable_tls;
26606       case "$enableval" in
26607        yes|no) ;;
26608        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26609       esac
26610
26611 else
26612   enable_tls=yes
26613 fi
26614
26615
26616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26617 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26618 if test "${gcc_cv_have_tls+set}" = set; then :
26619   $as_echo_n "(cached) " >&6
26620 else
26621
26622     if test "$cross_compiling" = yes; then :
26623                 if test x$gcc_no_link = xyes; then
26624   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26625 fi
26626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26627 /* end confdefs.h.  */
26628 __thread int a; int b; int main() { return a = b; }
26629 _ACEOF
26630 if ac_fn_c_try_link "$LINENO"; then :
26631   chktls_save_LDFLAGS="$LDFLAGS"
26632                           case $host in
26633             *-*-linux*)
26634               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26635               ;;
26636           esac
26637           chktls_save_CFLAGS="$CFLAGS"
26638           CFLAGS="-fPIC $CFLAGS"
26639                   if test x$gcc_no_link = xyes; then
26640   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26641 fi
26642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26643 /* end confdefs.h.  */
26644 int f() { return 0; }
26645 _ACEOF
26646 if ac_fn_c_try_link "$LINENO"; then :
26647   if test x$gcc_no_link = xyes; then
26648   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26649 fi
26650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26651 /* end confdefs.h.  */
26652 __thread int a; int b; int f() { return a = b; }
26653 _ACEOF
26654 if ac_fn_c_try_link "$LINENO"; then :
26655   gcc_cv_have_tls=yes
26656 else
26657   gcc_cv_have_tls=no
26658 fi
26659 rm -f core conftest.err conftest.$ac_objext \
26660     conftest$ac_exeext conftest.$ac_ext
26661 else
26662   gcc_cv_have_tls=yes
26663 fi
26664 rm -f core conftest.err conftest.$ac_objext \
26665     conftest$ac_exeext conftest.$ac_ext
26666           CFLAGS="$chktls_save_CFLAGS"
26667           LDFLAGS="$chktls_save_LDFLAGS"
26668 else
26669   gcc_cv_have_tls=no
26670 fi
26671 rm -f core conftest.err conftest.$ac_objext \
26672     conftest$ac_exeext conftest.$ac_ext
26673
26674
26675 else
26676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26677 /* end confdefs.h.  */
26678 __thread int a; int b; int main() { return a = b; }
26679 _ACEOF
26680 if ac_fn_c_try_run "$LINENO"; then :
26681                       chktls_save_LDFLAGS="$LDFLAGS"
26682       LDFLAGS="-static $LDFLAGS"
26683       if test x$gcc_no_link = xyes; then
26684   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26685 fi
26686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26687 /* end confdefs.h.  */
26688 int main() { return 0; }
26689 _ACEOF
26690 if ac_fn_c_try_link "$LINENO"; then :
26691   if test "$cross_compiling" = yes; then :
26692   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26694 as_fn_error "cannot run test program while cross compiling
26695 See \`config.log' for more details." "$LINENO" 5; }
26696 else
26697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26698 /* end confdefs.h.  */
26699 __thread int a; int b; int main() { return a = b; }
26700 _ACEOF
26701 if ac_fn_c_try_run "$LINENO"; then :
26702   gcc_cv_have_tls=yes
26703 else
26704   gcc_cv_have_tls=no
26705 fi
26706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26707   conftest.$ac_objext conftest.beam conftest.$ac_ext
26708 fi
26709
26710 else
26711   gcc_cv_have_tls=yes
26712 fi
26713 rm -f core conftest.err conftest.$ac_objext \
26714     conftest$ac_exeext conftest.$ac_ext
26715       LDFLAGS="$chktls_save_LDFLAGS"
26716       if test $gcc_cv_have_tls = yes; then
26717                                                 chktls_save_CFLAGS="$CFLAGS"
26718         thread_CFLAGS=failed
26719         for flag in '' '-pthread' '-lpthread'; do
26720           CFLAGS="$flag $chktls_save_CFLAGS"
26721           if test x$gcc_no_link = xyes; then
26722   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26723 fi
26724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26725 /* end confdefs.h.  */
26726 #include <pthread.h>
26727                 void *g(void *d) { return NULL; }
26728 int
26729 main ()
26730 {
26731 pthread_t t; pthread_create(&t,NULL,g,NULL);
26732   ;
26733   return 0;
26734 }
26735 _ACEOF
26736 if ac_fn_c_try_link "$LINENO"; then :
26737   thread_CFLAGS="$flag"
26738 fi
26739 rm -f core conftest.err conftest.$ac_objext \
26740     conftest$ac_exeext conftest.$ac_ext
26741           if test "X$thread_CFLAGS" != Xfailed; then
26742             break
26743           fi
26744         done
26745         CFLAGS="$chktls_save_CFLAGS"
26746         if test "X$thread_CFLAGS" != Xfailed; then
26747           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26748                                                   if test "$cross_compiling" = yes; then :
26749   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26751 as_fn_error "cannot run test program while cross compiling
26752 See \`config.log' for more details." "$LINENO" 5; }
26753 else
26754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h.  */
26756 #include <pthread.h>
26757                 __thread int a;
26758                 static int *volatile a_in_other_thread;
26759                 static void *
26760                 thread_func (void *arg)
26761                 {
26762                   a_in_other_thread = &a;
26763                   return (void *)0;
26764                 }
26765 int
26766 main ()
26767 {
26768 pthread_t thread;
26769                 void *thread_retval;
26770                 int *volatile a_in_main_thread;
26771                 a_in_main_thread = &a;
26772                 if (pthread_create (&thread, (pthread_attr_t *)0,
26773                                     thread_func, (void *)0))
26774                   return 0;
26775                 if (pthread_join (thread, &thread_retval))
26776                   return 0;
26777                 return (a_in_other_thread == a_in_main_thread);
26778   ;
26779   return 0;
26780 }
26781 _ACEOF
26782 if ac_fn_c_try_run "$LINENO"; then :
26783   gcc_cv_have_tls=yes
26784 else
26785   gcc_cv_have_tls=no
26786 fi
26787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26788   conftest.$ac_objext conftest.beam conftest.$ac_ext
26789 fi
26790
26791           CFLAGS="$chktls_save_CFLAGS"
26792         fi
26793       fi
26794 else
26795   gcc_cv_have_tls=no
26796 fi
26797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26798   conftest.$ac_objext conftest.beam conftest.$ac_ext
26799 fi
26800
26801 fi
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26803 $as_echo "$gcc_cv_have_tls" >&6; }
26804   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26805
26806 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26807
26808   fi
26809
26810   for ac_func in __cxa_thread_atexit_impl
26811 do :
26812   ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26813 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26814   cat >>confdefs.h <<_ACEOF
26815 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26816 _ACEOF
26817
26818 fi
26819 done
26820
26821
26822   # For iconv support.
26823
26824       if test "X$prefix" = "XNONE"; then
26825     acl_final_prefix="$ac_default_prefix"
26826   else
26827     acl_final_prefix="$prefix"
26828   fi
26829   if test "X$exec_prefix" = "XNONE"; then
26830     acl_final_exec_prefix='${prefix}'
26831   else
26832     acl_final_exec_prefix="$exec_prefix"
26833   fi
26834   acl_save_prefix="$prefix"
26835   prefix="$acl_final_prefix"
26836   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26837   prefix="$acl_save_prefix"
26838
26839
26840 # Check whether --with-gnu-ld was given.
26841 if test "${with_gnu_ld+set}" = set; then :
26842   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26843 else
26844   with_gnu_ld=no
26845 fi
26846
26847 # Prepare PATH_SEPARATOR.
26848 # The user is always right.
26849 if test "${PATH_SEPARATOR+set}" != set; then
26850   echo "#! /bin/sh" >conf$$.sh
26851   echo  "exit 0"   >>conf$$.sh
26852   chmod +x conf$$.sh
26853   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26854     PATH_SEPARATOR=';'
26855   else
26856     PATH_SEPARATOR=:
26857   fi
26858   rm -f conf$$.sh
26859 fi
26860 ac_prog=ld
26861 if test "$GCC" = yes; then
26862   # Check if gcc -print-prog-name=ld gives a path.
26863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26864 $as_echo_n "checking for ld used by GCC... " >&6; }
26865   case $host in
26866   *-*-mingw*)
26867     # gcc leaves a trailing carriage return which upsets mingw
26868     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26869   *)
26870     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26871   esac
26872   case $ac_prog in
26873     # Accept absolute paths.
26874     [\\/]* | [A-Za-z]:[\\/]*)
26875       re_direlt='/[^/][^/]*/\.\./'
26876       # Canonicalize the path of ld
26877       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26878       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26879         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26880       done
26881       test -z "$LD" && LD="$ac_prog"
26882       ;;
26883   "")
26884     # If it fails, then pretend we aren't using GCC.
26885     ac_prog=ld
26886     ;;
26887   *)
26888     # If it is relative, then search for the first ld in PATH.
26889     with_gnu_ld=unknown
26890     ;;
26891   esac
26892 elif test "$with_gnu_ld" = yes; then
26893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26894 $as_echo_n "checking for GNU ld... " >&6; }
26895 else
26896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26897 $as_echo_n "checking for non-GNU ld... " >&6; }
26898 fi
26899 if test "${acl_cv_path_LD+set}" = set; then :
26900   $as_echo_n "(cached) " >&6
26901 else
26902   if test -z "$LD"; then
26903   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26904   for ac_dir in $PATH; do
26905     test -z "$ac_dir" && ac_dir=.
26906     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26907       acl_cv_path_LD="$ac_dir/$ac_prog"
26908       # Check to see if the program is GNU ld.  I'd rather use --version,
26909       # but apparently some GNU ld's only accept -v.
26910       # Break only if it was the GNU/non-GNU ld that we prefer.
26911       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26912         test "$with_gnu_ld" != no && break
26913       else
26914         test "$with_gnu_ld" != yes && break
26915       fi
26916     fi
26917   done
26918   IFS="$ac_save_ifs"
26919 else
26920   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26921 fi
26922 fi
26923
26924 LD="$acl_cv_path_LD"
26925 if test -n "$LD"; then
26926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26927 $as_echo "$LD" >&6; }
26928 else
26929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26930 $as_echo "no" >&6; }
26931 fi
26932 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26934 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26935 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26936   $as_echo_n "(cached) " >&6
26937 else
26938   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26939 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26940   acl_cv_prog_gnu_ld=yes
26941 else
26942   acl_cv_prog_gnu_ld=no
26943 fi
26944 fi
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26946 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26947 with_gnu_ld=$acl_cv_prog_gnu_ld
26948
26949
26950
26951                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26952 $as_echo_n "checking for shared library run path origin... " >&6; }
26953 if test "${acl_cv_rpath+set}" = set; then :
26954   $as_echo_n "(cached) " >&6
26955 else
26956
26957     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26958     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26959     . ./conftest.sh
26960     rm -f ./conftest.sh
26961     acl_cv_rpath=done
26962
26963 fi
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26965 $as_echo "$acl_cv_rpath" >&6; }
26966   wl="$acl_cv_wl"
26967   libext="$acl_cv_libext"
26968   shlibext="$acl_cv_shlibext"
26969   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26970   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26971   hardcode_direct="$acl_cv_hardcode_direct"
26972   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26973     # Check whether --enable-rpath was given.
26974 if test "${enable_rpath+set}" = set; then :
26975   enableval=$enable_rpath; :
26976 else
26977   enable_rpath=yes
26978 fi
26979
26980
26981
26982
26983
26984
26985
26986
26987     use_additional=yes
26988
26989   acl_save_prefix="$prefix"
26990   prefix="$acl_final_prefix"
26991   acl_save_exec_prefix="$exec_prefix"
26992   exec_prefix="$acl_final_exec_prefix"
26993
26994     eval additional_includedir=\"$includedir\"
26995     eval additional_libdir=\"$libdir\"
26996
26997   exec_prefix="$acl_save_exec_prefix"
26998   prefix="$acl_save_prefix"
26999
27000
27001 # Check whether --with-libiconv-prefix was given.
27002 if test "${with_libiconv_prefix+set}" = set; then :
27003   withval=$with_libiconv_prefix;
27004     if test "X$withval" = "Xno"; then
27005       use_additional=no
27006     else
27007       if test "X$withval" = "X"; then
27008
27009   acl_save_prefix="$prefix"
27010   prefix="$acl_final_prefix"
27011   acl_save_exec_prefix="$exec_prefix"
27012   exec_prefix="$acl_final_exec_prefix"
27013
27014           eval additional_includedir=\"$includedir\"
27015           eval additional_libdir=\"$libdir\"
27016
27017   exec_prefix="$acl_save_exec_prefix"
27018   prefix="$acl_save_prefix"
27019
27020       else
27021         additional_includedir="$withval/include"
27022         additional_libdir="$withval/lib"
27023       fi
27024     fi
27025
27026 fi
27027
27028       LIBICONV=
27029   LTLIBICONV=
27030   INCICONV=
27031   rpathdirs=
27032   ltrpathdirs=
27033   names_already_handled=
27034   names_next_round='iconv '
27035   while test -n "$names_next_round"; do
27036     names_this_round="$names_next_round"
27037     names_next_round=
27038     for name in $names_this_round; do
27039       already_handled=
27040       for n in $names_already_handled; do
27041         if test "$n" = "$name"; then
27042           already_handled=yes
27043           break
27044         fi
27045       done
27046       if test -z "$already_handled"; then
27047         names_already_handled="$names_already_handled $name"
27048                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27049         eval value=\"\$HAVE_LIB$uppername\"
27050         if test -n "$value"; then
27051           if test "$value" = yes; then
27052             eval value=\"\$LIB$uppername\"
27053             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27054             eval value=\"\$LTLIB$uppername\"
27055             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27056           else
27057                                     :
27058           fi
27059         else
27060                               found_dir=
27061           found_la=
27062           found_so=
27063           found_a=
27064           if test $use_additional = yes; then
27065             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27066               found_dir="$additional_libdir"
27067               found_so="$additional_libdir/lib$name.$shlibext"
27068               if test -f "$additional_libdir/lib$name.la"; then
27069                 found_la="$additional_libdir/lib$name.la"
27070               fi
27071             else
27072               if test -f "$additional_libdir/lib$name.$libext"; then
27073                 found_dir="$additional_libdir"
27074                 found_a="$additional_libdir/lib$name.$libext"
27075                 if test -f "$additional_libdir/lib$name.la"; then
27076                   found_la="$additional_libdir/lib$name.la"
27077                 fi
27078               fi
27079             fi
27080           fi
27081           if test "X$found_dir" = "X"; then
27082             for x in $LDFLAGS $LTLIBICONV; do
27083
27084   acl_save_prefix="$prefix"
27085   prefix="$acl_final_prefix"
27086   acl_save_exec_prefix="$exec_prefix"
27087   exec_prefix="$acl_final_exec_prefix"
27088   eval x=\"$x\"
27089   exec_prefix="$acl_save_exec_prefix"
27090   prefix="$acl_save_prefix"
27091
27092               case "$x" in
27093                 -L*)
27094                   dir=`echo "X$x" | sed -e 's/^X-L//'`
27095                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27096                     found_dir="$dir"
27097                     found_so="$dir/lib$name.$shlibext"
27098                     if test -f "$dir/lib$name.la"; then
27099                       found_la="$dir/lib$name.la"
27100                     fi
27101                   else
27102                     if test -f "$dir/lib$name.$libext"; then
27103                       found_dir="$dir"
27104                       found_a="$dir/lib$name.$libext"
27105                       if test -f "$dir/lib$name.la"; then
27106                         found_la="$dir/lib$name.la"
27107                       fi
27108                     fi
27109                   fi
27110                   ;;
27111               esac
27112               if test "X$found_dir" != "X"; then
27113                 break
27114               fi
27115             done
27116           fi
27117           if test "X$found_dir" != "X"; then
27118                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27119             if test "X$found_so" != "X"; then
27120                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27121                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27122               else
27123                                                                                 haveit=
27124                 for x in $ltrpathdirs; do
27125                   if test "X$x" = "X$found_dir"; then
27126                     haveit=yes
27127                     break
27128                   fi
27129                 done
27130                 if test -z "$haveit"; then
27131                   ltrpathdirs="$ltrpathdirs $found_dir"
27132                 fi
27133                                 if test "$hardcode_direct" = yes; then
27134                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27135                 else
27136                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27137                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27138                                                             haveit=
27139                     for x in $rpathdirs; do
27140                       if test "X$x" = "X$found_dir"; then
27141                         haveit=yes
27142                         break
27143                       fi
27144                     done
27145                     if test -z "$haveit"; then
27146                       rpathdirs="$rpathdirs $found_dir"
27147                     fi
27148                   else
27149                                                                                 haveit=
27150                     for x in $LDFLAGS $LIBICONV; do
27151
27152   acl_save_prefix="$prefix"
27153   prefix="$acl_final_prefix"
27154   acl_save_exec_prefix="$exec_prefix"
27155   exec_prefix="$acl_final_exec_prefix"
27156   eval x=\"$x\"
27157   exec_prefix="$acl_save_exec_prefix"
27158   prefix="$acl_save_prefix"
27159
27160                       if test "X$x" = "X-L$found_dir"; then
27161                         haveit=yes
27162                         break
27163                       fi
27164                     done
27165                     if test -z "$haveit"; then
27166                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27167                     fi
27168                     if test "$hardcode_minus_L" != no; then
27169                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27170                     else
27171                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27172                     fi
27173                   fi
27174                 fi
27175               fi
27176             else
27177               if test "X$found_a" != "X"; then
27178                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27179               else
27180                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27181               fi
27182             fi
27183                         additional_includedir=
27184             case "$found_dir" in
27185               */lib | */lib/)
27186                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27187                 additional_includedir="$basedir/include"
27188                 ;;
27189             esac
27190             if test "X$additional_includedir" != "X"; then
27191                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
27192                 haveit=
27193                 if test "X$additional_includedir" = "X/usr/local/include"; then
27194                   if test -n "$GCC"; then
27195                     case $host_os in
27196                       linux*) haveit=yes;;
27197                     esac
27198                   fi
27199                 fi
27200                 if test -z "$haveit"; then
27201                   for x in $CPPFLAGS $INCICONV; do
27202
27203   acl_save_prefix="$prefix"
27204   prefix="$acl_final_prefix"
27205   acl_save_exec_prefix="$exec_prefix"
27206   exec_prefix="$acl_final_exec_prefix"
27207   eval x=\"$x\"
27208   exec_prefix="$acl_save_exec_prefix"
27209   prefix="$acl_save_prefix"
27210
27211                     if test "X$x" = "X-I$additional_includedir"; then
27212                       haveit=yes
27213                       break
27214                     fi
27215                   done
27216                   if test -z "$haveit"; then
27217                     if test -d "$additional_includedir"; then
27218                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27219                     fi
27220                   fi
27221                 fi
27222               fi
27223             fi
27224                         if test -n "$found_la"; then
27225                                                         save_libdir="$libdir"
27226               case "$found_la" in
27227                 */* | *\\*) . "$found_la" ;;
27228                 *) . "./$found_la" ;;
27229               esac
27230               libdir="$save_libdir"
27231                             for dep in $dependency_libs; do
27232                 case "$dep" in
27233                   -L*)
27234                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27235                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
27236                       haveit=
27237                       if test "X$additional_libdir" = "X/usr/local/lib"; then
27238                         if test -n "$GCC"; then
27239                           case $host_os in
27240                             linux*) haveit=yes;;
27241                           esac
27242                         fi
27243                       fi
27244                       if test -z "$haveit"; then
27245                         haveit=
27246                         for x in $LDFLAGS $LIBICONV; do
27247
27248   acl_save_prefix="$prefix"
27249   prefix="$acl_final_prefix"
27250   acl_save_exec_prefix="$exec_prefix"
27251   exec_prefix="$acl_final_exec_prefix"
27252   eval x=\"$x\"
27253   exec_prefix="$acl_save_exec_prefix"
27254   prefix="$acl_save_prefix"
27255
27256                           if test "X$x" = "X-L$additional_libdir"; then
27257                             haveit=yes
27258                             break
27259                           fi
27260                         done
27261                         if test -z "$haveit"; then
27262                           if test -d "$additional_libdir"; then
27263                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27264                           fi
27265                         fi
27266                         haveit=
27267                         for x in $LDFLAGS $LTLIBICONV; do
27268
27269   acl_save_prefix="$prefix"
27270   prefix="$acl_final_prefix"
27271   acl_save_exec_prefix="$exec_prefix"
27272   exec_prefix="$acl_final_exec_prefix"
27273   eval x=\"$x\"
27274   exec_prefix="$acl_save_exec_prefix"
27275   prefix="$acl_save_prefix"
27276
27277                           if test "X$x" = "X-L$additional_libdir"; then
27278                             haveit=yes
27279                             break
27280                           fi
27281                         done
27282                         if test -z "$haveit"; then
27283                           if test -d "$additional_libdir"; then
27284                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27285                           fi
27286                         fi
27287                       fi
27288                     fi
27289                     ;;
27290                   -R*)
27291                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27292                     if test "$enable_rpath" != no; then
27293                                                                   haveit=
27294                       for x in $rpathdirs; do
27295                         if test "X$x" = "X$dir"; then
27296                           haveit=yes
27297                           break
27298                         fi
27299                       done
27300                       if test -z "$haveit"; then
27301                         rpathdirs="$rpathdirs $dir"
27302                       fi
27303                                                                   haveit=
27304                       for x in $ltrpathdirs; do
27305                         if test "X$x" = "X$dir"; then
27306                           haveit=yes
27307                           break
27308                         fi
27309                       done
27310                       if test -z "$haveit"; then
27311                         ltrpathdirs="$ltrpathdirs $dir"
27312                       fi
27313                     fi
27314                     ;;
27315                   -l*)
27316                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27317                     ;;
27318                   *.la)
27319                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27320                     ;;
27321                   *)
27322                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27323                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27324                     ;;
27325                 esac
27326               done
27327             fi
27328           else
27329                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27330             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27331           fi
27332         fi
27333       fi
27334     done
27335   done
27336   if test "X$rpathdirs" != "X"; then
27337     if test -n "$hardcode_libdir_separator"; then
27338                         alldirs=
27339       for found_dir in $rpathdirs; do
27340         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27341       done
27342             acl_save_libdir="$libdir"
27343       libdir="$alldirs"
27344       eval flag=\"$hardcode_libdir_flag_spec\"
27345       libdir="$acl_save_libdir"
27346       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27347     else
27348             for found_dir in $rpathdirs; do
27349         acl_save_libdir="$libdir"
27350         libdir="$found_dir"
27351         eval flag=\"$hardcode_libdir_flag_spec\"
27352         libdir="$acl_save_libdir"
27353         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27354       done
27355     fi
27356   fi
27357   if test "X$ltrpathdirs" != "X"; then
27358             for found_dir in $ltrpathdirs; do
27359       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27360     done
27361   fi
27362
27363
27364
27365
27366
27367
27368
27369           am_save_CPPFLAGS="$CPPFLAGS"
27370
27371   for element in $INCICONV; do
27372     haveit=
27373     for x in $CPPFLAGS; do
27374
27375   acl_save_prefix="$prefix"
27376   prefix="$acl_final_prefix"
27377   acl_save_exec_prefix="$exec_prefix"
27378   exec_prefix="$acl_final_exec_prefix"
27379   eval x=\"$x\"
27380   exec_prefix="$acl_save_exec_prefix"
27381   prefix="$acl_save_prefix"
27382
27383       if test "X$x" = "X$element"; then
27384         haveit=yes
27385         break
27386       fi
27387     done
27388     if test -z "$haveit"; then
27389       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27390     fi
27391   done
27392
27393
27394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27395 $as_echo_n "checking for iconv... " >&6; }
27396 if test "${am_cv_func_iconv+set}" = set; then :
27397   $as_echo_n "(cached) " >&6
27398 else
27399
27400     am_cv_func_iconv="no, consider installing GNU libiconv"
27401     am_cv_lib_iconv=no
27402     if test x$gcc_no_link = xyes; then
27403   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27404 fi
27405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27406 /* end confdefs.h.  */
27407 #include <stdlib.h>
27408 #include <iconv.h>
27409 int
27410 main ()
27411 {
27412 iconv_t cd = iconv_open("","");
27413        iconv(cd,NULL,NULL,NULL,NULL);
27414        iconv_close(cd);
27415   ;
27416   return 0;
27417 }
27418 _ACEOF
27419 if ac_fn_c_try_link "$LINENO"; then :
27420   am_cv_func_iconv=yes
27421 fi
27422 rm -f core conftest.err conftest.$ac_objext \
27423     conftest$ac_exeext conftest.$ac_ext
27424     if test "$am_cv_func_iconv" != yes; then
27425       am_save_LIBS="$LIBS"
27426       LIBS="$LIBS $LIBICONV"
27427       if test x$gcc_no_link = xyes; then
27428   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27429 fi
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h.  */
27432 #include <stdlib.h>
27433 #include <iconv.h>
27434 int
27435 main ()
27436 {
27437 iconv_t cd = iconv_open("","");
27438          iconv(cd,NULL,NULL,NULL,NULL);
27439          iconv_close(cd);
27440   ;
27441   return 0;
27442 }
27443 _ACEOF
27444 if ac_fn_c_try_link "$LINENO"; then :
27445   am_cv_lib_iconv=yes
27446         am_cv_func_iconv=yes
27447 fi
27448 rm -f core conftest.err conftest.$ac_objext \
27449     conftest$ac_exeext conftest.$ac_ext
27450       LIBS="$am_save_LIBS"
27451     fi
27452
27453 fi
27454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27455 $as_echo "$am_cv_func_iconv" >&6; }
27456   if test "$am_cv_func_iconv" = yes; then
27457
27458 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27459
27460   fi
27461   if test "$am_cv_lib_iconv" = yes; then
27462     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27463 $as_echo_n "checking how to link with libiconv... " >&6; }
27464     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27465 $as_echo "$LIBICONV" >&6; }
27466   else
27467             CPPFLAGS="$am_save_CPPFLAGS"
27468     LIBICONV=
27469     LTLIBICONV=
27470   fi
27471
27472
27473
27474   if test "$am_cv_func_iconv" = yes; then
27475     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27476 $as_echo_n "checking for iconv declaration... " >&6; }
27477     if test "${am_cv_proto_iconv+set}" = set; then :
27478   $as_echo_n "(cached) " >&6
27479 else
27480
27481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27482 /* end confdefs.h.  */
27483
27484 #include <stdlib.h>
27485 #include <iconv.h>
27486 extern
27487 #ifdef __cplusplus
27488 "C"
27489 #endif
27490 #if defined(__STDC__) || defined(__cplusplus)
27491 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27492 #else
27493 size_t iconv();
27494 #endif
27495
27496 int
27497 main ()
27498 {
27499
27500   ;
27501   return 0;
27502 }
27503 _ACEOF
27504 if ac_fn_c_try_compile "$LINENO"; then :
27505   am_cv_proto_iconv_arg1=""
27506 else
27507   am_cv_proto_iconv_arg1="const"
27508 fi
27509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27510       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);"
27511 fi
27512
27513     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27515          }$am_cv_proto_iconv" >&5
27516 $as_echo "${ac_t:-
27517          }$am_cv_proto_iconv" >&6; }
27518
27519 cat >>confdefs.h <<_ACEOF
27520 #define ICONV_CONST $am_cv_proto_iconv_arg1
27521 _ACEOF
27522
27523   fi
27524
27525
27526 else
27527
27528   # This lets us hard-code the functionality we know we'll have in the cross
27529   # target environment.  "Let" is a sugar-coated word placed on an especially
27530   # dull and tedious hack, actually.
27531   #
27532   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27533   # that involve linking, can't be used:
27534   #    "cannot open sim-crt0.o"
27535   #    "cannot open crt0.o"
27536   # etc.  All this is because there currently exists no unified, consistent
27537   # way for top level CC information to be passed down to target directories:
27538   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27539   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27540   # crosses can be removed.
27541
27542   # If Canadian cross, then don't pick up tools from the build directory.
27543   # Used only in GLIBCXX_EXPORT_INCLUDES.
27544   if test -n "$with_cross_host" &&
27545      test x"$build_alias" != x"$with_cross_host" &&
27546      test x"$build" != x"$target";
27547   then
27548     CANADIAN=yes
27549   else
27550     CANADIAN=no
27551   fi
27552
27553   # Construct crosses by hand, eliminating bits that need ld...
27554   # GLIBCXX_CHECK_MATH_SUPPORT
27555
27556   # First, test for "known" system libraries.  We may be using newlib even
27557   # on a hosted environment.
27558   if test "x${with_newlib}" = "xyes"; then
27559     os_include_dir="os/newlib"
27560     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27561
27562
27563     # GLIBCXX_CHECK_STDLIB_SUPPORT
27564     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27565
27566
27567     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27568
27569     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27570
27571     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27572
27573     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27574
27575     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27576
27577     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27578
27579     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27580
27581     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27582
27583     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27584
27585     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27586
27587     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27588
27589     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27590
27591     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27592
27593     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27594
27595     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27596
27597     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27598
27599     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27600
27601     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27602
27603     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27604
27605     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27606
27607     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27608
27609     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27610
27611
27612     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27613
27614   else
27615
27616 # Base decisions on target environment.
27617 case "${host}" in
27618   arm*-*-symbianelf*)
27619     # This is a freestanding configuration; there is nothing to do here.
27620     ;;
27621
27622   mips*-sde-elf*)
27623     # These definitions are for the SDE C library rather than newlib.
27624     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27625
27626
27627   # All these tests are for C++; save the language and the compiler flags.
27628   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27629   # found in GLIBCXX_CONFIGURE.
27630
27631   ac_ext=cpp
27632 ac_cpp='$CXXCPP $CPPFLAGS'
27633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27636
27637   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27638   ac_save_CXXFLAGS="$CXXFLAGS"
27639
27640   # Check for maintainer-mode bits.
27641   if test x"$USE_MAINTAINER_MODE" = xno; then
27642     WERROR=''
27643   else
27644     WERROR='-Werror'
27645   fi
27646
27647   # Check for -ffunction-sections -fdata-sections
27648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27649 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27650   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27652 /* end confdefs.h.  */
27653 int foo; void bar() { };
27654 int
27655 main ()
27656 {
27657
27658   ;
27659   return 0;
27660 }
27661 _ACEOF
27662 if ac_fn_cxx_try_compile "$LINENO"; then :
27663   ac_fdsections=yes
27664 else
27665   ac_fdsections=no
27666 fi
27667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27668   if test "$ac_test_CXXFLAGS" = set; then
27669     CXXFLAGS="$ac_save_CXXFLAGS"
27670   else
27671     # this is the suspicious part
27672     CXXFLAGS=''
27673   fi
27674   if test x"$ac_fdsections" = x"yes"; then
27675     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27676   fi
27677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27678 $as_echo "$ac_fdsections" >&6; }
27679
27680   ac_ext=c
27681 ac_cpp='$CPP $CPPFLAGS'
27682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27685
27686
27687
27688
27689
27690   # If we're not using GNU ld, then there's no point in even trying these
27691   # tests.  Check for that first.  We should have already tested for gld
27692   # by now (in libtool), but require it now just to be safe...
27693   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27694   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27695
27696
27697
27698   # The name set by libtool depends on the version of libtool.  Shame on us
27699   # for depending on an impl detail, but c'est la vie.  Older versions used
27700   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27701   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27702   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27703   # set (hence we're using an older libtool), then set it.
27704   if test x${with_gnu_ld+set} != xset; then
27705     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27706       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27707       with_gnu_ld=no
27708     else
27709       with_gnu_ld=$ac_cv_prog_gnu_ld
27710     fi
27711   fi
27712
27713   # Start by getting the version number.  I think the libtool test already
27714   # does some of this, but throws away the result.
27715   glibcxx_ld_is_gold=no
27716   if test x"$with_gnu_ld" = x"yes"; then
27717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27718 $as_echo_n "checking for ld version... " >&6; }
27719
27720     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27721       glibcxx_ld_is_gold=yes
27722     fi
27723     ldver=`$LD --version 2>/dev/null |
27724            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'`
27725
27726     glibcxx_gnu_ld_version=`echo $ldver | \
27727            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27729 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27730   fi
27731
27732   # Set --gc-sections.
27733   glibcxx_have_gc_sections=no
27734   if test "$glibcxx_ld_is_gold" = "yes"; then
27735     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27736       glibcxx_have_gc_sections=yes
27737     fi
27738   else
27739     glibcxx_gcsections_min_ld=21602
27740     if test x"$with_gnu_ld" = x"yes" &&
27741         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27742       glibcxx_have_gc_sections=yes
27743     fi
27744   fi
27745   if test "$glibcxx_have_gc_sections" = "yes"; then
27746     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27747     # NB: This flag only works reliably after 2.16.1. Configure tests
27748     # for this are difficult, so hard wire a value that should work.
27749
27750     ac_test_CFLAGS="${CFLAGS+set}"
27751     ac_save_CFLAGS="$CFLAGS"
27752     CFLAGS='-Wl,--gc-sections'
27753
27754     # Check for -Wl,--gc-sections
27755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27756 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27757     if test x$gcc_no_link = xyes; then
27758   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27759 fi
27760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27761 /* end confdefs.h.  */
27762  int one(void) { return 1; }
27763      int two(void) { return 2; }
27764
27765 int
27766 main ()
27767 {
27768  two();
27769   ;
27770   return 0;
27771 }
27772 _ACEOF
27773 if ac_fn_c_try_link "$LINENO"; then :
27774   ac_gcsections=yes
27775 else
27776   ac_gcsections=no
27777 fi
27778 rm -f core conftest.err conftest.$ac_objext \
27779     conftest$ac_exeext conftest.$ac_ext
27780     if test "$ac_gcsections" = "yes"; then
27781       rm -f conftest.c
27782       touch conftest.c
27783       if $CC -c conftest.c; then
27784         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27785            grep "Warning: gc-sections option ignored" > /dev/null; then
27786           ac_gcsections=no
27787         fi
27788       fi
27789       rm -f conftest.c conftest.o conftest
27790     fi
27791     if test "$ac_gcsections" = "yes"; then
27792       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27793     fi
27794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27795 $as_echo "$ac_gcsections" >&6; }
27796
27797     if test "$ac_test_CFLAGS" = set; then
27798       CFLAGS="$ac_save_CFLAGS"
27799     else
27800       # this is the suspicious part
27801       CFLAGS=''
27802     fi
27803   fi
27804
27805   # Set -z,relro.
27806   # Note this is only for shared objects.
27807   ac_ld_relro=no
27808   if test x"$with_gnu_ld" = x"yes"; then
27809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27810 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27811     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27812     if test -n "$cxx_z_relo"; then
27813       OPT_LDFLAGS="-Wl,-z,relro"
27814       ac_ld_relro=yes
27815     fi
27816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27817 $as_echo "$ac_ld_relro" >&6; }
27818   fi
27819
27820   # Set linker optimization flags.
27821   if test x"$with_gnu_ld" = x"yes"; then
27822     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27823   fi
27824
27825
27826
27827
27828
27829   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27830   ac_save_CXXFLAGS="$CXXFLAGS"
27831   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27832
27833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27834 $as_echo_n "checking for sin in -lm... " >&6; }
27835 if test "${ac_cv_lib_m_sin+set}" = set; then :
27836   $as_echo_n "(cached) " >&6
27837 else
27838   ac_check_lib_save_LIBS=$LIBS
27839 LIBS="-lm  $LIBS"
27840 if test x$gcc_no_link = xyes; then
27841   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27842 fi
27843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27844 /* end confdefs.h.  */
27845
27846 /* Override any GCC internal prototype to avoid an error.
27847    Use char because int might match the return type of a GCC
27848    builtin and then its argument prototype would still apply.  */
27849 #ifdef __cplusplus
27850 extern "C"
27851 #endif
27852 char sin ();
27853 int
27854 main ()
27855 {
27856 return sin ();
27857   ;
27858   return 0;
27859 }
27860 _ACEOF
27861 if ac_fn_c_try_link "$LINENO"; then :
27862   ac_cv_lib_m_sin=yes
27863 else
27864   ac_cv_lib_m_sin=no
27865 fi
27866 rm -f core conftest.err conftest.$ac_objext \
27867     conftest$ac_exeext conftest.$ac_ext
27868 LIBS=$ac_check_lib_save_LIBS
27869 fi
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27871 $as_echo "$ac_cv_lib_m_sin" >&6; }
27872 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27873   libm="-lm"
27874 fi
27875
27876   ac_save_LIBS="$LIBS"
27877   LIBS="$LIBS $libm"
27878
27879
27880
27881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27882 $as_echo_n "checking for isinf declaration... " >&6; }
27883   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27884     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27885   $as_echo_n "(cached) " >&6
27886 else
27887
27888
27889       ac_ext=cpp
27890 ac_cpp='$CXXCPP $CPPFLAGS'
27891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27894
27895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27896 /* end confdefs.h.  */
27897 #include <math.h>
27898                       #ifdef HAVE_IEEEFP_H
27899                       #include <ieeefp.h>
27900                       #endif
27901
27902 int
27903 main ()
27904 {
27905  isinf(0);
27906   ;
27907   return 0;
27908 }
27909 _ACEOF
27910 if ac_fn_cxx_try_compile "$LINENO"; then :
27911   glibcxx_cv_func_isinf_use=yes
27912 else
27913   glibcxx_cv_func_isinf_use=no
27914 fi
27915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27916       ac_ext=c
27917 ac_cpp='$CPP $CPPFLAGS'
27918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27921
27922
27923 fi
27924
27925   fi
27926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27927 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27928
27929   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27930     for ac_func in isinf
27931 do :
27932   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27933 if test "x$ac_cv_func_isinf" = x""yes; then :
27934   cat >>confdefs.h <<_ACEOF
27935 #define HAVE_ISINF 1
27936 _ACEOF
27937
27938 fi
27939 done
27940
27941   else
27942
27943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27944 $as_echo_n "checking for _isinf declaration... " >&6; }
27945   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27946     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27947   $as_echo_n "(cached) " >&6
27948 else
27949
27950
27951       ac_ext=cpp
27952 ac_cpp='$CXXCPP $CPPFLAGS'
27953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27956
27957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27958 /* end confdefs.h.  */
27959 #include <math.h>
27960                       #ifdef HAVE_IEEEFP_H
27961                       #include <ieeefp.h>
27962                       #endif
27963
27964 int
27965 main ()
27966 {
27967  _isinf(0);
27968   ;
27969   return 0;
27970 }
27971 _ACEOF
27972 if ac_fn_cxx_try_compile "$LINENO"; then :
27973   glibcxx_cv_func__isinf_use=yes
27974 else
27975   glibcxx_cv_func__isinf_use=no
27976 fi
27977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27978       ac_ext=c
27979 ac_cpp='$CPP $CPPFLAGS'
27980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27983
27984
27985 fi
27986
27987   fi
27988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27989 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27990
27991     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27992       for ac_func in _isinf
27993 do :
27994   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27995 if test "x$ac_cv_func__isinf" = x""yes; then :
27996   cat >>confdefs.h <<_ACEOF
27997 #define HAVE__ISINF 1
27998 _ACEOF
27999
28000 fi
28001 done
28002
28003     fi
28004   fi
28005
28006
28007
28008
28009
28010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28011 $as_echo_n "checking for isnan declaration... " >&6; }
28012   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28013     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28014   $as_echo_n "(cached) " >&6
28015 else
28016
28017
28018       ac_ext=cpp
28019 ac_cpp='$CXXCPP $CPPFLAGS'
28020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28023
28024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28025 /* end confdefs.h.  */
28026 #include <math.h>
28027                       #ifdef HAVE_IEEEFP_H
28028                       #include <ieeefp.h>
28029                       #endif
28030
28031 int
28032 main ()
28033 {
28034  isnan(0);
28035   ;
28036   return 0;
28037 }
28038 _ACEOF
28039 if ac_fn_cxx_try_compile "$LINENO"; then :
28040   glibcxx_cv_func_isnan_use=yes
28041 else
28042   glibcxx_cv_func_isnan_use=no
28043 fi
28044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28045       ac_ext=c
28046 ac_cpp='$CPP $CPPFLAGS'
28047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28050
28051
28052 fi
28053
28054   fi
28055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28056 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28057
28058   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28059     for ac_func in isnan
28060 do :
28061   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28062 if test "x$ac_cv_func_isnan" = x""yes; then :
28063   cat >>confdefs.h <<_ACEOF
28064 #define HAVE_ISNAN 1
28065 _ACEOF
28066
28067 fi
28068 done
28069
28070   else
28071
28072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28073 $as_echo_n "checking for _isnan declaration... " >&6; }
28074   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28075     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28076   $as_echo_n "(cached) " >&6
28077 else
28078
28079
28080       ac_ext=cpp
28081 ac_cpp='$CXXCPP $CPPFLAGS'
28082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28085
28086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h.  */
28088 #include <math.h>
28089                       #ifdef HAVE_IEEEFP_H
28090                       #include <ieeefp.h>
28091                       #endif
28092
28093 int
28094 main ()
28095 {
28096  _isnan(0);
28097   ;
28098   return 0;
28099 }
28100 _ACEOF
28101 if ac_fn_cxx_try_compile "$LINENO"; then :
28102   glibcxx_cv_func__isnan_use=yes
28103 else
28104   glibcxx_cv_func__isnan_use=no
28105 fi
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28107       ac_ext=c
28108 ac_cpp='$CPP $CPPFLAGS'
28109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28112
28113
28114 fi
28115
28116   fi
28117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28118 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28119
28120     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28121       for ac_func in _isnan
28122 do :
28123   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28124 if test "x$ac_cv_func__isnan" = x""yes; then :
28125   cat >>confdefs.h <<_ACEOF
28126 #define HAVE__ISNAN 1
28127 _ACEOF
28128
28129 fi
28130 done
28131
28132     fi
28133   fi
28134
28135
28136
28137
28138
28139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28140 $as_echo_n "checking for finite declaration... " >&6; }
28141   if test x${glibcxx_cv_func_finite_use+set} != xset; then
28142     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28143   $as_echo_n "(cached) " >&6
28144 else
28145
28146
28147       ac_ext=cpp
28148 ac_cpp='$CXXCPP $CPPFLAGS'
28149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28152
28153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28154 /* end confdefs.h.  */
28155 #include <math.h>
28156                       #ifdef HAVE_IEEEFP_H
28157                       #include <ieeefp.h>
28158                       #endif
28159
28160 int
28161 main ()
28162 {
28163  finite(0);
28164   ;
28165   return 0;
28166 }
28167 _ACEOF
28168 if ac_fn_cxx_try_compile "$LINENO"; then :
28169   glibcxx_cv_func_finite_use=yes
28170 else
28171   glibcxx_cv_func_finite_use=no
28172 fi
28173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28174       ac_ext=c
28175 ac_cpp='$CPP $CPPFLAGS'
28176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28179
28180
28181 fi
28182
28183   fi
28184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28185 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28186
28187   if test x$glibcxx_cv_func_finite_use = x"yes"; then
28188     for ac_func in finite
28189 do :
28190   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28191 if test "x$ac_cv_func_finite" = x""yes; then :
28192   cat >>confdefs.h <<_ACEOF
28193 #define HAVE_FINITE 1
28194 _ACEOF
28195
28196 fi
28197 done
28198
28199   else
28200
28201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28202 $as_echo_n "checking for _finite declaration... " >&6; }
28203   if test x${glibcxx_cv_func__finite_use+set} != xset; then
28204     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28205   $as_echo_n "(cached) " >&6
28206 else
28207
28208
28209       ac_ext=cpp
28210 ac_cpp='$CXXCPP $CPPFLAGS'
28211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28214
28215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216 /* end confdefs.h.  */
28217 #include <math.h>
28218                       #ifdef HAVE_IEEEFP_H
28219                       #include <ieeefp.h>
28220                       #endif
28221
28222 int
28223 main ()
28224 {
28225  _finite(0);
28226   ;
28227   return 0;
28228 }
28229 _ACEOF
28230 if ac_fn_cxx_try_compile "$LINENO"; then :
28231   glibcxx_cv_func__finite_use=yes
28232 else
28233   glibcxx_cv_func__finite_use=no
28234 fi
28235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28236       ac_ext=c
28237 ac_cpp='$CPP $CPPFLAGS'
28238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28241
28242
28243 fi
28244
28245   fi
28246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28247 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28248
28249     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28250       for ac_func in _finite
28251 do :
28252   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28253 if test "x$ac_cv_func__finite" = x""yes; then :
28254   cat >>confdefs.h <<_ACEOF
28255 #define HAVE__FINITE 1
28256 _ACEOF
28257
28258 fi
28259 done
28260
28261     fi
28262   fi
28263
28264
28265
28266
28267
28268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28269 $as_echo_n "checking for sincos declaration... " >&6; }
28270   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28271     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28272   $as_echo_n "(cached) " >&6
28273 else
28274
28275
28276       ac_ext=cpp
28277 ac_cpp='$CXXCPP $CPPFLAGS'
28278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28281
28282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28283 /* end confdefs.h.  */
28284 #include <math.h>
28285 int
28286 main ()
28287 {
28288  sincos(0, 0, 0);
28289   ;
28290   return 0;
28291 }
28292 _ACEOF
28293 if ac_fn_cxx_try_compile "$LINENO"; then :
28294   glibcxx_cv_func_sincos_use=yes
28295 else
28296   glibcxx_cv_func_sincos_use=no
28297 fi
28298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28299       ac_ext=c
28300 ac_cpp='$CPP $CPPFLAGS'
28301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28304
28305
28306 fi
28307
28308   fi
28309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28310 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28311
28312   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28313     for ac_func in sincos
28314 do :
28315   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28316 if test "x$ac_cv_func_sincos" = x""yes; then :
28317   cat >>confdefs.h <<_ACEOF
28318 #define HAVE_SINCOS 1
28319 _ACEOF
28320
28321 fi
28322 done
28323
28324   else
28325
28326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28327 $as_echo_n "checking for _sincos declaration... " >&6; }
28328   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28329     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28330   $as_echo_n "(cached) " >&6
28331 else
28332
28333
28334       ac_ext=cpp
28335 ac_cpp='$CXXCPP $CPPFLAGS'
28336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28339
28340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28341 /* end confdefs.h.  */
28342 #include <math.h>
28343 int
28344 main ()
28345 {
28346  _sincos(0, 0, 0);
28347   ;
28348   return 0;
28349 }
28350 _ACEOF
28351 if ac_fn_cxx_try_compile "$LINENO"; then :
28352   glibcxx_cv_func__sincos_use=yes
28353 else
28354   glibcxx_cv_func__sincos_use=no
28355 fi
28356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28357       ac_ext=c
28358 ac_cpp='$CPP $CPPFLAGS'
28359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28362
28363
28364 fi
28365
28366   fi
28367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28368 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28369
28370     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28371       for ac_func in _sincos
28372 do :
28373   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28374 if test "x$ac_cv_func__sincos" = x""yes; then :
28375   cat >>confdefs.h <<_ACEOF
28376 #define HAVE__SINCOS 1
28377 _ACEOF
28378
28379 fi
28380 done
28381
28382     fi
28383   fi
28384
28385
28386
28387
28388
28389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28390 $as_echo_n "checking for fpclass declaration... " >&6; }
28391   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28392     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28393   $as_echo_n "(cached) " >&6
28394 else
28395
28396
28397       ac_ext=cpp
28398 ac_cpp='$CXXCPP $CPPFLAGS'
28399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28402
28403       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28404 /* end confdefs.h.  */
28405 #include <math.h>
28406                       #ifdef HAVE_IEEEFP_H
28407                       #include <ieeefp.h>
28408                       #endif
28409
28410 int
28411 main ()
28412 {
28413  fpclass(0);
28414   ;
28415   return 0;
28416 }
28417 _ACEOF
28418 if ac_fn_cxx_try_compile "$LINENO"; then :
28419   glibcxx_cv_func_fpclass_use=yes
28420 else
28421   glibcxx_cv_func_fpclass_use=no
28422 fi
28423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28424       ac_ext=c
28425 ac_cpp='$CPP $CPPFLAGS'
28426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28429
28430
28431 fi
28432
28433   fi
28434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28435 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28436
28437   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28438     for ac_func in fpclass
28439 do :
28440   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28441 if test "x$ac_cv_func_fpclass" = x""yes; then :
28442   cat >>confdefs.h <<_ACEOF
28443 #define HAVE_FPCLASS 1
28444 _ACEOF
28445
28446 fi
28447 done
28448
28449   else
28450
28451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28452 $as_echo_n "checking for _fpclass declaration... " >&6; }
28453   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28454     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28455   $as_echo_n "(cached) " >&6
28456 else
28457
28458
28459       ac_ext=cpp
28460 ac_cpp='$CXXCPP $CPPFLAGS'
28461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28464
28465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28466 /* end confdefs.h.  */
28467 #include <math.h>
28468                       #ifdef HAVE_IEEEFP_H
28469                       #include <ieeefp.h>
28470                       #endif
28471
28472 int
28473 main ()
28474 {
28475  _fpclass(0);
28476   ;
28477   return 0;
28478 }
28479 _ACEOF
28480 if ac_fn_cxx_try_compile "$LINENO"; then :
28481   glibcxx_cv_func__fpclass_use=yes
28482 else
28483   glibcxx_cv_func__fpclass_use=no
28484 fi
28485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28486       ac_ext=c
28487 ac_cpp='$CPP $CPPFLAGS'
28488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28491
28492
28493 fi
28494
28495   fi
28496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28497 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28498
28499     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28500       for ac_func in _fpclass
28501 do :
28502   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28503 if test "x$ac_cv_func__fpclass" = x""yes; then :
28504   cat >>confdefs.h <<_ACEOF
28505 #define HAVE__FPCLASS 1
28506 _ACEOF
28507
28508 fi
28509 done
28510
28511     fi
28512   fi
28513
28514
28515
28516
28517
28518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28519 $as_echo_n "checking for qfpclass declaration... " >&6; }
28520   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28521     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28522   $as_echo_n "(cached) " >&6
28523 else
28524
28525
28526       ac_ext=cpp
28527 ac_cpp='$CXXCPP $CPPFLAGS'
28528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28531
28532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28533 /* end confdefs.h.  */
28534 #include <math.h>
28535                       #ifdef HAVE_IEEEFP_H
28536                       #include <ieeefp.h>
28537                       #endif
28538
28539 int
28540 main ()
28541 {
28542  qfpclass(0);
28543   ;
28544   return 0;
28545 }
28546 _ACEOF
28547 if ac_fn_cxx_try_compile "$LINENO"; then :
28548   glibcxx_cv_func_qfpclass_use=yes
28549 else
28550   glibcxx_cv_func_qfpclass_use=no
28551 fi
28552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28553       ac_ext=c
28554 ac_cpp='$CPP $CPPFLAGS'
28555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28558
28559
28560 fi
28561
28562   fi
28563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28564 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28565
28566   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28567     for ac_func in qfpclass
28568 do :
28569   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28570 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28571   cat >>confdefs.h <<_ACEOF
28572 #define HAVE_QFPCLASS 1
28573 _ACEOF
28574
28575 fi
28576 done
28577
28578   else
28579
28580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28581 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28582   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28583     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28584   $as_echo_n "(cached) " >&6
28585 else
28586
28587
28588       ac_ext=cpp
28589 ac_cpp='$CXXCPP $CPPFLAGS'
28590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28593
28594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28595 /* end confdefs.h.  */
28596 #include <math.h>
28597                       #ifdef HAVE_IEEEFP_H
28598                       #include <ieeefp.h>
28599                       #endif
28600
28601 int
28602 main ()
28603 {
28604  _qfpclass(0);
28605   ;
28606   return 0;
28607 }
28608 _ACEOF
28609 if ac_fn_cxx_try_compile "$LINENO"; then :
28610   glibcxx_cv_func__qfpclass_use=yes
28611 else
28612   glibcxx_cv_func__qfpclass_use=no
28613 fi
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28615       ac_ext=c
28616 ac_cpp='$CPP $CPPFLAGS'
28617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28620
28621
28622 fi
28623
28624   fi
28625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28626 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28627
28628     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28629       for ac_func in _qfpclass
28630 do :
28631   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28632 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28633   cat >>confdefs.h <<_ACEOF
28634 #define HAVE__QFPCLASS 1
28635 _ACEOF
28636
28637 fi
28638 done
28639
28640     fi
28641   fi
28642
28643
28644
28645
28646
28647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28648 $as_echo_n "checking for hypot declaration... " >&6; }
28649   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28650     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28651   $as_echo_n "(cached) " >&6
28652 else
28653
28654
28655       ac_ext=cpp
28656 ac_cpp='$CXXCPP $CPPFLAGS'
28657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28660
28661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28662 /* end confdefs.h.  */
28663 #include <math.h>
28664 int
28665 main ()
28666 {
28667  hypot(0, 0);
28668   ;
28669   return 0;
28670 }
28671 _ACEOF
28672 if ac_fn_cxx_try_compile "$LINENO"; then :
28673   glibcxx_cv_func_hypot_use=yes
28674 else
28675   glibcxx_cv_func_hypot_use=no
28676 fi
28677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28678       ac_ext=c
28679 ac_cpp='$CPP $CPPFLAGS'
28680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28683
28684
28685 fi
28686
28687   fi
28688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28689 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28690
28691   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28692     for ac_func in hypot
28693 do :
28694   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28695 if test "x$ac_cv_func_hypot" = x""yes; then :
28696   cat >>confdefs.h <<_ACEOF
28697 #define HAVE_HYPOT 1
28698 _ACEOF
28699
28700 fi
28701 done
28702
28703   else
28704
28705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28706 $as_echo_n "checking for _hypot declaration... " >&6; }
28707   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28708     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28709   $as_echo_n "(cached) " >&6
28710 else
28711
28712
28713       ac_ext=cpp
28714 ac_cpp='$CXXCPP $CPPFLAGS'
28715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28718
28719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28720 /* end confdefs.h.  */
28721 #include <math.h>
28722 int
28723 main ()
28724 {
28725  _hypot(0, 0);
28726   ;
28727   return 0;
28728 }
28729 _ACEOF
28730 if ac_fn_cxx_try_compile "$LINENO"; then :
28731   glibcxx_cv_func__hypot_use=yes
28732 else
28733   glibcxx_cv_func__hypot_use=no
28734 fi
28735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28736       ac_ext=c
28737 ac_cpp='$CPP $CPPFLAGS'
28738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28741
28742
28743 fi
28744
28745   fi
28746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28747 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28748
28749     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28750       for ac_func in _hypot
28751 do :
28752   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28753 if test "x$ac_cv_func__hypot" = x""yes; then :
28754   cat >>confdefs.h <<_ACEOF
28755 #define HAVE__HYPOT 1
28756 _ACEOF
28757
28758 fi
28759 done
28760
28761     fi
28762   fi
28763
28764
28765
28766
28767
28768     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28769 $as_echo_n "checking for float trig functions... " >&6; }
28770   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28771   $as_echo_n "(cached) " >&6
28772 else
28773
28774
28775     ac_ext=cpp
28776 ac_cpp='$CXXCPP $CPPFLAGS'
28777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28780
28781     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h.  */
28783 #include <math.h>
28784 int
28785 main ()
28786 {
28787 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28788   ;
28789   return 0;
28790 }
28791 _ACEOF
28792 if ac_fn_cxx_try_compile "$LINENO"; then :
28793   glibcxx_cv_func_float_trig_use=yes
28794 else
28795   glibcxx_cv_func_float_trig_use=no
28796 fi
28797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28798     ac_ext=c
28799 ac_cpp='$CPP $CPPFLAGS'
28800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28803
28804 fi
28805
28806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28807 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28808   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28809     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28810 do :
28811   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28813 eval as_val=\$$as_ac_var
28814    if test "x$as_val" = x""yes; then :
28815   cat >>confdefs.h <<_ACEOF
28816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28817 _ACEOF
28818
28819 fi
28820 done
28821
28822   else
28823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28824 $as_echo_n "checking for _float trig functions... " >&6; }
28825     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28826   $as_echo_n "(cached) " >&6
28827 else
28828
28829
28830       ac_ext=cpp
28831 ac_cpp='$CXXCPP $CPPFLAGS'
28832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28835
28836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h.  */
28838 #include <math.h>
28839 int
28840 main ()
28841 {
28842 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28843   ;
28844   return 0;
28845 }
28846 _ACEOF
28847 if ac_fn_cxx_try_compile "$LINENO"; then :
28848   glibcxx_cv_func__float_trig_use=yes
28849 else
28850   glibcxx_cv_func__float_trig_use=no
28851 fi
28852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28853       ac_ext=c
28854 ac_cpp='$CPP $CPPFLAGS'
28855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28858
28859 fi
28860
28861     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28862 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28863     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28864       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28865 do :
28866   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28868 eval as_val=\$$as_ac_var
28869    if test "x$as_val" = x""yes; then :
28870   cat >>confdefs.h <<_ACEOF
28871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28872 _ACEOF
28873
28874 fi
28875 done
28876
28877     fi
28878   fi
28879
28880
28881
28882
28883
28884     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28885 $as_echo_n "checking for float round functions... " >&6; }
28886   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28887   $as_echo_n "(cached) " >&6
28888 else
28889
28890
28891     ac_ext=cpp
28892 ac_cpp='$CXXCPP $CPPFLAGS'
28893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28896
28897     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28898 /* end confdefs.h.  */
28899 #include <math.h>
28900 int
28901 main ()
28902 {
28903 ceilf (0); floorf (0);
28904   ;
28905   return 0;
28906 }
28907 _ACEOF
28908 if ac_fn_cxx_try_compile "$LINENO"; then :
28909   glibcxx_cv_func_float_round_use=yes
28910 else
28911   glibcxx_cv_func_float_round_use=no
28912 fi
28913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28914     ac_ext=c
28915 ac_cpp='$CPP $CPPFLAGS'
28916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28919
28920 fi
28921
28922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28923 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28924   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28925     for ac_func in ceilf floorf
28926 do :
28927   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28929 eval as_val=\$$as_ac_var
28930    if test "x$as_val" = x""yes; then :
28931   cat >>confdefs.h <<_ACEOF
28932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28933 _ACEOF
28934
28935 fi
28936 done
28937
28938   else
28939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28940 $as_echo_n "checking for _float round functions... " >&6; }
28941     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28942   $as_echo_n "(cached) " >&6
28943 else
28944
28945
28946       ac_ext=cpp
28947 ac_cpp='$CXXCPP $CPPFLAGS'
28948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28951
28952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28953 /* end confdefs.h.  */
28954 #include <math.h>
28955 int
28956 main ()
28957 {
28958 _ceilf (0); _floorf (0);
28959   ;
28960   return 0;
28961 }
28962 _ACEOF
28963 if ac_fn_cxx_try_compile "$LINENO"; then :
28964   glibcxx_cv_func__float_round_use=yes
28965 else
28966   glibcxx_cv_func__float_round_use=no
28967 fi
28968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28969       ac_ext=c
28970 ac_cpp='$CPP $CPPFLAGS'
28971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28974
28975 fi
28976
28977     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28978 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28979     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28980       for ac_func in _ceilf _floorf
28981 do :
28982   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28984 eval as_val=\$$as_ac_var
28985    if test "x$as_val" = x""yes; then :
28986   cat >>confdefs.h <<_ACEOF
28987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28988 _ACEOF
28989
28990 fi
28991 done
28992
28993     fi
28994   fi
28995
28996
28997
28998
28999
29000
29001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29002 $as_echo_n "checking for expf declaration... " >&6; }
29003   if test x${glibcxx_cv_func_expf_use+set} != xset; then
29004     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29005   $as_echo_n "(cached) " >&6
29006 else
29007
29008
29009       ac_ext=cpp
29010 ac_cpp='$CXXCPP $CPPFLAGS'
29011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29014
29015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29016 /* end confdefs.h.  */
29017 #include <math.h>
29018                       #ifdef HAVE_IEEEFP_H
29019                       #include <ieeefp.h>
29020                       #endif
29021
29022 int
29023 main ()
29024 {
29025  expf(0);
29026   ;
29027   return 0;
29028 }
29029 _ACEOF
29030 if ac_fn_cxx_try_compile "$LINENO"; then :
29031   glibcxx_cv_func_expf_use=yes
29032 else
29033   glibcxx_cv_func_expf_use=no
29034 fi
29035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29036       ac_ext=c
29037 ac_cpp='$CPP $CPPFLAGS'
29038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29041
29042
29043 fi
29044
29045   fi
29046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29047 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29048
29049   if test x$glibcxx_cv_func_expf_use = x"yes"; then
29050     for ac_func in expf
29051 do :
29052   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29053 if test "x$ac_cv_func_expf" = x""yes; then :
29054   cat >>confdefs.h <<_ACEOF
29055 #define HAVE_EXPF 1
29056 _ACEOF
29057
29058 fi
29059 done
29060
29061   else
29062
29063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29064 $as_echo_n "checking for _expf declaration... " >&6; }
29065   if test x${glibcxx_cv_func__expf_use+set} != xset; then
29066     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29067   $as_echo_n "(cached) " >&6
29068 else
29069
29070
29071       ac_ext=cpp
29072 ac_cpp='$CXXCPP $CPPFLAGS'
29073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29076
29077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29078 /* end confdefs.h.  */
29079 #include <math.h>
29080                       #ifdef HAVE_IEEEFP_H
29081                       #include <ieeefp.h>
29082                       #endif
29083
29084 int
29085 main ()
29086 {
29087  _expf(0);
29088   ;
29089   return 0;
29090 }
29091 _ACEOF
29092 if ac_fn_cxx_try_compile "$LINENO"; then :
29093   glibcxx_cv_func__expf_use=yes
29094 else
29095   glibcxx_cv_func__expf_use=no
29096 fi
29097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29098       ac_ext=c
29099 ac_cpp='$CPP $CPPFLAGS'
29100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29103
29104
29105 fi
29106
29107   fi
29108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29109 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29110
29111     if test x$glibcxx_cv_func__expf_use = x"yes"; then
29112       for ac_func in _expf
29113 do :
29114   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29115 if test "x$ac_cv_func__expf" = x""yes; then :
29116   cat >>confdefs.h <<_ACEOF
29117 #define HAVE__EXPF 1
29118 _ACEOF
29119
29120 fi
29121 done
29122
29123     fi
29124   fi
29125
29126
29127
29128
29129
29130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29131 $as_echo_n "checking for isnanf declaration... " >&6; }
29132   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29133     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29134   $as_echo_n "(cached) " >&6
29135 else
29136
29137
29138       ac_ext=cpp
29139 ac_cpp='$CXXCPP $CPPFLAGS'
29140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29143
29144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h.  */
29146 #include <math.h>
29147                       #ifdef HAVE_IEEEFP_H
29148                       #include <ieeefp.h>
29149                       #endif
29150
29151 int
29152 main ()
29153 {
29154  isnanf(0);
29155   ;
29156   return 0;
29157 }
29158 _ACEOF
29159 if ac_fn_cxx_try_compile "$LINENO"; then :
29160   glibcxx_cv_func_isnanf_use=yes
29161 else
29162   glibcxx_cv_func_isnanf_use=no
29163 fi
29164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29165       ac_ext=c
29166 ac_cpp='$CPP $CPPFLAGS'
29167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29170
29171
29172 fi
29173
29174   fi
29175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29176 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29177
29178   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29179     for ac_func in isnanf
29180 do :
29181   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29182 if test "x$ac_cv_func_isnanf" = x""yes; then :
29183   cat >>confdefs.h <<_ACEOF
29184 #define HAVE_ISNANF 1
29185 _ACEOF
29186
29187 fi
29188 done
29189
29190   else
29191
29192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29193 $as_echo_n "checking for _isnanf declaration... " >&6; }
29194   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29195     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29196   $as_echo_n "(cached) " >&6
29197 else
29198
29199
29200       ac_ext=cpp
29201 ac_cpp='$CXXCPP $CPPFLAGS'
29202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29205
29206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29207 /* end confdefs.h.  */
29208 #include <math.h>
29209                       #ifdef HAVE_IEEEFP_H
29210                       #include <ieeefp.h>
29211                       #endif
29212
29213 int
29214 main ()
29215 {
29216  _isnanf(0);
29217   ;
29218   return 0;
29219 }
29220 _ACEOF
29221 if ac_fn_cxx_try_compile "$LINENO"; then :
29222   glibcxx_cv_func__isnanf_use=yes
29223 else
29224   glibcxx_cv_func__isnanf_use=no
29225 fi
29226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29227       ac_ext=c
29228 ac_cpp='$CPP $CPPFLAGS'
29229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29232
29233
29234 fi
29235
29236   fi
29237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29238 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29239
29240     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29241       for ac_func in _isnanf
29242 do :
29243   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29244 if test "x$ac_cv_func__isnanf" = x""yes; then :
29245   cat >>confdefs.h <<_ACEOF
29246 #define HAVE__ISNANF 1
29247 _ACEOF
29248
29249 fi
29250 done
29251
29252     fi
29253   fi
29254
29255
29256
29257
29258
29259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29260 $as_echo_n "checking for isinff declaration... " >&6; }
29261   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29262     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29263   $as_echo_n "(cached) " >&6
29264 else
29265
29266
29267       ac_ext=cpp
29268 ac_cpp='$CXXCPP $CPPFLAGS'
29269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29272
29273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29274 /* end confdefs.h.  */
29275 #include <math.h>
29276                       #ifdef HAVE_IEEEFP_H
29277                       #include <ieeefp.h>
29278                       #endif
29279
29280 int
29281 main ()
29282 {
29283  isinff(0);
29284   ;
29285   return 0;
29286 }
29287 _ACEOF
29288 if ac_fn_cxx_try_compile "$LINENO"; then :
29289   glibcxx_cv_func_isinff_use=yes
29290 else
29291   glibcxx_cv_func_isinff_use=no
29292 fi
29293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29294       ac_ext=c
29295 ac_cpp='$CPP $CPPFLAGS'
29296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29299
29300
29301 fi
29302
29303   fi
29304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29305 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29306
29307   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29308     for ac_func in isinff
29309 do :
29310   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29311 if test "x$ac_cv_func_isinff" = x""yes; then :
29312   cat >>confdefs.h <<_ACEOF
29313 #define HAVE_ISINFF 1
29314 _ACEOF
29315
29316 fi
29317 done
29318
29319   else
29320
29321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29322 $as_echo_n "checking for _isinff declaration... " >&6; }
29323   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29324     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29325   $as_echo_n "(cached) " >&6
29326 else
29327
29328
29329       ac_ext=cpp
29330 ac_cpp='$CXXCPP $CPPFLAGS'
29331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29334
29335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29336 /* end confdefs.h.  */
29337 #include <math.h>
29338                       #ifdef HAVE_IEEEFP_H
29339                       #include <ieeefp.h>
29340                       #endif
29341
29342 int
29343 main ()
29344 {
29345  _isinff(0);
29346   ;
29347   return 0;
29348 }
29349 _ACEOF
29350 if ac_fn_cxx_try_compile "$LINENO"; then :
29351   glibcxx_cv_func__isinff_use=yes
29352 else
29353   glibcxx_cv_func__isinff_use=no
29354 fi
29355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29356       ac_ext=c
29357 ac_cpp='$CPP $CPPFLAGS'
29358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29361
29362
29363 fi
29364
29365   fi
29366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29367 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29368
29369     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29370       for ac_func in _isinff
29371 do :
29372   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29373 if test "x$ac_cv_func__isinff" = x""yes; then :
29374   cat >>confdefs.h <<_ACEOF
29375 #define HAVE__ISINFF 1
29376 _ACEOF
29377
29378 fi
29379 done
29380
29381     fi
29382   fi
29383
29384
29385
29386
29387
29388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29389 $as_echo_n "checking for atan2f declaration... " >&6; }
29390   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29391     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29392   $as_echo_n "(cached) " >&6
29393 else
29394
29395
29396       ac_ext=cpp
29397 ac_cpp='$CXXCPP $CPPFLAGS'
29398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29401
29402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29403 /* end confdefs.h.  */
29404 #include <math.h>
29405 int
29406 main ()
29407 {
29408  atan2f(0, 0);
29409   ;
29410   return 0;
29411 }
29412 _ACEOF
29413 if ac_fn_cxx_try_compile "$LINENO"; then :
29414   glibcxx_cv_func_atan2f_use=yes
29415 else
29416   glibcxx_cv_func_atan2f_use=no
29417 fi
29418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29419       ac_ext=c
29420 ac_cpp='$CPP $CPPFLAGS'
29421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29424
29425
29426 fi
29427
29428   fi
29429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29430 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29431
29432   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29433     for ac_func in atan2f
29434 do :
29435   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29436 if test "x$ac_cv_func_atan2f" = x""yes; then :
29437   cat >>confdefs.h <<_ACEOF
29438 #define HAVE_ATAN2F 1
29439 _ACEOF
29440
29441 fi
29442 done
29443
29444   else
29445
29446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29447 $as_echo_n "checking for _atan2f declaration... " >&6; }
29448   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29449     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29450   $as_echo_n "(cached) " >&6
29451 else
29452
29453
29454       ac_ext=cpp
29455 ac_cpp='$CXXCPP $CPPFLAGS'
29456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29459
29460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29461 /* end confdefs.h.  */
29462 #include <math.h>
29463 int
29464 main ()
29465 {
29466  _atan2f(0, 0);
29467   ;
29468   return 0;
29469 }
29470 _ACEOF
29471 if ac_fn_cxx_try_compile "$LINENO"; then :
29472   glibcxx_cv_func__atan2f_use=yes
29473 else
29474   glibcxx_cv_func__atan2f_use=no
29475 fi
29476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29477       ac_ext=c
29478 ac_cpp='$CPP $CPPFLAGS'
29479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29482
29483
29484 fi
29485
29486   fi
29487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29488 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29489
29490     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29491       for ac_func in _atan2f
29492 do :
29493   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29494 if test "x$ac_cv_func__atan2f" = x""yes; then :
29495   cat >>confdefs.h <<_ACEOF
29496 #define HAVE__ATAN2F 1
29497 _ACEOF
29498
29499 fi
29500 done
29501
29502     fi
29503   fi
29504
29505
29506
29507
29508
29509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29510 $as_echo_n "checking for fabsf declaration... " >&6; }
29511   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29512     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29513   $as_echo_n "(cached) " >&6
29514 else
29515
29516
29517       ac_ext=cpp
29518 ac_cpp='$CXXCPP $CPPFLAGS'
29519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29522
29523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29524 /* end confdefs.h.  */
29525 #include <math.h>
29526                       #ifdef HAVE_IEEEFP_H
29527                       #include <ieeefp.h>
29528                       #endif
29529
29530 int
29531 main ()
29532 {
29533  fabsf(0);
29534   ;
29535   return 0;
29536 }
29537 _ACEOF
29538 if ac_fn_cxx_try_compile "$LINENO"; then :
29539   glibcxx_cv_func_fabsf_use=yes
29540 else
29541   glibcxx_cv_func_fabsf_use=no
29542 fi
29543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29544       ac_ext=c
29545 ac_cpp='$CPP $CPPFLAGS'
29546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29549
29550
29551 fi
29552
29553   fi
29554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29555 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29556
29557   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29558     for ac_func in fabsf
29559 do :
29560   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29561 if test "x$ac_cv_func_fabsf" = x""yes; then :
29562   cat >>confdefs.h <<_ACEOF
29563 #define HAVE_FABSF 1
29564 _ACEOF
29565
29566 fi
29567 done
29568
29569   else
29570
29571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29572 $as_echo_n "checking for _fabsf declaration... " >&6; }
29573   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29574     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29575   $as_echo_n "(cached) " >&6
29576 else
29577
29578
29579       ac_ext=cpp
29580 ac_cpp='$CXXCPP $CPPFLAGS'
29581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29584
29585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29586 /* end confdefs.h.  */
29587 #include <math.h>
29588                       #ifdef HAVE_IEEEFP_H
29589                       #include <ieeefp.h>
29590                       #endif
29591
29592 int
29593 main ()
29594 {
29595  _fabsf(0);
29596   ;
29597   return 0;
29598 }
29599 _ACEOF
29600 if ac_fn_cxx_try_compile "$LINENO"; then :
29601   glibcxx_cv_func__fabsf_use=yes
29602 else
29603   glibcxx_cv_func__fabsf_use=no
29604 fi
29605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29606       ac_ext=c
29607 ac_cpp='$CPP $CPPFLAGS'
29608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29611
29612
29613 fi
29614
29615   fi
29616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29617 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29618
29619     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29620       for ac_func in _fabsf
29621 do :
29622   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29623 if test "x$ac_cv_func__fabsf" = x""yes; then :
29624   cat >>confdefs.h <<_ACEOF
29625 #define HAVE__FABSF 1
29626 _ACEOF
29627
29628 fi
29629 done
29630
29631     fi
29632   fi
29633
29634
29635
29636
29637
29638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29639 $as_echo_n "checking for fmodf declaration... " >&6; }
29640   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29641     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29642   $as_echo_n "(cached) " >&6
29643 else
29644
29645
29646       ac_ext=cpp
29647 ac_cpp='$CXXCPP $CPPFLAGS'
29648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29651
29652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29653 /* end confdefs.h.  */
29654 #include <math.h>
29655 int
29656 main ()
29657 {
29658  fmodf(0, 0);
29659   ;
29660   return 0;
29661 }
29662 _ACEOF
29663 if ac_fn_cxx_try_compile "$LINENO"; then :
29664   glibcxx_cv_func_fmodf_use=yes
29665 else
29666   glibcxx_cv_func_fmodf_use=no
29667 fi
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29669       ac_ext=c
29670 ac_cpp='$CPP $CPPFLAGS'
29671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29674
29675
29676 fi
29677
29678   fi
29679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29680 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29681
29682   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29683     for ac_func in fmodf
29684 do :
29685   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29686 if test "x$ac_cv_func_fmodf" = x""yes; then :
29687   cat >>confdefs.h <<_ACEOF
29688 #define HAVE_FMODF 1
29689 _ACEOF
29690
29691 fi
29692 done
29693
29694   else
29695
29696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29697 $as_echo_n "checking for _fmodf declaration... " >&6; }
29698   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29699     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29700   $as_echo_n "(cached) " >&6
29701 else
29702
29703
29704       ac_ext=cpp
29705 ac_cpp='$CXXCPP $CPPFLAGS'
29706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29709
29710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29711 /* end confdefs.h.  */
29712 #include <math.h>
29713 int
29714 main ()
29715 {
29716  _fmodf(0, 0);
29717   ;
29718   return 0;
29719 }
29720 _ACEOF
29721 if ac_fn_cxx_try_compile "$LINENO"; then :
29722   glibcxx_cv_func__fmodf_use=yes
29723 else
29724   glibcxx_cv_func__fmodf_use=no
29725 fi
29726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29727       ac_ext=c
29728 ac_cpp='$CPP $CPPFLAGS'
29729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29732
29733
29734 fi
29735
29736   fi
29737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29738 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29739
29740     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29741       for ac_func in _fmodf
29742 do :
29743   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29744 if test "x$ac_cv_func__fmodf" = x""yes; then :
29745   cat >>confdefs.h <<_ACEOF
29746 #define HAVE__FMODF 1
29747 _ACEOF
29748
29749 fi
29750 done
29751
29752     fi
29753   fi
29754
29755
29756
29757
29758
29759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29760 $as_echo_n "checking for frexpf declaration... " >&6; }
29761   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29762     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29763   $as_echo_n "(cached) " >&6
29764 else
29765
29766
29767       ac_ext=cpp
29768 ac_cpp='$CXXCPP $CPPFLAGS'
29769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29772
29773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29774 /* end confdefs.h.  */
29775 #include <math.h>
29776 int
29777 main ()
29778 {
29779  frexpf(0, 0);
29780   ;
29781   return 0;
29782 }
29783 _ACEOF
29784 if ac_fn_cxx_try_compile "$LINENO"; then :
29785   glibcxx_cv_func_frexpf_use=yes
29786 else
29787   glibcxx_cv_func_frexpf_use=no
29788 fi
29789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29790       ac_ext=c
29791 ac_cpp='$CPP $CPPFLAGS'
29792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29795
29796
29797 fi
29798
29799   fi
29800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29801 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29802
29803   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29804     for ac_func in frexpf
29805 do :
29806   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29807 if test "x$ac_cv_func_frexpf" = x""yes; then :
29808   cat >>confdefs.h <<_ACEOF
29809 #define HAVE_FREXPF 1
29810 _ACEOF
29811
29812 fi
29813 done
29814
29815   else
29816
29817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29818 $as_echo_n "checking for _frexpf declaration... " >&6; }
29819   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29820     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29821   $as_echo_n "(cached) " >&6
29822 else
29823
29824
29825       ac_ext=cpp
29826 ac_cpp='$CXXCPP $CPPFLAGS'
29827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29830
29831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29832 /* end confdefs.h.  */
29833 #include <math.h>
29834 int
29835 main ()
29836 {
29837  _frexpf(0, 0);
29838   ;
29839   return 0;
29840 }
29841 _ACEOF
29842 if ac_fn_cxx_try_compile "$LINENO"; then :
29843   glibcxx_cv_func__frexpf_use=yes
29844 else
29845   glibcxx_cv_func__frexpf_use=no
29846 fi
29847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29848       ac_ext=c
29849 ac_cpp='$CPP $CPPFLAGS'
29850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29853
29854
29855 fi
29856
29857   fi
29858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29859 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29860
29861     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29862       for ac_func in _frexpf
29863 do :
29864   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29865 if test "x$ac_cv_func__frexpf" = x""yes; then :
29866   cat >>confdefs.h <<_ACEOF
29867 #define HAVE__FREXPF 1
29868 _ACEOF
29869
29870 fi
29871 done
29872
29873     fi
29874   fi
29875
29876
29877
29878
29879
29880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29881 $as_echo_n "checking for hypotf declaration... " >&6; }
29882   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29883     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29884   $as_echo_n "(cached) " >&6
29885 else
29886
29887
29888       ac_ext=cpp
29889 ac_cpp='$CXXCPP $CPPFLAGS'
29890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29893
29894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29895 /* end confdefs.h.  */
29896 #include <math.h>
29897 int
29898 main ()
29899 {
29900  hypotf(0, 0);
29901   ;
29902   return 0;
29903 }
29904 _ACEOF
29905 if ac_fn_cxx_try_compile "$LINENO"; then :
29906   glibcxx_cv_func_hypotf_use=yes
29907 else
29908   glibcxx_cv_func_hypotf_use=no
29909 fi
29910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29911       ac_ext=c
29912 ac_cpp='$CPP $CPPFLAGS'
29913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29916
29917
29918 fi
29919
29920   fi
29921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29922 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29923
29924   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29925     for ac_func in hypotf
29926 do :
29927   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29928 if test "x$ac_cv_func_hypotf" = x""yes; then :
29929   cat >>confdefs.h <<_ACEOF
29930 #define HAVE_HYPOTF 1
29931 _ACEOF
29932
29933 fi
29934 done
29935
29936   else
29937
29938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29939 $as_echo_n "checking for _hypotf declaration... " >&6; }
29940   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29941     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29942   $as_echo_n "(cached) " >&6
29943 else
29944
29945
29946       ac_ext=cpp
29947 ac_cpp='$CXXCPP $CPPFLAGS'
29948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29951
29952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29953 /* end confdefs.h.  */
29954 #include <math.h>
29955 int
29956 main ()
29957 {
29958  _hypotf(0, 0);
29959   ;
29960   return 0;
29961 }
29962 _ACEOF
29963 if ac_fn_cxx_try_compile "$LINENO"; then :
29964   glibcxx_cv_func__hypotf_use=yes
29965 else
29966   glibcxx_cv_func__hypotf_use=no
29967 fi
29968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29969       ac_ext=c
29970 ac_cpp='$CPP $CPPFLAGS'
29971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29974
29975
29976 fi
29977
29978   fi
29979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29980 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29981
29982     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29983       for ac_func in _hypotf
29984 do :
29985   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29986 if test "x$ac_cv_func__hypotf" = x""yes; then :
29987   cat >>confdefs.h <<_ACEOF
29988 #define HAVE__HYPOTF 1
29989 _ACEOF
29990
29991 fi
29992 done
29993
29994     fi
29995   fi
29996
29997
29998
29999
30000
30001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30002 $as_echo_n "checking for ldexpf declaration... " >&6; }
30003   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30004     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30005   $as_echo_n "(cached) " >&6
30006 else
30007
30008
30009       ac_ext=cpp
30010 ac_cpp='$CXXCPP $CPPFLAGS'
30011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30014
30015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30016 /* end confdefs.h.  */
30017 #include <math.h>
30018 int
30019 main ()
30020 {
30021  ldexpf(0, 0);
30022   ;
30023   return 0;
30024 }
30025 _ACEOF
30026 if ac_fn_cxx_try_compile "$LINENO"; then :
30027   glibcxx_cv_func_ldexpf_use=yes
30028 else
30029   glibcxx_cv_func_ldexpf_use=no
30030 fi
30031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30032       ac_ext=c
30033 ac_cpp='$CPP $CPPFLAGS'
30034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30037
30038
30039 fi
30040
30041   fi
30042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30043 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30044
30045   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30046     for ac_func in ldexpf
30047 do :
30048   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30049 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30050   cat >>confdefs.h <<_ACEOF
30051 #define HAVE_LDEXPF 1
30052 _ACEOF
30053
30054 fi
30055 done
30056
30057   else
30058
30059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30060 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30061   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30062     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30063   $as_echo_n "(cached) " >&6
30064 else
30065
30066
30067       ac_ext=cpp
30068 ac_cpp='$CXXCPP $CPPFLAGS'
30069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30072
30073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30074 /* end confdefs.h.  */
30075 #include <math.h>
30076 int
30077 main ()
30078 {
30079  _ldexpf(0, 0);
30080   ;
30081   return 0;
30082 }
30083 _ACEOF
30084 if ac_fn_cxx_try_compile "$LINENO"; then :
30085   glibcxx_cv_func__ldexpf_use=yes
30086 else
30087   glibcxx_cv_func__ldexpf_use=no
30088 fi
30089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30090       ac_ext=c
30091 ac_cpp='$CPP $CPPFLAGS'
30092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30095
30096
30097 fi
30098
30099   fi
30100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30101 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30102
30103     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30104       for ac_func in _ldexpf
30105 do :
30106   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30107 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30108   cat >>confdefs.h <<_ACEOF
30109 #define HAVE__LDEXPF 1
30110 _ACEOF
30111
30112 fi
30113 done
30114
30115     fi
30116   fi
30117
30118
30119
30120
30121
30122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30123 $as_echo_n "checking for logf declaration... " >&6; }
30124   if test x${glibcxx_cv_func_logf_use+set} != xset; then
30125     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30126   $as_echo_n "(cached) " >&6
30127 else
30128
30129
30130       ac_ext=cpp
30131 ac_cpp='$CXXCPP $CPPFLAGS'
30132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30135
30136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30137 /* end confdefs.h.  */
30138 #include <math.h>
30139                       #ifdef HAVE_IEEEFP_H
30140                       #include <ieeefp.h>
30141                       #endif
30142
30143 int
30144 main ()
30145 {
30146  logf(0);
30147   ;
30148   return 0;
30149 }
30150 _ACEOF
30151 if ac_fn_cxx_try_compile "$LINENO"; then :
30152   glibcxx_cv_func_logf_use=yes
30153 else
30154   glibcxx_cv_func_logf_use=no
30155 fi
30156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30157       ac_ext=c
30158 ac_cpp='$CPP $CPPFLAGS'
30159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30162
30163
30164 fi
30165
30166   fi
30167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30168 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30169
30170   if test x$glibcxx_cv_func_logf_use = x"yes"; then
30171     for ac_func in logf
30172 do :
30173   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30174 if test "x$ac_cv_func_logf" = x""yes; then :
30175   cat >>confdefs.h <<_ACEOF
30176 #define HAVE_LOGF 1
30177 _ACEOF
30178
30179 fi
30180 done
30181
30182   else
30183
30184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30185 $as_echo_n "checking for _logf declaration... " >&6; }
30186   if test x${glibcxx_cv_func__logf_use+set} != xset; then
30187     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30188   $as_echo_n "(cached) " >&6
30189 else
30190
30191
30192       ac_ext=cpp
30193 ac_cpp='$CXXCPP $CPPFLAGS'
30194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30197
30198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30199 /* end confdefs.h.  */
30200 #include <math.h>
30201                       #ifdef HAVE_IEEEFP_H
30202                       #include <ieeefp.h>
30203                       #endif
30204
30205 int
30206 main ()
30207 {
30208  _logf(0);
30209   ;
30210   return 0;
30211 }
30212 _ACEOF
30213 if ac_fn_cxx_try_compile "$LINENO"; then :
30214   glibcxx_cv_func__logf_use=yes
30215 else
30216   glibcxx_cv_func__logf_use=no
30217 fi
30218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30219       ac_ext=c
30220 ac_cpp='$CPP $CPPFLAGS'
30221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30224
30225
30226 fi
30227
30228   fi
30229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30230 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30231
30232     if test x$glibcxx_cv_func__logf_use = x"yes"; then
30233       for ac_func in _logf
30234 do :
30235   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30236 if test "x$ac_cv_func__logf" = x""yes; then :
30237   cat >>confdefs.h <<_ACEOF
30238 #define HAVE__LOGF 1
30239 _ACEOF
30240
30241 fi
30242 done
30243
30244     fi
30245   fi
30246
30247
30248
30249
30250
30251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30252 $as_echo_n "checking for log10f declaration... " >&6; }
30253   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30254     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30255   $as_echo_n "(cached) " >&6
30256 else
30257
30258
30259       ac_ext=cpp
30260 ac_cpp='$CXXCPP $CPPFLAGS'
30261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30264
30265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30266 /* end confdefs.h.  */
30267 #include <math.h>
30268                       #ifdef HAVE_IEEEFP_H
30269                       #include <ieeefp.h>
30270                       #endif
30271
30272 int
30273 main ()
30274 {
30275  log10f(0);
30276   ;
30277   return 0;
30278 }
30279 _ACEOF
30280 if ac_fn_cxx_try_compile "$LINENO"; then :
30281   glibcxx_cv_func_log10f_use=yes
30282 else
30283   glibcxx_cv_func_log10f_use=no
30284 fi
30285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30286       ac_ext=c
30287 ac_cpp='$CPP $CPPFLAGS'
30288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30291
30292
30293 fi
30294
30295   fi
30296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30297 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30298
30299   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30300     for ac_func in log10f
30301 do :
30302   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30303 if test "x$ac_cv_func_log10f" = x""yes; then :
30304   cat >>confdefs.h <<_ACEOF
30305 #define HAVE_LOG10F 1
30306 _ACEOF
30307
30308 fi
30309 done
30310
30311   else
30312
30313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30314 $as_echo_n "checking for _log10f declaration... " >&6; }
30315   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30316     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30317   $as_echo_n "(cached) " >&6
30318 else
30319
30320
30321       ac_ext=cpp
30322 ac_cpp='$CXXCPP $CPPFLAGS'
30323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30326
30327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30328 /* end confdefs.h.  */
30329 #include <math.h>
30330                       #ifdef HAVE_IEEEFP_H
30331                       #include <ieeefp.h>
30332                       #endif
30333
30334 int
30335 main ()
30336 {
30337  _log10f(0);
30338   ;
30339   return 0;
30340 }
30341 _ACEOF
30342 if ac_fn_cxx_try_compile "$LINENO"; then :
30343   glibcxx_cv_func__log10f_use=yes
30344 else
30345   glibcxx_cv_func__log10f_use=no
30346 fi
30347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30348       ac_ext=c
30349 ac_cpp='$CPP $CPPFLAGS'
30350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30353
30354
30355 fi
30356
30357   fi
30358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30359 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30360
30361     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30362       for ac_func in _log10f
30363 do :
30364   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30365 if test "x$ac_cv_func__log10f" = x""yes; then :
30366   cat >>confdefs.h <<_ACEOF
30367 #define HAVE__LOG10F 1
30368 _ACEOF
30369
30370 fi
30371 done
30372
30373     fi
30374   fi
30375
30376
30377
30378
30379
30380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30381 $as_echo_n "checking for modff declaration... " >&6; }
30382   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30383     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30384   $as_echo_n "(cached) " >&6
30385 else
30386
30387
30388       ac_ext=cpp
30389 ac_cpp='$CXXCPP $CPPFLAGS'
30390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30393
30394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30395 /* end confdefs.h.  */
30396 #include <math.h>
30397 int
30398 main ()
30399 {
30400  modff(0, 0);
30401   ;
30402   return 0;
30403 }
30404 _ACEOF
30405 if ac_fn_cxx_try_compile "$LINENO"; then :
30406   glibcxx_cv_func_modff_use=yes
30407 else
30408   glibcxx_cv_func_modff_use=no
30409 fi
30410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30411       ac_ext=c
30412 ac_cpp='$CPP $CPPFLAGS'
30413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30416
30417
30418 fi
30419
30420   fi
30421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30422 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30423
30424   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30425     for ac_func in modff
30426 do :
30427   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30428 if test "x$ac_cv_func_modff" = x""yes; then :
30429   cat >>confdefs.h <<_ACEOF
30430 #define HAVE_MODFF 1
30431 _ACEOF
30432
30433 fi
30434 done
30435
30436   else
30437
30438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30439 $as_echo_n "checking for _modff declaration... " >&6; }
30440   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30441     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30442   $as_echo_n "(cached) " >&6
30443 else
30444
30445
30446       ac_ext=cpp
30447 ac_cpp='$CXXCPP $CPPFLAGS'
30448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30451
30452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h.  */
30454 #include <math.h>
30455 int
30456 main ()
30457 {
30458  _modff(0, 0);
30459   ;
30460   return 0;
30461 }
30462 _ACEOF
30463 if ac_fn_cxx_try_compile "$LINENO"; then :
30464   glibcxx_cv_func__modff_use=yes
30465 else
30466   glibcxx_cv_func__modff_use=no
30467 fi
30468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30469       ac_ext=c
30470 ac_cpp='$CPP $CPPFLAGS'
30471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30474
30475
30476 fi
30477
30478   fi
30479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30480 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30481
30482     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30483       for ac_func in _modff
30484 do :
30485   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30486 if test "x$ac_cv_func__modff" = x""yes; then :
30487   cat >>confdefs.h <<_ACEOF
30488 #define HAVE__MODFF 1
30489 _ACEOF
30490
30491 fi
30492 done
30493
30494     fi
30495   fi
30496
30497
30498
30499
30500
30501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30502 $as_echo_n "checking for modf declaration... " >&6; }
30503   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30504     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30505   $as_echo_n "(cached) " >&6
30506 else
30507
30508
30509       ac_ext=cpp
30510 ac_cpp='$CXXCPP $CPPFLAGS'
30511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30514
30515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30516 /* end confdefs.h.  */
30517 #include <math.h>
30518 int
30519 main ()
30520 {
30521  modf(0, 0);
30522   ;
30523   return 0;
30524 }
30525 _ACEOF
30526 if ac_fn_cxx_try_compile "$LINENO"; then :
30527   glibcxx_cv_func_modf_use=yes
30528 else
30529   glibcxx_cv_func_modf_use=no
30530 fi
30531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30532       ac_ext=c
30533 ac_cpp='$CPP $CPPFLAGS'
30534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30537
30538
30539 fi
30540
30541   fi
30542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30543 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30544
30545   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30546     for ac_func in modf
30547 do :
30548   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30549 if test "x$ac_cv_func_modf" = x""yes; then :
30550   cat >>confdefs.h <<_ACEOF
30551 #define HAVE_MODF 1
30552 _ACEOF
30553
30554 fi
30555 done
30556
30557   else
30558
30559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30560 $as_echo_n "checking for _modf declaration... " >&6; }
30561   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30562     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30563   $as_echo_n "(cached) " >&6
30564 else
30565
30566
30567       ac_ext=cpp
30568 ac_cpp='$CXXCPP $CPPFLAGS'
30569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30572
30573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h.  */
30575 #include <math.h>
30576 int
30577 main ()
30578 {
30579  _modf(0, 0);
30580   ;
30581   return 0;
30582 }
30583 _ACEOF
30584 if ac_fn_cxx_try_compile "$LINENO"; then :
30585   glibcxx_cv_func__modf_use=yes
30586 else
30587   glibcxx_cv_func__modf_use=no
30588 fi
30589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30590       ac_ext=c
30591 ac_cpp='$CPP $CPPFLAGS'
30592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30595
30596
30597 fi
30598
30599   fi
30600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30601 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30602
30603     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30604       for ac_func in _modf
30605 do :
30606   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30607 if test "x$ac_cv_func__modf" = x""yes; then :
30608   cat >>confdefs.h <<_ACEOF
30609 #define HAVE__MODF 1
30610 _ACEOF
30611
30612 fi
30613 done
30614
30615     fi
30616   fi
30617
30618
30619
30620
30621
30622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30623 $as_echo_n "checking for powf declaration... " >&6; }
30624   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30625     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30626   $as_echo_n "(cached) " >&6
30627 else
30628
30629
30630       ac_ext=cpp
30631 ac_cpp='$CXXCPP $CPPFLAGS'
30632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30635
30636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30637 /* end confdefs.h.  */
30638 #include <math.h>
30639 int
30640 main ()
30641 {
30642  powf(0, 0);
30643   ;
30644   return 0;
30645 }
30646 _ACEOF
30647 if ac_fn_cxx_try_compile "$LINENO"; then :
30648   glibcxx_cv_func_powf_use=yes
30649 else
30650   glibcxx_cv_func_powf_use=no
30651 fi
30652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30653       ac_ext=c
30654 ac_cpp='$CPP $CPPFLAGS'
30655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30658
30659
30660 fi
30661
30662   fi
30663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30664 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30665
30666   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30667     for ac_func in powf
30668 do :
30669   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30670 if test "x$ac_cv_func_powf" = x""yes; then :
30671   cat >>confdefs.h <<_ACEOF
30672 #define HAVE_POWF 1
30673 _ACEOF
30674
30675 fi
30676 done
30677
30678   else
30679
30680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30681 $as_echo_n "checking for _powf declaration... " >&6; }
30682   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30683     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30684   $as_echo_n "(cached) " >&6
30685 else
30686
30687
30688       ac_ext=cpp
30689 ac_cpp='$CXXCPP $CPPFLAGS'
30690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30693
30694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30695 /* end confdefs.h.  */
30696 #include <math.h>
30697 int
30698 main ()
30699 {
30700  _powf(0, 0);
30701   ;
30702   return 0;
30703 }
30704 _ACEOF
30705 if ac_fn_cxx_try_compile "$LINENO"; then :
30706   glibcxx_cv_func__powf_use=yes
30707 else
30708   glibcxx_cv_func__powf_use=no
30709 fi
30710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30711       ac_ext=c
30712 ac_cpp='$CPP $CPPFLAGS'
30713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30716
30717
30718 fi
30719
30720   fi
30721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30722 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30723
30724     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30725       for ac_func in _powf
30726 do :
30727   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30728 if test "x$ac_cv_func__powf" = x""yes; then :
30729   cat >>confdefs.h <<_ACEOF
30730 #define HAVE__POWF 1
30731 _ACEOF
30732
30733 fi
30734 done
30735
30736     fi
30737   fi
30738
30739
30740
30741
30742
30743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30744 $as_echo_n "checking for sqrtf declaration... " >&6; }
30745   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30746     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30747   $as_echo_n "(cached) " >&6
30748 else
30749
30750
30751       ac_ext=cpp
30752 ac_cpp='$CXXCPP $CPPFLAGS'
30753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30756
30757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30758 /* end confdefs.h.  */
30759 #include <math.h>
30760                       #ifdef HAVE_IEEEFP_H
30761                       #include <ieeefp.h>
30762                       #endif
30763
30764 int
30765 main ()
30766 {
30767  sqrtf(0);
30768   ;
30769   return 0;
30770 }
30771 _ACEOF
30772 if ac_fn_cxx_try_compile "$LINENO"; then :
30773   glibcxx_cv_func_sqrtf_use=yes
30774 else
30775   glibcxx_cv_func_sqrtf_use=no
30776 fi
30777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30778       ac_ext=c
30779 ac_cpp='$CPP $CPPFLAGS'
30780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30783
30784
30785 fi
30786
30787   fi
30788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30789 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30790
30791   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30792     for ac_func in sqrtf
30793 do :
30794   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30795 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30796   cat >>confdefs.h <<_ACEOF
30797 #define HAVE_SQRTF 1
30798 _ACEOF
30799
30800 fi
30801 done
30802
30803   else
30804
30805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30806 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30807   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30808     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30809   $as_echo_n "(cached) " >&6
30810 else
30811
30812
30813       ac_ext=cpp
30814 ac_cpp='$CXXCPP $CPPFLAGS'
30815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30818
30819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30820 /* end confdefs.h.  */
30821 #include <math.h>
30822                       #ifdef HAVE_IEEEFP_H
30823                       #include <ieeefp.h>
30824                       #endif
30825
30826 int
30827 main ()
30828 {
30829  _sqrtf(0);
30830   ;
30831   return 0;
30832 }
30833 _ACEOF
30834 if ac_fn_cxx_try_compile "$LINENO"; then :
30835   glibcxx_cv_func__sqrtf_use=yes
30836 else
30837   glibcxx_cv_func__sqrtf_use=no
30838 fi
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30840       ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30845
30846
30847 fi
30848
30849   fi
30850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30851 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30852
30853     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30854       for ac_func in _sqrtf
30855 do :
30856   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30857 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30858   cat >>confdefs.h <<_ACEOF
30859 #define HAVE__SQRTF 1
30860 _ACEOF
30861
30862 fi
30863 done
30864
30865     fi
30866   fi
30867
30868
30869
30870
30871
30872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30873 $as_echo_n "checking for sincosf declaration... " >&6; }
30874   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30875     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30876   $as_echo_n "(cached) " >&6
30877 else
30878
30879
30880       ac_ext=cpp
30881 ac_cpp='$CXXCPP $CPPFLAGS'
30882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30885
30886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30887 /* end confdefs.h.  */
30888 #include <math.h>
30889 int
30890 main ()
30891 {
30892  sincosf(0, 0, 0);
30893   ;
30894   return 0;
30895 }
30896 _ACEOF
30897 if ac_fn_cxx_try_compile "$LINENO"; then :
30898   glibcxx_cv_func_sincosf_use=yes
30899 else
30900   glibcxx_cv_func_sincosf_use=no
30901 fi
30902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30903       ac_ext=c
30904 ac_cpp='$CPP $CPPFLAGS'
30905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30908
30909
30910 fi
30911
30912   fi
30913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30914 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30915
30916   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30917     for ac_func in sincosf
30918 do :
30919   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30920 if test "x$ac_cv_func_sincosf" = x""yes; then :
30921   cat >>confdefs.h <<_ACEOF
30922 #define HAVE_SINCOSF 1
30923 _ACEOF
30924
30925 fi
30926 done
30927
30928   else
30929
30930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30931 $as_echo_n "checking for _sincosf declaration... " >&6; }
30932   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30933     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30934   $as_echo_n "(cached) " >&6
30935 else
30936
30937
30938       ac_ext=cpp
30939 ac_cpp='$CXXCPP $CPPFLAGS'
30940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30943
30944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30945 /* end confdefs.h.  */
30946 #include <math.h>
30947 int
30948 main ()
30949 {
30950  _sincosf(0, 0, 0);
30951   ;
30952   return 0;
30953 }
30954 _ACEOF
30955 if ac_fn_cxx_try_compile "$LINENO"; then :
30956   glibcxx_cv_func__sincosf_use=yes
30957 else
30958   glibcxx_cv_func__sincosf_use=no
30959 fi
30960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30961       ac_ext=c
30962 ac_cpp='$CPP $CPPFLAGS'
30963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30966
30967
30968 fi
30969
30970   fi
30971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30972 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30973
30974     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30975       for ac_func in _sincosf
30976 do :
30977   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30978 if test "x$ac_cv_func__sincosf" = x""yes; then :
30979   cat >>confdefs.h <<_ACEOF
30980 #define HAVE__SINCOSF 1
30981 _ACEOF
30982
30983 fi
30984 done
30985
30986     fi
30987   fi
30988
30989
30990
30991
30992
30993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30994 $as_echo_n "checking for finitef declaration... " >&6; }
30995   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30996     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30997   $as_echo_n "(cached) " >&6
30998 else
30999
31000
31001       ac_ext=cpp
31002 ac_cpp='$CXXCPP $CPPFLAGS'
31003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31006
31007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31008 /* end confdefs.h.  */
31009 #include <math.h>
31010                       #ifdef HAVE_IEEEFP_H
31011                       #include <ieeefp.h>
31012                       #endif
31013
31014 int
31015 main ()
31016 {
31017  finitef(0);
31018   ;
31019   return 0;
31020 }
31021 _ACEOF
31022 if ac_fn_cxx_try_compile "$LINENO"; then :
31023   glibcxx_cv_func_finitef_use=yes
31024 else
31025   glibcxx_cv_func_finitef_use=no
31026 fi
31027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31028       ac_ext=c
31029 ac_cpp='$CPP $CPPFLAGS'
31030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31033
31034
31035 fi
31036
31037   fi
31038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31039 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31040
31041   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31042     for ac_func in finitef
31043 do :
31044   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31045 if test "x$ac_cv_func_finitef" = x""yes; then :
31046   cat >>confdefs.h <<_ACEOF
31047 #define HAVE_FINITEF 1
31048 _ACEOF
31049
31050 fi
31051 done
31052
31053   else
31054
31055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31056 $as_echo_n "checking for _finitef declaration... " >&6; }
31057   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31058     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31059   $as_echo_n "(cached) " >&6
31060 else
31061
31062
31063       ac_ext=cpp
31064 ac_cpp='$CXXCPP $CPPFLAGS'
31065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31068
31069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31070 /* end confdefs.h.  */
31071 #include <math.h>
31072                       #ifdef HAVE_IEEEFP_H
31073                       #include <ieeefp.h>
31074                       #endif
31075
31076 int
31077 main ()
31078 {
31079  _finitef(0);
31080   ;
31081   return 0;
31082 }
31083 _ACEOF
31084 if ac_fn_cxx_try_compile "$LINENO"; then :
31085   glibcxx_cv_func__finitef_use=yes
31086 else
31087   glibcxx_cv_func__finitef_use=no
31088 fi
31089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31090       ac_ext=c
31091 ac_cpp='$CPP $CPPFLAGS'
31092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31095
31096
31097 fi
31098
31099   fi
31100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31101 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31102
31103     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31104       for ac_func in _finitef
31105 do :
31106   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31107 if test "x$ac_cv_func__finitef" = x""yes; then :
31108   cat >>confdefs.h <<_ACEOF
31109 #define HAVE__FINITEF 1
31110 _ACEOF
31111
31112 fi
31113 done
31114
31115     fi
31116   fi
31117
31118
31119
31120
31121
31122     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31123 $as_echo_n "checking for long double trig functions... " >&6; }
31124   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31125   $as_echo_n "(cached) " >&6
31126 else
31127
31128
31129     ac_ext=cpp
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31134
31135     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h.  */
31137 #include <math.h>
31138 int
31139 main ()
31140 {
31141 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31142   ;
31143   return 0;
31144 }
31145 _ACEOF
31146 if ac_fn_cxx_try_compile "$LINENO"; then :
31147   glibcxx_cv_func_long_double_trig_use=yes
31148 else
31149   glibcxx_cv_func_long_double_trig_use=no
31150 fi
31151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31152     ac_ext=c
31153 ac_cpp='$CPP $CPPFLAGS'
31154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31157
31158 fi
31159
31160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31161 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31162   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31163     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31164 do :
31165   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31167 eval as_val=\$$as_ac_var
31168    if test "x$as_val" = x""yes; then :
31169   cat >>confdefs.h <<_ACEOF
31170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31171 _ACEOF
31172
31173 fi
31174 done
31175
31176   else
31177     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31178 $as_echo_n "checking for _long double trig functions... " >&6; }
31179     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31180   $as_echo_n "(cached) " >&6
31181 else
31182
31183
31184       ac_ext=cpp
31185 ac_cpp='$CXXCPP $CPPFLAGS'
31186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31189
31190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31191 /* end confdefs.h.  */
31192 #include <math.h>
31193 int
31194 main ()
31195 {
31196 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31197   ;
31198   return 0;
31199 }
31200 _ACEOF
31201 if ac_fn_cxx_try_compile "$LINENO"; then :
31202   glibcxx_cv_func__long_double_trig_use=yes
31203 else
31204   glibcxx_cv_func__long_double_trig_use=no
31205 fi
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31207       ac_ext=c
31208 ac_cpp='$CPP $CPPFLAGS'
31209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31212
31213 fi
31214
31215     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31216 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31217     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31218       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31219 do :
31220   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31222 eval as_val=\$$as_ac_var
31223    if test "x$as_val" = x""yes; then :
31224   cat >>confdefs.h <<_ACEOF
31225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31226 _ACEOF
31227
31228 fi
31229 done
31230
31231     fi
31232   fi
31233
31234
31235
31236
31237
31238     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31239 $as_echo_n "checking for long double round functions... " >&6; }
31240   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31241   $as_echo_n "(cached) " >&6
31242 else
31243
31244
31245     ac_ext=cpp
31246 ac_cpp='$CXXCPP $CPPFLAGS'
31247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31250
31251     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31252 /* end confdefs.h.  */
31253 #include <math.h>
31254 int
31255 main ()
31256 {
31257 ceill (0); floorl (0);
31258   ;
31259   return 0;
31260 }
31261 _ACEOF
31262 if ac_fn_cxx_try_compile "$LINENO"; then :
31263   glibcxx_cv_func_long_double_round_use=yes
31264 else
31265   glibcxx_cv_func_long_double_round_use=no
31266 fi
31267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31268     ac_ext=c
31269 ac_cpp='$CPP $CPPFLAGS'
31270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31273
31274 fi
31275
31276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31277 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31278   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31279     for ac_func in ceill floorl
31280 do :
31281   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31283 eval as_val=\$$as_ac_var
31284    if test "x$as_val" = x""yes; then :
31285   cat >>confdefs.h <<_ACEOF
31286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31287 _ACEOF
31288
31289 fi
31290 done
31291
31292   else
31293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31294 $as_echo_n "checking for _long double round functions... " >&6; }
31295     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31296   $as_echo_n "(cached) " >&6
31297 else
31298
31299
31300       ac_ext=cpp
31301 ac_cpp='$CXXCPP $CPPFLAGS'
31302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31305
31306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31307 /* end confdefs.h.  */
31308 #include <math.h>
31309 int
31310 main ()
31311 {
31312 _ceill (0); _floorl (0);
31313   ;
31314   return 0;
31315 }
31316 _ACEOF
31317 if ac_fn_cxx_try_compile "$LINENO"; then :
31318   glibcxx_cv_func__long_double_round_use=yes
31319 else
31320   glibcxx_cv_func__long_double_round_use=no
31321 fi
31322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31323       ac_ext=c
31324 ac_cpp='$CPP $CPPFLAGS'
31325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31328
31329 fi
31330
31331     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31332 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31333     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31334       for ac_func in _ceill _floorl
31335 do :
31336   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31338 eval as_val=\$$as_ac_var
31339    if test "x$as_val" = x""yes; then :
31340   cat >>confdefs.h <<_ACEOF
31341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31342 _ACEOF
31343
31344 fi
31345 done
31346
31347     fi
31348   fi
31349
31350
31351
31352
31353
31354
31355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31356 $as_echo_n "checking for isnanl declaration... " >&6; }
31357   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31358     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31359   $as_echo_n "(cached) " >&6
31360 else
31361
31362
31363       ac_ext=cpp
31364 ac_cpp='$CXXCPP $CPPFLAGS'
31365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31368
31369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31370 /* end confdefs.h.  */
31371 #include <math.h>
31372                       #ifdef HAVE_IEEEFP_H
31373                       #include <ieeefp.h>
31374                       #endif
31375
31376 int
31377 main ()
31378 {
31379  isnanl(0);
31380   ;
31381   return 0;
31382 }
31383 _ACEOF
31384 if ac_fn_cxx_try_compile "$LINENO"; then :
31385   glibcxx_cv_func_isnanl_use=yes
31386 else
31387   glibcxx_cv_func_isnanl_use=no
31388 fi
31389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31390       ac_ext=c
31391 ac_cpp='$CPP $CPPFLAGS'
31392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31395
31396
31397 fi
31398
31399   fi
31400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31401 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31402
31403   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31404     for ac_func in isnanl
31405 do :
31406   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31407 if test "x$ac_cv_func_isnanl" = x""yes; then :
31408   cat >>confdefs.h <<_ACEOF
31409 #define HAVE_ISNANL 1
31410 _ACEOF
31411
31412 fi
31413 done
31414
31415   else
31416
31417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31418 $as_echo_n "checking for _isnanl declaration... " >&6; }
31419   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31420     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31421   $as_echo_n "(cached) " >&6
31422 else
31423
31424
31425       ac_ext=cpp
31426 ac_cpp='$CXXCPP $CPPFLAGS'
31427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31430
31431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31432 /* end confdefs.h.  */
31433 #include <math.h>
31434                       #ifdef HAVE_IEEEFP_H
31435                       #include <ieeefp.h>
31436                       #endif
31437
31438 int
31439 main ()
31440 {
31441  _isnanl(0);
31442   ;
31443   return 0;
31444 }
31445 _ACEOF
31446 if ac_fn_cxx_try_compile "$LINENO"; then :
31447   glibcxx_cv_func__isnanl_use=yes
31448 else
31449   glibcxx_cv_func__isnanl_use=no
31450 fi
31451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31452       ac_ext=c
31453 ac_cpp='$CPP $CPPFLAGS'
31454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31457
31458
31459 fi
31460
31461   fi
31462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31463 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31464
31465     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31466       for ac_func in _isnanl
31467 do :
31468   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31469 if test "x$ac_cv_func__isnanl" = x""yes; then :
31470   cat >>confdefs.h <<_ACEOF
31471 #define HAVE__ISNANL 1
31472 _ACEOF
31473
31474 fi
31475 done
31476
31477     fi
31478   fi
31479
31480
31481
31482
31483
31484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31485 $as_echo_n "checking for isinfl declaration... " >&6; }
31486   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31487     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31488   $as_echo_n "(cached) " >&6
31489 else
31490
31491
31492       ac_ext=cpp
31493 ac_cpp='$CXXCPP $CPPFLAGS'
31494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31497
31498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31499 /* end confdefs.h.  */
31500 #include <math.h>
31501                       #ifdef HAVE_IEEEFP_H
31502                       #include <ieeefp.h>
31503                       #endif
31504
31505 int
31506 main ()
31507 {
31508  isinfl(0);
31509   ;
31510   return 0;
31511 }
31512 _ACEOF
31513 if ac_fn_cxx_try_compile "$LINENO"; then :
31514   glibcxx_cv_func_isinfl_use=yes
31515 else
31516   glibcxx_cv_func_isinfl_use=no
31517 fi
31518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31519       ac_ext=c
31520 ac_cpp='$CPP $CPPFLAGS'
31521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31524
31525
31526 fi
31527
31528   fi
31529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31530 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31531
31532   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31533     for ac_func in isinfl
31534 do :
31535   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31536 if test "x$ac_cv_func_isinfl" = x""yes; then :
31537   cat >>confdefs.h <<_ACEOF
31538 #define HAVE_ISINFL 1
31539 _ACEOF
31540
31541 fi
31542 done
31543
31544   else
31545
31546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31547 $as_echo_n "checking for _isinfl declaration... " >&6; }
31548   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31549     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31550   $as_echo_n "(cached) " >&6
31551 else
31552
31553
31554       ac_ext=cpp
31555 ac_cpp='$CXXCPP $CPPFLAGS'
31556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31559
31560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31561 /* end confdefs.h.  */
31562 #include <math.h>
31563                       #ifdef HAVE_IEEEFP_H
31564                       #include <ieeefp.h>
31565                       #endif
31566
31567 int
31568 main ()
31569 {
31570  _isinfl(0);
31571   ;
31572   return 0;
31573 }
31574 _ACEOF
31575 if ac_fn_cxx_try_compile "$LINENO"; then :
31576   glibcxx_cv_func__isinfl_use=yes
31577 else
31578   glibcxx_cv_func__isinfl_use=no
31579 fi
31580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31581       ac_ext=c
31582 ac_cpp='$CPP $CPPFLAGS'
31583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31586
31587
31588 fi
31589
31590   fi
31591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31592 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31593
31594     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31595       for ac_func in _isinfl
31596 do :
31597   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31598 if test "x$ac_cv_func__isinfl" = x""yes; then :
31599   cat >>confdefs.h <<_ACEOF
31600 #define HAVE__ISINFL 1
31601 _ACEOF
31602
31603 fi
31604 done
31605
31606     fi
31607   fi
31608
31609
31610
31611
31612
31613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31614 $as_echo_n "checking for atan2l declaration... " >&6; }
31615   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31616     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31617   $as_echo_n "(cached) " >&6
31618 else
31619
31620
31621       ac_ext=cpp
31622 ac_cpp='$CXXCPP $CPPFLAGS'
31623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31626
31627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31628 /* end confdefs.h.  */
31629 #include <math.h>
31630 int
31631 main ()
31632 {
31633  atan2l(0, 0);
31634   ;
31635   return 0;
31636 }
31637 _ACEOF
31638 if ac_fn_cxx_try_compile "$LINENO"; then :
31639   glibcxx_cv_func_atan2l_use=yes
31640 else
31641   glibcxx_cv_func_atan2l_use=no
31642 fi
31643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31644       ac_ext=c
31645 ac_cpp='$CPP $CPPFLAGS'
31646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31649
31650
31651 fi
31652
31653   fi
31654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31655 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31656
31657   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31658     for ac_func in atan2l
31659 do :
31660   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31661 if test "x$ac_cv_func_atan2l" = x""yes; then :
31662   cat >>confdefs.h <<_ACEOF
31663 #define HAVE_ATAN2L 1
31664 _ACEOF
31665
31666 fi
31667 done
31668
31669   else
31670
31671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31672 $as_echo_n "checking for _atan2l declaration... " >&6; }
31673   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31674     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31675   $as_echo_n "(cached) " >&6
31676 else
31677
31678
31679       ac_ext=cpp
31680 ac_cpp='$CXXCPP $CPPFLAGS'
31681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31684
31685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31686 /* end confdefs.h.  */
31687 #include <math.h>
31688 int
31689 main ()
31690 {
31691  _atan2l(0, 0);
31692   ;
31693   return 0;
31694 }
31695 _ACEOF
31696 if ac_fn_cxx_try_compile "$LINENO"; then :
31697   glibcxx_cv_func__atan2l_use=yes
31698 else
31699   glibcxx_cv_func__atan2l_use=no
31700 fi
31701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31702       ac_ext=c
31703 ac_cpp='$CPP $CPPFLAGS'
31704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31707
31708
31709 fi
31710
31711   fi
31712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31713 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31714
31715     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31716       for ac_func in _atan2l
31717 do :
31718   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31719 if test "x$ac_cv_func__atan2l" = x""yes; then :
31720   cat >>confdefs.h <<_ACEOF
31721 #define HAVE__ATAN2L 1
31722 _ACEOF
31723
31724 fi
31725 done
31726
31727     fi
31728   fi
31729
31730
31731
31732
31733
31734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31735 $as_echo_n "checking for expl declaration... " >&6; }
31736   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31737     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31738   $as_echo_n "(cached) " >&6
31739 else
31740
31741
31742       ac_ext=cpp
31743 ac_cpp='$CXXCPP $CPPFLAGS'
31744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31747
31748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31749 /* end confdefs.h.  */
31750 #include <math.h>
31751                       #ifdef HAVE_IEEEFP_H
31752                       #include <ieeefp.h>
31753                       #endif
31754
31755 int
31756 main ()
31757 {
31758  expl(0);
31759   ;
31760   return 0;
31761 }
31762 _ACEOF
31763 if ac_fn_cxx_try_compile "$LINENO"; then :
31764   glibcxx_cv_func_expl_use=yes
31765 else
31766   glibcxx_cv_func_expl_use=no
31767 fi
31768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31769       ac_ext=c
31770 ac_cpp='$CPP $CPPFLAGS'
31771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31774
31775
31776 fi
31777
31778   fi
31779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31780 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31781
31782   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31783     for ac_func in expl
31784 do :
31785   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31786 if test "x$ac_cv_func_expl" = x""yes; then :
31787   cat >>confdefs.h <<_ACEOF
31788 #define HAVE_EXPL 1
31789 _ACEOF
31790
31791 fi
31792 done
31793
31794   else
31795
31796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31797 $as_echo_n "checking for _expl declaration... " >&6; }
31798   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31799     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31800   $as_echo_n "(cached) " >&6
31801 else
31802
31803
31804       ac_ext=cpp
31805 ac_cpp='$CXXCPP $CPPFLAGS'
31806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31809
31810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31811 /* end confdefs.h.  */
31812 #include <math.h>
31813                       #ifdef HAVE_IEEEFP_H
31814                       #include <ieeefp.h>
31815                       #endif
31816
31817 int
31818 main ()
31819 {
31820  _expl(0);
31821   ;
31822   return 0;
31823 }
31824 _ACEOF
31825 if ac_fn_cxx_try_compile "$LINENO"; then :
31826   glibcxx_cv_func__expl_use=yes
31827 else
31828   glibcxx_cv_func__expl_use=no
31829 fi
31830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31831       ac_ext=c
31832 ac_cpp='$CPP $CPPFLAGS'
31833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31836
31837
31838 fi
31839
31840   fi
31841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31842 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31843
31844     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31845       for ac_func in _expl
31846 do :
31847   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31848 if test "x$ac_cv_func__expl" = x""yes; then :
31849   cat >>confdefs.h <<_ACEOF
31850 #define HAVE__EXPL 1
31851 _ACEOF
31852
31853 fi
31854 done
31855
31856     fi
31857   fi
31858
31859
31860
31861
31862
31863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31864 $as_echo_n "checking for fabsl declaration... " >&6; }
31865   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31866     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31867   $as_echo_n "(cached) " >&6
31868 else
31869
31870
31871       ac_ext=cpp
31872 ac_cpp='$CXXCPP $CPPFLAGS'
31873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31876
31877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31878 /* end confdefs.h.  */
31879 #include <math.h>
31880                       #ifdef HAVE_IEEEFP_H
31881                       #include <ieeefp.h>
31882                       #endif
31883
31884 int
31885 main ()
31886 {
31887  fabsl(0);
31888   ;
31889   return 0;
31890 }
31891 _ACEOF
31892 if ac_fn_cxx_try_compile "$LINENO"; then :
31893   glibcxx_cv_func_fabsl_use=yes
31894 else
31895   glibcxx_cv_func_fabsl_use=no
31896 fi
31897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31898       ac_ext=c
31899 ac_cpp='$CPP $CPPFLAGS'
31900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31903
31904
31905 fi
31906
31907   fi
31908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31909 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31910
31911   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31912     for ac_func in fabsl
31913 do :
31914   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31915 if test "x$ac_cv_func_fabsl" = x""yes; then :
31916   cat >>confdefs.h <<_ACEOF
31917 #define HAVE_FABSL 1
31918 _ACEOF
31919
31920 fi
31921 done
31922
31923   else
31924
31925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31926 $as_echo_n "checking for _fabsl declaration... " >&6; }
31927   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31928     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31929   $as_echo_n "(cached) " >&6
31930 else
31931
31932
31933       ac_ext=cpp
31934 ac_cpp='$CXXCPP $CPPFLAGS'
31935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31938
31939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31940 /* end confdefs.h.  */
31941 #include <math.h>
31942                       #ifdef HAVE_IEEEFP_H
31943                       #include <ieeefp.h>
31944                       #endif
31945
31946 int
31947 main ()
31948 {
31949  _fabsl(0);
31950   ;
31951   return 0;
31952 }
31953 _ACEOF
31954 if ac_fn_cxx_try_compile "$LINENO"; then :
31955   glibcxx_cv_func__fabsl_use=yes
31956 else
31957   glibcxx_cv_func__fabsl_use=no
31958 fi
31959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31960       ac_ext=c
31961 ac_cpp='$CPP $CPPFLAGS'
31962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31965
31966
31967 fi
31968
31969   fi
31970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31971 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31972
31973     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31974       for ac_func in _fabsl
31975 do :
31976   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31977 if test "x$ac_cv_func__fabsl" = x""yes; then :
31978   cat >>confdefs.h <<_ACEOF
31979 #define HAVE__FABSL 1
31980 _ACEOF
31981
31982 fi
31983 done
31984
31985     fi
31986   fi
31987
31988
31989
31990
31991
31992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31993 $as_echo_n "checking for fmodl declaration... " >&6; }
31994   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31995     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31996   $as_echo_n "(cached) " >&6
31997 else
31998
31999
32000       ac_ext=cpp
32001 ac_cpp='$CXXCPP $CPPFLAGS'
32002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32005
32006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32007 /* end confdefs.h.  */
32008 #include <math.h>
32009 int
32010 main ()
32011 {
32012  fmodl(0, 0);
32013   ;
32014   return 0;
32015 }
32016 _ACEOF
32017 if ac_fn_cxx_try_compile "$LINENO"; then :
32018   glibcxx_cv_func_fmodl_use=yes
32019 else
32020   glibcxx_cv_func_fmodl_use=no
32021 fi
32022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32023       ac_ext=c
32024 ac_cpp='$CPP $CPPFLAGS'
32025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32028
32029
32030 fi
32031
32032   fi
32033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32034 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32035
32036   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32037     for ac_func in fmodl
32038 do :
32039   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32040 if test "x$ac_cv_func_fmodl" = x""yes; then :
32041   cat >>confdefs.h <<_ACEOF
32042 #define HAVE_FMODL 1
32043 _ACEOF
32044
32045 fi
32046 done
32047
32048   else
32049
32050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32051 $as_echo_n "checking for _fmodl declaration... " >&6; }
32052   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32053     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32054   $as_echo_n "(cached) " >&6
32055 else
32056
32057
32058       ac_ext=cpp
32059 ac_cpp='$CXXCPP $CPPFLAGS'
32060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32063
32064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32065 /* end confdefs.h.  */
32066 #include <math.h>
32067 int
32068 main ()
32069 {
32070  _fmodl(0, 0);
32071   ;
32072   return 0;
32073 }
32074 _ACEOF
32075 if ac_fn_cxx_try_compile "$LINENO"; then :
32076   glibcxx_cv_func__fmodl_use=yes
32077 else
32078   glibcxx_cv_func__fmodl_use=no
32079 fi
32080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32081       ac_ext=c
32082 ac_cpp='$CPP $CPPFLAGS'
32083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32086
32087
32088 fi
32089
32090   fi
32091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32092 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32093
32094     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32095       for ac_func in _fmodl
32096 do :
32097   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32098 if test "x$ac_cv_func__fmodl" = x""yes; then :
32099   cat >>confdefs.h <<_ACEOF
32100 #define HAVE__FMODL 1
32101 _ACEOF
32102
32103 fi
32104 done
32105
32106     fi
32107   fi
32108
32109
32110
32111
32112
32113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32114 $as_echo_n "checking for frexpl declaration... " >&6; }
32115   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32116     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32117   $as_echo_n "(cached) " >&6
32118 else
32119
32120
32121       ac_ext=cpp
32122 ac_cpp='$CXXCPP $CPPFLAGS'
32123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32126
32127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32128 /* end confdefs.h.  */
32129 #include <math.h>
32130 int
32131 main ()
32132 {
32133  frexpl(0, 0);
32134   ;
32135   return 0;
32136 }
32137 _ACEOF
32138 if ac_fn_cxx_try_compile "$LINENO"; then :
32139   glibcxx_cv_func_frexpl_use=yes
32140 else
32141   glibcxx_cv_func_frexpl_use=no
32142 fi
32143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32144       ac_ext=c
32145 ac_cpp='$CPP $CPPFLAGS'
32146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32149
32150
32151 fi
32152
32153   fi
32154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32155 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32156
32157   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32158     for ac_func in frexpl
32159 do :
32160   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32161 if test "x$ac_cv_func_frexpl" = x""yes; then :
32162   cat >>confdefs.h <<_ACEOF
32163 #define HAVE_FREXPL 1
32164 _ACEOF
32165
32166 fi
32167 done
32168
32169   else
32170
32171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32172 $as_echo_n "checking for _frexpl declaration... " >&6; }
32173   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32174     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32175   $as_echo_n "(cached) " >&6
32176 else
32177
32178
32179       ac_ext=cpp
32180 ac_cpp='$CXXCPP $CPPFLAGS'
32181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32184
32185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32186 /* end confdefs.h.  */
32187 #include <math.h>
32188 int
32189 main ()
32190 {
32191  _frexpl(0, 0);
32192   ;
32193   return 0;
32194 }
32195 _ACEOF
32196 if ac_fn_cxx_try_compile "$LINENO"; then :
32197   glibcxx_cv_func__frexpl_use=yes
32198 else
32199   glibcxx_cv_func__frexpl_use=no
32200 fi
32201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32202       ac_ext=c
32203 ac_cpp='$CPP $CPPFLAGS'
32204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32207
32208
32209 fi
32210
32211   fi
32212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32213 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32214
32215     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32216       for ac_func in _frexpl
32217 do :
32218   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32219 if test "x$ac_cv_func__frexpl" = x""yes; then :
32220   cat >>confdefs.h <<_ACEOF
32221 #define HAVE__FREXPL 1
32222 _ACEOF
32223
32224 fi
32225 done
32226
32227     fi
32228   fi
32229
32230
32231
32232
32233
32234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32235 $as_echo_n "checking for hypotl declaration... " >&6; }
32236   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32237     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32238   $as_echo_n "(cached) " >&6
32239 else
32240
32241
32242       ac_ext=cpp
32243 ac_cpp='$CXXCPP $CPPFLAGS'
32244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32247
32248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32249 /* end confdefs.h.  */
32250 #include <math.h>
32251 int
32252 main ()
32253 {
32254  hypotl(0, 0);
32255   ;
32256   return 0;
32257 }
32258 _ACEOF
32259 if ac_fn_cxx_try_compile "$LINENO"; then :
32260   glibcxx_cv_func_hypotl_use=yes
32261 else
32262   glibcxx_cv_func_hypotl_use=no
32263 fi
32264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32265       ac_ext=c
32266 ac_cpp='$CPP $CPPFLAGS'
32267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32270
32271
32272 fi
32273
32274   fi
32275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32276 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32277
32278   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32279     for ac_func in hypotl
32280 do :
32281   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32282 if test "x$ac_cv_func_hypotl" = x""yes; then :
32283   cat >>confdefs.h <<_ACEOF
32284 #define HAVE_HYPOTL 1
32285 _ACEOF
32286
32287 fi
32288 done
32289
32290   else
32291
32292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32293 $as_echo_n "checking for _hypotl declaration... " >&6; }
32294   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32295     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32296   $as_echo_n "(cached) " >&6
32297 else
32298
32299
32300       ac_ext=cpp
32301 ac_cpp='$CXXCPP $CPPFLAGS'
32302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32305
32306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32307 /* end confdefs.h.  */
32308 #include <math.h>
32309 int
32310 main ()
32311 {
32312  _hypotl(0, 0);
32313   ;
32314   return 0;
32315 }
32316 _ACEOF
32317 if ac_fn_cxx_try_compile "$LINENO"; then :
32318   glibcxx_cv_func__hypotl_use=yes
32319 else
32320   glibcxx_cv_func__hypotl_use=no
32321 fi
32322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32323       ac_ext=c
32324 ac_cpp='$CPP $CPPFLAGS'
32325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32328
32329
32330 fi
32331
32332   fi
32333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32334 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32335
32336     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32337       for ac_func in _hypotl
32338 do :
32339   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32340 if test "x$ac_cv_func__hypotl" = x""yes; then :
32341   cat >>confdefs.h <<_ACEOF
32342 #define HAVE__HYPOTL 1
32343 _ACEOF
32344
32345 fi
32346 done
32347
32348     fi
32349   fi
32350
32351
32352
32353
32354
32355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32356 $as_echo_n "checking for ldexpl declaration... " >&6; }
32357   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32358     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32359   $as_echo_n "(cached) " >&6
32360 else
32361
32362
32363       ac_ext=cpp
32364 ac_cpp='$CXXCPP $CPPFLAGS'
32365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32368
32369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32370 /* end confdefs.h.  */
32371 #include <math.h>
32372 int
32373 main ()
32374 {
32375  ldexpl(0, 0);
32376   ;
32377   return 0;
32378 }
32379 _ACEOF
32380 if ac_fn_cxx_try_compile "$LINENO"; then :
32381   glibcxx_cv_func_ldexpl_use=yes
32382 else
32383   glibcxx_cv_func_ldexpl_use=no
32384 fi
32385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32386       ac_ext=c
32387 ac_cpp='$CPP $CPPFLAGS'
32388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32391
32392
32393 fi
32394
32395   fi
32396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32397 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32398
32399   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32400     for ac_func in ldexpl
32401 do :
32402   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32403 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32404   cat >>confdefs.h <<_ACEOF
32405 #define HAVE_LDEXPL 1
32406 _ACEOF
32407
32408 fi
32409 done
32410
32411   else
32412
32413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32414 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32415   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32416     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32417   $as_echo_n "(cached) " >&6
32418 else
32419
32420
32421       ac_ext=cpp
32422 ac_cpp='$CXXCPP $CPPFLAGS'
32423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32426
32427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32428 /* end confdefs.h.  */
32429 #include <math.h>
32430 int
32431 main ()
32432 {
32433  _ldexpl(0, 0);
32434   ;
32435   return 0;
32436 }
32437 _ACEOF
32438 if ac_fn_cxx_try_compile "$LINENO"; then :
32439   glibcxx_cv_func__ldexpl_use=yes
32440 else
32441   glibcxx_cv_func__ldexpl_use=no
32442 fi
32443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32444       ac_ext=c
32445 ac_cpp='$CPP $CPPFLAGS'
32446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32449
32450
32451 fi
32452
32453   fi
32454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32455 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32456
32457     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32458       for ac_func in _ldexpl
32459 do :
32460   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32461 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32462   cat >>confdefs.h <<_ACEOF
32463 #define HAVE__LDEXPL 1
32464 _ACEOF
32465
32466 fi
32467 done
32468
32469     fi
32470   fi
32471
32472
32473
32474
32475
32476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32477 $as_echo_n "checking for logl declaration... " >&6; }
32478   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32479     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32480   $as_echo_n "(cached) " >&6
32481 else
32482
32483
32484       ac_ext=cpp
32485 ac_cpp='$CXXCPP $CPPFLAGS'
32486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32489
32490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32491 /* end confdefs.h.  */
32492 #include <math.h>
32493                       #ifdef HAVE_IEEEFP_H
32494                       #include <ieeefp.h>
32495                       #endif
32496
32497 int
32498 main ()
32499 {
32500  logl(0);
32501   ;
32502   return 0;
32503 }
32504 _ACEOF
32505 if ac_fn_cxx_try_compile "$LINENO"; then :
32506   glibcxx_cv_func_logl_use=yes
32507 else
32508   glibcxx_cv_func_logl_use=no
32509 fi
32510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32511       ac_ext=c
32512 ac_cpp='$CPP $CPPFLAGS'
32513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32516
32517
32518 fi
32519
32520   fi
32521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32522 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32523
32524   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32525     for ac_func in logl
32526 do :
32527   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32528 if test "x$ac_cv_func_logl" = x""yes; then :
32529   cat >>confdefs.h <<_ACEOF
32530 #define HAVE_LOGL 1
32531 _ACEOF
32532
32533 fi
32534 done
32535
32536   else
32537
32538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32539 $as_echo_n "checking for _logl declaration... " >&6; }
32540   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32541     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32542   $as_echo_n "(cached) " >&6
32543 else
32544
32545
32546       ac_ext=cpp
32547 ac_cpp='$CXXCPP $CPPFLAGS'
32548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32551
32552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32553 /* end confdefs.h.  */
32554 #include <math.h>
32555                       #ifdef HAVE_IEEEFP_H
32556                       #include <ieeefp.h>
32557                       #endif
32558
32559 int
32560 main ()
32561 {
32562  _logl(0);
32563   ;
32564   return 0;
32565 }
32566 _ACEOF
32567 if ac_fn_cxx_try_compile "$LINENO"; then :
32568   glibcxx_cv_func__logl_use=yes
32569 else
32570   glibcxx_cv_func__logl_use=no
32571 fi
32572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32573       ac_ext=c
32574 ac_cpp='$CPP $CPPFLAGS'
32575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32578
32579
32580 fi
32581
32582   fi
32583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32584 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32585
32586     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32587       for ac_func in _logl
32588 do :
32589   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32590 if test "x$ac_cv_func__logl" = x""yes; then :
32591   cat >>confdefs.h <<_ACEOF
32592 #define HAVE__LOGL 1
32593 _ACEOF
32594
32595 fi
32596 done
32597
32598     fi
32599   fi
32600
32601
32602
32603
32604
32605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32606 $as_echo_n "checking for log10l declaration... " >&6; }
32607   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32608     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32609   $as_echo_n "(cached) " >&6
32610 else
32611
32612
32613       ac_ext=cpp
32614 ac_cpp='$CXXCPP $CPPFLAGS'
32615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32618
32619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32620 /* end confdefs.h.  */
32621 #include <math.h>
32622                       #ifdef HAVE_IEEEFP_H
32623                       #include <ieeefp.h>
32624                       #endif
32625
32626 int
32627 main ()
32628 {
32629  log10l(0);
32630   ;
32631   return 0;
32632 }
32633 _ACEOF
32634 if ac_fn_cxx_try_compile "$LINENO"; then :
32635   glibcxx_cv_func_log10l_use=yes
32636 else
32637   glibcxx_cv_func_log10l_use=no
32638 fi
32639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32640       ac_ext=c
32641 ac_cpp='$CPP $CPPFLAGS'
32642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32645
32646
32647 fi
32648
32649   fi
32650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32651 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32652
32653   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32654     for ac_func in log10l
32655 do :
32656   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32657 if test "x$ac_cv_func_log10l" = x""yes; then :
32658   cat >>confdefs.h <<_ACEOF
32659 #define HAVE_LOG10L 1
32660 _ACEOF
32661
32662 fi
32663 done
32664
32665   else
32666
32667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32668 $as_echo_n "checking for _log10l declaration... " >&6; }
32669   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32670     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32671   $as_echo_n "(cached) " >&6
32672 else
32673
32674
32675       ac_ext=cpp
32676 ac_cpp='$CXXCPP $CPPFLAGS'
32677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32680
32681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32682 /* end confdefs.h.  */
32683 #include <math.h>
32684                       #ifdef HAVE_IEEEFP_H
32685                       #include <ieeefp.h>
32686                       #endif
32687
32688 int
32689 main ()
32690 {
32691  _log10l(0);
32692   ;
32693   return 0;
32694 }
32695 _ACEOF
32696 if ac_fn_cxx_try_compile "$LINENO"; then :
32697   glibcxx_cv_func__log10l_use=yes
32698 else
32699   glibcxx_cv_func__log10l_use=no
32700 fi
32701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32702       ac_ext=c
32703 ac_cpp='$CPP $CPPFLAGS'
32704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32707
32708
32709 fi
32710
32711   fi
32712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32713 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32714
32715     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32716       for ac_func in _log10l
32717 do :
32718   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32719 if test "x$ac_cv_func__log10l" = x""yes; then :
32720   cat >>confdefs.h <<_ACEOF
32721 #define HAVE__LOG10L 1
32722 _ACEOF
32723
32724 fi
32725 done
32726
32727     fi
32728   fi
32729
32730
32731
32732
32733
32734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32735 $as_echo_n "checking for modfl declaration... " >&6; }
32736   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32737     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32738   $as_echo_n "(cached) " >&6
32739 else
32740
32741
32742       ac_ext=cpp
32743 ac_cpp='$CXXCPP $CPPFLAGS'
32744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32747
32748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32749 /* end confdefs.h.  */
32750 #include <math.h>
32751 int
32752 main ()
32753 {
32754  modfl(0, 0);
32755   ;
32756   return 0;
32757 }
32758 _ACEOF
32759 if ac_fn_cxx_try_compile "$LINENO"; then :
32760   glibcxx_cv_func_modfl_use=yes
32761 else
32762   glibcxx_cv_func_modfl_use=no
32763 fi
32764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32765       ac_ext=c
32766 ac_cpp='$CPP $CPPFLAGS'
32767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32770
32771
32772 fi
32773
32774   fi
32775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32776 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32777
32778   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32779     for ac_func in modfl
32780 do :
32781   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32782 if test "x$ac_cv_func_modfl" = x""yes; then :
32783   cat >>confdefs.h <<_ACEOF
32784 #define HAVE_MODFL 1
32785 _ACEOF
32786
32787 fi
32788 done
32789
32790   else
32791
32792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32793 $as_echo_n "checking for _modfl declaration... " >&6; }
32794   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32795     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32796   $as_echo_n "(cached) " >&6
32797 else
32798
32799
32800       ac_ext=cpp
32801 ac_cpp='$CXXCPP $CPPFLAGS'
32802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32805
32806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32807 /* end confdefs.h.  */
32808 #include <math.h>
32809 int
32810 main ()
32811 {
32812  _modfl(0, 0);
32813   ;
32814   return 0;
32815 }
32816 _ACEOF
32817 if ac_fn_cxx_try_compile "$LINENO"; then :
32818   glibcxx_cv_func__modfl_use=yes
32819 else
32820   glibcxx_cv_func__modfl_use=no
32821 fi
32822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32823       ac_ext=c
32824 ac_cpp='$CPP $CPPFLAGS'
32825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32828
32829
32830 fi
32831
32832   fi
32833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32834 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32835
32836     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32837       for ac_func in _modfl
32838 do :
32839   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32840 if test "x$ac_cv_func__modfl" = x""yes; then :
32841   cat >>confdefs.h <<_ACEOF
32842 #define HAVE__MODFL 1
32843 _ACEOF
32844
32845 fi
32846 done
32847
32848     fi
32849   fi
32850
32851
32852
32853
32854
32855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32856 $as_echo_n "checking for powl declaration... " >&6; }
32857   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32858     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32859   $as_echo_n "(cached) " >&6
32860 else
32861
32862
32863       ac_ext=cpp
32864 ac_cpp='$CXXCPP $CPPFLAGS'
32865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32868
32869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32870 /* end confdefs.h.  */
32871 #include <math.h>
32872 int
32873 main ()
32874 {
32875  powl(0, 0);
32876   ;
32877   return 0;
32878 }
32879 _ACEOF
32880 if ac_fn_cxx_try_compile "$LINENO"; then :
32881   glibcxx_cv_func_powl_use=yes
32882 else
32883   glibcxx_cv_func_powl_use=no
32884 fi
32885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32886       ac_ext=c
32887 ac_cpp='$CPP $CPPFLAGS'
32888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32891
32892
32893 fi
32894
32895   fi
32896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32897 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32898
32899   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32900     for ac_func in powl
32901 do :
32902   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32903 if test "x$ac_cv_func_powl" = x""yes; then :
32904   cat >>confdefs.h <<_ACEOF
32905 #define HAVE_POWL 1
32906 _ACEOF
32907
32908 fi
32909 done
32910
32911   else
32912
32913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32914 $as_echo_n "checking for _powl declaration... " >&6; }
32915   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32916     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32917   $as_echo_n "(cached) " >&6
32918 else
32919
32920
32921       ac_ext=cpp
32922 ac_cpp='$CXXCPP $CPPFLAGS'
32923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32926
32927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32928 /* end confdefs.h.  */
32929 #include <math.h>
32930 int
32931 main ()
32932 {
32933  _powl(0, 0);
32934   ;
32935   return 0;
32936 }
32937 _ACEOF
32938 if ac_fn_cxx_try_compile "$LINENO"; then :
32939   glibcxx_cv_func__powl_use=yes
32940 else
32941   glibcxx_cv_func__powl_use=no
32942 fi
32943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32944       ac_ext=c
32945 ac_cpp='$CPP $CPPFLAGS'
32946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32949
32950
32951 fi
32952
32953   fi
32954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32955 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32956
32957     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32958       for ac_func in _powl
32959 do :
32960   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32961 if test "x$ac_cv_func__powl" = x""yes; then :
32962   cat >>confdefs.h <<_ACEOF
32963 #define HAVE__POWL 1
32964 _ACEOF
32965
32966 fi
32967 done
32968
32969     fi
32970   fi
32971
32972
32973
32974
32975
32976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32977 $as_echo_n "checking for sqrtl declaration... " >&6; }
32978   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32979     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32980   $as_echo_n "(cached) " >&6
32981 else
32982
32983
32984       ac_ext=cpp
32985 ac_cpp='$CXXCPP $CPPFLAGS'
32986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32989
32990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32991 /* end confdefs.h.  */
32992 #include <math.h>
32993                       #ifdef HAVE_IEEEFP_H
32994                       #include <ieeefp.h>
32995                       #endif
32996
32997 int
32998 main ()
32999 {
33000  sqrtl(0);
33001   ;
33002   return 0;
33003 }
33004 _ACEOF
33005 if ac_fn_cxx_try_compile "$LINENO"; then :
33006   glibcxx_cv_func_sqrtl_use=yes
33007 else
33008   glibcxx_cv_func_sqrtl_use=no
33009 fi
33010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33011       ac_ext=c
33012 ac_cpp='$CPP $CPPFLAGS'
33013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33016
33017
33018 fi
33019
33020   fi
33021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33022 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33023
33024   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33025     for ac_func in sqrtl
33026 do :
33027   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33028 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33029   cat >>confdefs.h <<_ACEOF
33030 #define HAVE_SQRTL 1
33031 _ACEOF
33032
33033 fi
33034 done
33035
33036   else
33037
33038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33039 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33040   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33041     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33042   $as_echo_n "(cached) " >&6
33043 else
33044
33045
33046       ac_ext=cpp
33047 ac_cpp='$CXXCPP $CPPFLAGS'
33048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33051
33052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33053 /* end confdefs.h.  */
33054 #include <math.h>
33055                       #ifdef HAVE_IEEEFP_H
33056                       #include <ieeefp.h>
33057                       #endif
33058
33059 int
33060 main ()
33061 {
33062  _sqrtl(0);
33063   ;
33064   return 0;
33065 }
33066 _ACEOF
33067 if ac_fn_cxx_try_compile "$LINENO"; then :
33068   glibcxx_cv_func__sqrtl_use=yes
33069 else
33070   glibcxx_cv_func__sqrtl_use=no
33071 fi
33072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33073       ac_ext=c
33074 ac_cpp='$CPP $CPPFLAGS'
33075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33078
33079
33080 fi
33081
33082   fi
33083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33084 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33085
33086     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33087       for ac_func in _sqrtl
33088 do :
33089   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33090 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33091   cat >>confdefs.h <<_ACEOF
33092 #define HAVE__SQRTL 1
33093 _ACEOF
33094
33095 fi
33096 done
33097
33098     fi
33099   fi
33100
33101
33102
33103
33104
33105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33106 $as_echo_n "checking for sincosl declaration... " >&6; }
33107   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33108     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33109   $as_echo_n "(cached) " >&6
33110 else
33111
33112
33113       ac_ext=cpp
33114 ac_cpp='$CXXCPP $CPPFLAGS'
33115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33118
33119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33120 /* end confdefs.h.  */
33121 #include <math.h>
33122 int
33123 main ()
33124 {
33125  sincosl(0, 0, 0);
33126   ;
33127   return 0;
33128 }
33129 _ACEOF
33130 if ac_fn_cxx_try_compile "$LINENO"; then :
33131   glibcxx_cv_func_sincosl_use=yes
33132 else
33133   glibcxx_cv_func_sincosl_use=no
33134 fi
33135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33136       ac_ext=c
33137 ac_cpp='$CPP $CPPFLAGS'
33138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33141
33142
33143 fi
33144
33145   fi
33146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33147 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33148
33149   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33150     for ac_func in sincosl
33151 do :
33152   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33153 if test "x$ac_cv_func_sincosl" = x""yes; then :
33154   cat >>confdefs.h <<_ACEOF
33155 #define HAVE_SINCOSL 1
33156 _ACEOF
33157
33158 fi
33159 done
33160
33161   else
33162
33163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33164 $as_echo_n "checking for _sincosl declaration... " >&6; }
33165   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33166     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33167   $as_echo_n "(cached) " >&6
33168 else
33169
33170
33171       ac_ext=cpp
33172 ac_cpp='$CXXCPP $CPPFLAGS'
33173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33176
33177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33178 /* end confdefs.h.  */
33179 #include <math.h>
33180 int
33181 main ()
33182 {
33183  _sincosl(0, 0, 0);
33184   ;
33185   return 0;
33186 }
33187 _ACEOF
33188 if ac_fn_cxx_try_compile "$LINENO"; then :
33189   glibcxx_cv_func__sincosl_use=yes
33190 else
33191   glibcxx_cv_func__sincosl_use=no
33192 fi
33193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33194       ac_ext=c
33195 ac_cpp='$CPP $CPPFLAGS'
33196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33199
33200
33201 fi
33202
33203   fi
33204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33205 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33206
33207     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33208       for ac_func in _sincosl
33209 do :
33210   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33211 if test "x$ac_cv_func__sincosl" = x""yes; then :
33212   cat >>confdefs.h <<_ACEOF
33213 #define HAVE__SINCOSL 1
33214 _ACEOF
33215
33216 fi
33217 done
33218
33219     fi
33220   fi
33221
33222
33223
33224
33225
33226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33227 $as_echo_n "checking for finitel declaration... " >&6; }
33228   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33229     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33230   $as_echo_n "(cached) " >&6
33231 else
33232
33233
33234       ac_ext=cpp
33235 ac_cpp='$CXXCPP $CPPFLAGS'
33236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33239
33240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33241 /* end confdefs.h.  */
33242 #include <math.h>
33243                       #ifdef HAVE_IEEEFP_H
33244                       #include <ieeefp.h>
33245                       #endif
33246
33247 int
33248 main ()
33249 {
33250  finitel(0);
33251   ;
33252   return 0;
33253 }
33254 _ACEOF
33255 if ac_fn_cxx_try_compile "$LINENO"; then :
33256   glibcxx_cv_func_finitel_use=yes
33257 else
33258   glibcxx_cv_func_finitel_use=no
33259 fi
33260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33261       ac_ext=c
33262 ac_cpp='$CPP $CPPFLAGS'
33263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33266
33267
33268 fi
33269
33270   fi
33271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33272 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33273
33274   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33275     for ac_func in finitel
33276 do :
33277   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33278 if test "x$ac_cv_func_finitel" = x""yes; then :
33279   cat >>confdefs.h <<_ACEOF
33280 #define HAVE_FINITEL 1
33281 _ACEOF
33282
33283 fi
33284 done
33285
33286   else
33287
33288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33289 $as_echo_n "checking for _finitel declaration... " >&6; }
33290   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33291     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33292   $as_echo_n "(cached) " >&6
33293 else
33294
33295
33296       ac_ext=cpp
33297 ac_cpp='$CXXCPP $CPPFLAGS'
33298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33301
33302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33303 /* end confdefs.h.  */
33304 #include <math.h>
33305                       #ifdef HAVE_IEEEFP_H
33306                       #include <ieeefp.h>
33307                       #endif
33308
33309 int
33310 main ()
33311 {
33312  _finitel(0);
33313   ;
33314   return 0;
33315 }
33316 _ACEOF
33317 if ac_fn_cxx_try_compile "$LINENO"; then :
33318   glibcxx_cv_func__finitel_use=yes
33319 else
33320   glibcxx_cv_func__finitel_use=no
33321 fi
33322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33323       ac_ext=c
33324 ac_cpp='$CPP $CPPFLAGS'
33325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33328
33329
33330 fi
33331
33332   fi
33333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33334 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33335
33336     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33337       for ac_func in _finitel
33338 do :
33339   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33340 if test "x$ac_cv_func__finitel" = x""yes; then :
33341   cat >>confdefs.h <<_ACEOF
33342 #define HAVE__FINITEL 1
33343 _ACEOF
33344
33345 fi
33346 done
33347
33348     fi
33349   fi
33350
33351
33352
33353
33354   LIBS="$ac_save_LIBS"
33355   CXXFLAGS="$ac_save_CXXFLAGS"
33356
33357
33358   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33359   ac_save_CXXFLAGS="$CXXFLAGS"
33360   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33361
33362
33363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33364 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33365   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33366     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33367   $as_echo_n "(cached) " >&6
33368 else
33369
33370
33371       ac_ext=cpp
33372 ac_cpp='$CXXCPP $CPPFLAGS'
33373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33376
33377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33378 /* end confdefs.h.  */
33379 #include <stdlib.h>
33380 int
33381 main ()
33382 {
33383  at_quick_exit(0);
33384   ;
33385   return 0;
33386 }
33387 _ACEOF
33388 if ac_fn_cxx_try_compile "$LINENO"; then :
33389   glibcxx_cv_func_at_quick_exit_use=yes
33390 else
33391   glibcxx_cv_func_at_quick_exit_use=no
33392 fi
33393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33394       ac_ext=c
33395 ac_cpp='$CPP $CPPFLAGS'
33396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33399
33400
33401 fi
33402
33403   fi
33404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33405 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33406   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33407     for ac_func in at_quick_exit
33408 do :
33409   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33410 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33411   cat >>confdefs.h <<_ACEOF
33412 #define HAVE_AT_QUICK_EXIT 1
33413 _ACEOF
33414
33415 fi
33416 done
33417
33418   fi
33419
33420
33421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33422 $as_echo_n "checking for quick_exit declaration... " >&6; }
33423   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33424     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33425   $as_echo_n "(cached) " >&6
33426 else
33427
33428
33429       ac_ext=cpp
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33434
33435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h.  */
33437 #include <stdlib.h>
33438 int
33439 main ()
33440 {
33441  quick_exit(0);
33442   ;
33443   return 0;
33444 }
33445 _ACEOF
33446 if ac_fn_cxx_try_compile "$LINENO"; then :
33447   glibcxx_cv_func_quick_exit_use=yes
33448 else
33449   glibcxx_cv_func_quick_exit_use=no
33450 fi
33451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33452       ac_ext=c
33453 ac_cpp='$CPP $CPPFLAGS'
33454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33457
33458
33459 fi
33460
33461   fi
33462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33463 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33464   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33465     for ac_func in quick_exit
33466 do :
33467   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33468 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33469   cat >>confdefs.h <<_ACEOF
33470 #define HAVE_QUICK_EXIT 1
33471 _ACEOF
33472
33473 fi
33474 done
33475
33476   fi
33477
33478
33479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33480 $as_echo_n "checking for strtold declaration... " >&6; }
33481   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33482     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33483   $as_echo_n "(cached) " >&6
33484 else
33485
33486
33487       ac_ext=cpp
33488 ac_cpp='$CXXCPP $CPPFLAGS'
33489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33492
33493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33494 /* end confdefs.h.  */
33495 #include <stdlib.h>
33496 int
33497 main ()
33498 {
33499  strtold(0, 0);
33500   ;
33501   return 0;
33502 }
33503 _ACEOF
33504 if ac_fn_cxx_try_compile "$LINENO"; then :
33505   glibcxx_cv_func_strtold_use=yes
33506 else
33507   glibcxx_cv_func_strtold_use=no
33508 fi
33509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33510       ac_ext=c
33511 ac_cpp='$CPP $CPPFLAGS'
33512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33515
33516
33517 fi
33518
33519   fi
33520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33521 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33522   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33523     for ac_func in strtold
33524 do :
33525   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33526 if test "x$ac_cv_func_strtold" = x""yes; then :
33527   cat >>confdefs.h <<_ACEOF
33528 #define HAVE_STRTOLD 1
33529 _ACEOF
33530
33531 fi
33532 done
33533
33534   fi
33535
33536
33537
33538
33539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33540 $as_echo_n "checking for strtof declaration... " >&6; }
33541   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33542     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33543   $as_echo_n "(cached) " >&6
33544 else
33545
33546
33547       ac_ext=cpp
33548 ac_cpp='$CXXCPP $CPPFLAGS'
33549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33552
33553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33554 /* end confdefs.h.  */
33555 #include <stdlib.h>
33556 int
33557 main ()
33558 {
33559  strtof(0, 0);
33560   ;
33561   return 0;
33562 }
33563 _ACEOF
33564 if ac_fn_cxx_try_compile "$LINENO"; then :
33565   glibcxx_cv_func_strtof_use=yes
33566 else
33567   glibcxx_cv_func_strtof_use=no
33568 fi
33569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33570       ac_ext=c
33571 ac_cpp='$CPP $CPPFLAGS'
33572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33575
33576
33577 fi
33578
33579   fi
33580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33581 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33582   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33583     for ac_func in strtof
33584 do :
33585   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33586 if test "x$ac_cv_func_strtof" = x""yes; then :
33587   cat >>confdefs.h <<_ACEOF
33588 #define HAVE_STRTOF 1
33589 _ACEOF
33590
33591 fi
33592 done
33593
33594   fi
33595
33596
33597
33598
33599   CXXFLAGS="$ac_save_CXXFLAGS"
33600
33601
33602     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33603
33604     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33605
33606     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33607
33608     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33609
33610
33611     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33612
33613     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33614
33615     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33616
33617     ;;
33618
33619   *-aix*)
33620
33621   # If we're not using GNU ld, then there's no point in even trying these
33622   # tests.  Check for that first.  We should have already tested for gld
33623   # by now (in libtool), but require it now just to be safe...
33624   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33625   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33626
33627
33628
33629   # The name set by libtool depends on the version of libtool.  Shame on us
33630   # for depending on an impl detail, but c'est la vie.  Older versions used
33631   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33632   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33633   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33634   # set (hence we're using an older libtool), then set it.
33635   if test x${with_gnu_ld+set} != xset; then
33636     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33637       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33638       with_gnu_ld=no
33639     else
33640       with_gnu_ld=$ac_cv_prog_gnu_ld
33641     fi
33642   fi
33643
33644   # Start by getting the version number.  I think the libtool test already
33645   # does some of this, but throws away the result.
33646   glibcxx_ld_is_gold=no
33647   if test x"$with_gnu_ld" = x"yes"; then
33648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33649 $as_echo_n "checking for ld version... " >&6; }
33650
33651     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33652       glibcxx_ld_is_gold=yes
33653     fi
33654     ldver=`$LD --version 2>/dev/null |
33655            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'`
33656
33657     glibcxx_gnu_ld_version=`echo $ldver | \
33658            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33659     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33660 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33661   fi
33662
33663   # Set --gc-sections.
33664   glibcxx_have_gc_sections=no
33665   if test "$glibcxx_ld_is_gold" = "yes"; then
33666     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33667       glibcxx_have_gc_sections=yes
33668     fi
33669   else
33670     glibcxx_gcsections_min_ld=21602
33671     if test x"$with_gnu_ld" = x"yes" &&
33672         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33673       glibcxx_have_gc_sections=yes
33674     fi
33675   fi
33676   if test "$glibcxx_have_gc_sections" = "yes"; then
33677     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33678     # NB: This flag only works reliably after 2.16.1. Configure tests
33679     # for this are difficult, so hard wire a value that should work.
33680
33681     ac_test_CFLAGS="${CFLAGS+set}"
33682     ac_save_CFLAGS="$CFLAGS"
33683     CFLAGS='-Wl,--gc-sections'
33684
33685     # Check for -Wl,--gc-sections
33686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33687 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33688     if test x$gcc_no_link = xyes; then
33689   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33690 fi
33691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33692 /* end confdefs.h.  */
33693  int one(void) { return 1; }
33694      int two(void) { return 2; }
33695
33696 int
33697 main ()
33698 {
33699  two();
33700   ;
33701   return 0;
33702 }
33703 _ACEOF
33704 if ac_fn_c_try_link "$LINENO"; then :
33705   ac_gcsections=yes
33706 else
33707   ac_gcsections=no
33708 fi
33709 rm -f core conftest.err conftest.$ac_objext \
33710     conftest$ac_exeext conftest.$ac_ext
33711     if test "$ac_gcsections" = "yes"; then
33712       rm -f conftest.c
33713       touch conftest.c
33714       if $CC -c conftest.c; then
33715         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33716            grep "Warning: gc-sections option ignored" > /dev/null; then
33717           ac_gcsections=no
33718         fi
33719       fi
33720       rm -f conftest.c conftest.o conftest
33721     fi
33722     if test "$ac_gcsections" = "yes"; then
33723       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33724     fi
33725     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33726 $as_echo "$ac_gcsections" >&6; }
33727
33728     if test "$ac_test_CFLAGS" = set; then
33729       CFLAGS="$ac_save_CFLAGS"
33730     else
33731       # this is the suspicious part
33732       CFLAGS=''
33733     fi
33734   fi
33735
33736   # Set -z,relro.
33737   # Note this is only for shared objects.
33738   ac_ld_relro=no
33739   if test x"$with_gnu_ld" = x"yes"; then
33740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33741 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33742     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33743     if test -n "$cxx_z_relo"; then
33744       OPT_LDFLAGS="-Wl,-z,relro"
33745       ac_ld_relro=yes
33746     fi
33747     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33748 $as_echo "$ac_ld_relro" >&6; }
33749   fi
33750
33751   # Set linker optimization flags.
33752   if test x"$with_gnu_ld" = x"yes"; then
33753     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33754   fi
33755
33756
33757
33758
33759
33760   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33761   ac_save_CXXFLAGS="$CXXFLAGS"
33762   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33763
33764     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33765 $as_echo_n "checking for sin in -lm... " >&6; }
33766 if test "${ac_cv_lib_m_sin+set}" = set; then :
33767   $as_echo_n "(cached) " >&6
33768 else
33769   ac_check_lib_save_LIBS=$LIBS
33770 LIBS="-lm  $LIBS"
33771 if test x$gcc_no_link = xyes; then
33772   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33773 fi
33774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33775 /* end confdefs.h.  */
33776
33777 /* Override any GCC internal prototype to avoid an error.
33778    Use char because int might match the return type of a GCC
33779    builtin and then its argument prototype would still apply.  */
33780 #ifdef __cplusplus
33781 extern "C"
33782 #endif
33783 char sin ();
33784 int
33785 main ()
33786 {
33787 return sin ();
33788   ;
33789   return 0;
33790 }
33791 _ACEOF
33792 if ac_fn_c_try_link "$LINENO"; then :
33793   ac_cv_lib_m_sin=yes
33794 else
33795   ac_cv_lib_m_sin=no
33796 fi
33797 rm -f core conftest.err conftest.$ac_objext \
33798     conftest$ac_exeext conftest.$ac_ext
33799 LIBS=$ac_check_lib_save_LIBS
33800 fi
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33802 $as_echo "$ac_cv_lib_m_sin" >&6; }
33803 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33804   libm="-lm"
33805 fi
33806
33807   ac_save_LIBS="$LIBS"
33808   LIBS="$LIBS $libm"
33809
33810
33811
33812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33813 $as_echo_n "checking for isinf declaration... " >&6; }
33814   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33815     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33816   $as_echo_n "(cached) " >&6
33817 else
33818
33819
33820       ac_ext=cpp
33821 ac_cpp='$CXXCPP $CPPFLAGS'
33822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33825
33826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33827 /* end confdefs.h.  */
33828 #include <math.h>
33829                       #ifdef HAVE_IEEEFP_H
33830                       #include <ieeefp.h>
33831                       #endif
33832
33833 int
33834 main ()
33835 {
33836  isinf(0);
33837   ;
33838   return 0;
33839 }
33840 _ACEOF
33841 if ac_fn_cxx_try_compile "$LINENO"; then :
33842   glibcxx_cv_func_isinf_use=yes
33843 else
33844   glibcxx_cv_func_isinf_use=no
33845 fi
33846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33847       ac_ext=c
33848 ac_cpp='$CPP $CPPFLAGS'
33849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33852
33853
33854 fi
33855
33856   fi
33857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33858 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33859
33860   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33861     for ac_func in isinf
33862 do :
33863   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33864 if test "x$ac_cv_func_isinf" = x""yes; then :
33865   cat >>confdefs.h <<_ACEOF
33866 #define HAVE_ISINF 1
33867 _ACEOF
33868
33869 fi
33870 done
33871
33872   else
33873
33874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33875 $as_echo_n "checking for _isinf declaration... " >&6; }
33876   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33877     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33878   $as_echo_n "(cached) " >&6
33879 else
33880
33881
33882       ac_ext=cpp
33883 ac_cpp='$CXXCPP $CPPFLAGS'
33884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33887
33888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33889 /* end confdefs.h.  */
33890 #include <math.h>
33891                       #ifdef HAVE_IEEEFP_H
33892                       #include <ieeefp.h>
33893                       #endif
33894
33895 int
33896 main ()
33897 {
33898  _isinf(0);
33899   ;
33900   return 0;
33901 }
33902 _ACEOF
33903 if ac_fn_cxx_try_compile "$LINENO"; then :
33904   glibcxx_cv_func__isinf_use=yes
33905 else
33906   glibcxx_cv_func__isinf_use=no
33907 fi
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33909       ac_ext=c
33910 ac_cpp='$CPP $CPPFLAGS'
33911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33914
33915
33916 fi
33917
33918   fi
33919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33920 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33921
33922     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33923       for ac_func in _isinf
33924 do :
33925   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33926 if test "x$ac_cv_func__isinf" = x""yes; then :
33927   cat >>confdefs.h <<_ACEOF
33928 #define HAVE__ISINF 1
33929 _ACEOF
33930
33931 fi
33932 done
33933
33934     fi
33935   fi
33936
33937
33938
33939
33940
33941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33942 $as_echo_n "checking for isnan declaration... " >&6; }
33943   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33944     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33945   $as_echo_n "(cached) " >&6
33946 else
33947
33948
33949       ac_ext=cpp
33950 ac_cpp='$CXXCPP $CPPFLAGS'
33951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33954
33955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33956 /* end confdefs.h.  */
33957 #include <math.h>
33958                       #ifdef HAVE_IEEEFP_H
33959                       #include <ieeefp.h>
33960                       #endif
33961
33962 int
33963 main ()
33964 {
33965  isnan(0);
33966   ;
33967   return 0;
33968 }
33969 _ACEOF
33970 if ac_fn_cxx_try_compile "$LINENO"; then :
33971   glibcxx_cv_func_isnan_use=yes
33972 else
33973   glibcxx_cv_func_isnan_use=no
33974 fi
33975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33976       ac_ext=c
33977 ac_cpp='$CPP $CPPFLAGS'
33978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33981
33982
33983 fi
33984
33985   fi
33986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33987 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33988
33989   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33990     for ac_func in isnan
33991 do :
33992   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33993 if test "x$ac_cv_func_isnan" = x""yes; then :
33994   cat >>confdefs.h <<_ACEOF
33995 #define HAVE_ISNAN 1
33996 _ACEOF
33997
33998 fi
33999 done
34000
34001   else
34002
34003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34004 $as_echo_n "checking for _isnan declaration... " >&6; }
34005   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34006     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34007   $as_echo_n "(cached) " >&6
34008 else
34009
34010
34011       ac_ext=cpp
34012 ac_cpp='$CXXCPP $CPPFLAGS'
34013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34016
34017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34018 /* end confdefs.h.  */
34019 #include <math.h>
34020                       #ifdef HAVE_IEEEFP_H
34021                       #include <ieeefp.h>
34022                       #endif
34023
34024 int
34025 main ()
34026 {
34027  _isnan(0);
34028   ;
34029   return 0;
34030 }
34031 _ACEOF
34032 if ac_fn_cxx_try_compile "$LINENO"; then :
34033   glibcxx_cv_func__isnan_use=yes
34034 else
34035   glibcxx_cv_func__isnan_use=no
34036 fi
34037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34038       ac_ext=c
34039 ac_cpp='$CPP $CPPFLAGS'
34040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34043
34044
34045 fi
34046
34047   fi
34048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34049 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34050
34051     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34052       for ac_func in _isnan
34053 do :
34054   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34055 if test "x$ac_cv_func__isnan" = x""yes; then :
34056   cat >>confdefs.h <<_ACEOF
34057 #define HAVE__ISNAN 1
34058 _ACEOF
34059
34060 fi
34061 done
34062
34063     fi
34064   fi
34065
34066
34067
34068
34069
34070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34071 $as_echo_n "checking for finite declaration... " >&6; }
34072   if test x${glibcxx_cv_func_finite_use+set} != xset; then
34073     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34074   $as_echo_n "(cached) " >&6
34075 else
34076
34077
34078       ac_ext=cpp
34079 ac_cpp='$CXXCPP $CPPFLAGS'
34080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34083
34084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34085 /* end confdefs.h.  */
34086 #include <math.h>
34087                       #ifdef HAVE_IEEEFP_H
34088                       #include <ieeefp.h>
34089                       #endif
34090
34091 int
34092 main ()
34093 {
34094  finite(0);
34095   ;
34096   return 0;
34097 }
34098 _ACEOF
34099 if ac_fn_cxx_try_compile "$LINENO"; then :
34100   glibcxx_cv_func_finite_use=yes
34101 else
34102   glibcxx_cv_func_finite_use=no
34103 fi
34104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34105       ac_ext=c
34106 ac_cpp='$CPP $CPPFLAGS'
34107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34110
34111
34112 fi
34113
34114   fi
34115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34116 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34117
34118   if test x$glibcxx_cv_func_finite_use = x"yes"; then
34119     for ac_func in finite
34120 do :
34121   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34122 if test "x$ac_cv_func_finite" = x""yes; then :
34123   cat >>confdefs.h <<_ACEOF
34124 #define HAVE_FINITE 1
34125 _ACEOF
34126
34127 fi
34128 done
34129
34130   else
34131
34132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34133 $as_echo_n "checking for _finite declaration... " >&6; }
34134   if test x${glibcxx_cv_func__finite_use+set} != xset; then
34135     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34136   $as_echo_n "(cached) " >&6
34137 else
34138
34139
34140       ac_ext=cpp
34141 ac_cpp='$CXXCPP $CPPFLAGS'
34142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34145
34146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34147 /* end confdefs.h.  */
34148 #include <math.h>
34149                       #ifdef HAVE_IEEEFP_H
34150                       #include <ieeefp.h>
34151                       #endif
34152
34153 int
34154 main ()
34155 {
34156  _finite(0);
34157   ;
34158   return 0;
34159 }
34160 _ACEOF
34161 if ac_fn_cxx_try_compile "$LINENO"; then :
34162   glibcxx_cv_func__finite_use=yes
34163 else
34164   glibcxx_cv_func__finite_use=no
34165 fi
34166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34167       ac_ext=c
34168 ac_cpp='$CPP $CPPFLAGS'
34169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34172
34173
34174 fi
34175
34176   fi
34177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34178 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34179
34180     if test x$glibcxx_cv_func__finite_use = x"yes"; then
34181       for ac_func in _finite
34182 do :
34183   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34184 if test "x$ac_cv_func__finite" = x""yes; then :
34185   cat >>confdefs.h <<_ACEOF
34186 #define HAVE__FINITE 1
34187 _ACEOF
34188
34189 fi
34190 done
34191
34192     fi
34193   fi
34194
34195
34196
34197
34198
34199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34200 $as_echo_n "checking for sincos declaration... " >&6; }
34201   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34202     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34203   $as_echo_n "(cached) " >&6
34204 else
34205
34206
34207       ac_ext=cpp
34208 ac_cpp='$CXXCPP $CPPFLAGS'
34209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34212
34213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34214 /* end confdefs.h.  */
34215 #include <math.h>
34216 int
34217 main ()
34218 {
34219  sincos(0, 0, 0);
34220   ;
34221   return 0;
34222 }
34223 _ACEOF
34224 if ac_fn_cxx_try_compile "$LINENO"; then :
34225   glibcxx_cv_func_sincos_use=yes
34226 else
34227   glibcxx_cv_func_sincos_use=no
34228 fi
34229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34230       ac_ext=c
34231 ac_cpp='$CPP $CPPFLAGS'
34232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34235
34236
34237 fi
34238
34239   fi
34240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34241 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34242
34243   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34244     for ac_func in sincos
34245 do :
34246   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34247 if test "x$ac_cv_func_sincos" = x""yes; then :
34248   cat >>confdefs.h <<_ACEOF
34249 #define HAVE_SINCOS 1
34250 _ACEOF
34251
34252 fi
34253 done
34254
34255   else
34256
34257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34258 $as_echo_n "checking for _sincos declaration... " >&6; }
34259   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34260     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34261   $as_echo_n "(cached) " >&6
34262 else
34263
34264
34265       ac_ext=cpp
34266 ac_cpp='$CXXCPP $CPPFLAGS'
34267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34270
34271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34272 /* end confdefs.h.  */
34273 #include <math.h>
34274 int
34275 main ()
34276 {
34277  _sincos(0, 0, 0);
34278   ;
34279   return 0;
34280 }
34281 _ACEOF
34282 if ac_fn_cxx_try_compile "$LINENO"; then :
34283   glibcxx_cv_func__sincos_use=yes
34284 else
34285   glibcxx_cv_func__sincos_use=no
34286 fi
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288       ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34293
34294
34295 fi
34296
34297   fi
34298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34299 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34300
34301     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34302       for ac_func in _sincos
34303 do :
34304   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34305 if test "x$ac_cv_func__sincos" = x""yes; then :
34306   cat >>confdefs.h <<_ACEOF
34307 #define HAVE__SINCOS 1
34308 _ACEOF
34309
34310 fi
34311 done
34312
34313     fi
34314   fi
34315
34316
34317
34318
34319
34320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34321 $as_echo_n "checking for fpclass declaration... " >&6; }
34322   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34323     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34324   $as_echo_n "(cached) " >&6
34325 else
34326
34327
34328       ac_ext=cpp
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333
34334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34335 /* end confdefs.h.  */
34336 #include <math.h>
34337                       #ifdef HAVE_IEEEFP_H
34338                       #include <ieeefp.h>
34339                       #endif
34340
34341 int
34342 main ()
34343 {
34344  fpclass(0);
34345   ;
34346   return 0;
34347 }
34348 _ACEOF
34349 if ac_fn_cxx_try_compile "$LINENO"; then :
34350   glibcxx_cv_func_fpclass_use=yes
34351 else
34352   glibcxx_cv_func_fpclass_use=no
34353 fi
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355       ac_ext=c
34356 ac_cpp='$CPP $CPPFLAGS'
34357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34360
34361
34362 fi
34363
34364   fi
34365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34366 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34367
34368   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34369     for ac_func in fpclass
34370 do :
34371   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34372 if test "x$ac_cv_func_fpclass" = x""yes; then :
34373   cat >>confdefs.h <<_ACEOF
34374 #define HAVE_FPCLASS 1
34375 _ACEOF
34376
34377 fi
34378 done
34379
34380   else
34381
34382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34383 $as_echo_n "checking for _fpclass declaration... " >&6; }
34384   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34385     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34386   $as_echo_n "(cached) " >&6
34387 else
34388
34389
34390       ac_ext=cpp
34391 ac_cpp='$CXXCPP $CPPFLAGS'
34392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34395
34396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h.  */
34398 #include <math.h>
34399                       #ifdef HAVE_IEEEFP_H
34400                       #include <ieeefp.h>
34401                       #endif
34402
34403 int
34404 main ()
34405 {
34406  _fpclass(0);
34407   ;
34408   return 0;
34409 }
34410 _ACEOF
34411 if ac_fn_cxx_try_compile "$LINENO"; then :
34412   glibcxx_cv_func__fpclass_use=yes
34413 else
34414   glibcxx_cv_func__fpclass_use=no
34415 fi
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417       ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34422
34423
34424 fi
34425
34426   fi
34427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34428 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34429
34430     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34431       for ac_func in _fpclass
34432 do :
34433   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34434 if test "x$ac_cv_func__fpclass" = x""yes; then :
34435   cat >>confdefs.h <<_ACEOF
34436 #define HAVE__FPCLASS 1
34437 _ACEOF
34438
34439 fi
34440 done
34441
34442     fi
34443   fi
34444
34445
34446
34447
34448
34449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34450 $as_echo_n "checking for qfpclass declaration... " >&6; }
34451   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34452     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34453   $as_echo_n "(cached) " >&6
34454 else
34455
34456
34457       ac_ext=cpp
34458 ac_cpp='$CXXCPP $CPPFLAGS'
34459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34462
34463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34464 /* end confdefs.h.  */
34465 #include <math.h>
34466                       #ifdef HAVE_IEEEFP_H
34467                       #include <ieeefp.h>
34468                       #endif
34469
34470 int
34471 main ()
34472 {
34473  qfpclass(0);
34474   ;
34475   return 0;
34476 }
34477 _ACEOF
34478 if ac_fn_cxx_try_compile "$LINENO"; then :
34479   glibcxx_cv_func_qfpclass_use=yes
34480 else
34481   glibcxx_cv_func_qfpclass_use=no
34482 fi
34483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484       ac_ext=c
34485 ac_cpp='$CPP $CPPFLAGS'
34486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34489
34490
34491 fi
34492
34493   fi
34494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34495 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34496
34497   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34498     for ac_func in qfpclass
34499 do :
34500   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34501 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34502   cat >>confdefs.h <<_ACEOF
34503 #define HAVE_QFPCLASS 1
34504 _ACEOF
34505
34506 fi
34507 done
34508
34509   else
34510
34511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34512 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34513   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34514     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34515   $as_echo_n "(cached) " >&6
34516 else
34517
34518
34519       ac_ext=cpp
34520 ac_cpp='$CXXCPP $CPPFLAGS'
34521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34524
34525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34526 /* end confdefs.h.  */
34527 #include <math.h>
34528                       #ifdef HAVE_IEEEFP_H
34529                       #include <ieeefp.h>
34530                       #endif
34531
34532 int
34533 main ()
34534 {
34535  _qfpclass(0);
34536   ;
34537   return 0;
34538 }
34539 _ACEOF
34540 if ac_fn_cxx_try_compile "$LINENO"; then :
34541   glibcxx_cv_func__qfpclass_use=yes
34542 else
34543   glibcxx_cv_func__qfpclass_use=no
34544 fi
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546       ac_ext=c
34547 ac_cpp='$CPP $CPPFLAGS'
34548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34551
34552
34553 fi
34554
34555   fi
34556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34557 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34558
34559     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34560       for ac_func in _qfpclass
34561 do :
34562   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34563 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34564   cat >>confdefs.h <<_ACEOF
34565 #define HAVE__QFPCLASS 1
34566 _ACEOF
34567
34568 fi
34569 done
34570
34571     fi
34572   fi
34573
34574
34575
34576
34577
34578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34579 $as_echo_n "checking for hypot declaration... " >&6; }
34580   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34581     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34582   $as_echo_n "(cached) " >&6
34583 else
34584
34585
34586       ac_ext=cpp
34587 ac_cpp='$CXXCPP $CPPFLAGS'
34588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34591
34592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34593 /* end confdefs.h.  */
34594 #include <math.h>
34595 int
34596 main ()
34597 {
34598  hypot(0, 0);
34599   ;
34600   return 0;
34601 }
34602 _ACEOF
34603 if ac_fn_cxx_try_compile "$LINENO"; then :
34604   glibcxx_cv_func_hypot_use=yes
34605 else
34606   glibcxx_cv_func_hypot_use=no
34607 fi
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609       ac_ext=c
34610 ac_cpp='$CPP $CPPFLAGS'
34611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34614
34615
34616 fi
34617
34618   fi
34619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34620 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34621
34622   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34623     for ac_func in hypot
34624 do :
34625   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34626 if test "x$ac_cv_func_hypot" = x""yes; then :
34627   cat >>confdefs.h <<_ACEOF
34628 #define HAVE_HYPOT 1
34629 _ACEOF
34630
34631 fi
34632 done
34633
34634   else
34635
34636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34637 $as_echo_n "checking for _hypot declaration... " >&6; }
34638   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34639     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34640   $as_echo_n "(cached) " >&6
34641 else
34642
34643
34644       ac_ext=cpp
34645 ac_cpp='$CXXCPP $CPPFLAGS'
34646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34649
34650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34651 /* end confdefs.h.  */
34652 #include <math.h>
34653 int
34654 main ()
34655 {
34656  _hypot(0, 0);
34657   ;
34658   return 0;
34659 }
34660 _ACEOF
34661 if ac_fn_cxx_try_compile "$LINENO"; then :
34662   glibcxx_cv_func__hypot_use=yes
34663 else
34664   glibcxx_cv_func__hypot_use=no
34665 fi
34666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34667       ac_ext=c
34668 ac_cpp='$CPP $CPPFLAGS'
34669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34672
34673
34674 fi
34675
34676   fi
34677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34678 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34679
34680     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34681       for ac_func in _hypot
34682 do :
34683   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34684 if test "x$ac_cv_func__hypot" = x""yes; then :
34685   cat >>confdefs.h <<_ACEOF
34686 #define HAVE__HYPOT 1
34687 _ACEOF
34688
34689 fi
34690 done
34691
34692     fi
34693   fi
34694
34695
34696
34697
34698
34699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34700 $as_echo_n "checking for float trig functions... " >&6; }
34701   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34702   $as_echo_n "(cached) " >&6
34703 else
34704
34705
34706     ac_ext=cpp
34707 ac_cpp='$CXXCPP $CPPFLAGS'
34708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34711
34712     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34713 /* end confdefs.h.  */
34714 #include <math.h>
34715 int
34716 main ()
34717 {
34718 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34719   ;
34720   return 0;
34721 }
34722 _ACEOF
34723 if ac_fn_cxx_try_compile "$LINENO"; then :
34724   glibcxx_cv_func_float_trig_use=yes
34725 else
34726   glibcxx_cv_func_float_trig_use=no
34727 fi
34728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34729     ac_ext=c
34730 ac_cpp='$CPP $CPPFLAGS'
34731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34734
34735 fi
34736
34737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34738 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34739   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34740     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34741 do :
34742   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34744 eval as_val=\$$as_ac_var
34745    if test "x$as_val" = x""yes; then :
34746   cat >>confdefs.h <<_ACEOF
34747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34748 _ACEOF
34749
34750 fi
34751 done
34752
34753   else
34754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34755 $as_echo_n "checking for _float trig functions... " >&6; }
34756     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34757   $as_echo_n "(cached) " >&6
34758 else
34759
34760
34761       ac_ext=cpp
34762 ac_cpp='$CXXCPP $CPPFLAGS'
34763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34766
34767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34768 /* end confdefs.h.  */
34769 #include <math.h>
34770 int
34771 main ()
34772 {
34773 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34774   ;
34775   return 0;
34776 }
34777 _ACEOF
34778 if ac_fn_cxx_try_compile "$LINENO"; then :
34779   glibcxx_cv_func__float_trig_use=yes
34780 else
34781   glibcxx_cv_func__float_trig_use=no
34782 fi
34783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784       ac_ext=c
34785 ac_cpp='$CPP $CPPFLAGS'
34786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789
34790 fi
34791
34792     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34793 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34794     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34795       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34796 do :
34797   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34799 eval as_val=\$$as_ac_var
34800    if test "x$as_val" = x""yes; then :
34801   cat >>confdefs.h <<_ACEOF
34802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34803 _ACEOF
34804
34805 fi
34806 done
34807
34808     fi
34809   fi
34810
34811
34812
34813
34814
34815     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34816 $as_echo_n "checking for float round functions... " >&6; }
34817   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34818   $as_echo_n "(cached) " >&6
34819 else
34820
34821
34822     ac_ext=cpp
34823 ac_cpp='$CXXCPP $CPPFLAGS'
34824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34827
34828     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34829 /* end confdefs.h.  */
34830 #include <math.h>
34831 int
34832 main ()
34833 {
34834 ceilf (0); floorf (0);
34835   ;
34836   return 0;
34837 }
34838 _ACEOF
34839 if ac_fn_cxx_try_compile "$LINENO"; then :
34840   glibcxx_cv_func_float_round_use=yes
34841 else
34842   glibcxx_cv_func_float_round_use=no
34843 fi
34844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34845     ac_ext=c
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34850
34851 fi
34852
34853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34854 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34855   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34856     for ac_func in ceilf floorf
34857 do :
34858   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34860 eval as_val=\$$as_ac_var
34861    if test "x$as_val" = x""yes; then :
34862   cat >>confdefs.h <<_ACEOF
34863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34864 _ACEOF
34865
34866 fi
34867 done
34868
34869   else
34870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34871 $as_echo_n "checking for _float round functions... " >&6; }
34872     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34873   $as_echo_n "(cached) " >&6
34874 else
34875
34876
34877       ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882
34883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h.  */
34885 #include <math.h>
34886 int
34887 main ()
34888 {
34889 _ceilf (0); _floorf (0);
34890   ;
34891   return 0;
34892 }
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895   glibcxx_cv_func__float_round_use=yes
34896 else
34897   glibcxx_cv_func__float_round_use=no
34898 fi
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900       ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905
34906 fi
34907
34908     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34909 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34910     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34911       for ac_func in _ceilf _floorf
34912 do :
34913   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34915 eval as_val=\$$as_ac_var
34916    if test "x$as_val" = x""yes; then :
34917   cat >>confdefs.h <<_ACEOF
34918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34919 _ACEOF
34920
34921 fi
34922 done
34923
34924     fi
34925   fi
34926
34927
34928
34929
34930
34931
34932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34933 $as_echo_n "checking for expf declaration... " >&6; }
34934   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34935     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34936   $as_echo_n "(cached) " >&6
34937 else
34938
34939
34940       ac_ext=cpp
34941 ac_cpp='$CXXCPP $CPPFLAGS'
34942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34945
34946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34947 /* end confdefs.h.  */
34948 #include <math.h>
34949                       #ifdef HAVE_IEEEFP_H
34950                       #include <ieeefp.h>
34951                       #endif
34952
34953 int
34954 main ()
34955 {
34956  expf(0);
34957   ;
34958   return 0;
34959 }
34960 _ACEOF
34961 if ac_fn_cxx_try_compile "$LINENO"; then :
34962   glibcxx_cv_func_expf_use=yes
34963 else
34964   glibcxx_cv_func_expf_use=no
34965 fi
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967       ac_ext=c
34968 ac_cpp='$CPP $CPPFLAGS'
34969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34972
34973
34974 fi
34975
34976   fi
34977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34978 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34979
34980   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34981     for ac_func in expf
34982 do :
34983   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34984 if test "x$ac_cv_func_expf" = x""yes; then :
34985   cat >>confdefs.h <<_ACEOF
34986 #define HAVE_EXPF 1
34987 _ACEOF
34988
34989 fi
34990 done
34991
34992   else
34993
34994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34995 $as_echo_n "checking for _expf declaration... " >&6; }
34996   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34997     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34998   $as_echo_n "(cached) " >&6
34999 else
35000
35001
35002       ac_ext=cpp
35003 ac_cpp='$CXXCPP $CPPFLAGS'
35004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35007
35008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35009 /* end confdefs.h.  */
35010 #include <math.h>
35011                       #ifdef HAVE_IEEEFP_H
35012                       #include <ieeefp.h>
35013                       #endif
35014
35015 int
35016 main ()
35017 {
35018  _expf(0);
35019   ;
35020   return 0;
35021 }
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024   glibcxx_cv_func__expf_use=yes
35025 else
35026   glibcxx_cv_func__expf_use=no
35027 fi
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029       ac_ext=c
35030 ac_cpp='$CPP $CPPFLAGS'
35031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35034
35035
35036 fi
35037
35038   fi
35039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35040 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35041
35042     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35043       for ac_func in _expf
35044 do :
35045   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35046 if test "x$ac_cv_func__expf" = x""yes; then :
35047   cat >>confdefs.h <<_ACEOF
35048 #define HAVE__EXPF 1
35049 _ACEOF
35050
35051 fi
35052 done
35053
35054     fi
35055   fi
35056
35057
35058
35059
35060
35061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35062 $as_echo_n "checking for isnanf declaration... " >&6; }
35063   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35064     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35065   $as_echo_n "(cached) " >&6
35066 else
35067
35068
35069       ac_ext=cpp
35070 ac_cpp='$CXXCPP $CPPFLAGS'
35071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35074
35075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35076 /* end confdefs.h.  */
35077 #include <math.h>
35078                       #ifdef HAVE_IEEEFP_H
35079                       #include <ieeefp.h>
35080                       #endif
35081
35082 int
35083 main ()
35084 {
35085  isnanf(0);
35086   ;
35087   return 0;
35088 }
35089 _ACEOF
35090 if ac_fn_cxx_try_compile "$LINENO"; then :
35091   glibcxx_cv_func_isnanf_use=yes
35092 else
35093   glibcxx_cv_func_isnanf_use=no
35094 fi
35095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35096       ac_ext=c
35097 ac_cpp='$CPP $CPPFLAGS'
35098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35101
35102
35103 fi
35104
35105   fi
35106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35107 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35108
35109   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35110     for ac_func in isnanf
35111 do :
35112   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35113 if test "x$ac_cv_func_isnanf" = x""yes; then :
35114   cat >>confdefs.h <<_ACEOF
35115 #define HAVE_ISNANF 1
35116 _ACEOF
35117
35118 fi
35119 done
35120
35121   else
35122
35123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35124 $as_echo_n "checking for _isnanf declaration... " >&6; }
35125   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35126     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35127   $as_echo_n "(cached) " >&6
35128 else
35129
35130
35131       ac_ext=cpp
35132 ac_cpp='$CXXCPP $CPPFLAGS'
35133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35136
35137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35138 /* end confdefs.h.  */
35139 #include <math.h>
35140                       #ifdef HAVE_IEEEFP_H
35141                       #include <ieeefp.h>
35142                       #endif
35143
35144 int
35145 main ()
35146 {
35147  _isnanf(0);
35148   ;
35149   return 0;
35150 }
35151 _ACEOF
35152 if ac_fn_cxx_try_compile "$LINENO"; then :
35153   glibcxx_cv_func__isnanf_use=yes
35154 else
35155   glibcxx_cv_func__isnanf_use=no
35156 fi
35157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35158       ac_ext=c
35159 ac_cpp='$CPP $CPPFLAGS'
35160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35163
35164
35165 fi
35166
35167   fi
35168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35169 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35170
35171     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35172       for ac_func in _isnanf
35173 do :
35174   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35175 if test "x$ac_cv_func__isnanf" = x""yes; then :
35176   cat >>confdefs.h <<_ACEOF
35177 #define HAVE__ISNANF 1
35178 _ACEOF
35179
35180 fi
35181 done
35182
35183     fi
35184   fi
35185
35186
35187
35188
35189
35190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35191 $as_echo_n "checking for isinff declaration... " >&6; }
35192   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35193     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35194   $as_echo_n "(cached) " >&6
35195 else
35196
35197
35198       ac_ext=cpp
35199 ac_cpp='$CXXCPP $CPPFLAGS'
35200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35203
35204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35205 /* end confdefs.h.  */
35206 #include <math.h>
35207                       #ifdef HAVE_IEEEFP_H
35208                       #include <ieeefp.h>
35209                       #endif
35210
35211 int
35212 main ()
35213 {
35214  isinff(0);
35215   ;
35216   return 0;
35217 }
35218 _ACEOF
35219 if ac_fn_cxx_try_compile "$LINENO"; then :
35220   glibcxx_cv_func_isinff_use=yes
35221 else
35222   glibcxx_cv_func_isinff_use=no
35223 fi
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225       ac_ext=c
35226 ac_cpp='$CPP $CPPFLAGS'
35227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35230
35231
35232 fi
35233
35234   fi
35235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35236 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35237
35238   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35239     for ac_func in isinff
35240 do :
35241   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35242 if test "x$ac_cv_func_isinff" = x""yes; then :
35243   cat >>confdefs.h <<_ACEOF
35244 #define HAVE_ISINFF 1
35245 _ACEOF
35246
35247 fi
35248 done
35249
35250   else
35251
35252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35253 $as_echo_n "checking for _isinff declaration... " >&6; }
35254   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35255     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35256   $as_echo_n "(cached) " >&6
35257 else
35258
35259
35260       ac_ext=cpp
35261 ac_cpp='$CXXCPP $CPPFLAGS'
35262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35265
35266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35267 /* end confdefs.h.  */
35268 #include <math.h>
35269                       #ifdef HAVE_IEEEFP_H
35270                       #include <ieeefp.h>
35271                       #endif
35272
35273 int
35274 main ()
35275 {
35276  _isinff(0);
35277   ;
35278   return 0;
35279 }
35280 _ACEOF
35281 if ac_fn_cxx_try_compile "$LINENO"; then :
35282   glibcxx_cv_func__isinff_use=yes
35283 else
35284   glibcxx_cv_func__isinff_use=no
35285 fi
35286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35287       ac_ext=c
35288 ac_cpp='$CPP $CPPFLAGS'
35289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35292
35293
35294 fi
35295
35296   fi
35297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35298 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35299
35300     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35301       for ac_func in _isinff
35302 do :
35303   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35304 if test "x$ac_cv_func__isinff" = x""yes; then :
35305   cat >>confdefs.h <<_ACEOF
35306 #define HAVE__ISINFF 1
35307 _ACEOF
35308
35309 fi
35310 done
35311
35312     fi
35313   fi
35314
35315
35316
35317
35318
35319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35320 $as_echo_n "checking for atan2f declaration... " >&6; }
35321   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35322     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35323   $as_echo_n "(cached) " >&6
35324 else
35325
35326
35327       ac_ext=cpp
35328 ac_cpp='$CXXCPP $CPPFLAGS'
35329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35332
35333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35334 /* end confdefs.h.  */
35335 #include <math.h>
35336 int
35337 main ()
35338 {
35339  atan2f(0, 0);
35340   ;
35341   return 0;
35342 }
35343 _ACEOF
35344 if ac_fn_cxx_try_compile "$LINENO"; then :
35345   glibcxx_cv_func_atan2f_use=yes
35346 else
35347   glibcxx_cv_func_atan2f_use=no
35348 fi
35349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35350       ac_ext=c
35351 ac_cpp='$CPP $CPPFLAGS'
35352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35355
35356
35357 fi
35358
35359   fi
35360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35361 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35362
35363   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35364     for ac_func in atan2f
35365 do :
35366   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35367 if test "x$ac_cv_func_atan2f" = x""yes; then :
35368   cat >>confdefs.h <<_ACEOF
35369 #define HAVE_ATAN2F 1
35370 _ACEOF
35371
35372 fi
35373 done
35374
35375   else
35376
35377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35378 $as_echo_n "checking for _atan2f declaration... " >&6; }
35379   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35380     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35381   $as_echo_n "(cached) " >&6
35382 else
35383
35384
35385       ac_ext=cpp
35386 ac_cpp='$CXXCPP $CPPFLAGS'
35387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35390
35391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35392 /* end confdefs.h.  */
35393 #include <math.h>
35394 int
35395 main ()
35396 {
35397  _atan2f(0, 0);
35398   ;
35399   return 0;
35400 }
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403   glibcxx_cv_func__atan2f_use=yes
35404 else
35405   glibcxx_cv_func__atan2f_use=no
35406 fi
35407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35408       ac_ext=c
35409 ac_cpp='$CPP $CPPFLAGS'
35410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35413
35414
35415 fi
35416
35417   fi
35418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35419 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35420
35421     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35422       for ac_func in _atan2f
35423 do :
35424   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35425 if test "x$ac_cv_func__atan2f" = x""yes; then :
35426   cat >>confdefs.h <<_ACEOF
35427 #define HAVE__ATAN2F 1
35428 _ACEOF
35429
35430 fi
35431 done
35432
35433     fi
35434   fi
35435
35436
35437
35438
35439
35440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35441 $as_echo_n "checking for fabsf declaration... " >&6; }
35442   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35443     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35444   $as_echo_n "(cached) " >&6
35445 else
35446
35447
35448       ac_ext=cpp
35449 ac_cpp='$CXXCPP $CPPFLAGS'
35450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35453
35454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35455 /* end confdefs.h.  */
35456 #include <math.h>
35457                       #ifdef HAVE_IEEEFP_H
35458                       #include <ieeefp.h>
35459                       #endif
35460
35461 int
35462 main ()
35463 {
35464  fabsf(0);
35465   ;
35466   return 0;
35467 }
35468 _ACEOF
35469 if ac_fn_cxx_try_compile "$LINENO"; then :
35470   glibcxx_cv_func_fabsf_use=yes
35471 else
35472   glibcxx_cv_func_fabsf_use=no
35473 fi
35474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35475       ac_ext=c
35476 ac_cpp='$CPP $CPPFLAGS'
35477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35480
35481
35482 fi
35483
35484   fi
35485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35486 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35487
35488   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35489     for ac_func in fabsf
35490 do :
35491   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35492 if test "x$ac_cv_func_fabsf" = x""yes; then :
35493   cat >>confdefs.h <<_ACEOF
35494 #define HAVE_FABSF 1
35495 _ACEOF
35496
35497 fi
35498 done
35499
35500   else
35501
35502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35503 $as_echo_n "checking for _fabsf declaration... " >&6; }
35504   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35505     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35506   $as_echo_n "(cached) " >&6
35507 else
35508
35509
35510       ac_ext=cpp
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35515
35516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35517 /* end confdefs.h.  */
35518 #include <math.h>
35519                       #ifdef HAVE_IEEEFP_H
35520                       #include <ieeefp.h>
35521                       #endif
35522
35523 int
35524 main ()
35525 {
35526  _fabsf(0);
35527   ;
35528   return 0;
35529 }
35530 _ACEOF
35531 if ac_fn_cxx_try_compile "$LINENO"; then :
35532   glibcxx_cv_func__fabsf_use=yes
35533 else
35534   glibcxx_cv_func__fabsf_use=no
35535 fi
35536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35537       ac_ext=c
35538 ac_cpp='$CPP $CPPFLAGS'
35539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35542
35543
35544 fi
35545
35546   fi
35547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35548 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35549
35550     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35551       for ac_func in _fabsf
35552 do :
35553   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35554 if test "x$ac_cv_func__fabsf" = x""yes; then :
35555   cat >>confdefs.h <<_ACEOF
35556 #define HAVE__FABSF 1
35557 _ACEOF
35558
35559 fi
35560 done
35561
35562     fi
35563   fi
35564
35565
35566
35567
35568
35569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35570 $as_echo_n "checking for fmodf declaration... " >&6; }
35571   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35572     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35573   $as_echo_n "(cached) " >&6
35574 else
35575
35576
35577       ac_ext=cpp
35578 ac_cpp='$CXXCPP $CPPFLAGS'
35579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35582
35583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35584 /* end confdefs.h.  */
35585 #include <math.h>
35586 int
35587 main ()
35588 {
35589  fmodf(0, 0);
35590   ;
35591   return 0;
35592 }
35593 _ACEOF
35594 if ac_fn_cxx_try_compile "$LINENO"; then :
35595   glibcxx_cv_func_fmodf_use=yes
35596 else
35597   glibcxx_cv_func_fmodf_use=no
35598 fi
35599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35600       ac_ext=c
35601 ac_cpp='$CPP $CPPFLAGS'
35602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35605
35606
35607 fi
35608
35609   fi
35610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35611 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35612
35613   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35614     for ac_func in fmodf
35615 do :
35616   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35617 if test "x$ac_cv_func_fmodf" = x""yes; then :
35618   cat >>confdefs.h <<_ACEOF
35619 #define HAVE_FMODF 1
35620 _ACEOF
35621
35622 fi
35623 done
35624
35625   else
35626
35627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35628 $as_echo_n "checking for _fmodf declaration... " >&6; }
35629   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35630     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35631   $as_echo_n "(cached) " >&6
35632 else
35633
35634
35635       ac_ext=cpp
35636 ac_cpp='$CXXCPP $CPPFLAGS'
35637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35640
35641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35642 /* end confdefs.h.  */
35643 #include <math.h>
35644 int
35645 main ()
35646 {
35647  _fmodf(0, 0);
35648   ;
35649   return 0;
35650 }
35651 _ACEOF
35652 if ac_fn_cxx_try_compile "$LINENO"; then :
35653   glibcxx_cv_func__fmodf_use=yes
35654 else
35655   glibcxx_cv_func__fmodf_use=no
35656 fi
35657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35658       ac_ext=c
35659 ac_cpp='$CPP $CPPFLAGS'
35660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35663
35664
35665 fi
35666
35667   fi
35668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35669 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35670
35671     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35672       for ac_func in _fmodf
35673 do :
35674   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35675 if test "x$ac_cv_func__fmodf" = x""yes; then :
35676   cat >>confdefs.h <<_ACEOF
35677 #define HAVE__FMODF 1
35678 _ACEOF
35679
35680 fi
35681 done
35682
35683     fi
35684   fi
35685
35686
35687
35688
35689
35690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35691 $as_echo_n "checking for frexpf declaration... " >&6; }
35692   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35693     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35694   $as_echo_n "(cached) " >&6
35695 else
35696
35697
35698       ac_ext=cpp
35699 ac_cpp='$CXXCPP $CPPFLAGS'
35700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35703
35704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35705 /* end confdefs.h.  */
35706 #include <math.h>
35707 int
35708 main ()
35709 {
35710  frexpf(0, 0);
35711   ;
35712   return 0;
35713 }
35714 _ACEOF
35715 if ac_fn_cxx_try_compile "$LINENO"; then :
35716   glibcxx_cv_func_frexpf_use=yes
35717 else
35718   glibcxx_cv_func_frexpf_use=no
35719 fi
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721       ac_ext=c
35722 ac_cpp='$CPP $CPPFLAGS'
35723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726
35727
35728 fi
35729
35730   fi
35731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35732 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35733
35734   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35735     for ac_func in frexpf
35736 do :
35737   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35738 if test "x$ac_cv_func_frexpf" = x""yes; then :
35739   cat >>confdefs.h <<_ACEOF
35740 #define HAVE_FREXPF 1
35741 _ACEOF
35742
35743 fi
35744 done
35745
35746   else
35747
35748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35749 $as_echo_n "checking for _frexpf declaration... " >&6; }
35750   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35751     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35752   $as_echo_n "(cached) " >&6
35753 else
35754
35755
35756       ac_ext=cpp
35757 ac_cpp='$CXXCPP $CPPFLAGS'
35758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35761
35762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35763 /* end confdefs.h.  */
35764 #include <math.h>
35765 int
35766 main ()
35767 {
35768  _frexpf(0, 0);
35769   ;
35770   return 0;
35771 }
35772 _ACEOF
35773 if ac_fn_cxx_try_compile "$LINENO"; then :
35774   glibcxx_cv_func__frexpf_use=yes
35775 else
35776   glibcxx_cv_func__frexpf_use=no
35777 fi
35778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35779       ac_ext=c
35780 ac_cpp='$CPP $CPPFLAGS'
35781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35784
35785
35786 fi
35787
35788   fi
35789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35790 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35791
35792     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35793       for ac_func in _frexpf
35794 do :
35795   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35796 if test "x$ac_cv_func__frexpf" = x""yes; then :
35797   cat >>confdefs.h <<_ACEOF
35798 #define HAVE__FREXPF 1
35799 _ACEOF
35800
35801 fi
35802 done
35803
35804     fi
35805   fi
35806
35807
35808
35809
35810
35811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35812 $as_echo_n "checking for hypotf declaration... " >&6; }
35813   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35814     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35815   $as_echo_n "(cached) " >&6
35816 else
35817
35818
35819       ac_ext=cpp
35820 ac_cpp='$CXXCPP $CPPFLAGS'
35821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35824
35825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35826 /* end confdefs.h.  */
35827 #include <math.h>
35828 int
35829 main ()
35830 {
35831  hypotf(0, 0);
35832   ;
35833   return 0;
35834 }
35835 _ACEOF
35836 if ac_fn_cxx_try_compile "$LINENO"; then :
35837   glibcxx_cv_func_hypotf_use=yes
35838 else
35839   glibcxx_cv_func_hypotf_use=no
35840 fi
35841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35842       ac_ext=c
35843 ac_cpp='$CPP $CPPFLAGS'
35844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35847
35848
35849 fi
35850
35851   fi
35852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35853 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35854
35855   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35856     for ac_func in hypotf
35857 do :
35858   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35859 if test "x$ac_cv_func_hypotf" = x""yes; then :
35860   cat >>confdefs.h <<_ACEOF
35861 #define HAVE_HYPOTF 1
35862 _ACEOF
35863
35864 fi
35865 done
35866
35867   else
35868
35869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35870 $as_echo_n "checking for _hypotf declaration... " >&6; }
35871   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35872     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35873   $as_echo_n "(cached) " >&6
35874 else
35875
35876
35877       ac_ext=cpp
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35882
35883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h.  */
35885 #include <math.h>
35886 int
35887 main ()
35888 {
35889  _hypotf(0, 0);
35890   ;
35891   return 0;
35892 }
35893 _ACEOF
35894 if ac_fn_cxx_try_compile "$LINENO"; then :
35895   glibcxx_cv_func__hypotf_use=yes
35896 else
35897   glibcxx_cv_func__hypotf_use=no
35898 fi
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900       ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35905
35906
35907 fi
35908
35909   fi
35910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35911 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35912
35913     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35914       for ac_func in _hypotf
35915 do :
35916   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35917 if test "x$ac_cv_func__hypotf" = x""yes; then :
35918   cat >>confdefs.h <<_ACEOF
35919 #define HAVE__HYPOTF 1
35920 _ACEOF
35921
35922 fi
35923 done
35924
35925     fi
35926   fi
35927
35928
35929
35930
35931
35932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35933 $as_echo_n "checking for ldexpf declaration... " >&6; }
35934   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35935     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35936   $as_echo_n "(cached) " >&6
35937 else
35938
35939
35940       ac_ext=cpp
35941 ac_cpp='$CXXCPP $CPPFLAGS'
35942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35945
35946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35947 /* end confdefs.h.  */
35948 #include <math.h>
35949 int
35950 main ()
35951 {
35952  ldexpf(0, 0);
35953   ;
35954   return 0;
35955 }
35956 _ACEOF
35957 if ac_fn_cxx_try_compile "$LINENO"; then :
35958   glibcxx_cv_func_ldexpf_use=yes
35959 else
35960   glibcxx_cv_func_ldexpf_use=no
35961 fi
35962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35963       ac_ext=c
35964 ac_cpp='$CPP $CPPFLAGS'
35965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35968
35969
35970 fi
35971
35972   fi
35973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35974 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35975
35976   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35977     for ac_func in ldexpf
35978 do :
35979   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35980 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35981   cat >>confdefs.h <<_ACEOF
35982 #define HAVE_LDEXPF 1
35983 _ACEOF
35984
35985 fi
35986 done
35987
35988   else
35989
35990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35991 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35992   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35993     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35994   $as_echo_n "(cached) " >&6
35995 else
35996
35997
35998       ac_ext=cpp
35999 ac_cpp='$CXXCPP $CPPFLAGS'
36000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36003
36004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36005 /* end confdefs.h.  */
36006 #include <math.h>
36007 int
36008 main ()
36009 {
36010  _ldexpf(0, 0);
36011   ;
36012   return 0;
36013 }
36014 _ACEOF
36015 if ac_fn_cxx_try_compile "$LINENO"; then :
36016   glibcxx_cv_func__ldexpf_use=yes
36017 else
36018   glibcxx_cv_func__ldexpf_use=no
36019 fi
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021       ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36026
36027
36028 fi
36029
36030   fi
36031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36032 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36033
36034     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36035       for ac_func in _ldexpf
36036 do :
36037   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36038 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36039   cat >>confdefs.h <<_ACEOF
36040 #define HAVE__LDEXPF 1
36041 _ACEOF
36042
36043 fi
36044 done
36045
36046     fi
36047   fi
36048
36049
36050
36051
36052
36053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36054 $as_echo_n "checking for logf declaration... " >&6; }
36055   if test x${glibcxx_cv_func_logf_use+set} != xset; then
36056     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36057   $as_echo_n "(cached) " >&6
36058 else
36059
36060
36061       ac_ext=cpp
36062 ac_cpp='$CXXCPP $CPPFLAGS'
36063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36066
36067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36068 /* end confdefs.h.  */
36069 #include <math.h>
36070                       #ifdef HAVE_IEEEFP_H
36071                       #include <ieeefp.h>
36072                       #endif
36073
36074 int
36075 main ()
36076 {
36077  logf(0);
36078   ;
36079   return 0;
36080 }
36081 _ACEOF
36082 if ac_fn_cxx_try_compile "$LINENO"; then :
36083   glibcxx_cv_func_logf_use=yes
36084 else
36085   glibcxx_cv_func_logf_use=no
36086 fi
36087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36088       ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36093
36094
36095 fi
36096
36097   fi
36098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36099 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36100
36101   if test x$glibcxx_cv_func_logf_use = x"yes"; then
36102     for ac_func in logf
36103 do :
36104   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36105 if test "x$ac_cv_func_logf" = x""yes; then :
36106   cat >>confdefs.h <<_ACEOF
36107 #define HAVE_LOGF 1
36108 _ACEOF
36109
36110 fi
36111 done
36112
36113   else
36114
36115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36116 $as_echo_n "checking for _logf declaration... " >&6; }
36117   if test x${glibcxx_cv_func__logf_use+set} != xset; then
36118     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36119   $as_echo_n "(cached) " >&6
36120 else
36121
36122
36123       ac_ext=cpp
36124 ac_cpp='$CXXCPP $CPPFLAGS'
36125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36128
36129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36130 /* end confdefs.h.  */
36131 #include <math.h>
36132                       #ifdef HAVE_IEEEFP_H
36133                       #include <ieeefp.h>
36134                       #endif
36135
36136 int
36137 main ()
36138 {
36139  _logf(0);
36140   ;
36141   return 0;
36142 }
36143 _ACEOF
36144 if ac_fn_cxx_try_compile "$LINENO"; then :
36145   glibcxx_cv_func__logf_use=yes
36146 else
36147   glibcxx_cv_func__logf_use=no
36148 fi
36149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36150       ac_ext=c
36151 ac_cpp='$CPP $CPPFLAGS'
36152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36155
36156
36157 fi
36158
36159   fi
36160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36161 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36162
36163     if test x$glibcxx_cv_func__logf_use = x"yes"; then
36164       for ac_func in _logf
36165 do :
36166   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36167 if test "x$ac_cv_func__logf" = x""yes; then :
36168   cat >>confdefs.h <<_ACEOF
36169 #define HAVE__LOGF 1
36170 _ACEOF
36171
36172 fi
36173 done
36174
36175     fi
36176   fi
36177
36178
36179
36180
36181
36182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36183 $as_echo_n "checking for log10f declaration... " >&6; }
36184   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36185     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36186   $as_echo_n "(cached) " >&6
36187 else
36188
36189
36190       ac_ext=cpp
36191 ac_cpp='$CXXCPP $CPPFLAGS'
36192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36195
36196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36197 /* end confdefs.h.  */
36198 #include <math.h>
36199                       #ifdef HAVE_IEEEFP_H
36200                       #include <ieeefp.h>
36201                       #endif
36202
36203 int
36204 main ()
36205 {
36206  log10f(0);
36207   ;
36208   return 0;
36209 }
36210 _ACEOF
36211 if ac_fn_cxx_try_compile "$LINENO"; then :
36212   glibcxx_cv_func_log10f_use=yes
36213 else
36214   glibcxx_cv_func_log10f_use=no
36215 fi
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217       ac_ext=c
36218 ac_cpp='$CPP $CPPFLAGS'
36219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36222
36223
36224 fi
36225
36226   fi
36227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36228 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36229
36230   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36231     for ac_func in log10f
36232 do :
36233   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36234 if test "x$ac_cv_func_log10f" = x""yes; then :
36235   cat >>confdefs.h <<_ACEOF
36236 #define HAVE_LOG10F 1
36237 _ACEOF
36238
36239 fi
36240 done
36241
36242   else
36243
36244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36245 $as_echo_n "checking for _log10f declaration... " >&6; }
36246   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36247     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36248   $as_echo_n "(cached) " >&6
36249 else
36250
36251
36252       ac_ext=cpp
36253 ac_cpp='$CXXCPP $CPPFLAGS'
36254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36257
36258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36259 /* end confdefs.h.  */
36260 #include <math.h>
36261                       #ifdef HAVE_IEEEFP_H
36262                       #include <ieeefp.h>
36263                       #endif
36264
36265 int
36266 main ()
36267 {
36268  _log10f(0);
36269   ;
36270   return 0;
36271 }
36272 _ACEOF
36273 if ac_fn_cxx_try_compile "$LINENO"; then :
36274   glibcxx_cv_func__log10f_use=yes
36275 else
36276   glibcxx_cv_func__log10f_use=no
36277 fi
36278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36279       ac_ext=c
36280 ac_cpp='$CPP $CPPFLAGS'
36281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36284
36285
36286 fi
36287
36288   fi
36289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36290 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36291
36292     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36293       for ac_func in _log10f
36294 do :
36295   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36296 if test "x$ac_cv_func__log10f" = x""yes; then :
36297   cat >>confdefs.h <<_ACEOF
36298 #define HAVE__LOG10F 1
36299 _ACEOF
36300
36301 fi
36302 done
36303
36304     fi
36305   fi
36306
36307
36308
36309
36310
36311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36312 $as_echo_n "checking for modff declaration... " >&6; }
36313   if test x${glibcxx_cv_func_modff_use+set} != xset; then
36314     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36315   $as_echo_n "(cached) " >&6
36316 else
36317
36318
36319       ac_ext=cpp
36320 ac_cpp='$CXXCPP $CPPFLAGS'
36321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36324
36325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36326 /* end confdefs.h.  */
36327 #include <math.h>
36328 int
36329 main ()
36330 {
36331  modff(0, 0);
36332   ;
36333   return 0;
36334 }
36335 _ACEOF
36336 if ac_fn_cxx_try_compile "$LINENO"; then :
36337   glibcxx_cv_func_modff_use=yes
36338 else
36339   glibcxx_cv_func_modff_use=no
36340 fi
36341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36342       ac_ext=c
36343 ac_cpp='$CPP $CPPFLAGS'
36344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36347
36348
36349 fi
36350
36351   fi
36352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36353 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36354
36355   if test x$glibcxx_cv_func_modff_use = x"yes"; then
36356     for ac_func in modff
36357 do :
36358   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36359 if test "x$ac_cv_func_modff" = x""yes; then :
36360   cat >>confdefs.h <<_ACEOF
36361 #define HAVE_MODFF 1
36362 _ACEOF
36363
36364 fi
36365 done
36366
36367   else
36368
36369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36370 $as_echo_n "checking for _modff declaration... " >&6; }
36371   if test x${glibcxx_cv_func__modff_use+set} != xset; then
36372     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36373   $as_echo_n "(cached) " >&6
36374 else
36375
36376
36377       ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36382
36383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h.  */
36385 #include <math.h>
36386 int
36387 main ()
36388 {
36389  _modff(0, 0);
36390   ;
36391   return 0;
36392 }
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395   glibcxx_cv_func__modff_use=yes
36396 else
36397   glibcxx_cv_func__modff_use=no
36398 fi
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400       ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36405
36406
36407 fi
36408
36409   fi
36410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36411 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36412
36413     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36414       for ac_func in _modff
36415 do :
36416   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36417 if test "x$ac_cv_func__modff" = x""yes; then :
36418   cat >>confdefs.h <<_ACEOF
36419 #define HAVE__MODFF 1
36420 _ACEOF
36421
36422 fi
36423 done
36424
36425     fi
36426   fi
36427
36428
36429
36430
36431
36432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36433 $as_echo_n "checking for modf declaration... " >&6; }
36434   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36435     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36436   $as_echo_n "(cached) " >&6
36437 else
36438
36439
36440       ac_ext=cpp
36441 ac_cpp='$CXXCPP $CPPFLAGS'
36442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36445
36446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36447 /* end confdefs.h.  */
36448 #include <math.h>
36449 int
36450 main ()
36451 {
36452  modf(0, 0);
36453   ;
36454   return 0;
36455 }
36456 _ACEOF
36457 if ac_fn_cxx_try_compile "$LINENO"; then :
36458   glibcxx_cv_func_modf_use=yes
36459 else
36460   glibcxx_cv_func_modf_use=no
36461 fi
36462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463       ac_ext=c
36464 ac_cpp='$CPP $CPPFLAGS'
36465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36468
36469
36470 fi
36471
36472   fi
36473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36474 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36475
36476   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36477     for ac_func in modf
36478 do :
36479   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36480 if test "x$ac_cv_func_modf" = x""yes; then :
36481   cat >>confdefs.h <<_ACEOF
36482 #define HAVE_MODF 1
36483 _ACEOF
36484
36485 fi
36486 done
36487
36488   else
36489
36490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36491 $as_echo_n "checking for _modf declaration... " >&6; }
36492   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36493     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36494   $as_echo_n "(cached) " >&6
36495 else
36496
36497
36498       ac_ext=cpp
36499 ac_cpp='$CXXCPP $CPPFLAGS'
36500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36503
36504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36505 /* end confdefs.h.  */
36506 #include <math.h>
36507 int
36508 main ()
36509 {
36510  _modf(0, 0);
36511   ;
36512   return 0;
36513 }
36514 _ACEOF
36515 if ac_fn_cxx_try_compile "$LINENO"; then :
36516   glibcxx_cv_func__modf_use=yes
36517 else
36518   glibcxx_cv_func__modf_use=no
36519 fi
36520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36521       ac_ext=c
36522 ac_cpp='$CPP $CPPFLAGS'
36523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36526
36527
36528 fi
36529
36530   fi
36531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36532 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36533
36534     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36535       for ac_func in _modf
36536 do :
36537   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36538 if test "x$ac_cv_func__modf" = x""yes; then :
36539   cat >>confdefs.h <<_ACEOF
36540 #define HAVE__MODF 1
36541 _ACEOF
36542
36543 fi
36544 done
36545
36546     fi
36547   fi
36548
36549
36550
36551
36552
36553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36554 $as_echo_n "checking for powf declaration... " >&6; }
36555   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36556     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36557   $as_echo_n "(cached) " >&6
36558 else
36559
36560
36561       ac_ext=cpp
36562 ac_cpp='$CXXCPP $CPPFLAGS'
36563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36566
36567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36568 /* end confdefs.h.  */
36569 #include <math.h>
36570 int
36571 main ()
36572 {
36573  powf(0, 0);
36574   ;
36575   return 0;
36576 }
36577 _ACEOF
36578 if ac_fn_cxx_try_compile "$LINENO"; then :
36579   glibcxx_cv_func_powf_use=yes
36580 else
36581   glibcxx_cv_func_powf_use=no
36582 fi
36583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36584       ac_ext=c
36585 ac_cpp='$CPP $CPPFLAGS'
36586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589
36590
36591 fi
36592
36593   fi
36594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36595 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36596
36597   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36598     for ac_func in powf
36599 do :
36600   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36601 if test "x$ac_cv_func_powf" = x""yes; then :
36602   cat >>confdefs.h <<_ACEOF
36603 #define HAVE_POWF 1
36604 _ACEOF
36605
36606 fi
36607 done
36608
36609   else
36610
36611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36612 $as_echo_n "checking for _powf declaration... " >&6; }
36613   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36614     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36615   $as_echo_n "(cached) " >&6
36616 else
36617
36618
36619       ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36624
36625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h.  */
36627 #include <math.h>
36628 int
36629 main ()
36630 {
36631  _powf(0, 0);
36632   ;
36633   return 0;
36634 }
36635 _ACEOF
36636 if ac_fn_cxx_try_compile "$LINENO"; then :
36637   glibcxx_cv_func__powf_use=yes
36638 else
36639   glibcxx_cv_func__powf_use=no
36640 fi
36641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36642       ac_ext=c
36643 ac_cpp='$CPP $CPPFLAGS'
36644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36647
36648
36649 fi
36650
36651   fi
36652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36653 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36654
36655     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36656       for ac_func in _powf
36657 do :
36658   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36659 if test "x$ac_cv_func__powf" = x""yes; then :
36660   cat >>confdefs.h <<_ACEOF
36661 #define HAVE__POWF 1
36662 _ACEOF
36663
36664 fi
36665 done
36666
36667     fi
36668   fi
36669
36670
36671
36672
36673
36674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36675 $as_echo_n "checking for sqrtf declaration... " >&6; }
36676   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36677     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36678   $as_echo_n "(cached) " >&6
36679 else
36680
36681
36682       ac_ext=cpp
36683 ac_cpp='$CXXCPP $CPPFLAGS'
36684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36687
36688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36689 /* end confdefs.h.  */
36690 #include <math.h>
36691                       #ifdef HAVE_IEEEFP_H
36692                       #include <ieeefp.h>
36693                       #endif
36694
36695 int
36696 main ()
36697 {
36698  sqrtf(0);
36699   ;
36700   return 0;
36701 }
36702 _ACEOF
36703 if ac_fn_cxx_try_compile "$LINENO"; then :
36704   glibcxx_cv_func_sqrtf_use=yes
36705 else
36706   glibcxx_cv_func_sqrtf_use=no
36707 fi
36708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36709       ac_ext=c
36710 ac_cpp='$CPP $CPPFLAGS'
36711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36714
36715
36716 fi
36717
36718   fi
36719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36720 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36721
36722   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36723     for ac_func in sqrtf
36724 do :
36725   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36726 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36727   cat >>confdefs.h <<_ACEOF
36728 #define HAVE_SQRTF 1
36729 _ACEOF
36730
36731 fi
36732 done
36733
36734   else
36735
36736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36737 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36738   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36739     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36740   $as_echo_n "(cached) " >&6
36741 else
36742
36743
36744       ac_ext=cpp
36745 ac_cpp='$CXXCPP $CPPFLAGS'
36746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36749
36750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36751 /* end confdefs.h.  */
36752 #include <math.h>
36753                       #ifdef HAVE_IEEEFP_H
36754                       #include <ieeefp.h>
36755                       #endif
36756
36757 int
36758 main ()
36759 {
36760  _sqrtf(0);
36761   ;
36762   return 0;
36763 }
36764 _ACEOF
36765 if ac_fn_cxx_try_compile "$LINENO"; then :
36766   glibcxx_cv_func__sqrtf_use=yes
36767 else
36768   glibcxx_cv_func__sqrtf_use=no
36769 fi
36770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36771       ac_ext=c
36772 ac_cpp='$CPP $CPPFLAGS'
36773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36776
36777
36778 fi
36779
36780   fi
36781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36782 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36783
36784     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36785       for ac_func in _sqrtf
36786 do :
36787   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36788 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36789   cat >>confdefs.h <<_ACEOF
36790 #define HAVE__SQRTF 1
36791 _ACEOF
36792
36793 fi
36794 done
36795
36796     fi
36797   fi
36798
36799
36800
36801
36802
36803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36804 $as_echo_n "checking for sincosf declaration... " >&6; }
36805   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36806     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36807   $as_echo_n "(cached) " >&6
36808 else
36809
36810
36811       ac_ext=cpp
36812 ac_cpp='$CXXCPP $CPPFLAGS'
36813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36816
36817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36818 /* end confdefs.h.  */
36819 #include <math.h>
36820 int
36821 main ()
36822 {
36823  sincosf(0, 0, 0);
36824   ;
36825   return 0;
36826 }
36827 _ACEOF
36828 if ac_fn_cxx_try_compile "$LINENO"; then :
36829   glibcxx_cv_func_sincosf_use=yes
36830 else
36831   glibcxx_cv_func_sincosf_use=no
36832 fi
36833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36834       ac_ext=c
36835 ac_cpp='$CPP $CPPFLAGS'
36836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36839
36840
36841 fi
36842
36843   fi
36844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36845 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36846
36847   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36848     for ac_func in sincosf
36849 do :
36850   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36851 if test "x$ac_cv_func_sincosf" = x""yes; then :
36852   cat >>confdefs.h <<_ACEOF
36853 #define HAVE_SINCOSF 1
36854 _ACEOF
36855
36856 fi
36857 done
36858
36859   else
36860
36861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36862 $as_echo_n "checking for _sincosf declaration... " >&6; }
36863   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36864     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36865   $as_echo_n "(cached) " >&6
36866 else
36867
36868
36869       ac_ext=cpp
36870 ac_cpp='$CXXCPP $CPPFLAGS'
36871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36874
36875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36876 /* end confdefs.h.  */
36877 #include <math.h>
36878 int
36879 main ()
36880 {
36881  _sincosf(0, 0, 0);
36882   ;
36883   return 0;
36884 }
36885 _ACEOF
36886 if ac_fn_cxx_try_compile "$LINENO"; then :
36887   glibcxx_cv_func__sincosf_use=yes
36888 else
36889   glibcxx_cv_func__sincosf_use=no
36890 fi
36891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36892       ac_ext=c
36893 ac_cpp='$CPP $CPPFLAGS'
36894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36897
36898
36899 fi
36900
36901   fi
36902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36903 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36904
36905     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36906       for ac_func in _sincosf
36907 do :
36908   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36909 if test "x$ac_cv_func__sincosf" = x""yes; then :
36910   cat >>confdefs.h <<_ACEOF
36911 #define HAVE__SINCOSF 1
36912 _ACEOF
36913
36914 fi
36915 done
36916
36917     fi
36918   fi
36919
36920
36921
36922
36923
36924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36925 $as_echo_n "checking for finitef declaration... " >&6; }
36926   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36927     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36928   $as_echo_n "(cached) " >&6
36929 else
36930
36931
36932       ac_ext=cpp
36933 ac_cpp='$CXXCPP $CPPFLAGS'
36934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36937
36938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36939 /* end confdefs.h.  */
36940 #include <math.h>
36941                       #ifdef HAVE_IEEEFP_H
36942                       #include <ieeefp.h>
36943                       #endif
36944
36945 int
36946 main ()
36947 {
36948  finitef(0);
36949   ;
36950   return 0;
36951 }
36952 _ACEOF
36953 if ac_fn_cxx_try_compile "$LINENO"; then :
36954   glibcxx_cv_func_finitef_use=yes
36955 else
36956   glibcxx_cv_func_finitef_use=no
36957 fi
36958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36959       ac_ext=c
36960 ac_cpp='$CPP $CPPFLAGS'
36961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36964
36965
36966 fi
36967
36968   fi
36969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36970 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36971
36972   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36973     for ac_func in finitef
36974 do :
36975   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36976 if test "x$ac_cv_func_finitef" = x""yes; then :
36977   cat >>confdefs.h <<_ACEOF
36978 #define HAVE_FINITEF 1
36979 _ACEOF
36980
36981 fi
36982 done
36983
36984   else
36985
36986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36987 $as_echo_n "checking for _finitef declaration... " >&6; }
36988   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36989     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36990   $as_echo_n "(cached) " >&6
36991 else
36992
36993
36994       ac_ext=cpp
36995 ac_cpp='$CXXCPP $CPPFLAGS'
36996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36999
37000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37001 /* end confdefs.h.  */
37002 #include <math.h>
37003                       #ifdef HAVE_IEEEFP_H
37004                       #include <ieeefp.h>
37005                       #endif
37006
37007 int
37008 main ()
37009 {
37010  _finitef(0);
37011   ;
37012   return 0;
37013 }
37014 _ACEOF
37015 if ac_fn_cxx_try_compile "$LINENO"; then :
37016   glibcxx_cv_func__finitef_use=yes
37017 else
37018   glibcxx_cv_func__finitef_use=no
37019 fi
37020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37021       ac_ext=c
37022 ac_cpp='$CPP $CPPFLAGS'
37023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37026
37027
37028 fi
37029
37030   fi
37031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37032 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37033
37034     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37035       for ac_func in _finitef
37036 do :
37037   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37038 if test "x$ac_cv_func__finitef" = x""yes; then :
37039   cat >>confdefs.h <<_ACEOF
37040 #define HAVE__FINITEF 1
37041 _ACEOF
37042
37043 fi
37044 done
37045
37046     fi
37047   fi
37048
37049
37050
37051
37052
37053     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37054 $as_echo_n "checking for long double trig functions... " >&6; }
37055   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37056   $as_echo_n "(cached) " >&6
37057 else
37058
37059
37060     ac_ext=cpp
37061 ac_cpp='$CXXCPP $CPPFLAGS'
37062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37065
37066     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37067 /* end confdefs.h.  */
37068 #include <math.h>
37069 int
37070 main ()
37071 {
37072 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37073   ;
37074   return 0;
37075 }
37076 _ACEOF
37077 if ac_fn_cxx_try_compile "$LINENO"; then :
37078   glibcxx_cv_func_long_double_trig_use=yes
37079 else
37080   glibcxx_cv_func_long_double_trig_use=no
37081 fi
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37083     ac_ext=c
37084 ac_cpp='$CPP $CPPFLAGS'
37085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37088
37089 fi
37090
37091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37092 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37093   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37094     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37095 do :
37096   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37098 eval as_val=\$$as_ac_var
37099    if test "x$as_val" = x""yes; then :
37100   cat >>confdefs.h <<_ACEOF
37101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37102 _ACEOF
37103
37104 fi
37105 done
37106
37107   else
37108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37109 $as_echo_n "checking for _long double trig functions... " >&6; }
37110     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37111   $as_echo_n "(cached) " >&6
37112 else
37113
37114
37115       ac_ext=cpp
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37120
37121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37122 /* end confdefs.h.  */
37123 #include <math.h>
37124 int
37125 main ()
37126 {
37127 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37128   ;
37129   return 0;
37130 }
37131 _ACEOF
37132 if ac_fn_cxx_try_compile "$LINENO"; then :
37133   glibcxx_cv_func__long_double_trig_use=yes
37134 else
37135   glibcxx_cv_func__long_double_trig_use=no
37136 fi
37137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37138       ac_ext=c
37139 ac_cpp='$CPP $CPPFLAGS'
37140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37143
37144 fi
37145
37146     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37147 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37148     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37149       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37150 do :
37151   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37153 eval as_val=\$$as_ac_var
37154    if test "x$as_val" = x""yes; then :
37155   cat >>confdefs.h <<_ACEOF
37156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37157 _ACEOF
37158
37159 fi
37160 done
37161
37162     fi
37163   fi
37164
37165
37166
37167
37168
37169     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37170 $as_echo_n "checking for long double round functions... " >&6; }
37171   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37172   $as_echo_n "(cached) " >&6
37173 else
37174
37175
37176     ac_ext=cpp
37177 ac_cpp='$CXXCPP $CPPFLAGS'
37178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37181
37182     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37183 /* end confdefs.h.  */
37184 #include <math.h>
37185 int
37186 main ()
37187 {
37188 ceill (0); floorl (0);
37189   ;
37190   return 0;
37191 }
37192 _ACEOF
37193 if ac_fn_cxx_try_compile "$LINENO"; then :
37194   glibcxx_cv_func_long_double_round_use=yes
37195 else
37196   glibcxx_cv_func_long_double_round_use=no
37197 fi
37198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37199     ac_ext=c
37200 ac_cpp='$CPP $CPPFLAGS'
37201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37204
37205 fi
37206
37207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37208 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37209   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37210     for ac_func in ceill floorl
37211 do :
37212   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37214 eval as_val=\$$as_ac_var
37215    if test "x$as_val" = x""yes; then :
37216   cat >>confdefs.h <<_ACEOF
37217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37218 _ACEOF
37219
37220 fi
37221 done
37222
37223   else
37224     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37225 $as_echo_n "checking for _long double round functions... " >&6; }
37226     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37227   $as_echo_n "(cached) " >&6
37228 else
37229
37230
37231       ac_ext=cpp
37232 ac_cpp='$CXXCPP $CPPFLAGS'
37233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37236
37237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h.  */
37239 #include <math.h>
37240 int
37241 main ()
37242 {
37243 _ceill (0); _floorl (0);
37244   ;
37245   return 0;
37246 }
37247 _ACEOF
37248 if ac_fn_cxx_try_compile "$LINENO"; then :
37249   glibcxx_cv_func__long_double_round_use=yes
37250 else
37251   glibcxx_cv_func__long_double_round_use=no
37252 fi
37253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37254       ac_ext=c
37255 ac_cpp='$CPP $CPPFLAGS'
37256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37259
37260 fi
37261
37262     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37263 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37264     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37265       for ac_func in _ceill _floorl
37266 do :
37267   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37269 eval as_val=\$$as_ac_var
37270    if test "x$as_val" = x""yes; then :
37271   cat >>confdefs.h <<_ACEOF
37272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37273 _ACEOF
37274
37275 fi
37276 done
37277
37278     fi
37279   fi
37280
37281
37282
37283
37284
37285
37286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37287 $as_echo_n "checking for isnanl declaration... " >&6; }
37288   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37289     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37290   $as_echo_n "(cached) " >&6
37291 else
37292
37293
37294       ac_ext=cpp
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37299
37300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37301 /* end confdefs.h.  */
37302 #include <math.h>
37303                       #ifdef HAVE_IEEEFP_H
37304                       #include <ieeefp.h>
37305                       #endif
37306
37307 int
37308 main ()
37309 {
37310  isnanl(0);
37311   ;
37312   return 0;
37313 }
37314 _ACEOF
37315 if ac_fn_cxx_try_compile "$LINENO"; then :
37316   glibcxx_cv_func_isnanl_use=yes
37317 else
37318   glibcxx_cv_func_isnanl_use=no
37319 fi
37320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37321       ac_ext=c
37322 ac_cpp='$CPP $CPPFLAGS'
37323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37326
37327
37328 fi
37329
37330   fi
37331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37332 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37333
37334   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37335     for ac_func in isnanl
37336 do :
37337   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37338 if test "x$ac_cv_func_isnanl" = x""yes; then :
37339   cat >>confdefs.h <<_ACEOF
37340 #define HAVE_ISNANL 1
37341 _ACEOF
37342
37343 fi
37344 done
37345
37346   else
37347
37348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37349 $as_echo_n "checking for _isnanl declaration... " >&6; }
37350   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37351     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37352   $as_echo_n "(cached) " >&6
37353 else
37354
37355
37356       ac_ext=cpp
37357 ac_cpp='$CXXCPP $CPPFLAGS'
37358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37361
37362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37363 /* end confdefs.h.  */
37364 #include <math.h>
37365                       #ifdef HAVE_IEEEFP_H
37366                       #include <ieeefp.h>
37367                       #endif
37368
37369 int
37370 main ()
37371 {
37372  _isnanl(0);
37373   ;
37374   return 0;
37375 }
37376 _ACEOF
37377 if ac_fn_cxx_try_compile "$LINENO"; then :
37378   glibcxx_cv_func__isnanl_use=yes
37379 else
37380   glibcxx_cv_func__isnanl_use=no
37381 fi
37382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37383       ac_ext=c
37384 ac_cpp='$CPP $CPPFLAGS'
37385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37388
37389
37390 fi
37391
37392   fi
37393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37394 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37395
37396     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37397       for ac_func in _isnanl
37398 do :
37399   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37400 if test "x$ac_cv_func__isnanl" = x""yes; then :
37401   cat >>confdefs.h <<_ACEOF
37402 #define HAVE__ISNANL 1
37403 _ACEOF
37404
37405 fi
37406 done
37407
37408     fi
37409   fi
37410
37411
37412
37413
37414
37415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37416 $as_echo_n "checking for isinfl declaration... " >&6; }
37417   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37418     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37419   $as_echo_n "(cached) " >&6
37420 else
37421
37422
37423       ac_ext=cpp
37424 ac_cpp='$CXXCPP $CPPFLAGS'
37425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37428
37429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37430 /* end confdefs.h.  */
37431 #include <math.h>
37432                       #ifdef HAVE_IEEEFP_H
37433                       #include <ieeefp.h>
37434                       #endif
37435
37436 int
37437 main ()
37438 {
37439  isinfl(0);
37440   ;
37441   return 0;
37442 }
37443 _ACEOF
37444 if ac_fn_cxx_try_compile "$LINENO"; then :
37445   glibcxx_cv_func_isinfl_use=yes
37446 else
37447   glibcxx_cv_func_isinfl_use=no
37448 fi
37449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37450       ac_ext=c
37451 ac_cpp='$CPP $CPPFLAGS'
37452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37455
37456
37457 fi
37458
37459   fi
37460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37461 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37462
37463   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37464     for ac_func in isinfl
37465 do :
37466   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37467 if test "x$ac_cv_func_isinfl" = x""yes; then :
37468   cat >>confdefs.h <<_ACEOF
37469 #define HAVE_ISINFL 1
37470 _ACEOF
37471
37472 fi
37473 done
37474
37475   else
37476
37477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37478 $as_echo_n "checking for _isinfl declaration... " >&6; }
37479   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37480     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37481   $as_echo_n "(cached) " >&6
37482 else
37483
37484
37485       ac_ext=cpp
37486 ac_cpp='$CXXCPP $CPPFLAGS'
37487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37490
37491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37492 /* end confdefs.h.  */
37493 #include <math.h>
37494                       #ifdef HAVE_IEEEFP_H
37495                       #include <ieeefp.h>
37496                       #endif
37497
37498 int
37499 main ()
37500 {
37501  _isinfl(0);
37502   ;
37503   return 0;
37504 }
37505 _ACEOF
37506 if ac_fn_cxx_try_compile "$LINENO"; then :
37507   glibcxx_cv_func__isinfl_use=yes
37508 else
37509   glibcxx_cv_func__isinfl_use=no
37510 fi
37511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37512       ac_ext=c
37513 ac_cpp='$CPP $CPPFLAGS'
37514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37517
37518
37519 fi
37520
37521   fi
37522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37523 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37524
37525     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37526       for ac_func in _isinfl
37527 do :
37528   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37529 if test "x$ac_cv_func__isinfl" = x""yes; then :
37530   cat >>confdefs.h <<_ACEOF
37531 #define HAVE__ISINFL 1
37532 _ACEOF
37533
37534 fi
37535 done
37536
37537     fi
37538   fi
37539
37540
37541
37542
37543
37544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37545 $as_echo_n "checking for atan2l declaration... " >&6; }
37546   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37547     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37548   $as_echo_n "(cached) " >&6
37549 else
37550
37551
37552       ac_ext=cpp
37553 ac_cpp='$CXXCPP $CPPFLAGS'
37554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37557
37558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37559 /* end confdefs.h.  */
37560 #include <math.h>
37561 int
37562 main ()
37563 {
37564  atan2l(0, 0);
37565   ;
37566   return 0;
37567 }
37568 _ACEOF
37569 if ac_fn_cxx_try_compile "$LINENO"; then :
37570   glibcxx_cv_func_atan2l_use=yes
37571 else
37572   glibcxx_cv_func_atan2l_use=no
37573 fi
37574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37575       ac_ext=c
37576 ac_cpp='$CPP $CPPFLAGS'
37577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37580
37581
37582 fi
37583
37584   fi
37585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37586 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37587
37588   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37589     for ac_func in atan2l
37590 do :
37591   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37592 if test "x$ac_cv_func_atan2l" = x""yes; then :
37593   cat >>confdefs.h <<_ACEOF
37594 #define HAVE_ATAN2L 1
37595 _ACEOF
37596
37597 fi
37598 done
37599
37600   else
37601
37602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37603 $as_echo_n "checking for _atan2l declaration... " >&6; }
37604   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37605     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37606   $as_echo_n "(cached) " >&6
37607 else
37608
37609
37610       ac_ext=cpp
37611 ac_cpp='$CXXCPP $CPPFLAGS'
37612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37615
37616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37617 /* end confdefs.h.  */
37618 #include <math.h>
37619 int
37620 main ()
37621 {
37622  _atan2l(0, 0);
37623   ;
37624   return 0;
37625 }
37626 _ACEOF
37627 if ac_fn_cxx_try_compile "$LINENO"; then :
37628   glibcxx_cv_func__atan2l_use=yes
37629 else
37630   glibcxx_cv_func__atan2l_use=no
37631 fi
37632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37633       ac_ext=c
37634 ac_cpp='$CPP $CPPFLAGS'
37635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37638
37639
37640 fi
37641
37642   fi
37643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37644 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37645
37646     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37647       for ac_func in _atan2l
37648 do :
37649   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37650 if test "x$ac_cv_func__atan2l" = x""yes; then :
37651   cat >>confdefs.h <<_ACEOF
37652 #define HAVE__ATAN2L 1
37653 _ACEOF
37654
37655 fi
37656 done
37657
37658     fi
37659   fi
37660
37661
37662
37663
37664
37665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37666 $as_echo_n "checking for expl declaration... " >&6; }
37667   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37668     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37669   $as_echo_n "(cached) " >&6
37670 else
37671
37672
37673       ac_ext=cpp
37674 ac_cpp='$CXXCPP $CPPFLAGS'
37675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37678
37679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680 /* end confdefs.h.  */
37681 #include <math.h>
37682                       #ifdef HAVE_IEEEFP_H
37683                       #include <ieeefp.h>
37684                       #endif
37685
37686 int
37687 main ()
37688 {
37689  expl(0);
37690   ;
37691   return 0;
37692 }
37693 _ACEOF
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695   glibcxx_cv_func_expl_use=yes
37696 else
37697   glibcxx_cv_func_expl_use=no
37698 fi
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700       ac_ext=c
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37705
37706
37707 fi
37708
37709   fi
37710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37711 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37712
37713   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37714     for ac_func in expl
37715 do :
37716   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37717 if test "x$ac_cv_func_expl" = x""yes; then :
37718   cat >>confdefs.h <<_ACEOF
37719 #define HAVE_EXPL 1
37720 _ACEOF
37721
37722 fi
37723 done
37724
37725   else
37726
37727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37728 $as_echo_n "checking for _expl declaration... " >&6; }
37729   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37730     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37731   $as_echo_n "(cached) " >&6
37732 else
37733
37734
37735       ac_ext=cpp
37736 ac_cpp='$CXXCPP $CPPFLAGS'
37737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37740
37741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37742 /* end confdefs.h.  */
37743 #include <math.h>
37744                       #ifdef HAVE_IEEEFP_H
37745                       #include <ieeefp.h>
37746                       #endif
37747
37748 int
37749 main ()
37750 {
37751  _expl(0);
37752   ;
37753   return 0;
37754 }
37755 _ACEOF
37756 if ac_fn_cxx_try_compile "$LINENO"; then :
37757   glibcxx_cv_func__expl_use=yes
37758 else
37759   glibcxx_cv_func__expl_use=no
37760 fi
37761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37762       ac_ext=c
37763 ac_cpp='$CPP $CPPFLAGS'
37764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37767
37768
37769 fi
37770
37771   fi
37772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37773 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37774
37775     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37776       for ac_func in _expl
37777 do :
37778   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37779 if test "x$ac_cv_func__expl" = x""yes; then :
37780   cat >>confdefs.h <<_ACEOF
37781 #define HAVE__EXPL 1
37782 _ACEOF
37783
37784 fi
37785 done
37786
37787     fi
37788   fi
37789
37790
37791
37792
37793
37794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37795 $as_echo_n "checking for fabsl declaration... " >&6; }
37796   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37797     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37798   $as_echo_n "(cached) " >&6
37799 else
37800
37801
37802       ac_ext=cpp
37803 ac_cpp='$CXXCPP $CPPFLAGS'
37804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37807
37808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37809 /* end confdefs.h.  */
37810 #include <math.h>
37811                       #ifdef HAVE_IEEEFP_H
37812                       #include <ieeefp.h>
37813                       #endif
37814
37815 int
37816 main ()
37817 {
37818  fabsl(0);
37819   ;
37820   return 0;
37821 }
37822 _ACEOF
37823 if ac_fn_cxx_try_compile "$LINENO"; then :
37824   glibcxx_cv_func_fabsl_use=yes
37825 else
37826   glibcxx_cv_func_fabsl_use=no
37827 fi
37828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829       ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37834
37835
37836 fi
37837
37838   fi
37839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37840 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37841
37842   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37843     for ac_func in fabsl
37844 do :
37845   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37846 if test "x$ac_cv_func_fabsl" = x""yes; then :
37847   cat >>confdefs.h <<_ACEOF
37848 #define HAVE_FABSL 1
37849 _ACEOF
37850
37851 fi
37852 done
37853
37854   else
37855
37856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37857 $as_echo_n "checking for _fabsl declaration... " >&6; }
37858   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37859     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37860   $as_echo_n "(cached) " >&6
37861 else
37862
37863
37864       ac_ext=cpp
37865 ac_cpp='$CXXCPP $CPPFLAGS'
37866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37869
37870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37871 /* end confdefs.h.  */
37872 #include <math.h>
37873                       #ifdef HAVE_IEEEFP_H
37874                       #include <ieeefp.h>
37875                       #endif
37876
37877 int
37878 main ()
37879 {
37880  _fabsl(0);
37881   ;
37882   return 0;
37883 }
37884 _ACEOF
37885 if ac_fn_cxx_try_compile "$LINENO"; then :
37886   glibcxx_cv_func__fabsl_use=yes
37887 else
37888   glibcxx_cv_func__fabsl_use=no
37889 fi
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891       ac_ext=c
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37896
37897
37898 fi
37899
37900   fi
37901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37902 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37903
37904     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37905       for ac_func in _fabsl
37906 do :
37907   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37908 if test "x$ac_cv_func__fabsl" = x""yes; then :
37909   cat >>confdefs.h <<_ACEOF
37910 #define HAVE__FABSL 1
37911 _ACEOF
37912
37913 fi
37914 done
37915
37916     fi
37917   fi
37918
37919
37920
37921
37922
37923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37924 $as_echo_n "checking for fmodl declaration... " >&6; }
37925   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37926     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37927   $as_echo_n "(cached) " >&6
37928 else
37929
37930
37931       ac_ext=cpp
37932 ac_cpp='$CXXCPP $CPPFLAGS'
37933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37936
37937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37938 /* end confdefs.h.  */
37939 #include <math.h>
37940 int
37941 main ()
37942 {
37943  fmodl(0, 0);
37944   ;
37945   return 0;
37946 }
37947 _ACEOF
37948 if ac_fn_cxx_try_compile "$LINENO"; then :
37949   glibcxx_cv_func_fmodl_use=yes
37950 else
37951   glibcxx_cv_func_fmodl_use=no
37952 fi
37953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37954       ac_ext=c
37955 ac_cpp='$CPP $CPPFLAGS'
37956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37959
37960
37961 fi
37962
37963   fi
37964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37965 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37966
37967   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37968     for ac_func in fmodl
37969 do :
37970   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37971 if test "x$ac_cv_func_fmodl" = x""yes; then :
37972   cat >>confdefs.h <<_ACEOF
37973 #define HAVE_FMODL 1
37974 _ACEOF
37975
37976 fi
37977 done
37978
37979   else
37980
37981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37982 $as_echo_n "checking for _fmodl declaration... " >&6; }
37983   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37984     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37985   $as_echo_n "(cached) " >&6
37986 else
37987
37988
37989       ac_ext=cpp
37990 ac_cpp='$CXXCPP $CPPFLAGS'
37991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37994
37995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37996 /* end confdefs.h.  */
37997 #include <math.h>
37998 int
37999 main ()
38000 {
38001  _fmodl(0, 0);
38002   ;
38003   return 0;
38004 }
38005 _ACEOF
38006 if ac_fn_cxx_try_compile "$LINENO"; then :
38007   glibcxx_cv_func__fmodl_use=yes
38008 else
38009   glibcxx_cv_func__fmodl_use=no
38010 fi
38011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38012       ac_ext=c
38013 ac_cpp='$CPP $CPPFLAGS'
38014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38017
38018
38019 fi
38020
38021   fi
38022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38023 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38024
38025     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38026       for ac_func in _fmodl
38027 do :
38028   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38029 if test "x$ac_cv_func__fmodl" = x""yes; then :
38030   cat >>confdefs.h <<_ACEOF
38031 #define HAVE__FMODL 1
38032 _ACEOF
38033
38034 fi
38035 done
38036
38037     fi
38038   fi
38039
38040
38041
38042
38043
38044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38045 $as_echo_n "checking for frexpl declaration... " >&6; }
38046   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38047     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38048   $as_echo_n "(cached) " >&6
38049 else
38050
38051
38052       ac_ext=cpp
38053 ac_cpp='$CXXCPP $CPPFLAGS'
38054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38057
38058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38059 /* end confdefs.h.  */
38060 #include <math.h>
38061 int
38062 main ()
38063 {
38064  frexpl(0, 0);
38065   ;
38066   return 0;
38067 }
38068 _ACEOF
38069 if ac_fn_cxx_try_compile "$LINENO"; then :
38070   glibcxx_cv_func_frexpl_use=yes
38071 else
38072   glibcxx_cv_func_frexpl_use=no
38073 fi
38074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38075       ac_ext=c
38076 ac_cpp='$CPP $CPPFLAGS'
38077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38080
38081
38082 fi
38083
38084   fi
38085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38086 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38087
38088   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38089     for ac_func in frexpl
38090 do :
38091   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38092 if test "x$ac_cv_func_frexpl" = x""yes; then :
38093   cat >>confdefs.h <<_ACEOF
38094 #define HAVE_FREXPL 1
38095 _ACEOF
38096
38097 fi
38098 done
38099
38100   else
38101
38102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38103 $as_echo_n "checking for _frexpl declaration... " >&6; }
38104   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38105     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38106   $as_echo_n "(cached) " >&6
38107 else
38108
38109
38110       ac_ext=cpp
38111 ac_cpp='$CXXCPP $CPPFLAGS'
38112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38115
38116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38117 /* end confdefs.h.  */
38118 #include <math.h>
38119 int
38120 main ()
38121 {
38122  _frexpl(0, 0);
38123   ;
38124   return 0;
38125 }
38126 _ACEOF
38127 if ac_fn_cxx_try_compile "$LINENO"; then :
38128   glibcxx_cv_func__frexpl_use=yes
38129 else
38130   glibcxx_cv_func__frexpl_use=no
38131 fi
38132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38133       ac_ext=c
38134 ac_cpp='$CPP $CPPFLAGS'
38135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38138
38139
38140 fi
38141
38142   fi
38143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38144 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38145
38146     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38147       for ac_func in _frexpl
38148 do :
38149   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38150 if test "x$ac_cv_func__frexpl" = x""yes; then :
38151   cat >>confdefs.h <<_ACEOF
38152 #define HAVE__FREXPL 1
38153 _ACEOF
38154
38155 fi
38156 done
38157
38158     fi
38159   fi
38160
38161
38162
38163
38164
38165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38166 $as_echo_n "checking for hypotl declaration... " >&6; }
38167   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38168     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38169   $as_echo_n "(cached) " >&6
38170 else
38171
38172
38173       ac_ext=cpp
38174 ac_cpp='$CXXCPP $CPPFLAGS'
38175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38178
38179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38180 /* end confdefs.h.  */
38181 #include <math.h>
38182 int
38183 main ()
38184 {
38185  hypotl(0, 0);
38186   ;
38187   return 0;
38188 }
38189 _ACEOF
38190 if ac_fn_cxx_try_compile "$LINENO"; then :
38191   glibcxx_cv_func_hypotl_use=yes
38192 else
38193   glibcxx_cv_func_hypotl_use=no
38194 fi
38195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38196       ac_ext=c
38197 ac_cpp='$CPP $CPPFLAGS'
38198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38201
38202
38203 fi
38204
38205   fi
38206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38207 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38208
38209   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38210     for ac_func in hypotl
38211 do :
38212   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38213 if test "x$ac_cv_func_hypotl" = x""yes; then :
38214   cat >>confdefs.h <<_ACEOF
38215 #define HAVE_HYPOTL 1
38216 _ACEOF
38217
38218 fi
38219 done
38220
38221   else
38222
38223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38224 $as_echo_n "checking for _hypotl declaration... " >&6; }
38225   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38226     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38227   $as_echo_n "(cached) " >&6
38228 else
38229
38230
38231       ac_ext=cpp
38232 ac_cpp='$CXXCPP $CPPFLAGS'
38233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38236
38237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38238 /* end confdefs.h.  */
38239 #include <math.h>
38240 int
38241 main ()
38242 {
38243  _hypotl(0, 0);
38244   ;
38245   return 0;
38246 }
38247 _ACEOF
38248 if ac_fn_cxx_try_compile "$LINENO"; then :
38249   glibcxx_cv_func__hypotl_use=yes
38250 else
38251   glibcxx_cv_func__hypotl_use=no
38252 fi
38253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38254       ac_ext=c
38255 ac_cpp='$CPP $CPPFLAGS'
38256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38259
38260
38261 fi
38262
38263   fi
38264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38265 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38266
38267     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38268       for ac_func in _hypotl
38269 do :
38270   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38271 if test "x$ac_cv_func__hypotl" = x""yes; then :
38272   cat >>confdefs.h <<_ACEOF
38273 #define HAVE__HYPOTL 1
38274 _ACEOF
38275
38276 fi
38277 done
38278
38279     fi
38280   fi
38281
38282
38283
38284
38285
38286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38287 $as_echo_n "checking for ldexpl declaration... " >&6; }
38288   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38289     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38290   $as_echo_n "(cached) " >&6
38291 else
38292
38293
38294       ac_ext=cpp
38295 ac_cpp='$CXXCPP $CPPFLAGS'
38296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38299
38300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38301 /* end confdefs.h.  */
38302 #include <math.h>
38303 int
38304 main ()
38305 {
38306  ldexpl(0, 0);
38307   ;
38308   return 0;
38309 }
38310 _ACEOF
38311 if ac_fn_cxx_try_compile "$LINENO"; then :
38312   glibcxx_cv_func_ldexpl_use=yes
38313 else
38314   glibcxx_cv_func_ldexpl_use=no
38315 fi
38316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38317       ac_ext=c
38318 ac_cpp='$CPP $CPPFLAGS'
38319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38322
38323
38324 fi
38325
38326   fi
38327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38328 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38329
38330   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38331     for ac_func in ldexpl
38332 do :
38333   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38334 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38335   cat >>confdefs.h <<_ACEOF
38336 #define HAVE_LDEXPL 1
38337 _ACEOF
38338
38339 fi
38340 done
38341
38342   else
38343
38344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38345 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38346   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38347     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38348   $as_echo_n "(cached) " >&6
38349 else
38350
38351
38352       ac_ext=cpp
38353 ac_cpp='$CXXCPP $CPPFLAGS'
38354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38357
38358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38359 /* end confdefs.h.  */
38360 #include <math.h>
38361 int
38362 main ()
38363 {
38364  _ldexpl(0, 0);
38365   ;
38366   return 0;
38367 }
38368 _ACEOF
38369 if ac_fn_cxx_try_compile "$LINENO"; then :
38370   glibcxx_cv_func__ldexpl_use=yes
38371 else
38372   glibcxx_cv_func__ldexpl_use=no
38373 fi
38374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38375       ac_ext=c
38376 ac_cpp='$CPP $CPPFLAGS'
38377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38380
38381
38382 fi
38383
38384   fi
38385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38386 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38387
38388     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38389       for ac_func in _ldexpl
38390 do :
38391   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38392 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38393   cat >>confdefs.h <<_ACEOF
38394 #define HAVE__LDEXPL 1
38395 _ACEOF
38396
38397 fi
38398 done
38399
38400     fi
38401   fi
38402
38403
38404
38405
38406
38407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38408 $as_echo_n "checking for logl declaration... " >&6; }
38409   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38410     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38411   $as_echo_n "(cached) " >&6
38412 else
38413
38414
38415       ac_ext=cpp
38416 ac_cpp='$CXXCPP $CPPFLAGS'
38417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38420
38421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38422 /* end confdefs.h.  */
38423 #include <math.h>
38424                       #ifdef HAVE_IEEEFP_H
38425                       #include <ieeefp.h>
38426                       #endif
38427
38428 int
38429 main ()
38430 {
38431  logl(0);
38432   ;
38433   return 0;
38434 }
38435 _ACEOF
38436 if ac_fn_cxx_try_compile "$LINENO"; then :
38437   glibcxx_cv_func_logl_use=yes
38438 else
38439   glibcxx_cv_func_logl_use=no
38440 fi
38441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38442       ac_ext=c
38443 ac_cpp='$CPP $CPPFLAGS'
38444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38447
38448
38449 fi
38450
38451   fi
38452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38453 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38454
38455   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38456     for ac_func in logl
38457 do :
38458   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38459 if test "x$ac_cv_func_logl" = x""yes; then :
38460   cat >>confdefs.h <<_ACEOF
38461 #define HAVE_LOGL 1
38462 _ACEOF
38463
38464 fi
38465 done
38466
38467   else
38468
38469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38470 $as_echo_n "checking for _logl declaration... " >&6; }
38471   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38472     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38473   $as_echo_n "(cached) " >&6
38474 else
38475
38476
38477       ac_ext=cpp
38478 ac_cpp='$CXXCPP $CPPFLAGS'
38479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38482
38483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38484 /* end confdefs.h.  */
38485 #include <math.h>
38486                       #ifdef HAVE_IEEEFP_H
38487                       #include <ieeefp.h>
38488                       #endif
38489
38490 int
38491 main ()
38492 {
38493  _logl(0);
38494   ;
38495   return 0;
38496 }
38497 _ACEOF
38498 if ac_fn_cxx_try_compile "$LINENO"; then :
38499   glibcxx_cv_func__logl_use=yes
38500 else
38501   glibcxx_cv_func__logl_use=no
38502 fi
38503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38504       ac_ext=c
38505 ac_cpp='$CPP $CPPFLAGS'
38506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38509
38510
38511 fi
38512
38513   fi
38514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38515 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38516
38517     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38518       for ac_func in _logl
38519 do :
38520   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38521 if test "x$ac_cv_func__logl" = x""yes; then :
38522   cat >>confdefs.h <<_ACEOF
38523 #define HAVE__LOGL 1
38524 _ACEOF
38525
38526 fi
38527 done
38528
38529     fi
38530   fi
38531
38532
38533
38534
38535
38536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38537 $as_echo_n "checking for log10l declaration... " >&6; }
38538   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38539     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38540   $as_echo_n "(cached) " >&6
38541 else
38542
38543
38544       ac_ext=cpp
38545 ac_cpp='$CXXCPP $CPPFLAGS'
38546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38549
38550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38551 /* end confdefs.h.  */
38552 #include <math.h>
38553                       #ifdef HAVE_IEEEFP_H
38554                       #include <ieeefp.h>
38555                       #endif
38556
38557 int
38558 main ()
38559 {
38560  log10l(0);
38561   ;
38562   return 0;
38563 }
38564 _ACEOF
38565 if ac_fn_cxx_try_compile "$LINENO"; then :
38566   glibcxx_cv_func_log10l_use=yes
38567 else
38568   glibcxx_cv_func_log10l_use=no
38569 fi
38570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38571       ac_ext=c
38572 ac_cpp='$CPP $CPPFLAGS'
38573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38576
38577
38578 fi
38579
38580   fi
38581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38582 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38583
38584   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38585     for ac_func in log10l
38586 do :
38587   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38588 if test "x$ac_cv_func_log10l" = x""yes; then :
38589   cat >>confdefs.h <<_ACEOF
38590 #define HAVE_LOG10L 1
38591 _ACEOF
38592
38593 fi
38594 done
38595
38596   else
38597
38598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38599 $as_echo_n "checking for _log10l declaration... " >&6; }
38600   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38601     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38602   $as_echo_n "(cached) " >&6
38603 else
38604
38605
38606       ac_ext=cpp
38607 ac_cpp='$CXXCPP $CPPFLAGS'
38608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38611
38612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38613 /* end confdefs.h.  */
38614 #include <math.h>
38615                       #ifdef HAVE_IEEEFP_H
38616                       #include <ieeefp.h>
38617                       #endif
38618
38619 int
38620 main ()
38621 {
38622  _log10l(0);
38623   ;
38624   return 0;
38625 }
38626 _ACEOF
38627 if ac_fn_cxx_try_compile "$LINENO"; then :
38628   glibcxx_cv_func__log10l_use=yes
38629 else
38630   glibcxx_cv_func__log10l_use=no
38631 fi
38632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633       ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38638
38639
38640 fi
38641
38642   fi
38643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38644 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38645
38646     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38647       for ac_func in _log10l
38648 do :
38649   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38650 if test "x$ac_cv_func__log10l" = x""yes; then :
38651   cat >>confdefs.h <<_ACEOF
38652 #define HAVE__LOG10L 1
38653 _ACEOF
38654
38655 fi
38656 done
38657
38658     fi
38659   fi
38660
38661
38662
38663
38664
38665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38666 $as_echo_n "checking for modfl declaration... " >&6; }
38667   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38668     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38669   $as_echo_n "(cached) " >&6
38670 else
38671
38672
38673       ac_ext=cpp
38674 ac_cpp='$CXXCPP $CPPFLAGS'
38675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38678
38679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38680 /* end confdefs.h.  */
38681 #include <math.h>
38682 int
38683 main ()
38684 {
38685  modfl(0, 0);
38686   ;
38687   return 0;
38688 }
38689 _ACEOF
38690 if ac_fn_cxx_try_compile "$LINENO"; then :
38691   glibcxx_cv_func_modfl_use=yes
38692 else
38693   glibcxx_cv_func_modfl_use=no
38694 fi
38695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38696       ac_ext=c
38697 ac_cpp='$CPP $CPPFLAGS'
38698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38701
38702
38703 fi
38704
38705   fi
38706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38707 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38708
38709   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38710     for ac_func in modfl
38711 do :
38712   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38713 if test "x$ac_cv_func_modfl" = x""yes; then :
38714   cat >>confdefs.h <<_ACEOF
38715 #define HAVE_MODFL 1
38716 _ACEOF
38717
38718 fi
38719 done
38720
38721   else
38722
38723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38724 $as_echo_n "checking for _modfl declaration... " >&6; }
38725   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38726     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38727   $as_echo_n "(cached) " >&6
38728 else
38729
38730
38731       ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38736
38737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h.  */
38739 #include <math.h>
38740 int
38741 main ()
38742 {
38743  _modfl(0, 0);
38744   ;
38745   return 0;
38746 }
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749   glibcxx_cv_func__modfl_use=yes
38750 else
38751   glibcxx_cv_func__modfl_use=no
38752 fi
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754       ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38759
38760
38761 fi
38762
38763   fi
38764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38765 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38766
38767     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38768       for ac_func in _modfl
38769 do :
38770   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38771 if test "x$ac_cv_func__modfl" = x""yes; then :
38772   cat >>confdefs.h <<_ACEOF
38773 #define HAVE__MODFL 1
38774 _ACEOF
38775
38776 fi
38777 done
38778
38779     fi
38780   fi
38781
38782
38783
38784
38785
38786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38787 $as_echo_n "checking for powl declaration... " >&6; }
38788   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38789     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38790   $as_echo_n "(cached) " >&6
38791 else
38792
38793
38794       ac_ext=cpp
38795 ac_cpp='$CXXCPP $CPPFLAGS'
38796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799
38800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38801 /* end confdefs.h.  */
38802 #include <math.h>
38803 int
38804 main ()
38805 {
38806  powl(0, 0);
38807   ;
38808   return 0;
38809 }
38810 _ACEOF
38811 if ac_fn_cxx_try_compile "$LINENO"; then :
38812   glibcxx_cv_func_powl_use=yes
38813 else
38814   glibcxx_cv_func_powl_use=no
38815 fi
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38817       ac_ext=c
38818 ac_cpp='$CPP $CPPFLAGS'
38819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38822
38823
38824 fi
38825
38826   fi
38827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38828 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38829
38830   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38831     for ac_func in powl
38832 do :
38833   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38834 if test "x$ac_cv_func_powl" = x""yes; then :
38835   cat >>confdefs.h <<_ACEOF
38836 #define HAVE_POWL 1
38837 _ACEOF
38838
38839 fi
38840 done
38841
38842   else
38843
38844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38845 $as_echo_n "checking for _powl declaration... " >&6; }
38846   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38847     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38848   $as_echo_n "(cached) " >&6
38849 else
38850
38851
38852       ac_ext=cpp
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38857
38858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h.  */
38860 #include <math.h>
38861 int
38862 main ()
38863 {
38864  _powl(0, 0);
38865   ;
38866   return 0;
38867 }
38868 _ACEOF
38869 if ac_fn_cxx_try_compile "$LINENO"; then :
38870   glibcxx_cv_func__powl_use=yes
38871 else
38872   glibcxx_cv_func__powl_use=no
38873 fi
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38875       ac_ext=c
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38880
38881
38882 fi
38883
38884   fi
38885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38886 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38887
38888     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38889       for ac_func in _powl
38890 do :
38891   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38892 if test "x$ac_cv_func__powl" = x""yes; then :
38893   cat >>confdefs.h <<_ACEOF
38894 #define HAVE__POWL 1
38895 _ACEOF
38896
38897 fi
38898 done
38899
38900     fi
38901   fi
38902
38903
38904
38905
38906
38907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38908 $as_echo_n "checking for sqrtl declaration... " >&6; }
38909   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38910     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38911   $as_echo_n "(cached) " >&6
38912 else
38913
38914
38915       ac_ext=cpp
38916 ac_cpp='$CXXCPP $CPPFLAGS'
38917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38920
38921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38922 /* end confdefs.h.  */
38923 #include <math.h>
38924                       #ifdef HAVE_IEEEFP_H
38925                       #include <ieeefp.h>
38926                       #endif
38927
38928 int
38929 main ()
38930 {
38931  sqrtl(0);
38932   ;
38933   return 0;
38934 }
38935 _ACEOF
38936 if ac_fn_cxx_try_compile "$LINENO"; then :
38937   glibcxx_cv_func_sqrtl_use=yes
38938 else
38939   glibcxx_cv_func_sqrtl_use=no
38940 fi
38941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38942       ac_ext=c
38943 ac_cpp='$CPP $CPPFLAGS'
38944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38947
38948
38949 fi
38950
38951   fi
38952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38953 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38954
38955   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38956     for ac_func in sqrtl
38957 do :
38958   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38959 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38960   cat >>confdefs.h <<_ACEOF
38961 #define HAVE_SQRTL 1
38962 _ACEOF
38963
38964 fi
38965 done
38966
38967   else
38968
38969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38970 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38971   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38972     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38973   $as_echo_n "(cached) " >&6
38974 else
38975
38976
38977       ac_ext=cpp
38978 ac_cpp='$CXXCPP $CPPFLAGS'
38979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38982
38983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38984 /* end confdefs.h.  */
38985 #include <math.h>
38986                       #ifdef HAVE_IEEEFP_H
38987                       #include <ieeefp.h>
38988                       #endif
38989
38990 int
38991 main ()
38992 {
38993  _sqrtl(0);
38994   ;
38995   return 0;
38996 }
38997 _ACEOF
38998 if ac_fn_cxx_try_compile "$LINENO"; then :
38999   glibcxx_cv_func__sqrtl_use=yes
39000 else
39001   glibcxx_cv_func__sqrtl_use=no
39002 fi
39003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39004       ac_ext=c
39005 ac_cpp='$CPP $CPPFLAGS'
39006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39009
39010
39011 fi
39012
39013   fi
39014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39015 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39016
39017     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39018       for ac_func in _sqrtl
39019 do :
39020   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39021 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39022   cat >>confdefs.h <<_ACEOF
39023 #define HAVE__SQRTL 1
39024 _ACEOF
39025
39026 fi
39027 done
39028
39029     fi
39030   fi
39031
39032
39033
39034
39035
39036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39037 $as_echo_n "checking for sincosl declaration... " >&6; }
39038   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39039     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39040   $as_echo_n "(cached) " >&6
39041 else
39042
39043
39044       ac_ext=cpp
39045 ac_cpp='$CXXCPP $CPPFLAGS'
39046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39049
39050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39051 /* end confdefs.h.  */
39052 #include <math.h>
39053 int
39054 main ()
39055 {
39056  sincosl(0, 0, 0);
39057   ;
39058   return 0;
39059 }
39060 _ACEOF
39061 if ac_fn_cxx_try_compile "$LINENO"; then :
39062   glibcxx_cv_func_sincosl_use=yes
39063 else
39064   glibcxx_cv_func_sincosl_use=no
39065 fi
39066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39067       ac_ext=c
39068 ac_cpp='$CPP $CPPFLAGS'
39069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39072
39073
39074 fi
39075
39076   fi
39077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39078 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39079
39080   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39081     for ac_func in sincosl
39082 do :
39083   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39084 if test "x$ac_cv_func_sincosl" = x""yes; then :
39085   cat >>confdefs.h <<_ACEOF
39086 #define HAVE_SINCOSL 1
39087 _ACEOF
39088
39089 fi
39090 done
39091
39092   else
39093
39094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39095 $as_echo_n "checking for _sincosl declaration... " >&6; }
39096   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39097     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39098   $as_echo_n "(cached) " >&6
39099 else
39100
39101
39102       ac_ext=cpp
39103 ac_cpp='$CXXCPP $CPPFLAGS'
39104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39107
39108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39109 /* end confdefs.h.  */
39110 #include <math.h>
39111 int
39112 main ()
39113 {
39114  _sincosl(0, 0, 0);
39115   ;
39116   return 0;
39117 }
39118 _ACEOF
39119 if ac_fn_cxx_try_compile "$LINENO"; then :
39120   glibcxx_cv_func__sincosl_use=yes
39121 else
39122   glibcxx_cv_func__sincosl_use=no
39123 fi
39124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39125       ac_ext=c
39126 ac_cpp='$CPP $CPPFLAGS'
39127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39130
39131
39132 fi
39133
39134   fi
39135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39136 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39137
39138     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39139       for ac_func in _sincosl
39140 do :
39141   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39142 if test "x$ac_cv_func__sincosl" = x""yes; then :
39143   cat >>confdefs.h <<_ACEOF
39144 #define HAVE__SINCOSL 1
39145 _ACEOF
39146
39147 fi
39148 done
39149
39150     fi
39151   fi
39152
39153
39154
39155
39156
39157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39158 $as_echo_n "checking for finitel declaration... " >&6; }
39159   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39160     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39161   $as_echo_n "(cached) " >&6
39162 else
39163
39164
39165       ac_ext=cpp
39166 ac_cpp='$CXXCPP $CPPFLAGS'
39167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39170
39171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39172 /* end confdefs.h.  */
39173 #include <math.h>
39174                       #ifdef HAVE_IEEEFP_H
39175                       #include <ieeefp.h>
39176                       #endif
39177
39178 int
39179 main ()
39180 {
39181  finitel(0);
39182   ;
39183   return 0;
39184 }
39185 _ACEOF
39186 if ac_fn_cxx_try_compile "$LINENO"; then :
39187   glibcxx_cv_func_finitel_use=yes
39188 else
39189   glibcxx_cv_func_finitel_use=no
39190 fi
39191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39192       ac_ext=c
39193 ac_cpp='$CPP $CPPFLAGS'
39194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39197
39198
39199 fi
39200
39201   fi
39202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39203 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39204
39205   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39206     for ac_func in finitel
39207 do :
39208   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39209 if test "x$ac_cv_func_finitel" = x""yes; then :
39210   cat >>confdefs.h <<_ACEOF
39211 #define HAVE_FINITEL 1
39212 _ACEOF
39213
39214 fi
39215 done
39216
39217   else
39218
39219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39220 $as_echo_n "checking for _finitel declaration... " >&6; }
39221   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39222     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39223   $as_echo_n "(cached) " >&6
39224 else
39225
39226
39227       ac_ext=cpp
39228 ac_cpp='$CXXCPP $CPPFLAGS'
39229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39232
39233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39234 /* end confdefs.h.  */
39235 #include <math.h>
39236                       #ifdef HAVE_IEEEFP_H
39237                       #include <ieeefp.h>
39238                       #endif
39239
39240 int
39241 main ()
39242 {
39243  _finitel(0);
39244   ;
39245   return 0;
39246 }
39247 _ACEOF
39248 if ac_fn_cxx_try_compile "$LINENO"; then :
39249   glibcxx_cv_func__finitel_use=yes
39250 else
39251   glibcxx_cv_func__finitel_use=no
39252 fi
39253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39254       ac_ext=c
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39259
39260
39261 fi
39262
39263   fi
39264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39265 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39266
39267     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39268       for ac_func in _finitel
39269 do :
39270   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39271 if test "x$ac_cv_func__finitel" = x""yes; then :
39272   cat >>confdefs.h <<_ACEOF
39273 #define HAVE__FINITEL 1
39274 _ACEOF
39275
39276 fi
39277 done
39278
39279     fi
39280   fi
39281
39282
39283
39284
39285   LIBS="$ac_save_LIBS"
39286   CXXFLAGS="$ac_save_CXXFLAGS"
39287
39288
39289   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39290   ac_save_CXXFLAGS="$CXXFLAGS"
39291   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39292
39293
39294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39295 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39296   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39297     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39298   $as_echo_n "(cached) " >&6
39299 else
39300
39301
39302       ac_ext=cpp
39303 ac_cpp='$CXXCPP $CPPFLAGS'
39304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39307
39308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309 /* end confdefs.h.  */
39310 #include <stdlib.h>
39311 int
39312 main ()
39313 {
39314  at_quick_exit(0);
39315   ;
39316   return 0;
39317 }
39318 _ACEOF
39319 if ac_fn_cxx_try_compile "$LINENO"; then :
39320   glibcxx_cv_func_at_quick_exit_use=yes
39321 else
39322   glibcxx_cv_func_at_quick_exit_use=no
39323 fi
39324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39325       ac_ext=c
39326 ac_cpp='$CPP $CPPFLAGS'
39327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39330
39331
39332 fi
39333
39334   fi
39335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39336 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39337   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39338     for ac_func in at_quick_exit
39339 do :
39340   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39341 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39342   cat >>confdefs.h <<_ACEOF
39343 #define HAVE_AT_QUICK_EXIT 1
39344 _ACEOF
39345
39346 fi
39347 done
39348
39349   fi
39350
39351
39352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39353 $as_echo_n "checking for quick_exit declaration... " >&6; }
39354   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39355     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39356   $as_echo_n "(cached) " >&6
39357 else
39358
39359
39360       ac_ext=cpp
39361 ac_cpp='$CXXCPP $CPPFLAGS'
39362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39365
39366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39367 /* end confdefs.h.  */
39368 #include <stdlib.h>
39369 int
39370 main ()
39371 {
39372  quick_exit(0);
39373   ;
39374   return 0;
39375 }
39376 _ACEOF
39377 if ac_fn_cxx_try_compile "$LINENO"; then :
39378   glibcxx_cv_func_quick_exit_use=yes
39379 else
39380   glibcxx_cv_func_quick_exit_use=no
39381 fi
39382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39383       ac_ext=c
39384 ac_cpp='$CPP $CPPFLAGS'
39385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39388
39389
39390 fi
39391
39392   fi
39393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39394 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39395   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39396     for ac_func in quick_exit
39397 do :
39398   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39399 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39400   cat >>confdefs.h <<_ACEOF
39401 #define HAVE_QUICK_EXIT 1
39402 _ACEOF
39403
39404 fi
39405 done
39406
39407   fi
39408
39409
39410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39411 $as_echo_n "checking for strtold declaration... " >&6; }
39412   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39413     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39414   $as_echo_n "(cached) " >&6
39415 else
39416
39417
39418       ac_ext=cpp
39419 ac_cpp='$CXXCPP $CPPFLAGS'
39420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39423
39424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39425 /* end confdefs.h.  */
39426 #include <stdlib.h>
39427 int
39428 main ()
39429 {
39430  strtold(0, 0);
39431   ;
39432   return 0;
39433 }
39434 _ACEOF
39435 if ac_fn_cxx_try_compile "$LINENO"; then :
39436   glibcxx_cv_func_strtold_use=yes
39437 else
39438   glibcxx_cv_func_strtold_use=no
39439 fi
39440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39441       ac_ext=c
39442 ac_cpp='$CPP $CPPFLAGS'
39443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39446
39447
39448 fi
39449
39450   fi
39451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39452 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39453   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39454     for ac_func in strtold
39455 do :
39456   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39457 if test "x$ac_cv_func_strtold" = x""yes; then :
39458   cat >>confdefs.h <<_ACEOF
39459 #define HAVE_STRTOLD 1
39460 _ACEOF
39461
39462 fi
39463 done
39464
39465   fi
39466
39467
39468
39469
39470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39471 $as_echo_n "checking for strtof declaration... " >&6; }
39472   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39473     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39474   $as_echo_n "(cached) " >&6
39475 else
39476
39477
39478       ac_ext=cpp
39479 ac_cpp='$CXXCPP $CPPFLAGS'
39480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39483
39484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39485 /* end confdefs.h.  */
39486 #include <stdlib.h>
39487 int
39488 main ()
39489 {
39490  strtof(0, 0);
39491   ;
39492   return 0;
39493 }
39494 _ACEOF
39495 if ac_fn_cxx_try_compile "$LINENO"; then :
39496   glibcxx_cv_func_strtof_use=yes
39497 else
39498   glibcxx_cv_func_strtof_use=no
39499 fi
39500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39501       ac_ext=c
39502 ac_cpp='$CPP $CPPFLAGS'
39503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39506
39507
39508 fi
39509
39510   fi
39511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39512 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39513   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39514     for ac_func in strtof
39515 do :
39516   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39517 if test "x$ac_cv_func_strtof" = x""yes; then :
39518   cat >>confdefs.h <<_ACEOF
39519 #define HAVE_STRTOF 1
39520 _ACEOF
39521
39522 fi
39523 done
39524
39525   fi
39526
39527
39528
39529
39530   CXXFLAGS="$ac_save_CXXFLAGS"
39531
39532     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39533
39534     # We don't yet support AIX's TLS ABI.
39535     #GCC_CHECK_TLS
39536
39537
39538
39539
39540
39541           am_save_CPPFLAGS="$CPPFLAGS"
39542
39543   for element in $INCICONV; do
39544     haveit=
39545     for x in $CPPFLAGS; do
39546
39547   acl_save_prefix="$prefix"
39548   prefix="$acl_final_prefix"
39549   acl_save_exec_prefix="$exec_prefix"
39550   exec_prefix="$acl_final_exec_prefix"
39551   eval x=\"$x\"
39552   exec_prefix="$acl_save_exec_prefix"
39553   prefix="$acl_save_prefix"
39554
39555       if test "X$x" = "X$element"; then
39556         haveit=yes
39557         break
39558       fi
39559     done
39560     if test -z "$haveit"; then
39561       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39562     fi
39563   done
39564
39565
39566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39567 $as_echo_n "checking for iconv... " >&6; }
39568 if test "${am_cv_func_iconv+set}" = set; then :
39569   $as_echo_n "(cached) " >&6
39570 else
39571
39572     am_cv_func_iconv="no, consider installing GNU libiconv"
39573     am_cv_lib_iconv=no
39574     if test x$gcc_no_link = xyes; then
39575   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39576 fi
39577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39578 /* end confdefs.h.  */
39579 #include <stdlib.h>
39580 #include <iconv.h>
39581 int
39582 main ()
39583 {
39584 iconv_t cd = iconv_open("","");
39585        iconv(cd,NULL,NULL,NULL,NULL);
39586        iconv_close(cd);
39587   ;
39588   return 0;
39589 }
39590 _ACEOF
39591 if ac_fn_c_try_link "$LINENO"; then :
39592   am_cv_func_iconv=yes
39593 fi
39594 rm -f core conftest.err conftest.$ac_objext \
39595     conftest$ac_exeext conftest.$ac_ext
39596     if test "$am_cv_func_iconv" != yes; then
39597       am_save_LIBS="$LIBS"
39598       LIBS="$LIBS $LIBICONV"
39599       if test x$gcc_no_link = xyes; then
39600   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39601 fi
39602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39603 /* end confdefs.h.  */
39604 #include <stdlib.h>
39605 #include <iconv.h>
39606 int
39607 main ()
39608 {
39609 iconv_t cd = iconv_open("","");
39610          iconv(cd,NULL,NULL,NULL,NULL);
39611          iconv_close(cd);
39612   ;
39613   return 0;
39614 }
39615 _ACEOF
39616 if ac_fn_c_try_link "$LINENO"; then :
39617   am_cv_lib_iconv=yes
39618         am_cv_func_iconv=yes
39619 fi
39620 rm -f core conftest.err conftest.$ac_objext \
39621     conftest$ac_exeext conftest.$ac_ext
39622       LIBS="$am_save_LIBS"
39623     fi
39624
39625 fi
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39627 $as_echo "$am_cv_func_iconv" >&6; }
39628   if test "$am_cv_func_iconv" = yes; then
39629
39630 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39631
39632   fi
39633   if test "$am_cv_lib_iconv" = yes; then
39634     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39635 $as_echo_n "checking how to link with libiconv... " >&6; }
39636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39637 $as_echo "$LIBICONV" >&6; }
39638   else
39639             CPPFLAGS="$am_save_CPPFLAGS"
39640     LIBICONV=
39641     LTLIBICONV=
39642   fi
39643
39644
39645
39646   if test "$am_cv_func_iconv" = yes; then
39647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39648 $as_echo_n "checking for iconv declaration... " >&6; }
39649     if test "${am_cv_proto_iconv+set}" = set; then :
39650   $as_echo_n "(cached) " >&6
39651 else
39652
39653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39654 /* end confdefs.h.  */
39655
39656 #include <stdlib.h>
39657 #include <iconv.h>
39658 extern
39659 #ifdef __cplusplus
39660 "C"
39661 #endif
39662 #if defined(__STDC__) || defined(__cplusplus)
39663 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39664 #else
39665 size_t iconv();
39666 #endif
39667
39668 int
39669 main ()
39670 {
39671
39672   ;
39673   return 0;
39674 }
39675 _ACEOF
39676 if ac_fn_c_try_compile "$LINENO"; then :
39677   am_cv_proto_iconv_arg1=""
39678 else
39679   am_cv_proto_iconv_arg1="const"
39680 fi
39681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39682       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);"
39683 fi
39684
39685     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39686     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39687          }$am_cv_proto_iconv" >&5
39688 $as_echo "${ac_t:-
39689          }$am_cv_proto_iconv" >&6; }
39690
39691 cat >>confdefs.h <<_ACEOF
39692 #define ICONV_CONST $am_cv_proto_iconv_arg1
39693 _ACEOF
39694
39695   fi
39696
39697     ;;
39698
39699   *-darwin*)
39700     # Darwin versions vary, but the linker should work in a cross environment,
39701     # so we just check for all the features here.
39702     # Check for available headers.
39703
39704     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39705
39706   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39707   ac_save_CXXFLAGS="$CXXFLAGS"
39708   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39709
39710     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39711 $as_echo_n "checking for sin in -lm... " >&6; }
39712 if test "${ac_cv_lib_m_sin+set}" = set; then :
39713   $as_echo_n "(cached) " >&6
39714 else
39715   ac_check_lib_save_LIBS=$LIBS
39716 LIBS="-lm  $LIBS"
39717 if test x$gcc_no_link = xyes; then
39718   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39719 fi
39720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39721 /* end confdefs.h.  */
39722
39723 /* Override any GCC internal prototype to avoid an error.
39724    Use char because int might match the return type of a GCC
39725    builtin and then its argument prototype would still apply.  */
39726 #ifdef __cplusplus
39727 extern "C"
39728 #endif
39729 char sin ();
39730 int
39731 main ()
39732 {
39733 return sin ();
39734   ;
39735   return 0;
39736 }
39737 _ACEOF
39738 if ac_fn_c_try_link "$LINENO"; then :
39739   ac_cv_lib_m_sin=yes
39740 else
39741   ac_cv_lib_m_sin=no
39742 fi
39743 rm -f core conftest.err conftest.$ac_objext \
39744     conftest$ac_exeext conftest.$ac_ext
39745 LIBS=$ac_check_lib_save_LIBS
39746 fi
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39748 $as_echo "$ac_cv_lib_m_sin" >&6; }
39749 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39750   libm="-lm"
39751 fi
39752
39753   ac_save_LIBS="$LIBS"
39754   LIBS="$LIBS $libm"
39755
39756
39757
39758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39759 $as_echo_n "checking for isinf declaration... " >&6; }
39760   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39761     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39762   $as_echo_n "(cached) " >&6
39763 else
39764
39765
39766       ac_ext=cpp
39767 ac_cpp='$CXXCPP $CPPFLAGS'
39768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39771
39772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39773 /* end confdefs.h.  */
39774 #include <math.h>
39775                       #ifdef HAVE_IEEEFP_H
39776                       #include <ieeefp.h>
39777                       #endif
39778
39779 int
39780 main ()
39781 {
39782  isinf(0);
39783   ;
39784   return 0;
39785 }
39786 _ACEOF
39787 if ac_fn_cxx_try_compile "$LINENO"; then :
39788   glibcxx_cv_func_isinf_use=yes
39789 else
39790   glibcxx_cv_func_isinf_use=no
39791 fi
39792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39793       ac_ext=c
39794 ac_cpp='$CPP $CPPFLAGS'
39795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39798
39799
39800 fi
39801
39802   fi
39803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39804 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39805
39806   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39807     for ac_func in isinf
39808 do :
39809   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39810 if test "x$ac_cv_func_isinf" = x""yes; then :
39811   cat >>confdefs.h <<_ACEOF
39812 #define HAVE_ISINF 1
39813 _ACEOF
39814
39815 fi
39816 done
39817
39818   else
39819
39820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39821 $as_echo_n "checking for _isinf declaration... " >&6; }
39822   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39823     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39824   $as_echo_n "(cached) " >&6
39825 else
39826
39827
39828       ac_ext=cpp
39829 ac_cpp='$CXXCPP $CPPFLAGS'
39830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39833
39834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39835 /* end confdefs.h.  */
39836 #include <math.h>
39837                       #ifdef HAVE_IEEEFP_H
39838                       #include <ieeefp.h>
39839                       #endif
39840
39841 int
39842 main ()
39843 {
39844  _isinf(0);
39845   ;
39846   return 0;
39847 }
39848 _ACEOF
39849 if ac_fn_cxx_try_compile "$LINENO"; then :
39850   glibcxx_cv_func__isinf_use=yes
39851 else
39852   glibcxx_cv_func__isinf_use=no
39853 fi
39854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39855       ac_ext=c
39856 ac_cpp='$CPP $CPPFLAGS'
39857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39860
39861
39862 fi
39863
39864   fi
39865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39866 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39867
39868     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39869       for ac_func in _isinf
39870 do :
39871   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39872 if test "x$ac_cv_func__isinf" = x""yes; then :
39873   cat >>confdefs.h <<_ACEOF
39874 #define HAVE__ISINF 1
39875 _ACEOF
39876
39877 fi
39878 done
39879
39880     fi
39881   fi
39882
39883
39884
39885
39886
39887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39888 $as_echo_n "checking for isnan declaration... " >&6; }
39889   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39890     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39891   $as_echo_n "(cached) " >&6
39892 else
39893
39894
39895       ac_ext=cpp
39896 ac_cpp='$CXXCPP $CPPFLAGS'
39897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39900
39901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39902 /* end confdefs.h.  */
39903 #include <math.h>
39904                       #ifdef HAVE_IEEEFP_H
39905                       #include <ieeefp.h>
39906                       #endif
39907
39908 int
39909 main ()
39910 {
39911  isnan(0);
39912   ;
39913   return 0;
39914 }
39915 _ACEOF
39916 if ac_fn_cxx_try_compile "$LINENO"; then :
39917   glibcxx_cv_func_isnan_use=yes
39918 else
39919   glibcxx_cv_func_isnan_use=no
39920 fi
39921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39922       ac_ext=c
39923 ac_cpp='$CPP $CPPFLAGS'
39924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39927
39928
39929 fi
39930
39931   fi
39932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39933 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39934
39935   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39936     for ac_func in isnan
39937 do :
39938   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39939 if test "x$ac_cv_func_isnan" = x""yes; then :
39940   cat >>confdefs.h <<_ACEOF
39941 #define HAVE_ISNAN 1
39942 _ACEOF
39943
39944 fi
39945 done
39946
39947   else
39948
39949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39950 $as_echo_n "checking for _isnan declaration... " >&6; }
39951   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39952     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39953   $as_echo_n "(cached) " >&6
39954 else
39955
39956
39957       ac_ext=cpp
39958 ac_cpp='$CXXCPP $CPPFLAGS'
39959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39962
39963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39964 /* end confdefs.h.  */
39965 #include <math.h>
39966                       #ifdef HAVE_IEEEFP_H
39967                       #include <ieeefp.h>
39968                       #endif
39969
39970 int
39971 main ()
39972 {
39973  _isnan(0);
39974   ;
39975   return 0;
39976 }
39977 _ACEOF
39978 if ac_fn_cxx_try_compile "$LINENO"; then :
39979   glibcxx_cv_func__isnan_use=yes
39980 else
39981   glibcxx_cv_func__isnan_use=no
39982 fi
39983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39984       ac_ext=c
39985 ac_cpp='$CPP $CPPFLAGS'
39986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39989
39990
39991 fi
39992
39993   fi
39994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39995 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39996
39997     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39998       for ac_func in _isnan
39999 do :
40000   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40001 if test "x$ac_cv_func__isnan" = x""yes; then :
40002   cat >>confdefs.h <<_ACEOF
40003 #define HAVE__ISNAN 1
40004 _ACEOF
40005
40006 fi
40007 done
40008
40009     fi
40010   fi
40011
40012
40013
40014
40015
40016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40017 $as_echo_n "checking for finite declaration... " >&6; }
40018   if test x${glibcxx_cv_func_finite_use+set} != xset; then
40019     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40020   $as_echo_n "(cached) " >&6
40021 else
40022
40023
40024       ac_ext=cpp
40025 ac_cpp='$CXXCPP $CPPFLAGS'
40026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40029
40030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40031 /* end confdefs.h.  */
40032 #include <math.h>
40033                       #ifdef HAVE_IEEEFP_H
40034                       #include <ieeefp.h>
40035                       #endif
40036
40037 int
40038 main ()
40039 {
40040  finite(0);
40041   ;
40042   return 0;
40043 }
40044 _ACEOF
40045 if ac_fn_cxx_try_compile "$LINENO"; then :
40046   glibcxx_cv_func_finite_use=yes
40047 else
40048   glibcxx_cv_func_finite_use=no
40049 fi
40050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40051       ac_ext=c
40052 ac_cpp='$CPP $CPPFLAGS'
40053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40056
40057
40058 fi
40059
40060   fi
40061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40062 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40063
40064   if test x$glibcxx_cv_func_finite_use = x"yes"; then
40065     for ac_func in finite
40066 do :
40067   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40068 if test "x$ac_cv_func_finite" = x""yes; then :
40069   cat >>confdefs.h <<_ACEOF
40070 #define HAVE_FINITE 1
40071 _ACEOF
40072
40073 fi
40074 done
40075
40076   else
40077
40078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40079 $as_echo_n "checking for _finite declaration... " >&6; }
40080   if test x${glibcxx_cv_func__finite_use+set} != xset; then
40081     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40082   $as_echo_n "(cached) " >&6
40083 else
40084
40085
40086       ac_ext=cpp
40087 ac_cpp='$CXXCPP $CPPFLAGS'
40088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40091
40092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40093 /* end confdefs.h.  */
40094 #include <math.h>
40095                       #ifdef HAVE_IEEEFP_H
40096                       #include <ieeefp.h>
40097                       #endif
40098
40099 int
40100 main ()
40101 {
40102  _finite(0);
40103   ;
40104   return 0;
40105 }
40106 _ACEOF
40107 if ac_fn_cxx_try_compile "$LINENO"; then :
40108   glibcxx_cv_func__finite_use=yes
40109 else
40110   glibcxx_cv_func__finite_use=no
40111 fi
40112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40113       ac_ext=c
40114 ac_cpp='$CPP $CPPFLAGS'
40115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40118
40119
40120 fi
40121
40122   fi
40123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40124 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40125
40126     if test x$glibcxx_cv_func__finite_use = x"yes"; then
40127       for ac_func in _finite
40128 do :
40129   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40130 if test "x$ac_cv_func__finite" = x""yes; then :
40131   cat >>confdefs.h <<_ACEOF
40132 #define HAVE__FINITE 1
40133 _ACEOF
40134
40135 fi
40136 done
40137
40138     fi
40139   fi
40140
40141
40142
40143
40144
40145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40146 $as_echo_n "checking for sincos declaration... " >&6; }
40147   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40148     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40149   $as_echo_n "(cached) " >&6
40150 else
40151
40152
40153       ac_ext=cpp
40154 ac_cpp='$CXXCPP $CPPFLAGS'
40155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40158
40159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40160 /* end confdefs.h.  */
40161 #include <math.h>
40162 int
40163 main ()
40164 {
40165  sincos(0, 0, 0);
40166   ;
40167   return 0;
40168 }
40169 _ACEOF
40170 if ac_fn_cxx_try_compile "$LINENO"; then :
40171   glibcxx_cv_func_sincos_use=yes
40172 else
40173   glibcxx_cv_func_sincos_use=no
40174 fi
40175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40176       ac_ext=c
40177 ac_cpp='$CPP $CPPFLAGS'
40178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40181
40182
40183 fi
40184
40185   fi
40186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40187 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40188
40189   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40190     for ac_func in sincos
40191 do :
40192   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40193 if test "x$ac_cv_func_sincos" = x""yes; then :
40194   cat >>confdefs.h <<_ACEOF
40195 #define HAVE_SINCOS 1
40196 _ACEOF
40197
40198 fi
40199 done
40200
40201   else
40202
40203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40204 $as_echo_n "checking for _sincos declaration... " >&6; }
40205   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40206     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40207   $as_echo_n "(cached) " >&6
40208 else
40209
40210
40211       ac_ext=cpp
40212 ac_cpp='$CXXCPP $CPPFLAGS'
40213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40216
40217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40218 /* end confdefs.h.  */
40219 #include <math.h>
40220 int
40221 main ()
40222 {
40223  _sincos(0, 0, 0);
40224   ;
40225   return 0;
40226 }
40227 _ACEOF
40228 if ac_fn_cxx_try_compile "$LINENO"; then :
40229   glibcxx_cv_func__sincos_use=yes
40230 else
40231   glibcxx_cv_func__sincos_use=no
40232 fi
40233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40234       ac_ext=c
40235 ac_cpp='$CPP $CPPFLAGS'
40236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40239
40240
40241 fi
40242
40243   fi
40244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40245 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40246
40247     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40248       for ac_func in _sincos
40249 do :
40250   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40251 if test "x$ac_cv_func__sincos" = x""yes; then :
40252   cat >>confdefs.h <<_ACEOF
40253 #define HAVE__SINCOS 1
40254 _ACEOF
40255
40256 fi
40257 done
40258
40259     fi
40260   fi
40261
40262
40263
40264
40265
40266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40267 $as_echo_n "checking for fpclass declaration... " >&6; }
40268   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40269     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40270   $as_echo_n "(cached) " >&6
40271 else
40272
40273
40274       ac_ext=cpp
40275 ac_cpp='$CXXCPP $CPPFLAGS'
40276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40279
40280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40281 /* end confdefs.h.  */
40282 #include <math.h>
40283                       #ifdef HAVE_IEEEFP_H
40284                       #include <ieeefp.h>
40285                       #endif
40286
40287 int
40288 main ()
40289 {
40290  fpclass(0);
40291   ;
40292   return 0;
40293 }
40294 _ACEOF
40295 if ac_fn_cxx_try_compile "$LINENO"; then :
40296   glibcxx_cv_func_fpclass_use=yes
40297 else
40298   glibcxx_cv_func_fpclass_use=no
40299 fi
40300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40301       ac_ext=c
40302 ac_cpp='$CPP $CPPFLAGS'
40303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40306
40307
40308 fi
40309
40310   fi
40311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40312 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40313
40314   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40315     for ac_func in fpclass
40316 do :
40317   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40318 if test "x$ac_cv_func_fpclass" = x""yes; then :
40319   cat >>confdefs.h <<_ACEOF
40320 #define HAVE_FPCLASS 1
40321 _ACEOF
40322
40323 fi
40324 done
40325
40326   else
40327
40328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40329 $as_echo_n "checking for _fpclass declaration... " >&6; }
40330   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40331     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40332   $as_echo_n "(cached) " >&6
40333 else
40334
40335
40336       ac_ext=cpp
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40341
40342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40343 /* end confdefs.h.  */
40344 #include <math.h>
40345                       #ifdef HAVE_IEEEFP_H
40346                       #include <ieeefp.h>
40347                       #endif
40348
40349 int
40350 main ()
40351 {
40352  _fpclass(0);
40353   ;
40354   return 0;
40355 }
40356 _ACEOF
40357 if ac_fn_cxx_try_compile "$LINENO"; then :
40358   glibcxx_cv_func__fpclass_use=yes
40359 else
40360   glibcxx_cv_func__fpclass_use=no
40361 fi
40362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40363       ac_ext=c
40364 ac_cpp='$CPP $CPPFLAGS'
40365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40368
40369
40370 fi
40371
40372   fi
40373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40374 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40375
40376     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40377       for ac_func in _fpclass
40378 do :
40379   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40380 if test "x$ac_cv_func__fpclass" = x""yes; then :
40381   cat >>confdefs.h <<_ACEOF
40382 #define HAVE__FPCLASS 1
40383 _ACEOF
40384
40385 fi
40386 done
40387
40388     fi
40389   fi
40390
40391
40392
40393
40394
40395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40396 $as_echo_n "checking for qfpclass declaration... " >&6; }
40397   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40398     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40399   $as_echo_n "(cached) " >&6
40400 else
40401
40402
40403       ac_ext=cpp
40404 ac_cpp='$CXXCPP $CPPFLAGS'
40405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40408
40409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40410 /* end confdefs.h.  */
40411 #include <math.h>
40412                       #ifdef HAVE_IEEEFP_H
40413                       #include <ieeefp.h>
40414                       #endif
40415
40416 int
40417 main ()
40418 {
40419  qfpclass(0);
40420   ;
40421   return 0;
40422 }
40423 _ACEOF
40424 if ac_fn_cxx_try_compile "$LINENO"; then :
40425   glibcxx_cv_func_qfpclass_use=yes
40426 else
40427   glibcxx_cv_func_qfpclass_use=no
40428 fi
40429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40430       ac_ext=c
40431 ac_cpp='$CPP $CPPFLAGS'
40432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40435
40436
40437 fi
40438
40439   fi
40440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40441 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40442
40443   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40444     for ac_func in qfpclass
40445 do :
40446   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40447 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40448   cat >>confdefs.h <<_ACEOF
40449 #define HAVE_QFPCLASS 1
40450 _ACEOF
40451
40452 fi
40453 done
40454
40455   else
40456
40457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40458 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40459   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40460     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40461   $as_echo_n "(cached) " >&6
40462 else
40463
40464
40465       ac_ext=cpp
40466 ac_cpp='$CXXCPP $CPPFLAGS'
40467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40470
40471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40472 /* end confdefs.h.  */
40473 #include <math.h>
40474                       #ifdef HAVE_IEEEFP_H
40475                       #include <ieeefp.h>
40476                       #endif
40477
40478 int
40479 main ()
40480 {
40481  _qfpclass(0);
40482   ;
40483   return 0;
40484 }
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487   glibcxx_cv_func__qfpclass_use=yes
40488 else
40489   glibcxx_cv_func__qfpclass_use=no
40490 fi
40491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40492       ac_ext=c
40493 ac_cpp='$CPP $CPPFLAGS'
40494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40497
40498
40499 fi
40500
40501   fi
40502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40503 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40504
40505     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40506       for ac_func in _qfpclass
40507 do :
40508   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40509 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40510   cat >>confdefs.h <<_ACEOF
40511 #define HAVE__QFPCLASS 1
40512 _ACEOF
40513
40514 fi
40515 done
40516
40517     fi
40518   fi
40519
40520
40521
40522
40523
40524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40525 $as_echo_n "checking for hypot declaration... " >&6; }
40526   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40527     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40528   $as_echo_n "(cached) " >&6
40529 else
40530
40531
40532       ac_ext=cpp
40533 ac_cpp='$CXXCPP $CPPFLAGS'
40534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40537
40538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40539 /* end confdefs.h.  */
40540 #include <math.h>
40541 int
40542 main ()
40543 {
40544  hypot(0, 0);
40545   ;
40546   return 0;
40547 }
40548 _ACEOF
40549 if ac_fn_cxx_try_compile "$LINENO"; then :
40550   glibcxx_cv_func_hypot_use=yes
40551 else
40552   glibcxx_cv_func_hypot_use=no
40553 fi
40554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40555       ac_ext=c
40556 ac_cpp='$CPP $CPPFLAGS'
40557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560
40561
40562 fi
40563
40564   fi
40565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40566 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40567
40568   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40569     for ac_func in hypot
40570 do :
40571   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40572 if test "x$ac_cv_func_hypot" = x""yes; then :
40573   cat >>confdefs.h <<_ACEOF
40574 #define HAVE_HYPOT 1
40575 _ACEOF
40576
40577 fi
40578 done
40579
40580   else
40581
40582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40583 $as_echo_n "checking for _hypot declaration... " >&6; }
40584   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40585     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40586   $as_echo_n "(cached) " >&6
40587 else
40588
40589
40590       ac_ext=cpp
40591 ac_cpp='$CXXCPP $CPPFLAGS'
40592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40595
40596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40597 /* end confdefs.h.  */
40598 #include <math.h>
40599 int
40600 main ()
40601 {
40602  _hypot(0, 0);
40603   ;
40604   return 0;
40605 }
40606 _ACEOF
40607 if ac_fn_cxx_try_compile "$LINENO"; then :
40608   glibcxx_cv_func__hypot_use=yes
40609 else
40610   glibcxx_cv_func__hypot_use=no
40611 fi
40612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40613       ac_ext=c
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618
40619
40620 fi
40621
40622   fi
40623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40624 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40625
40626     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40627       for ac_func in _hypot
40628 do :
40629   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40630 if test "x$ac_cv_func__hypot" = x""yes; then :
40631   cat >>confdefs.h <<_ACEOF
40632 #define HAVE__HYPOT 1
40633 _ACEOF
40634
40635 fi
40636 done
40637
40638     fi
40639   fi
40640
40641
40642
40643
40644
40645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40646 $as_echo_n "checking for float trig functions... " >&6; }
40647   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40648   $as_echo_n "(cached) " >&6
40649 else
40650
40651
40652     ac_ext=cpp
40653 ac_cpp='$CXXCPP $CPPFLAGS'
40654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40657
40658     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40659 /* end confdefs.h.  */
40660 #include <math.h>
40661 int
40662 main ()
40663 {
40664 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40665   ;
40666   return 0;
40667 }
40668 _ACEOF
40669 if ac_fn_cxx_try_compile "$LINENO"; then :
40670   glibcxx_cv_func_float_trig_use=yes
40671 else
40672   glibcxx_cv_func_float_trig_use=no
40673 fi
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40675     ac_ext=c
40676 ac_cpp='$CPP $CPPFLAGS'
40677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40680
40681 fi
40682
40683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40684 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40685   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40686     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40687 do :
40688   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40690 eval as_val=\$$as_ac_var
40691    if test "x$as_val" = x""yes; then :
40692   cat >>confdefs.h <<_ACEOF
40693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40694 _ACEOF
40695
40696 fi
40697 done
40698
40699   else
40700     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40701 $as_echo_n "checking for _float trig functions... " >&6; }
40702     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40703   $as_echo_n "(cached) " >&6
40704 else
40705
40706
40707       ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712
40713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h.  */
40715 #include <math.h>
40716 int
40717 main ()
40718 {
40719 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40720   ;
40721   return 0;
40722 }
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725   glibcxx_cv_func__float_trig_use=yes
40726 else
40727   glibcxx_cv_func__float_trig_use=no
40728 fi
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730       ac_ext=c
40731 ac_cpp='$CPP $CPPFLAGS'
40732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40735
40736 fi
40737
40738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40739 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40740     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40741       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40742 do :
40743   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40745 eval as_val=\$$as_ac_var
40746    if test "x$as_val" = x""yes; then :
40747   cat >>confdefs.h <<_ACEOF
40748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40749 _ACEOF
40750
40751 fi
40752 done
40753
40754     fi
40755   fi
40756
40757
40758
40759
40760
40761     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40762 $as_echo_n "checking for float round functions... " >&6; }
40763   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40764   $as_echo_n "(cached) " >&6
40765 else
40766
40767
40768     ac_ext=cpp
40769 ac_cpp='$CXXCPP $CPPFLAGS'
40770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40773
40774     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40775 /* end confdefs.h.  */
40776 #include <math.h>
40777 int
40778 main ()
40779 {
40780 ceilf (0); floorf (0);
40781   ;
40782   return 0;
40783 }
40784 _ACEOF
40785 if ac_fn_cxx_try_compile "$LINENO"; then :
40786   glibcxx_cv_func_float_round_use=yes
40787 else
40788   glibcxx_cv_func_float_round_use=no
40789 fi
40790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40791     ac_ext=c
40792 ac_cpp='$CPP $CPPFLAGS'
40793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40796
40797 fi
40798
40799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40800 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40801   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40802     for ac_func in ceilf floorf
40803 do :
40804   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40806 eval as_val=\$$as_ac_var
40807    if test "x$as_val" = x""yes; then :
40808   cat >>confdefs.h <<_ACEOF
40809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40810 _ACEOF
40811
40812 fi
40813 done
40814
40815   else
40816     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40817 $as_echo_n "checking for _float round functions... " >&6; }
40818     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40819   $as_echo_n "(cached) " >&6
40820 else
40821
40822
40823       ac_ext=cpp
40824 ac_cpp='$CXXCPP $CPPFLAGS'
40825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40828
40829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40830 /* end confdefs.h.  */
40831 #include <math.h>
40832 int
40833 main ()
40834 {
40835 _ceilf (0); _floorf (0);
40836   ;
40837   return 0;
40838 }
40839 _ACEOF
40840 if ac_fn_cxx_try_compile "$LINENO"; then :
40841   glibcxx_cv_func__float_round_use=yes
40842 else
40843   glibcxx_cv_func__float_round_use=no
40844 fi
40845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40846       ac_ext=c
40847 ac_cpp='$CPP $CPPFLAGS'
40848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40851
40852 fi
40853
40854     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40855 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40856     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40857       for ac_func in _ceilf _floorf
40858 do :
40859   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40861 eval as_val=\$$as_ac_var
40862    if test "x$as_val" = x""yes; then :
40863   cat >>confdefs.h <<_ACEOF
40864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40865 _ACEOF
40866
40867 fi
40868 done
40869
40870     fi
40871   fi
40872
40873
40874
40875
40876
40877
40878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40879 $as_echo_n "checking for expf declaration... " >&6; }
40880   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40881     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40882   $as_echo_n "(cached) " >&6
40883 else
40884
40885
40886       ac_ext=cpp
40887 ac_cpp='$CXXCPP $CPPFLAGS'
40888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40891
40892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40893 /* end confdefs.h.  */
40894 #include <math.h>
40895                       #ifdef HAVE_IEEEFP_H
40896                       #include <ieeefp.h>
40897                       #endif
40898
40899 int
40900 main ()
40901 {
40902  expf(0);
40903   ;
40904   return 0;
40905 }
40906 _ACEOF
40907 if ac_fn_cxx_try_compile "$LINENO"; then :
40908   glibcxx_cv_func_expf_use=yes
40909 else
40910   glibcxx_cv_func_expf_use=no
40911 fi
40912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40913       ac_ext=c
40914 ac_cpp='$CPP $CPPFLAGS'
40915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40918
40919
40920 fi
40921
40922   fi
40923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40924 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40925
40926   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40927     for ac_func in expf
40928 do :
40929   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40930 if test "x$ac_cv_func_expf" = x""yes; then :
40931   cat >>confdefs.h <<_ACEOF
40932 #define HAVE_EXPF 1
40933 _ACEOF
40934
40935 fi
40936 done
40937
40938   else
40939
40940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40941 $as_echo_n "checking for _expf declaration... " >&6; }
40942   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40943     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40944   $as_echo_n "(cached) " >&6
40945 else
40946
40947
40948       ac_ext=cpp
40949 ac_cpp='$CXXCPP $CPPFLAGS'
40950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40953
40954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 /* end confdefs.h.  */
40956 #include <math.h>
40957                       #ifdef HAVE_IEEEFP_H
40958                       #include <ieeefp.h>
40959                       #endif
40960
40961 int
40962 main ()
40963 {
40964  _expf(0);
40965   ;
40966   return 0;
40967 }
40968 _ACEOF
40969 if ac_fn_cxx_try_compile "$LINENO"; then :
40970   glibcxx_cv_func__expf_use=yes
40971 else
40972   glibcxx_cv_func__expf_use=no
40973 fi
40974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40975       ac_ext=c
40976 ac_cpp='$CPP $CPPFLAGS'
40977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40980
40981
40982 fi
40983
40984   fi
40985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40986 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40987
40988     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40989       for ac_func in _expf
40990 do :
40991   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40992 if test "x$ac_cv_func__expf" = x""yes; then :
40993   cat >>confdefs.h <<_ACEOF
40994 #define HAVE__EXPF 1
40995 _ACEOF
40996
40997 fi
40998 done
40999
41000     fi
41001   fi
41002
41003
41004
41005
41006
41007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41008 $as_echo_n "checking for isnanf declaration... " >&6; }
41009   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41010     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41011   $as_echo_n "(cached) " >&6
41012 else
41013
41014
41015       ac_ext=cpp
41016 ac_cpp='$CXXCPP $CPPFLAGS'
41017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41020
41021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41022 /* end confdefs.h.  */
41023 #include <math.h>
41024                       #ifdef HAVE_IEEEFP_H
41025                       #include <ieeefp.h>
41026                       #endif
41027
41028 int
41029 main ()
41030 {
41031  isnanf(0);
41032   ;
41033   return 0;
41034 }
41035 _ACEOF
41036 if ac_fn_cxx_try_compile "$LINENO"; then :
41037   glibcxx_cv_func_isnanf_use=yes
41038 else
41039   glibcxx_cv_func_isnanf_use=no
41040 fi
41041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41042       ac_ext=c
41043 ac_cpp='$CPP $CPPFLAGS'
41044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41047
41048
41049 fi
41050
41051   fi
41052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41053 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41054
41055   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41056     for ac_func in isnanf
41057 do :
41058   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41059 if test "x$ac_cv_func_isnanf" = x""yes; then :
41060   cat >>confdefs.h <<_ACEOF
41061 #define HAVE_ISNANF 1
41062 _ACEOF
41063
41064 fi
41065 done
41066
41067   else
41068
41069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41070 $as_echo_n "checking for _isnanf declaration... " >&6; }
41071   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41072     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41073   $as_echo_n "(cached) " >&6
41074 else
41075
41076
41077       ac_ext=cpp
41078 ac_cpp='$CXXCPP $CPPFLAGS'
41079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41082
41083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41084 /* end confdefs.h.  */
41085 #include <math.h>
41086                       #ifdef HAVE_IEEEFP_H
41087                       #include <ieeefp.h>
41088                       #endif
41089
41090 int
41091 main ()
41092 {
41093  _isnanf(0);
41094   ;
41095   return 0;
41096 }
41097 _ACEOF
41098 if ac_fn_cxx_try_compile "$LINENO"; then :
41099   glibcxx_cv_func__isnanf_use=yes
41100 else
41101   glibcxx_cv_func__isnanf_use=no
41102 fi
41103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41104       ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41109
41110
41111 fi
41112
41113   fi
41114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41115 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41116
41117     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41118       for ac_func in _isnanf
41119 do :
41120   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41121 if test "x$ac_cv_func__isnanf" = x""yes; then :
41122   cat >>confdefs.h <<_ACEOF
41123 #define HAVE__ISNANF 1
41124 _ACEOF
41125
41126 fi
41127 done
41128
41129     fi
41130   fi
41131
41132
41133
41134
41135
41136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41137 $as_echo_n "checking for isinff declaration... " >&6; }
41138   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41139     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41140   $as_echo_n "(cached) " >&6
41141 else
41142
41143
41144       ac_ext=cpp
41145 ac_cpp='$CXXCPP $CPPFLAGS'
41146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41149
41150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41151 /* end confdefs.h.  */
41152 #include <math.h>
41153                       #ifdef HAVE_IEEEFP_H
41154                       #include <ieeefp.h>
41155                       #endif
41156
41157 int
41158 main ()
41159 {
41160  isinff(0);
41161   ;
41162   return 0;
41163 }
41164 _ACEOF
41165 if ac_fn_cxx_try_compile "$LINENO"; then :
41166   glibcxx_cv_func_isinff_use=yes
41167 else
41168   glibcxx_cv_func_isinff_use=no
41169 fi
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41171       ac_ext=c
41172 ac_cpp='$CPP $CPPFLAGS'
41173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41176
41177
41178 fi
41179
41180   fi
41181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41182 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41183
41184   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41185     for ac_func in isinff
41186 do :
41187   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41188 if test "x$ac_cv_func_isinff" = x""yes; then :
41189   cat >>confdefs.h <<_ACEOF
41190 #define HAVE_ISINFF 1
41191 _ACEOF
41192
41193 fi
41194 done
41195
41196   else
41197
41198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41199 $as_echo_n "checking for _isinff declaration... " >&6; }
41200   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41201     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41202   $as_echo_n "(cached) " >&6
41203 else
41204
41205
41206       ac_ext=cpp
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41211
41212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h.  */
41214 #include <math.h>
41215                       #ifdef HAVE_IEEEFP_H
41216                       #include <ieeefp.h>
41217                       #endif
41218
41219 int
41220 main ()
41221 {
41222  _isinff(0);
41223   ;
41224   return 0;
41225 }
41226 _ACEOF
41227 if ac_fn_cxx_try_compile "$LINENO"; then :
41228   glibcxx_cv_func__isinff_use=yes
41229 else
41230   glibcxx_cv_func__isinff_use=no
41231 fi
41232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41233       ac_ext=c
41234 ac_cpp='$CPP $CPPFLAGS'
41235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41238
41239
41240 fi
41241
41242   fi
41243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41244 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41245
41246     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41247       for ac_func in _isinff
41248 do :
41249   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41250 if test "x$ac_cv_func__isinff" = x""yes; then :
41251   cat >>confdefs.h <<_ACEOF
41252 #define HAVE__ISINFF 1
41253 _ACEOF
41254
41255 fi
41256 done
41257
41258     fi
41259   fi
41260
41261
41262
41263
41264
41265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41266 $as_echo_n "checking for atan2f declaration... " >&6; }
41267   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41268     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41269   $as_echo_n "(cached) " >&6
41270 else
41271
41272
41273       ac_ext=cpp
41274 ac_cpp='$CXXCPP $CPPFLAGS'
41275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41278
41279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41280 /* end confdefs.h.  */
41281 #include <math.h>
41282 int
41283 main ()
41284 {
41285  atan2f(0, 0);
41286   ;
41287   return 0;
41288 }
41289 _ACEOF
41290 if ac_fn_cxx_try_compile "$LINENO"; then :
41291   glibcxx_cv_func_atan2f_use=yes
41292 else
41293   glibcxx_cv_func_atan2f_use=no
41294 fi
41295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41296       ac_ext=c
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41301
41302
41303 fi
41304
41305   fi
41306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41307 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41308
41309   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41310     for ac_func in atan2f
41311 do :
41312   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41313 if test "x$ac_cv_func_atan2f" = x""yes; then :
41314   cat >>confdefs.h <<_ACEOF
41315 #define HAVE_ATAN2F 1
41316 _ACEOF
41317
41318 fi
41319 done
41320
41321   else
41322
41323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41324 $as_echo_n "checking for _atan2f declaration... " >&6; }
41325   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41326     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41327   $as_echo_n "(cached) " >&6
41328 else
41329
41330
41331       ac_ext=cpp
41332 ac_cpp='$CXXCPP $CPPFLAGS'
41333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41336
41337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h.  */
41339 #include <math.h>
41340 int
41341 main ()
41342 {
41343  _atan2f(0, 0);
41344   ;
41345   return 0;
41346 }
41347 _ACEOF
41348 if ac_fn_cxx_try_compile "$LINENO"; then :
41349   glibcxx_cv_func__atan2f_use=yes
41350 else
41351   glibcxx_cv_func__atan2f_use=no
41352 fi
41353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41354       ac_ext=c
41355 ac_cpp='$CPP $CPPFLAGS'
41356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41359
41360
41361 fi
41362
41363   fi
41364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41365 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41366
41367     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41368       for ac_func in _atan2f
41369 do :
41370   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41371 if test "x$ac_cv_func__atan2f" = x""yes; then :
41372   cat >>confdefs.h <<_ACEOF
41373 #define HAVE__ATAN2F 1
41374 _ACEOF
41375
41376 fi
41377 done
41378
41379     fi
41380   fi
41381
41382
41383
41384
41385
41386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41387 $as_echo_n "checking for fabsf declaration... " >&6; }
41388   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41389     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41390   $as_echo_n "(cached) " >&6
41391 else
41392
41393
41394       ac_ext=cpp
41395 ac_cpp='$CXXCPP $CPPFLAGS'
41396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41399
41400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41401 /* end confdefs.h.  */
41402 #include <math.h>
41403                       #ifdef HAVE_IEEEFP_H
41404                       #include <ieeefp.h>
41405                       #endif
41406
41407 int
41408 main ()
41409 {
41410  fabsf(0);
41411   ;
41412   return 0;
41413 }
41414 _ACEOF
41415 if ac_fn_cxx_try_compile "$LINENO"; then :
41416   glibcxx_cv_func_fabsf_use=yes
41417 else
41418   glibcxx_cv_func_fabsf_use=no
41419 fi
41420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41421       ac_ext=c
41422 ac_cpp='$CPP $CPPFLAGS'
41423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41426
41427
41428 fi
41429
41430   fi
41431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41432 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41433
41434   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41435     for ac_func in fabsf
41436 do :
41437   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41438 if test "x$ac_cv_func_fabsf" = x""yes; then :
41439   cat >>confdefs.h <<_ACEOF
41440 #define HAVE_FABSF 1
41441 _ACEOF
41442
41443 fi
41444 done
41445
41446   else
41447
41448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41449 $as_echo_n "checking for _fabsf declaration... " >&6; }
41450   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41451     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41452   $as_echo_n "(cached) " >&6
41453 else
41454
41455
41456       ac_ext=cpp
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41461
41462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41463 /* end confdefs.h.  */
41464 #include <math.h>
41465                       #ifdef HAVE_IEEEFP_H
41466                       #include <ieeefp.h>
41467                       #endif
41468
41469 int
41470 main ()
41471 {
41472  _fabsf(0);
41473   ;
41474   return 0;
41475 }
41476 _ACEOF
41477 if ac_fn_cxx_try_compile "$LINENO"; then :
41478   glibcxx_cv_func__fabsf_use=yes
41479 else
41480   glibcxx_cv_func__fabsf_use=no
41481 fi
41482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41483       ac_ext=c
41484 ac_cpp='$CPP $CPPFLAGS'
41485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41488
41489
41490 fi
41491
41492   fi
41493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41494 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41495
41496     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41497       for ac_func in _fabsf
41498 do :
41499   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41500 if test "x$ac_cv_func__fabsf" = x""yes; then :
41501   cat >>confdefs.h <<_ACEOF
41502 #define HAVE__FABSF 1
41503 _ACEOF
41504
41505 fi
41506 done
41507
41508     fi
41509   fi
41510
41511
41512
41513
41514
41515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41516 $as_echo_n "checking for fmodf declaration... " >&6; }
41517   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41518     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41519   $as_echo_n "(cached) " >&6
41520 else
41521
41522
41523       ac_ext=cpp
41524 ac_cpp='$CXXCPP $CPPFLAGS'
41525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41528
41529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41530 /* end confdefs.h.  */
41531 #include <math.h>
41532 int
41533 main ()
41534 {
41535  fmodf(0, 0);
41536   ;
41537   return 0;
41538 }
41539 _ACEOF
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541   glibcxx_cv_func_fmodf_use=yes
41542 else
41543   glibcxx_cv_func_fmodf_use=no
41544 fi
41545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41546       ac_ext=c
41547 ac_cpp='$CPP $CPPFLAGS'
41548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41551
41552
41553 fi
41554
41555   fi
41556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41557 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41558
41559   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41560     for ac_func in fmodf
41561 do :
41562   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41563 if test "x$ac_cv_func_fmodf" = x""yes; then :
41564   cat >>confdefs.h <<_ACEOF
41565 #define HAVE_FMODF 1
41566 _ACEOF
41567
41568 fi
41569 done
41570
41571   else
41572
41573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41574 $as_echo_n "checking for _fmodf declaration... " >&6; }
41575   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41576     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41577   $as_echo_n "(cached) " >&6
41578 else
41579
41580
41581       ac_ext=cpp
41582 ac_cpp='$CXXCPP $CPPFLAGS'
41583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41586
41587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41588 /* end confdefs.h.  */
41589 #include <math.h>
41590 int
41591 main ()
41592 {
41593  _fmodf(0, 0);
41594   ;
41595   return 0;
41596 }
41597 _ACEOF
41598 if ac_fn_cxx_try_compile "$LINENO"; then :
41599   glibcxx_cv_func__fmodf_use=yes
41600 else
41601   glibcxx_cv_func__fmodf_use=no
41602 fi
41603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41604       ac_ext=c
41605 ac_cpp='$CPP $CPPFLAGS'
41606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41609
41610
41611 fi
41612
41613   fi
41614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41615 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41616
41617     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41618       for ac_func in _fmodf
41619 do :
41620   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41621 if test "x$ac_cv_func__fmodf" = x""yes; then :
41622   cat >>confdefs.h <<_ACEOF
41623 #define HAVE__FMODF 1
41624 _ACEOF
41625
41626 fi
41627 done
41628
41629     fi
41630   fi
41631
41632
41633
41634
41635
41636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41637 $as_echo_n "checking for frexpf declaration... " >&6; }
41638   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41639     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41640   $as_echo_n "(cached) " >&6
41641 else
41642
41643
41644       ac_ext=cpp
41645 ac_cpp='$CXXCPP $CPPFLAGS'
41646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41649
41650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41651 /* end confdefs.h.  */
41652 #include <math.h>
41653 int
41654 main ()
41655 {
41656  frexpf(0, 0);
41657   ;
41658   return 0;
41659 }
41660 _ACEOF
41661 if ac_fn_cxx_try_compile "$LINENO"; then :
41662   glibcxx_cv_func_frexpf_use=yes
41663 else
41664   glibcxx_cv_func_frexpf_use=no
41665 fi
41666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41667       ac_ext=c
41668 ac_cpp='$CPP $CPPFLAGS'
41669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41672
41673
41674 fi
41675
41676   fi
41677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41678 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41679
41680   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41681     for ac_func in frexpf
41682 do :
41683   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41684 if test "x$ac_cv_func_frexpf" = x""yes; then :
41685   cat >>confdefs.h <<_ACEOF
41686 #define HAVE_FREXPF 1
41687 _ACEOF
41688
41689 fi
41690 done
41691
41692   else
41693
41694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41695 $as_echo_n "checking for _frexpf declaration... " >&6; }
41696   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41697     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41698   $as_echo_n "(cached) " >&6
41699 else
41700
41701
41702       ac_ext=cpp
41703 ac_cpp='$CXXCPP $CPPFLAGS'
41704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41707
41708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41709 /* end confdefs.h.  */
41710 #include <math.h>
41711 int
41712 main ()
41713 {
41714  _frexpf(0, 0);
41715   ;
41716   return 0;
41717 }
41718 _ACEOF
41719 if ac_fn_cxx_try_compile "$LINENO"; then :
41720   glibcxx_cv_func__frexpf_use=yes
41721 else
41722   glibcxx_cv_func__frexpf_use=no
41723 fi
41724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41725       ac_ext=c
41726 ac_cpp='$CPP $CPPFLAGS'
41727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41730
41731
41732 fi
41733
41734   fi
41735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41736 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41737
41738     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41739       for ac_func in _frexpf
41740 do :
41741   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41742 if test "x$ac_cv_func__frexpf" = x""yes; then :
41743   cat >>confdefs.h <<_ACEOF
41744 #define HAVE__FREXPF 1
41745 _ACEOF
41746
41747 fi
41748 done
41749
41750     fi
41751   fi
41752
41753
41754
41755
41756
41757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41758 $as_echo_n "checking for hypotf declaration... " >&6; }
41759   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41760     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41761   $as_echo_n "(cached) " >&6
41762 else
41763
41764
41765       ac_ext=cpp
41766 ac_cpp='$CXXCPP $CPPFLAGS'
41767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41770
41771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41772 /* end confdefs.h.  */
41773 #include <math.h>
41774 int
41775 main ()
41776 {
41777  hypotf(0, 0);
41778   ;
41779   return 0;
41780 }
41781 _ACEOF
41782 if ac_fn_cxx_try_compile "$LINENO"; then :
41783   glibcxx_cv_func_hypotf_use=yes
41784 else
41785   glibcxx_cv_func_hypotf_use=no
41786 fi
41787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41788       ac_ext=c
41789 ac_cpp='$CPP $CPPFLAGS'
41790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41793
41794
41795 fi
41796
41797   fi
41798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41799 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41800
41801   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41802     for ac_func in hypotf
41803 do :
41804   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41805 if test "x$ac_cv_func_hypotf" = x""yes; then :
41806   cat >>confdefs.h <<_ACEOF
41807 #define HAVE_HYPOTF 1
41808 _ACEOF
41809
41810 fi
41811 done
41812
41813   else
41814
41815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41816 $as_echo_n "checking for _hypotf declaration... " >&6; }
41817   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41818     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41819   $as_echo_n "(cached) " >&6
41820 else
41821
41822
41823       ac_ext=cpp
41824 ac_cpp='$CXXCPP $CPPFLAGS'
41825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41828
41829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41830 /* end confdefs.h.  */
41831 #include <math.h>
41832 int
41833 main ()
41834 {
41835  _hypotf(0, 0);
41836   ;
41837   return 0;
41838 }
41839 _ACEOF
41840 if ac_fn_cxx_try_compile "$LINENO"; then :
41841   glibcxx_cv_func__hypotf_use=yes
41842 else
41843   glibcxx_cv_func__hypotf_use=no
41844 fi
41845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41846       ac_ext=c
41847 ac_cpp='$CPP $CPPFLAGS'
41848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41851
41852
41853 fi
41854
41855   fi
41856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41857 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41858
41859     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41860       for ac_func in _hypotf
41861 do :
41862   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41863 if test "x$ac_cv_func__hypotf" = x""yes; then :
41864   cat >>confdefs.h <<_ACEOF
41865 #define HAVE__HYPOTF 1
41866 _ACEOF
41867
41868 fi
41869 done
41870
41871     fi
41872   fi
41873
41874
41875
41876
41877
41878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41879 $as_echo_n "checking for ldexpf declaration... " >&6; }
41880   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41881     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41882   $as_echo_n "(cached) " >&6
41883 else
41884
41885
41886       ac_ext=cpp
41887 ac_cpp='$CXXCPP $CPPFLAGS'
41888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41891
41892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41893 /* end confdefs.h.  */
41894 #include <math.h>
41895 int
41896 main ()
41897 {
41898  ldexpf(0, 0);
41899   ;
41900   return 0;
41901 }
41902 _ACEOF
41903 if ac_fn_cxx_try_compile "$LINENO"; then :
41904   glibcxx_cv_func_ldexpf_use=yes
41905 else
41906   glibcxx_cv_func_ldexpf_use=no
41907 fi
41908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41909       ac_ext=c
41910 ac_cpp='$CPP $CPPFLAGS'
41911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41914
41915
41916 fi
41917
41918   fi
41919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41920 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41921
41922   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41923     for ac_func in ldexpf
41924 do :
41925   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41926 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41927   cat >>confdefs.h <<_ACEOF
41928 #define HAVE_LDEXPF 1
41929 _ACEOF
41930
41931 fi
41932 done
41933
41934   else
41935
41936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41937 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41938   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41939     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41940   $as_echo_n "(cached) " >&6
41941 else
41942
41943
41944       ac_ext=cpp
41945 ac_cpp='$CXXCPP $CPPFLAGS'
41946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41949
41950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41951 /* end confdefs.h.  */
41952 #include <math.h>
41953 int
41954 main ()
41955 {
41956  _ldexpf(0, 0);
41957   ;
41958   return 0;
41959 }
41960 _ACEOF
41961 if ac_fn_cxx_try_compile "$LINENO"; then :
41962   glibcxx_cv_func__ldexpf_use=yes
41963 else
41964   glibcxx_cv_func__ldexpf_use=no
41965 fi
41966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41967       ac_ext=c
41968 ac_cpp='$CPP $CPPFLAGS'
41969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41972
41973
41974 fi
41975
41976   fi
41977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41978 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41979
41980     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41981       for ac_func in _ldexpf
41982 do :
41983   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41984 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41985   cat >>confdefs.h <<_ACEOF
41986 #define HAVE__LDEXPF 1
41987 _ACEOF
41988
41989 fi
41990 done
41991
41992     fi
41993   fi
41994
41995
41996
41997
41998
41999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42000 $as_echo_n "checking for logf declaration... " >&6; }
42001   if test x${glibcxx_cv_func_logf_use+set} != xset; then
42002     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42003   $as_echo_n "(cached) " >&6
42004 else
42005
42006
42007       ac_ext=cpp
42008 ac_cpp='$CXXCPP $CPPFLAGS'
42009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42012
42013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42014 /* end confdefs.h.  */
42015 #include <math.h>
42016                       #ifdef HAVE_IEEEFP_H
42017                       #include <ieeefp.h>
42018                       #endif
42019
42020 int
42021 main ()
42022 {
42023  logf(0);
42024   ;
42025   return 0;
42026 }
42027 _ACEOF
42028 if ac_fn_cxx_try_compile "$LINENO"; then :
42029   glibcxx_cv_func_logf_use=yes
42030 else
42031   glibcxx_cv_func_logf_use=no
42032 fi
42033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42034       ac_ext=c
42035 ac_cpp='$CPP $CPPFLAGS'
42036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42039
42040
42041 fi
42042
42043   fi
42044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42045 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42046
42047   if test x$glibcxx_cv_func_logf_use = x"yes"; then
42048     for ac_func in logf
42049 do :
42050   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42051 if test "x$ac_cv_func_logf" = x""yes; then :
42052   cat >>confdefs.h <<_ACEOF
42053 #define HAVE_LOGF 1
42054 _ACEOF
42055
42056 fi
42057 done
42058
42059   else
42060
42061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42062 $as_echo_n "checking for _logf declaration... " >&6; }
42063   if test x${glibcxx_cv_func__logf_use+set} != xset; then
42064     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42065   $as_echo_n "(cached) " >&6
42066 else
42067
42068
42069       ac_ext=cpp
42070 ac_cpp='$CXXCPP $CPPFLAGS'
42071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42074
42075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42076 /* end confdefs.h.  */
42077 #include <math.h>
42078                       #ifdef HAVE_IEEEFP_H
42079                       #include <ieeefp.h>
42080                       #endif
42081
42082 int
42083 main ()
42084 {
42085  _logf(0);
42086   ;
42087   return 0;
42088 }
42089 _ACEOF
42090 if ac_fn_cxx_try_compile "$LINENO"; then :
42091   glibcxx_cv_func__logf_use=yes
42092 else
42093   glibcxx_cv_func__logf_use=no
42094 fi
42095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42096       ac_ext=c
42097 ac_cpp='$CPP $CPPFLAGS'
42098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42101
42102
42103 fi
42104
42105   fi
42106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42107 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42108
42109     if test x$glibcxx_cv_func__logf_use = x"yes"; then
42110       for ac_func in _logf
42111 do :
42112   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42113 if test "x$ac_cv_func__logf" = x""yes; then :
42114   cat >>confdefs.h <<_ACEOF
42115 #define HAVE__LOGF 1
42116 _ACEOF
42117
42118 fi
42119 done
42120
42121     fi
42122   fi
42123
42124
42125
42126
42127
42128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42129 $as_echo_n "checking for log10f declaration... " >&6; }
42130   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42131     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42132   $as_echo_n "(cached) " >&6
42133 else
42134
42135
42136       ac_ext=cpp
42137 ac_cpp='$CXXCPP $CPPFLAGS'
42138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42141
42142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42143 /* end confdefs.h.  */
42144 #include <math.h>
42145                       #ifdef HAVE_IEEEFP_H
42146                       #include <ieeefp.h>
42147                       #endif
42148
42149 int
42150 main ()
42151 {
42152  log10f(0);
42153   ;
42154   return 0;
42155 }
42156 _ACEOF
42157 if ac_fn_cxx_try_compile "$LINENO"; then :
42158   glibcxx_cv_func_log10f_use=yes
42159 else
42160   glibcxx_cv_func_log10f_use=no
42161 fi
42162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42163       ac_ext=c
42164 ac_cpp='$CPP $CPPFLAGS'
42165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42168
42169
42170 fi
42171
42172   fi
42173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42174 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42175
42176   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42177     for ac_func in log10f
42178 do :
42179   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42180 if test "x$ac_cv_func_log10f" = x""yes; then :
42181   cat >>confdefs.h <<_ACEOF
42182 #define HAVE_LOG10F 1
42183 _ACEOF
42184
42185 fi
42186 done
42187
42188   else
42189
42190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42191 $as_echo_n "checking for _log10f declaration... " >&6; }
42192   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42193     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42194   $as_echo_n "(cached) " >&6
42195 else
42196
42197
42198       ac_ext=cpp
42199 ac_cpp='$CXXCPP $CPPFLAGS'
42200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42203
42204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42205 /* end confdefs.h.  */
42206 #include <math.h>
42207                       #ifdef HAVE_IEEEFP_H
42208                       #include <ieeefp.h>
42209                       #endif
42210
42211 int
42212 main ()
42213 {
42214  _log10f(0);
42215   ;
42216   return 0;
42217 }
42218 _ACEOF
42219 if ac_fn_cxx_try_compile "$LINENO"; then :
42220   glibcxx_cv_func__log10f_use=yes
42221 else
42222   glibcxx_cv_func__log10f_use=no
42223 fi
42224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42225       ac_ext=c
42226 ac_cpp='$CPP $CPPFLAGS'
42227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42230
42231
42232 fi
42233
42234   fi
42235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42236 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42237
42238     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42239       for ac_func in _log10f
42240 do :
42241   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42242 if test "x$ac_cv_func__log10f" = x""yes; then :
42243   cat >>confdefs.h <<_ACEOF
42244 #define HAVE__LOG10F 1
42245 _ACEOF
42246
42247 fi
42248 done
42249
42250     fi
42251   fi
42252
42253
42254
42255
42256
42257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42258 $as_echo_n "checking for modff declaration... " >&6; }
42259   if test x${glibcxx_cv_func_modff_use+set} != xset; then
42260     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42261   $as_echo_n "(cached) " >&6
42262 else
42263
42264
42265       ac_ext=cpp
42266 ac_cpp='$CXXCPP $CPPFLAGS'
42267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42270
42271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42272 /* end confdefs.h.  */
42273 #include <math.h>
42274 int
42275 main ()
42276 {
42277  modff(0, 0);
42278   ;
42279   return 0;
42280 }
42281 _ACEOF
42282 if ac_fn_cxx_try_compile "$LINENO"; then :
42283   glibcxx_cv_func_modff_use=yes
42284 else
42285   glibcxx_cv_func_modff_use=no
42286 fi
42287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42288       ac_ext=c
42289 ac_cpp='$CPP $CPPFLAGS'
42290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42293
42294
42295 fi
42296
42297   fi
42298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42299 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42300
42301   if test x$glibcxx_cv_func_modff_use = x"yes"; then
42302     for ac_func in modff
42303 do :
42304   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42305 if test "x$ac_cv_func_modff" = x""yes; then :
42306   cat >>confdefs.h <<_ACEOF
42307 #define HAVE_MODFF 1
42308 _ACEOF
42309
42310 fi
42311 done
42312
42313   else
42314
42315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42316 $as_echo_n "checking for _modff declaration... " >&6; }
42317   if test x${glibcxx_cv_func__modff_use+set} != xset; then
42318     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42319   $as_echo_n "(cached) " >&6
42320 else
42321
42322
42323       ac_ext=cpp
42324 ac_cpp='$CXXCPP $CPPFLAGS'
42325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42328
42329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42330 /* end confdefs.h.  */
42331 #include <math.h>
42332 int
42333 main ()
42334 {
42335  _modff(0, 0);
42336   ;
42337   return 0;
42338 }
42339 _ACEOF
42340 if ac_fn_cxx_try_compile "$LINENO"; then :
42341   glibcxx_cv_func__modff_use=yes
42342 else
42343   glibcxx_cv_func__modff_use=no
42344 fi
42345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42346       ac_ext=c
42347 ac_cpp='$CPP $CPPFLAGS'
42348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42351
42352
42353 fi
42354
42355   fi
42356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42357 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42358
42359     if test x$glibcxx_cv_func__modff_use = x"yes"; then
42360       for ac_func in _modff
42361 do :
42362   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42363 if test "x$ac_cv_func__modff" = x""yes; then :
42364   cat >>confdefs.h <<_ACEOF
42365 #define HAVE__MODFF 1
42366 _ACEOF
42367
42368 fi
42369 done
42370
42371     fi
42372   fi
42373
42374
42375
42376
42377
42378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42379 $as_echo_n "checking for modf declaration... " >&6; }
42380   if test x${glibcxx_cv_func_modf_use+set} != xset; then
42381     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42382   $as_echo_n "(cached) " >&6
42383 else
42384
42385
42386       ac_ext=cpp
42387 ac_cpp='$CXXCPP $CPPFLAGS'
42388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42391
42392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42393 /* end confdefs.h.  */
42394 #include <math.h>
42395 int
42396 main ()
42397 {
42398  modf(0, 0);
42399   ;
42400   return 0;
42401 }
42402 _ACEOF
42403 if ac_fn_cxx_try_compile "$LINENO"; then :
42404   glibcxx_cv_func_modf_use=yes
42405 else
42406   glibcxx_cv_func_modf_use=no
42407 fi
42408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42409       ac_ext=c
42410 ac_cpp='$CPP $CPPFLAGS'
42411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42414
42415
42416 fi
42417
42418   fi
42419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42420 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42421
42422   if test x$glibcxx_cv_func_modf_use = x"yes"; then
42423     for ac_func in modf
42424 do :
42425   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42426 if test "x$ac_cv_func_modf" = x""yes; then :
42427   cat >>confdefs.h <<_ACEOF
42428 #define HAVE_MODF 1
42429 _ACEOF
42430
42431 fi
42432 done
42433
42434   else
42435
42436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42437 $as_echo_n "checking for _modf declaration... " >&6; }
42438   if test x${glibcxx_cv_func__modf_use+set} != xset; then
42439     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42440   $as_echo_n "(cached) " >&6
42441 else
42442
42443
42444       ac_ext=cpp
42445 ac_cpp='$CXXCPP $CPPFLAGS'
42446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42449
42450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42451 /* end confdefs.h.  */
42452 #include <math.h>
42453 int
42454 main ()
42455 {
42456  _modf(0, 0);
42457   ;
42458   return 0;
42459 }
42460 _ACEOF
42461 if ac_fn_cxx_try_compile "$LINENO"; then :
42462   glibcxx_cv_func__modf_use=yes
42463 else
42464   glibcxx_cv_func__modf_use=no
42465 fi
42466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42467       ac_ext=c
42468 ac_cpp='$CPP $CPPFLAGS'
42469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42472
42473
42474 fi
42475
42476   fi
42477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42478 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42479
42480     if test x$glibcxx_cv_func__modf_use = x"yes"; then
42481       for ac_func in _modf
42482 do :
42483   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42484 if test "x$ac_cv_func__modf" = x""yes; then :
42485   cat >>confdefs.h <<_ACEOF
42486 #define HAVE__MODF 1
42487 _ACEOF
42488
42489 fi
42490 done
42491
42492     fi
42493   fi
42494
42495
42496
42497
42498
42499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42500 $as_echo_n "checking for powf declaration... " >&6; }
42501   if test x${glibcxx_cv_func_powf_use+set} != xset; then
42502     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42503   $as_echo_n "(cached) " >&6
42504 else
42505
42506
42507       ac_ext=cpp
42508 ac_cpp='$CXXCPP $CPPFLAGS'
42509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42512
42513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42514 /* end confdefs.h.  */
42515 #include <math.h>
42516 int
42517 main ()
42518 {
42519  powf(0, 0);
42520   ;
42521   return 0;
42522 }
42523 _ACEOF
42524 if ac_fn_cxx_try_compile "$LINENO"; then :
42525   glibcxx_cv_func_powf_use=yes
42526 else
42527   glibcxx_cv_func_powf_use=no
42528 fi
42529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42530       ac_ext=c
42531 ac_cpp='$CPP $CPPFLAGS'
42532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42535
42536
42537 fi
42538
42539   fi
42540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42541 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42542
42543   if test x$glibcxx_cv_func_powf_use = x"yes"; then
42544     for ac_func in powf
42545 do :
42546   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42547 if test "x$ac_cv_func_powf" = x""yes; then :
42548   cat >>confdefs.h <<_ACEOF
42549 #define HAVE_POWF 1
42550 _ACEOF
42551
42552 fi
42553 done
42554
42555   else
42556
42557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42558 $as_echo_n "checking for _powf declaration... " >&6; }
42559   if test x${glibcxx_cv_func__powf_use+set} != xset; then
42560     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42561   $as_echo_n "(cached) " >&6
42562 else
42563
42564
42565       ac_ext=cpp
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42570
42571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42572 /* end confdefs.h.  */
42573 #include <math.h>
42574 int
42575 main ()
42576 {
42577  _powf(0, 0);
42578   ;
42579   return 0;
42580 }
42581 _ACEOF
42582 if ac_fn_cxx_try_compile "$LINENO"; then :
42583   glibcxx_cv_func__powf_use=yes
42584 else
42585   glibcxx_cv_func__powf_use=no
42586 fi
42587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42588       ac_ext=c
42589 ac_cpp='$CPP $CPPFLAGS'
42590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42593
42594
42595 fi
42596
42597   fi
42598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42599 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42600
42601     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42602       for ac_func in _powf
42603 do :
42604   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42605 if test "x$ac_cv_func__powf" = x""yes; then :
42606   cat >>confdefs.h <<_ACEOF
42607 #define HAVE__POWF 1
42608 _ACEOF
42609
42610 fi
42611 done
42612
42613     fi
42614   fi
42615
42616
42617
42618
42619
42620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42621 $as_echo_n "checking for sqrtf declaration... " >&6; }
42622   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42623     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42624   $as_echo_n "(cached) " >&6
42625 else
42626
42627
42628       ac_ext=cpp
42629 ac_cpp='$CXXCPP $CPPFLAGS'
42630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42633
42634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42635 /* end confdefs.h.  */
42636 #include <math.h>
42637                       #ifdef HAVE_IEEEFP_H
42638                       #include <ieeefp.h>
42639                       #endif
42640
42641 int
42642 main ()
42643 {
42644  sqrtf(0);
42645   ;
42646   return 0;
42647 }
42648 _ACEOF
42649 if ac_fn_cxx_try_compile "$LINENO"; then :
42650   glibcxx_cv_func_sqrtf_use=yes
42651 else
42652   glibcxx_cv_func_sqrtf_use=no
42653 fi
42654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42655       ac_ext=c
42656 ac_cpp='$CPP $CPPFLAGS'
42657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42660
42661
42662 fi
42663
42664   fi
42665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42666 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42667
42668   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42669     for ac_func in sqrtf
42670 do :
42671   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42672 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42673   cat >>confdefs.h <<_ACEOF
42674 #define HAVE_SQRTF 1
42675 _ACEOF
42676
42677 fi
42678 done
42679
42680   else
42681
42682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42683 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42684   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42685     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42686   $as_echo_n "(cached) " >&6
42687 else
42688
42689
42690       ac_ext=cpp
42691 ac_cpp='$CXXCPP $CPPFLAGS'
42692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42695
42696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42697 /* end confdefs.h.  */
42698 #include <math.h>
42699                       #ifdef HAVE_IEEEFP_H
42700                       #include <ieeefp.h>
42701                       #endif
42702
42703 int
42704 main ()
42705 {
42706  _sqrtf(0);
42707   ;
42708   return 0;
42709 }
42710 _ACEOF
42711 if ac_fn_cxx_try_compile "$LINENO"; then :
42712   glibcxx_cv_func__sqrtf_use=yes
42713 else
42714   glibcxx_cv_func__sqrtf_use=no
42715 fi
42716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42717       ac_ext=c
42718 ac_cpp='$CPP $CPPFLAGS'
42719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42722
42723
42724 fi
42725
42726   fi
42727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42728 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42729
42730     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42731       for ac_func in _sqrtf
42732 do :
42733   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42734 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42735   cat >>confdefs.h <<_ACEOF
42736 #define HAVE__SQRTF 1
42737 _ACEOF
42738
42739 fi
42740 done
42741
42742     fi
42743   fi
42744
42745
42746
42747
42748
42749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42750 $as_echo_n "checking for sincosf declaration... " >&6; }
42751   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42752     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42753   $as_echo_n "(cached) " >&6
42754 else
42755
42756
42757       ac_ext=cpp
42758 ac_cpp='$CXXCPP $CPPFLAGS'
42759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42762
42763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42764 /* end confdefs.h.  */
42765 #include <math.h>
42766 int
42767 main ()
42768 {
42769  sincosf(0, 0, 0);
42770   ;
42771   return 0;
42772 }
42773 _ACEOF
42774 if ac_fn_cxx_try_compile "$LINENO"; then :
42775   glibcxx_cv_func_sincosf_use=yes
42776 else
42777   glibcxx_cv_func_sincosf_use=no
42778 fi
42779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42780       ac_ext=c
42781 ac_cpp='$CPP $CPPFLAGS'
42782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42785
42786
42787 fi
42788
42789   fi
42790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42791 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42792
42793   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42794     for ac_func in sincosf
42795 do :
42796   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42797 if test "x$ac_cv_func_sincosf" = x""yes; then :
42798   cat >>confdefs.h <<_ACEOF
42799 #define HAVE_SINCOSF 1
42800 _ACEOF
42801
42802 fi
42803 done
42804
42805   else
42806
42807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42808 $as_echo_n "checking for _sincosf declaration... " >&6; }
42809   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42810     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42811   $as_echo_n "(cached) " >&6
42812 else
42813
42814
42815       ac_ext=cpp
42816 ac_cpp='$CXXCPP $CPPFLAGS'
42817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42820
42821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42822 /* end confdefs.h.  */
42823 #include <math.h>
42824 int
42825 main ()
42826 {
42827  _sincosf(0, 0, 0);
42828   ;
42829   return 0;
42830 }
42831 _ACEOF
42832 if ac_fn_cxx_try_compile "$LINENO"; then :
42833   glibcxx_cv_func__sincosf_use=yes
42834 else
42835   glibcxx_cv_func__sincosf_use=no
42836 fi
42837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42838       ac_ext=c
42839 ac_cpp='$CPP $CPPFLAGS'
42840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42843
42844
42845 fi
42846
42847   fi
42848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42849 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42850
42851     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42852       for ac_func in _sincosf
42853 do :
42854   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42855 if test "x$ac_cv_func__sincosf" = x""yes; then :
42856   cat >>confdefs.h <<_ACEOF
42857 #define HAVE__SINCOSF 1
42858 _ACEOF
42859
42860 fi
42861 done
42862
42863     fi
42864   fi
42865
42866
42867
42868
42869
42870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42871 $as_echo_n "checking for finitef declaration... " >&6; }
42872   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42873     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42874   $as_echo_n "(cached) " >&6
42875 else
42876
42877
42878       ac_ext=cpp
42879 ac_cpp='$CXXCPP $CPPFLAGS'
42880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42883
42884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42885 /* end confdefs.h.  */
42886 #include <math.h>
42887                       #ifdef HAVE_IEEEFP_H
42888                       #include <ieeefp.h>
42889                       #endif
42890
42891 int
42892 main ()
42893 {
42894  finitef(0);
42895   ;
42896   return 0;
42897 }
42898 _ACEOF
42899 if ac_fn_cxx_try_compile "$LINENO"; then :
42900   glibcxx_cv_func_finitef_use=yes
42901 else
42902   glibcxx_cv_func_finitef_use=no
42903 fi
42904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42905       ac_ext=c
42906 ac_cpp='$CPP $CPPFLAGS'
42907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42910
42911
42912 fi
42913
42914   fi
42915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42916 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42917
42918   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42919     for ac_func in finitef
42920 do :
42921   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42922 if test "x$ac_cv_func_finitef" = x""yes; then :
42923   cat >>confdefs.h <<_ACEOF
42924 #define HAVE_FINITEF 1
42925 _ACEOF
42926
42927 fi
42928 done
42929
42930   else
42931
42932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42933 $as_echo_n "checking for _finitef declaration... " >&6; }
42934   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42935     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42936   $as_echo_n "(cached) " >&6
42937 else
42938
42939
42940       ac_ext=cpp
42941 ac_cpp='$CXXCPP $CPPFLAGS'
42942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42945
42946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42947 /* end confdefs.h.  */
42948 #include <math.h>
42949                       #ifdef HAVE_IEEEFP_H
42950                       #include <ieeefp.h>
42951                       #endif
42952
42953 int
42954 main ()
42955 {
42956  _finitef(0);
42957   ;
42958   return 0;
42959 }
42960 _ACEOF
42961 if ac_fn_cxx_try_compile "$LINENO"; then :
42962   glibcxx_cv_func__finitef_use=yes
42963 else
42964   glibcxx_cv_func__finitef_use=no
42965 fi
42966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42967       ac_ext=c
42968 ac_cpp='$CPP $CPPFLAGS'
42969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972
42973
42974 fi
42975
42976   fi
42977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42978 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42979
42980     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42981       for ac_func in _finitef
42982 do :
42983   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42984 if test "x$ac_cv_func__finitef" = x""yes; then :
42985   cat >>confdefs.h <<_ACEOF
42986 #define HAVE__FINITEF 1
42987 _ACEOF
42988
42989 fi
42990 done
42991
42992     fi
42993   fi
42994
42995
42996
42997
42998
42999     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43000 $as_echo_n "checking for long double trig functions... " >&6; }
43001   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43002   $as_echo_n "(cached) " >&6
43003 else
43004
43005
43006     ac_ext=cpp
43007 ac_cpp='$CXXCPP $CPPFLAGS'
43008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43011
43012     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43013 /* end confdefs.h.  */
43014 #include <math.h>
43015 int
43016 main ()
43017 {
43018 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43019   ;
43020   return 0;
43021 }
43022 _ACEOF
43023 if ac_fn_cxx_try_compile "$LINENO"; then :
43024   glibcxx_cv_func_long_double_trig_use=yes
43025 else
43026   glibcxx_cv_func_long_double_trig_use=no
43027 fi
43028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43029     ac_ext=c
43030 ac_cpp='$CPP $CPPFLAGS'
43031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43034
43035 fi
43036
43037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43038 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43039   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43040     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43041 do :
43042   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43044 eval as_val=\$$as_ac_var
43045    if test "x$as_val" = x""yes; then :
43046   cat >>confdefs.h <<_ACEOF
43047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43048 _ACEOF
43049
43050 fi
43051 done
43052
43053   else
43054     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43055 $as_echo_n "checking for _long double trig functions... " >&6; }
43056     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43057   $as_echo_n "(cached) " >&6
43058 else
43059
43060
43061       ac_ext=cpp
43062 ac_cpp='$CXXCPP $CPPFLAGS'
43063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43066
43067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43068 /* end confdefs.h.  */
43069 #include <math.h>
43070 int
43071 main ()
43072 {
43073 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43074   ;
43075   return 0;
43076 }
43077 _ACEOF
43078 if ac_fn_cxx_try_compile "$LINENO"; then :
43079   glibcxx_cv_func__long_double_trig_use=yes
43080 else
43081   glibcxx_cv_func__long_double_trig_use=no
43082 fi
43083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43084       ac_ext=c
43085 ac_cpp='$CPP $CPPFLAGS'
43086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43089
43090 fi
43091
43092     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43093 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43094     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43095       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43096 do :
43097   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43099 eval as_val=\$$as_ac_var
43100    if test "x$as_val" = x""yes; then :
43101   cat >>confdefs.h <<_ACEOF
43102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43103 _ACEOF
43104
43105 fi
43106 done
43107
43108     fi
43109   fi
43110
43111
43112
43113
43114
43115     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43116 $as_echo_n "checking for long double round functions... " >&6; }
43117   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43118   $as_echo_n "(cached) " >&6
43119 else
43120
43121
43122     ac_ext=cpp
43123 ac_cpp='$CXXCPP $CPPFLAGS'
43124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43127
43128     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43129 /* end confdefs.h.  */
43130 #include <math.h>
43131 int
43132 main ()
43133 {
43134 ceill (0); floorl (0);
43135   ;
43136   return 0;
43137 }
43138 _ACEOF
43139 if ac_fn_cxx_try_compile "$LINENO"; then :
43140   glibcxx_cv_func_long_double_round_use=yes
43141 else
43142   glibcxx_cv_func_long_double_round_use=no
43143 fi
43144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43145     ac_ext=c
43146 ac_cpp='$CPP $CPPFLAGS'
43147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43150
43151 fi
43152
43153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43154 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43155   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43156     for ac_func in ceill floorl
43157 do :
43158   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43160 eval as_val=\$$as_ac_var
43161    if test "x$as_val" = x""yes; then :
43162   cat >>confdefs.h <<_ACEOF
43163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43164 _ACEOF
43165
43166 fi
43167 done
43168
43169   else
43170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43171 $as_echo_n "checking for _long double round functions... " >&6; }
43172     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43173   $as_echo_n "(cached) " >&6
43174 else
43175
43176
43177       ac_ext=cpp
43178 ac_cpp='$CXXCPP $CPPFLAGS'
43179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43182
43183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43184 /* end confdefs.h.  */
43185 #include <math.h>
43186 int
43187 main ()
43188 {
43189 _ceill (0); _floorl (0);
43190   ;
43191   return 0;
43192 }
43193 _ACEOF
43194 if ac_fn_cxx_try_compile "$LINENO"; then :
43195   glibcxx_cv_func__long_double_round_use=yes
43196 else
43197   glibcxx_cv_func__long_double_round_use=no
43198 fi
43199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43200       ac_ext=c
43201 ac_cpp='$CPP $CPPFLAGS'
43202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43205
43206 fi
43207
43208     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43209 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43210     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43211       for ac_func in _ceill _floorl
43212 do :
43213   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43215 eval as_val=\$$as_ac_var
43216    if test "x$as_val" = x""yes; then :
43217   cat >>confdefs.h <<_ACEOF
43218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43219 _ACEOF
43220
43221 fi
43222 done
43223
43224     fi
43225   fi
43226
43227
43228
43229
43230
43231
43232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43233 $as_echo_n "checking for isnanl declaration... " >&6; }
43234   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43235     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43236   $as_echo_n "(cached) " >&6
43237 else
43238
43239
43240       ac_ext=cpp
43241 ac_cpp='$CXXCPP $CPPFLAGS'
43242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43245
43246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43247 /* end confdefs.h.  */
43248 #include <math.h>
43249                       #ifdef HAVE_IEEEFP_H
43250                       #include <ieeefp.h>
43251                       #endif
43252
43253 int
43254 main ()
43255 {
43256  isnanl(0);
43257   ;
43258   return 0;
43259 }
43260 _ACEOF
43261 if ac_fn_cxx_try_compile "$LINENO"; then :
43262   glibcxx_cv_func_isnanl_use=yes
43263 else
43264   glibcxx_cv_func_isnanl_use=no
43265 fi
43266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43267       ac_ext=c
43268 ac_cpp='$CPP $CPPFLAGS'
43269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43272
43273
43274 fi
43275
43276   fi
43277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43278 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43279
43280   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43281     for ac_func in isnanl
43282 do :
43283   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43284 if test "x$ac_cv_func_isnanl" = x""yes; then :
43285   cat >>confdefs.h <<_ACEOF
43286 #define HAVE_ISNANL 1
43287 _ACEOF
43288
43289 fi
43290 done
43291
43292   else
43293
43294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43295 $as_echo_n "checking for _isnanl declaration... " >&6; }
43296   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43297     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43298   $as_echo_n "(cached) " >&6
43299 else
43300
43301
43302       ac_ext=cpp
43303 ac_cpp='$CXXCPP $CPPFLAGS'
43304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43307
43308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43309 /* end confdefs.h.  */
43310 #include <math.h>
43311                       #ifdef HAVE_IEEEFP_H
43312                       #include <ieeefp.h>
43313                       #endif
43314
43315 int
43316 main ()
43317 {
43318  _isnanl(0);
43319   ;
43320   return 0;
43321 }
43322 _ACEOF
43323 if ac_fn_cxx_try_compile "$LINENO"; then :
43324   glibcxx_cv_func__isnanl_use=yes
43325 else
43326   glibcxx_cv_func__isnanl_use=no
43327 fi
43328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43329       ac_ext=c
43330 ac_cpp='$CPP $CPPFLAGS'
43331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43334
43335
43336 fi
43337
43338   fi
43339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43340 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43341
43342     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43343       for ac_func in _isnanl
43344 do :
43345   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43346 if test "x$ac_cv_func__isnanl" = x""yes; then :
43347   cat >>confdefs.h <<_ACEOF
43348 #define HAVE__ISNANL 1
43349 _ACEOF
43350
43351 fi
43352 done
43353
43354     fi
43355   fi
43356
43357
43358
43359
43360
43361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43362 $as_echo_n "checking for isinfl declaration... " >&6; }
43363   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43364     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43365   $as_echo_n "(cached) " >&6
43366 else
43367
43368
43369       ac_ext=cpp
43370 ac_cpp='$CXXCPP $CPPFLAGS'
43371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43374
43375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43376 /* end confdefs.h.  */
43377 #include <math.h>
43378                       #ifdef HAVE_IEEEFP_H
43379                       #include <ieeefp.h>
43380                       #endif
43381
43382 int
43383 main ()
43384 {
43385  isinfl(0);
43386   ;
43387   return 0;
43388 }
43389 _ACEOF
43390 if ac_fn_cxx_try_compile "$LINENO"; then :
43391   glibcxx_cv_func_isinfl_use=yes
43392 else
43393   glibcxx_cv_func_isinfl_use=no
43394 fi
43395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43396       ac_ext=c
43397 ac_cpp='$CPP $CPPFLAGS'
43398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43401
43402
43403 fi
43404
43405   fi
43406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43407 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43408
43409   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43410     for ac_func in isinfl
43411 do :
43412   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43413 if test "x$ac_cv_func_isinfl" = x""yes; then :
43414   cat >>confdefs.h <<_ACEOF
43415 #define HAVE_ISINFL 1
43416 _ACEOF
43417
43418 fi
43419 done
43420
43421   else
43422
43423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43424 $as_echo_n "checking for _isinfl declaration... " >&6; }
43425   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43426     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43427   $as_echo_n "(cached) " >&6
43428 else
43429
43430
43431       ac_ext=cpp
43432 ac_cpp='$CXXCPP $CPPFLAGS'
43433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43436
43437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43438 /* end confdefs.h.  */
43439 #include <math.h>
43440                       #ifdef HAVE_IEEEFP_H
43441                       #include <ieeefp.h>
43442                       #endif
43443
43444 int
43445 main ()
43446 {
43447  _isinfl(0);
43448   ;
43449   return 0;
43450 }
43451 _ACEOF
43452 if ac_fn_cxx_try_compile "$LINENO"; then :
43453   glibcxx_cv_func__isinfl_use=yes
43454 else
43455   glibcxx_cv_func__isinfl_use=no
43456 fi
43457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43458       ac_ext=c
43459 ac_cpp='$CPP $CPPFLAGS'
43460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43463
43464
43465 fi
43466
43467   fi
43468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43469 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43470
43471     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43472       for ac_func in _isinfl
43473 do :
43474   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43475 if test "x$ac_cv_func__isinfl" = x""yes; then :
43476   cat >>confdefs.h <<_ACEOF
43477 #define HAVE__ISINFL 1
43478 _ACEOF
43479
43480 fi
43481 done
43482
43483     fi
43484   fi
43485
43486
43487
43488
43489
43490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43491 $as_echo_n "checking for atan2l declaration... " >&6; }
43492   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43493     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43494   $as_echo_n "(cached) " >&6
43495 else
43496
43497
43498       ac_ext=cpp
43499 ac_cpp='$CXXCPP $CPPFLAGS'
43500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43503
43504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43505 /* end confdefs.h.  */
43506 #include <math.h>
43507 int
43508 main ()
43509 {
43510  atan2l(0, 0);
43511   ;
43512   return 0;
43513 }
43514 _ACEOF
43515 if ac_fn_cxx_try_compile "$LINENO"; then :
43516   glibcxx_cv_func_atan2l_use=yes
43517 else
43518   glibcxx_cv_func_atan2l_use=no
43519 fi
43520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43521       ac_ext=c
43522 ac_cpp='$CPP $CPPFLAGS'
43523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43526
43527
43528 fi
43529
43530   fi
43531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43532 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43533
43534   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43535     for ac_func in atan2l
43536 do :
43537   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43538 if test "x$ac_cv_func_atan2l" = x""yes; then :
43539   cat >>confdefs.h <<_ACEOF
43540 #define HAVE_ATAN2L 1
43541 _ACEOF
43542
43543 fi
43544 done
43545
43546   else
43547
43548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43549 $as_echo_n "checking for _atan2l declaration... " >&6; }
43550   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43551     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43552   $as_echo_n "(cached) " >&6
43553 else
43554
43555
43556       ac_ext=cpp
43557 ac_cpp='$CXXCPP $CPPFLAGS'
43558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43561
43562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43563 /* end confdefs.h.  */
43564 #include <math.h>
43565 int
43566 main ()
43567 {
43568  _atan2l(0, 0);
43569   ;
43570   return 0;
43571 }
43572 _ACEOF
43573 if ac_fn_cxx_try_compile "$LINENO"; then :
43574   glibcxx_cv_func__atan2l_use=yes
43575 else
43576   glibcxx_cv_func__atan2l_use=no
43577 fi
43578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43579       ac_ext=c
43580 ac_cpp='$CPP $CPPFLAGS'
43581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43584
43585
43586 fi
43587
43588   fi
43589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43590 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43591
43592     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43593       for ac_func in _atan2l
43594 do :
43595   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43596 if test "x$ac_cv_func__atan2l" = x""yes; then :
43597   cat >>confdefs.h <<_ACEOF
43598 #define HAVE__ATAN2L 1
43599 _ACEOF
43600
43601 fi
43602 done
43603
43604     fi
43605   fi
43606
43607
43608
43609
43610
43611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43612 $as_echo_n "checking for expl declaration... " >&6; }
43613   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43614     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43615   $as_echo_n "(cached) " >&6
43616 else
43617
43618
43619       ac_ext=cpp
43620 ac_cpp='$CXXCPP $CPPFLAGS'
43621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43624
43625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43626 /* end confdefs.h.  */
43627 #include <math.h>
43628                       #ifdef HAVE_IEEEFP_H
43629                       #include <ieeefp.h>
43630                       #endif
43631
43632 int
43633 main ()
43634 {
43635  expl(0);
43636   ;
43637   return 0;
43638 }
43639 _ACEOF
43640 if ac_fn_cxx_try_compile "$LINENO"; then :
43641   glibcxx_cv_func_expl_use=yes
43642 else
43643   glibcxx_cv_func_expl_use=no
43644 fi
43645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43646       ac_ext=c
43647 ac_cpp='$CPP $CPPFLAGS'
43648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43651
43652
43653 fi
43654
43655   fi
43656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43657 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43658
43659   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43660     for ac_func in expl
43661 do :
43662   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43663 if test "x$ac_cv_func_expl" = x""yes; then :
43664   cat >>confdefs.h <<_ACEOF
43665 #define HAVE_EXPL 1
43666 _ACEOF
43667
43668 fi
43669 done
43670
43671   else
43672
43673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43674 $as_echo_n "checking for _expl declaration... " >&6; }
43675   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43676     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43677   $as_echo_n "(cached) " >&6
43678 else
43679
43680
43681       ac_ext=cpp
43682 ac_cpp='$CXXCPP $CPPFLAGS'
43683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43686
43687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43688 /* end confdefs.h.  */
43689 #include <math.h>
43690                       #ifdef HAVE_IEEEFP_H
43691                       #include <ieeefp.h>
43692                       #endif
43693
43694 int
43695 main ()
43696 {
43697  _expl(0);
43698   ;
43699   return 0;
43700 }
43701 _ACEOF
43702 if ac_fn_cxx_try_compile "$LINENO"; then :
43703   glibcxx_cv_func__expl_use=yes
43704 else
43705   glibcxx_cv_func__expl_use=no
43706 fi
43707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43708       ac_ext=c
43709 ac_cpp='$CPP $CPPFLAGS'
43710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43713
43714
43715 fi
43716
43717   fi
43718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43719 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43720
43721     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43722       for ac_func in _expl
43723 do :
43724   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43725 if test "x$ac_cv_func__expl" = x""yes; then :
43726   cat >>confdefs.h <<_ACEOF
43727 #define HAVE__EXPL 1
43728 _ACEOF
43729
43730 fi
43731 done
43732
43733     fi
43734   fi
43735
43736
43737
43738
43739
43740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43741 $as_echo_n "checking for fabsl declaration... " >&6; }
43742   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43743     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43744   $as_echo_n "(cached) " >&6
43745 else
43746
43747
43748       ac_ext=cpp
43749 ac_cpp='$CXXCPP $CPPFLAGS'
43750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43753
43754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43755 /* end confdefs.h.  */
43756 #include <math.h>
43757                       #ifdef HAVE_IEEEFP_H
43758                       #include <ieeefp.h>
43759                       #endif
43760
43761 int
43762 main ()
43763 {
43764  fabsl(0);
43765   ;
43766   return 0;
43767 }
43768 _ACEOF
43769 if ac_fn_cxx_try_compile "$LINENO"; then :
43770   glibcxx_cv_func_fabsl_use=yes
43771 else
43772   glibcxx_cv_func_fabsl_use=no
43773 fi
43774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43775       ac_ext=c
43776 ac_cpp='$CPP $CPPFLAGS'
43777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43780
43781
43782 fi
43783
43784   fi
43785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43786 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43787
43788   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43789     for ac_func in fabsl
43790 do :
43791   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43792 if test "x$ac_cv_func_fabsl" = x""yes; then :
43793   cat >>confdefs.h <<_ACEOF
43794 #define HAVE_FABSL 1
43795 _ACEOF
43796
43797 fi
43798 done
43799
43800   else
43801
43802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43803 $as_echo_n "checking for _fabsl declaration... " >&6; }
43804   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43805     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43806   $as_echo_n "(cached) " >&6
43807 else
43808
43809
43810       ac_ext=cpp
43811 ac_cpp='$CXXCPP $CPPFLAGS'
43812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43815
43816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43817 /* end confdefs.h.  */
43818 #include <math.h>
43819                       #ifdef HAVE_IEEEFP_H
43820                       #include <ieeefp.h>
43821                       #endif
43822
43823 int
43824 main ()
43825 {
43826  _fabsl(0);
43827   ;
43828   return 0;
43829 }
43830 _ACEOF
43831 if ac_fn_cxx_try_compile "$LINENO"; then :
43832   glibcxx_cv_func__fabsl_use=yes
43833 else
43834   glibcxx_cv_func__fabsl_use=no
43835 fi
43836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43837       ac_ext=c
43838 ac_cpp='$CPP $CPPFLAGS'
43839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43842
43843
43844 fi
43845
43846   fi
43847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43848 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43849
43850     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43851       for ac_func in _fabsl
43852 do :
43853   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43854 if test "x$ac_cv_func__fabsl" = x""yes; then :
43855   cat >>confdefs.h <<_ACEOF
43856 #define HAVE__FABSL 1
43857 _ACEOF
43858
43859 fi
43860 done
43861
43862     fi
43863   fi
43864
43865
43866
43867
43868
43869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43870 $as_echo_n "checking for fmodl declaration... " >&6; }
43871   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43872     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43873   $as_echo_n "(cached) " >&6
43874 else
43875
43876
43877       ac_ext=cpp
43878 ac_cpp='$CXXCPP $CPPFLAGS'
43879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43882
43883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43884 /* end confdefs.h.  */
43885 #include <math.h>
43886 int
43887 main ()
43888 {
43889  fmodl(0, 0);
43890   ;
43891   return 0;
43892 }
43893 _ACEOF
43894 if ac_fn_cxx_try_compile "$LINENO"; then :
43895   glibcxx_cv_func_fmodl_use=yes
43896 else
43897   glibcxx_cv_func_fmodl_use=no
43898 fi
43899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43900       ac_ext=c
43901 ac_cpp='$CPP $CPPFLAGS'
43902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43905
43906
43907 fi
43908
43909   fi
43910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43911 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43912
43913   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43914     for ac_func in fmodl
43915 do :
43916   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43917 if test "x$ac_cv_func_fmodl" = x""yes; then :
43918   cat >>confdefs.h <<_ACEOF
43919 #define HAVE_FMODL 1
43920 _ACEOF
43921
43922 fi
43923 done
43924
43925   else
43926
43927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43928 $as_echo_n "checking for _fmodl declaration... " >&6; }
43929   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43930     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43931   $as_echo_n "(cached) " >&6
43932 else
43933
43934
43935       ac_ext=cpp
43936 ac_cpp='$CXXCPP $CPPFLAGS'
43937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43940
43941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43942 /* end confdefs.h.  */
43943 #include <math.h>
43944 int
43945 main ()
43946 {
43947  _fmodl(0, 0);
43948   ;
43949   return 0;
43950 }
43951 _ACEOF
43952 if ac_fn_cxx_try_compile "$LINENO"; then :
43953   glibcxx_cv_func__fmodl_use=yes
43954 else
43955   glibcxx_cv_func__fmodl_use=no
43956 fi
43957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43958       ac_ext=c
43959 ac_cpp='$CPP $CPPFLAGS'
43960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43963
43964
43965 fi
43966
43967   fi
43968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43969 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43970
43971     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43972       for ac_func in _fmodl
43973 do :
43974   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43975 if test "x$ac_cv_func__fmodl" = x""yes; then :
43976   cat >>confdefs.h <<_ACEOF
43977 #define HAVE__FMODL 1
43978 _ACEOF
43979
43980 fi
43981 done
43982
43983     fi
43984   fi
43985
43986
43987
43988
43989
43990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43991 $as_echo_n "checking for frexpl declaration... " >&6; }
43992   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43993     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43994   $as_echo_n "(cached) " >&6
43995 else
43996
43997
43998       ac_ext=cpp
43999 ac_cpp='$CXXCPP $CPPFLAGS'
44000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44003
44004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44005 /* end confdefs.h.  */
44006 #include <math.h>
44007 int
44008 main ()
44009 {
44010  frexpl(0, 0);
44011   ;
44012   return 0;
44013 }
44014 _ACEOF
44015 if ac_fn_cxx_try_compile "$LINENO"; then :
44016   glibcxx_cv_func_frexpl_use=yes
44017 else
44018   glibcxx_cv_func_frexpl_use=no
44019 fi
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021       ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44026
44027
44028 fi
44029
44030   fi
44031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44032 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44033
44034   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44035     for ac_func in frexpl
44036 do :
44037   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44038 if test "x$ac_cv_func_frexpl" = x""yes; then :
44039   cat >>confdefs.h <<_ACEOF
44040 #define HAVE_FREXPL 1
44041 _ACEOF
44042
44043 fi
44044 done
44045
44046   else
44047
44048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44049 $as_echo_n "checking for _frexpl declaration... " >&6; }
44050   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44051     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44052   $as_echo_n "(cached) " >&6
44053 else
44054
44055
44056       ac_ext=cpp
44057 ac_cpp='$CXXCPP $CPPFLAGS'
44058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44061
44062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44063 /* end confdefs.h.  */
44064 #include <math.h>
44065 int
44066 main ()
44067 {
44068  _frexpl(0, 0);
44069   ;
44070   return 0;
44071 }
44072 _ACEOF
44073 if ac_fn_cxx_try_compile "$LINENO"; then :
44074   glibcxx_cv_func__frexpl_use=yes
44075 else
44076   glibcxx_cv_func__frexpl_use=no
44077 fi
44078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44079       ac_ext=c
44080 ac_cpp='$CPP $CPPFLAGS'
44081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44084
44085
44086 fi
44087
44088   fi
44089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44090 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44091
44092     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44093       for ac_func in _frexpl
44094 do :
44095   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44096 if test "x$ac_cv_func__frexpl" = x""yes; then :
44097   cat >>confdefs.h <<_ACEOF
44098 #define HAVE__FREXPL 1
44099 _ACEOF
44100
44101 fi
44102 done
44103
44104     fi
44105   fi
44106
44107
44108
44109
44110
44111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44112 $as_echo_n "checking for hypotl declaration... " >&6; }
44113   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44114     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44115   $as_echo_n "(cached) " >&6
44116 else
44117
44118
44119       ac_ext=cpp
44120 ac_cpp='$CXXCPP $CPPFLAGS'
44121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44124
44125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44126 /* end confdefs.h.  */
44127 #include <math.h>
44128 int
44129 main ()
44130 {
44131  hypotl(0, 0);
44132   ;
44133   return 0;
44134 }
44135 _ACEOF
44136 if ac_fn_cxx_try_compile "$LINENO"; then :
44137   glibcxx_cv_func_hypotl_use=yes
44138 else
44139   glibcxx_cv_func_hypotl_use=no
44140 fi
44141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44142       ac_ext=c
44143 ac_cpp='$CPP $CPPFLAGS'
44144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44147
44148
44149 fi
44150
44151   fi
44152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44153 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44154
44155   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44156     for ac_func in hypotl
44157 do :
44158   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44159 if test "x$ac_cv_func_hypotl" = x""yes; then :
44160   cat >>confdefs.h <<_ACEOF
44161 #define HAVE_HYPOTL 1
44162 _ACEOF
44163
44164 fi
44165 done
44166
44167   else
44168
44169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44170 $as_echo_n "checking for _hypotl declaration... " >&6; }
44171   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44172     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44173   $as_echo_n "(cached) " >&6
44174 else
44175
44176
44177       ac_ext=cpp
44178 ac_cpp='$CXXCPP $CPPFLAGS'
44179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44182
44183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44184 /* end confdefs.h.  */
44185 #include <math.h>
44186 int
44187 main ()
44188 {
44189  _hypotl(0, 0);
44190   ;
44191   return 0;
44192 }
44193 _ACEOF
44194 if ac_fn_cxx_try_compile "$LINENO"; then :
44195   glibcxx_cv_func__hypotl_use=yes
44196 else
44197   glibcxx_cv_func__hypotl_use=no
44198 fi
44199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44200       ac_ext=c
44201 ac_cpp='$CPP $CPPFLAGS'
44202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44205
44206
44207 fi
44208
44209   fi
44210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44211 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44212
44213     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44214       for ac_func in _hypotl
44215 do :
44216   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44217 if test "x$ac_cv_func__hypotl" = x""yes; then :
44218   cat >>confdefs.h <<_ACEOF
44219 #define HAVE__HYPOTL 1
44220 _ACEOF
44221
44222 fi
44223 done
44224
44225     fi
44226   fi
44227
44228
44229
44230
44231
44232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44233 $as_echo_n "checking for ldexpl declaration... " >&6; }
44234   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44235     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44236   $as_echo_n "(cached) " >&6
44237 else
44238
44239
44240       ac_ext=cpp
44241 ac_cpp='$CXXCPP $CPPFLAGS'
44242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44245
44246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44247 /* end confdefs.h.  */
44248 #include <math.h>
44249 int
44250 main ()
44251 {
44252  ldexpl(0, 0);
44253   ;
44254   return 0;
44255 }
44256 _ACEOF
44257 if ac_fn_cxx_try_compile "$LINENO"; then :
44258   glibcxx_cv_func_ldexpl_use=yes
44259 else
44260   glibcxx_cv_func_ldexpl_use=no
44261 fi
44262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44263       ac_ext=c
44264 ac_cpp='$CPP $CPPFLAGS'
44265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44268
44269
44270 fi
44271
44272   fi
44273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44274 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44275
44276   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44277     for ac_func in ldexpl
44278 do :
44279   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44280 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44281   cat >>confdefs.h <<_ACEOF
44282 #define HAVE_LDEXPL 1
44283 _ACEOF
44284
44285 fi
44286 done
44287
44288   else
44289
44290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44291 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44292   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44293     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44294   $as_echo_n "(cached) " >&6
44295 else
44296
44297
44298       ac_ext=cpp
44299 ac_cpp='$CXXCPP $CPPFLAGS'
44300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44303
44304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44305 /* end confdefs.h.  */
44306 #include <math.h>
44307 int
44308 main ()
44309 {
44310  _ldexpl(0, 0);
44311   ;
44312   return 0;
44313 }
44314 _ACEOF
44315 if ac_fn_cxx_try_compile "$LINENO"; then :
44316   glibcxx_cv_func__ldexpl_use=yes
44317 else
44318   glibcxx_cv_func__ldexpl_use=no
44319 fi
44320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44321       ac_ext=c
44322 ac_cpp='$CPP $CPPFLAGS'
44323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44326
44327
44328 fi
44329
44330   fi
44331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44332 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44333
44334     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44335       for ac_func in _ldexpl
44336 do :
44337   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44338 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44339   cat >>confdefs.h <<_ACEOF
44340 #define HAVE__LDEXPL 1
44341 _ACEOF
44342
44343 fi
44344 done
44345
44346     fi
44347   fi
44348
44349
44350
44351
44352
44353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44354 $as_echo_n "checking for logl declaration... " >&6; }
44355   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44356     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44357   $as_echo_n "(cached) " >&6
44358 else
44359
44360
44361       ac_ext=cpp
44362 ac_cpp='$CXXCPP $CPPFLAGS'
44363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44366
44367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44368 /* end confdefs.h.  */
44369 #include <math.h>
44370                       #ifdef HAVE_IEEEFP_H
44371                       #include <ieeefp.h>
44372                       #endif
44373
44374 int
44375 main ()
44376 {
44377  logl(0);
44378   ;
44379   return 0;
44380 }
44381 _ACEOF
44382 if ac_fn_cxx_try_compile "$LINENO"; then :
44383   glibcxx_cv_func_logl_use=yes
44384 else
44385   glibcxx_cv_func_logl_use=no
44386 fi
44387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44388       ac_ext=c
44389 ac_cpp='$CPP $CPPFLAGS'
44390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44393
44394
44395 fi
44396
44397   fi
44398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44399 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44400
44401   if test x$glibcxx_cv_func_logl_use = x"yes"; then
44402     for ac_func in logl
44403 do :
44404   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44405 if test "x$ac_cv_func_logl" = x""yes; then :
44406   cat >>confdefs.h <<_ACEOF
44407 #define HAVE_LOGL 1
44408 _ACEOF
44409
44410 fi
44411 done
44412
44413   else
44414
44415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44416 $as_echo_n "checking for _logl declaration... " >&6; }
44417   if test x${glibcxx_cv_func__logl_use+set} != xset; then
44418     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44419   $as_echo_n "(cached) " >&6
44420 else
44421
44422
44423       ac_ext=cpp
44424 ac_cpp='$CXXCPP $CPPFLAGS'
44425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44428
44429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44430 /* end confdefs.h.  */
44431 #include <math.h>
44432                       #ifdef HAVE_IEEEFP_H
44433                       #include <ieeefp.h>
44434                       #endif
44435
44436 int
44437 main ()
44438 {
44439  _logl(0);
44440   ;
44441   return 0;
44442 }
44443 _ACEOF
44444 if ac_fn_cxx_try_compile "$LINENO"; then :
44445   glibcxx_cv_func__logl_use=yes
44446 else
44447   glibcxx_cv_func__logl_use=no
44448 fi
44449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44450       ac_ext=c
44451 ac_cpp='$CPP $CPPFLAGS'
44452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44455
44456
44457 fi
44458
44459   fi
44460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44461 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44462
44463     if test x$glibcxx_cv_func__logl_use = x"yes"; then
44464       for ac_func in _logl
44465 do :
44466   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44467 if test "x$ac_cv_func__logl" = x""yes; then :
44468   cat >>confdefs.h <<_ACEOF
44469 #define HAVE__LOGL 1
44470 _ACEOF
44471
44472 fi
44473 done
44474
44475     fi
44476   fi
44477
44478
44479
44480
44481
44482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44483 $as_echo_n "checking for log10l declaration... " >&6; }
44484   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44485     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44486   $as_echo_n "(cached) " >&6
44487 else
44488
44489
44490       ac_ext=cpp
44491 ac_cpp='$CXXCPP $CPPFLAGS'
44492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44495
44496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44497 /* end confdefs.h.  */
44498 #include <math.h>
44499                       #ifdef HAVE_IEEEFP_H
44500                       #include <ieeefp.h>
44501                       #endif
44502
44503 int
44504 main ()
44505 {
44506  log10l(0);
44507   ;
44508   return 0;
44509 }
44510 _ACEOF
44511 if ac_fn_cxx_try_compile "$LINENO"; then :
44512   glibcxx_cv_func_log10l_use=yes
44513 else
44514   glibcxx_cv_func_log10l_use=no
44515 fi
44516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44517       ac_ext=c
44518 ac_cpp='$CPP $CPPFLAGS'
44519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44522
44523
44524 fi
44525
44526   fi
44527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44528 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44529
44530   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44531     for ac_func in log10l
44532 do :
44533   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44534 if test "x$ac_cv_func_log10l" = x""yes; then :
44535   cat >>confdefs.h <<_ACEOF
44536 #define HAVE_LOG10L 1
44537 _ACEOF
44538
44539 fi
44540 done
44541
44542   else
44543
44544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44545 $as_echo_n "checking for _log10l declaration... " >&6; }
44546   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44547     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44548   $as_echo_n "(cached) " >&6
44549 else
44550
44551
44552       ac_ext=cpp
44553 ac_cpp='$CXXCPP $CPPFLAGS'
44554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44557
44558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44559 /* end confdefs.h.  */
44560 #include <math.h>
44561                       #ifdef HAVE_IEEEFP_H
44562                       #include <ieeefp.h>
44563                       #endif
44564
44565 int
44566 main ()
44567 {
44568  _log10l(0);
44569   ;
44570   return 0;
44571 }
44572 _ACEOF
44573 if ac_fn_cxx_try_compile "$LINENO"; then :
44574   glibcxx_cv_func__log10l_use=yes
44575 else
44576   glibcxx_cv_func__log10l_use=no
44577 fi
44578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44579       ac_ext=c
44580 ac_cpp='$CPP $CPPFLAGS'
44581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44584
44585
44586 fi
44587
44588   fi
44589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44590 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44591
44592     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44593       for ac_func in _log10l
44594 do :
44595   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44596 if test "x$ac_cv_func__log10l" = x""yes; then :
44597   cat >>confdefs.h <<_ACEOF
44598 #define HAVE__LOG10L 1
44599 _ACEOF
44600
44601 fi
44602 done
44603
44604     fi
44605   fi
44606
44607
44608
44609
44610
44611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44612 $as_echo_n "checking for modfl declaration... " >&6; }
44613   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44614     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44615   $as_echo_n "(cached) " >&6
44616 else
44617
44618
44619       ac_ext=cpp
44620 ac_cpp='$CXXCPP $CPPFLAGS'
44621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44624
44625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44626 /* end confdefs.h.  */
44627 #include <math.h>
44628 int
44629 main ()
44630 {
44631  modfl(0, 0);
44632   ;
44633   return 0;
44634 }
44635 _ACEOF
44636 if ac_fn_cxx_try_compile "$LINENO"; then :
44637   glibcxx_cv_func_modfl_use=yes
44638 else
44639   glibcxx_cv_func_modfl_use=no
44640 fi
44641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44642       ac_ext=c
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44647
44648
44649 fi
44650
44651   fi
44652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44653 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44654
44655   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44656     for ac_func in modfl
44657 do :
44658   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44659 if test "x$ac_cv_func_modfl" = x""yes; then :
44660   cat >>confdefs.h <<_ACEOF
44661 #define HAVE_MODFL 1
44662 _ACEOF
44663
44664 fi
44665 done
44666
44667   else
44668
44669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44670 $as_echo_n "checking for _modfl declaration... " >&6; }
44671   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44672     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44673   $as_echo_n "(cached) " >&6
44674 else
44675
44676
44677       ac_ext=cpp
44678 ac_cpp='$CXXCPP $CPPFLAGS'
44679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44682
44683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44684 /* end confdefs.h.  */
44685 #include <math.h>
44686 int
44687 main ()
44688 {
44689  _modfl(0, 0);
44690   ;
44691   return 0;
44692 }
44693 _ACEOF
44694 if ac_fn_cxx_try_compile "$LINENO"; then :
44695   glibcxx_cv_func__modfl_use=yes
44696 else
44697   glibcxx_cv_func__modfl_use=no
44698 fi
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700       ac_ext=c
44701 ac_cpp='$CPP $CPPFLAGS'
44702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44705
44706
44707 fi
44708
44709   fi
44710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44711 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44712
44713     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44714       for ac_func in _modfl
44715 do :
44716   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44717 if test "x$ac_cv_func__modfl" = x""yes; then :
44718   cat >>confdefs.h <<_ACEOF
44719 #define HAVE__MODFL 1
44720 _ACEOF
44721
44722 fi
44723 done
44724
44725     fi
44726   fi
44727
44728
44729
44730
44731
44732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44733 $as_echo_n "checking for powl declaration... " >&6; }
44734   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44735     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44736   $as_echo_n "(cached) " >&6
44737 else
44738
44739
44740       ac_ext=cpp
44741 ac_cpp='$CXXCPP $CPPFLAGS'
44742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44745
44746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44747 /* end confdefs.h.  */
44748 #include <math.h>
44749 int
44750 main ()
44751 {
44752  powl(0, 0);
44753   ;
44754   return 0;
44755 }
44756 _ACEOF
44757 if ac_fn_cxx_try_compile "$LINENO"; then :
44758   glibcxx_cv_func_powl_use=yes
44759 else
44760   glibcxx_cv_func_powl_use=no
44761 fi
44762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44763       ac_ext=c
44764 ac_cpp='$CPP $CPPFLAGS'
44765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44768
44769
44770 fi
44771
44772   fi
44773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44774 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44775
44776   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44777     for ac_func in powl
44778 do :
44779   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44780 if test "x$ac_cv_func_powl" = x""yes; then :
44781   cat >>confdefs.h <<_ACEOF
44782 #define HAVE_POWL 1
44783 _ACEOF
44784
44785 fi
44786 done
44787
44788   else
44789
44790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44791 $as_echo_n "checking for _powl declaration... " >&6; }
44792   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44793     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44794   $as_echo_n "(cached) " >&6
44795 else
44796
44797
44798       ac_ext=cpp
44799 ac_cpp='$CXXCPP $CPPFLAGS'
44800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44803
44804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44805 /* end confdefs.h.  */
44806 #include <math.h>
44807 int
44808 main ()
44809 {
44810  _powl(0, 0);
44811   ;
44812   return 0;
44813 }
44814 _ACEOF
44815 if ac_fn_cxx_try_compile "$LINENO"; then :
44816   glibcxx_cv_func__powl_use=yes
44817 else
44818   glibcxx_cv_func__powl_use=no
44819 fi
44820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44821       ac_ext=c
44822 ac_cpp='$CPP $CPPFLAGS'
44823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44826
44827
44828 fi
44829
44830   fi
44831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44832 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44833
44834     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44835       for ac_func in _powl
44836 do :
44837   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44838 if test "x$ac_cv_func__powl" = x""yes; then :
44839   cat >>confdefs.h <<_ACEOF
44840 #define HAVE__POWL 1
44841 _ACEOF
44842
44843 fi
44844 done
44845
44846     fi
44847   fi
44848
44849
44850
44851
44852
44853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44854 $as_echo_n "checking for sqrtl declaration... " >&6; }
44855   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44856     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44857   $as_echo_n "(cached) " >&6
44858 else
44859
44860
44861       ac_ext=cpp
44862 ac_cpp='$CXXCPP $CPPFLAGS'
44863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44866
44867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44868 /* end confdefs.h.  */
44869 #include <math.h>
44870                       #ifdef HAVE_IEEEFP_H
44871                       #include <ieeefp.h>
44872                       #endif
44873
44874 int
44875 main ()
44876 {
44877  sqrtl(0);
44878   ;
44879   return 0;
44880 }
44881 _ACEOF
44882 if ac_fn_cxx_try_compile "$LINENO"; then :
44883   glibcxx_cv_func_sqrtl_use=yes
44884 else
44885   glibcxx_cv_func_sqrtl_use=no
44886 fi
44887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44888       ac_ext=c
44889 ac_cpp='$CPP $CPPFLAGS'
44890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44893
44894
44895 fi
44896
44897   fi
44898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44899 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44900
44901   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44902     for ac_func in sqrtl
44903 do :
44904   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44905 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44906   cat >>confdefs.h <<_ACEOF
44907 #define HAVE_SQRTL 1
44908 _ACEOF
44909
44910 fi
44911 done
44912
44913   else
44914
44915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44916 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44917   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44918     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44919   $as_echo_n "(cached) " >&6
44920 else
44921
44922
44923       ac_ext=cpp
44924 ac_cpp='$CXXCPP $CPPFLAGS'
44925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44928
44929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44930 /* end confdefs.h.  */
44931 #include <math.h>
44932                       #ifdef HAVE_IEEEFP_H
44933                       #include <ieeefp.h>
44934                       #endif
44935
44936 int
44937 main ()
44938 {
44939  _sqrtl(0);
44940   ;
44941   return 0;
44942 }
44943 _ACEOF
44944 if ac_fn_cxx_try_compile "$LINENO"; then :
44945   glibcxx_cv_func__sqrtl_use=yes
44946 else
44947   glibcxx_cv_func__sqrtl_use=no
44948 fi
44949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44950       ac_ext=c
44951 ac_cpp='$CPP $CPPFLAGS'
44952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44955
44956
44957 fi
44958
44959   fi
44960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44961 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44962
44963     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44964       for ac_func in _sqrtl
44965 do :
44966   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44967 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44968   cat >>confdefs.h <<_ACEOF
44969 #define HAVE__SQRTL 1
44970 _ACEOF
44971
44972 fi
44973 done
44974
44975     fi
44976   fi
44977
44978
44979
44980
44981
44982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44983 $as_echo_n "checking for sincosl declaration... " >&6; }
44984   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44985     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44986   $as_echo_n "(cached) " >&6
44987 else
44988
44989
44990       ac_ext=cpp
44991 ac_cpp='$CXXCPP $CPPFLAGS'
44992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44995
44996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44997 /* end confdefs.h.  */
44998 #include <math.h>
44999 int
45000 main ()
45001 {
45002  sincosl(0, 0, 0);
45003   ;
45004   return 0;
45005 }
45006 _ACEOF
45007 if ac_fn_cxx_try_compile "$LINENO"; then :
45008   glibcxx_cv_func_sincosl_use=yes
45009 else
45010   glibcxx_cv_func_sincosl_use=no
45011 fi
45012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45013       ac_ext=c
45014 ac_cpp='$CPP $CPPFLAGS'
45015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45018
45019
45020 fi
45021
45022   fi
45023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45024 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45025
45026   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45027     for ac_func in sincosl
45028 do :
45029   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45030 if test "x$ac_cv_func_sincosl" = x""yes; then :
45031   cat >>confdefs.h <<_ACEOF
45032 #define HAVE_SINCOSL 1
45033 _ACEOF
45034
45035 fi
45036 done
45037
45038   else
45039
45040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45041 $as_echo_n "checking for _sincosl declaration... " >&6; }
45042   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45043     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45044   $as_echo_n "(cached) " >&6
45045 else
45046
45047
45048       ac_ext=cpp
45049 ac_cpp='$CXXCPP $CPPFLAGS'
45050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45053
45054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45055 /* end confdefs.h.  */
45056 #include <math.h>
45057 int
45058 main ()
45059 {
45060  _sincosl(0, 0, 0);
45061   ;
45062   return 0;
45063 }
45064 _ACEOF
45065 if ac_fn_cxx_try_compile "$LINENO"; then :
45066   glibcxx_cv_func__sincosl_use=yes
45067 else
45068   glibcxx_cv_func__sincosl_use=no
45069 fi
45070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45071       ac_ext=c
45072 ac_cpp='$CPP $CPPFLAGS'
45073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45076
45077
45078 fi
45079
45080   fi
45081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45082 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45083
45084     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45085       for ac_func in _sincosl
45086 do :
45087   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45088 if test "x$ac_cv_func__sincosl" = x""yes; then :
45089   cat >>confdefs.h <<_ACEOF
45090 #define HAVE__SINCOSL 1
45091 _ACEOF
45092
45093 fi
45094 done
45095
45096     fi
45097   fi
45098
45099
45100
45101
45102
45103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45104 $as_echo_n "checking for finitel declaration... " >&6; }
45105   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45106     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45107   $as_echo_n "(cached) " >&6
45108 else
45109
45110
45111       ac_ext=cpp
45112 ac_cpp='$CXXCPP $CPPFLAGS'
45113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45116
45117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45118 /* end confdefs.h.  */
45119 #include <math.h>
45120                       #ifdef HAVE_IEEEFP_H
45121                       #include <ieeefp.h>
45122                       #endif
45123
45124 int
45125 main ()
45126 {
45127  finitel(0);
45128   ;
45129   return 0;
45130 }
45131 _ACEOF
45132 if ac_fn_cxx_try_compile "$LINENO"; then :
45133   glibcxx_cv_func_finitel_use=yes
45134 else
45135   glibcxx_cv_func_finitel_use=no
45136 fi
45137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45138       ac_ext=c
45139 ac_cpp='$CPP $CPPFLAGS'
45140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45143
45144
45145 fi
45146
45147   fi
45148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45149 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45150
45151   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45152     for ac_func in finitel
45153 do :
45154   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45155 if test "x$ac_cv_func_finitel" = x""yes; then :
45156   cat >>confdefs.h <<_ACEOF
45157 #define HAVE_FINITEL 1
45158 _ACEOF
45159
45160 fi
45161 done
45162
45163   else
45164
45165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45166 $as_echo_n "checking for _finitel declaration... " >&6; }
45167   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45168     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45169   $as_echo_n "(cached) " >&6
45170 else
45171
45172
45173       ac_ext=cpp
45174 ac_cpp='$CXXCPP $CPPFLAGS'
45175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45178
45179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45180 /* end confdefs.h.  */
45181 #include <math.h>
45182                       #ifdef HAVE_IEEEFP_H
45183                       #include <ieeefp.h>
45184                       #endif
45185
45186 int
45187 main ()
45188 {
45189  _finitel(0);
45190   ;
45191   return 0;
45192 }
45193 _ACEOF
45194 if ac_fn_cxx_try_compile "$LINENO"; then :
45195   glibcxx_cv_func__finitel_use=yes
45196 else
45197   glibcxx_cv_func__finitel_use=no
45198 fi
45199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45200       ac_ext=c
45201 ac_cpp='$CPP $CPPFLAGS'
45202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45205
45206
45207 fi
45208
45209   fi
45210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45211 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45212
45213     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45214       for ac_func in _finitel
45215 do :
45216   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45217 if test "x$ac_cv_func__finitel" = x""yes; then :
45218   cat >>confdefs.h <<_ACEOF
45219 #define HAVE__FINITEL 1
45220 _ACEOF
45221
45222 fi
45223 done
45224
45225     fi
45226   fi
45227
45228
45229
45230
45231   LIBS="$ac_save_LIBS"
45232   CXXFLAGS="$ac_save_CXXFLAGS"
45233
45234
45235   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45236   ac_save_CXXFLAGS="$CXXFLAGS"
45237   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45238
45239
45240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45241 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45242   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45243     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45244   $as_echo_n "(cached) " >&6
45245 else
45246
45247
45248       ac_ext=cpp
45249 ac_cpp='$CXXCPP $CPPFLAGS'
45250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45253
45254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45255 /* end confdefs.h.  */
45256 #include <stdlib.h>
45257 int
45258 main ()
45259 {
45260  at_quick_exit(0);
45261   ;
45262   return 0;
45263 }
45264 _ACEOF
45265 if ac_fn_cxx_try_compile "$LINENO"; then :
45266   glibcxx_cv_func_at_quick_exit_use=yes
45267 else
45268   glibcxx_cv_func_at_quick_exit_use=no
45269 fi
45270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45271       ac_ext=c
45272 ac_cpp='$CPP $CPPFLAGS'
45273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45276
45277
45278 fi
45279
45280   fi
45281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45282 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45283   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45284     for ac_func in at_quick_exit
45285 do :
45286   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45287 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45288   cat >>confdefs.h <<_ACEOF
45289 #define HAVE_AT_QUICK_EXIT 1
45290 _ACEOF
45291
45292 fi
45293 done
45294
45295   fi
45296
45297
45298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45299 $as_echo_n "checking for quick_exit declaration... " >&6; }
45300   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45301     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45302   $as_echo_n "(cached) " >&6
45303 else
45304
45305
45306       ac_ext=cpp
45307 ac_cpp='$CXXCPP $CPPFLAGS'
45308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45311
45312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45313 /* end confdefs.h.  */
45314 #include <stdlib.h>
45315 int
45316 main ()
45317 {
45318  quick_exit(0);
45319   ;
45320   return 0;
45321 }
45322 _ACEOF
45323 if ac_fn_cxx_try_compile "$LINENO"; then :
45324   glibcxx_cv_func_quick_exit_use=yes
45325 else
45326   glibcxx_cv_func_quick_exit_use=no
45327 fi
45328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45329       ac_ext=c
45330 ac_cpp='$CPP $CPPFLAGS'
45331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45334
45335
45336 fi
45337
45338   fi
45339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45340 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45341   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45342     for ac_func in quick_exit
45343 do :
45344   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45345 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45346   cat >>confdefs.h <<_ACEOF
45347 #define HAVE_QUICK_EXIT 1
45348 _ACEOF
45349
45350 fi
45351 done
45352
45353   fi
45354
45355
45356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45357 $as_echo_n "checking for strtold declaration... " >&6; }
45358   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45359     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45360   $as_echo_n "(cached) " >&6
45361 else
45362
45363
45364       ac_ext=cpp
45365 ac_cpp='$CXXCPP $CPPFLAGS'
45366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45369
45370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45371 /* end confdefs.h.  */
45372 #include <stdlib.h>
45373 int
45374 main ()
45375 {
45376  strtold(0, 0);
45377   ;
45378   return 0;
45379 }
45380 _ACEOF
45381 if ac_fn_cxx_try_compile "$LINENO"; then :
45382   glibcxx_cv_func_strtold_use=yes
45383 else
45384   glibcxx_cv_func_strtold_use=no
45385 fi
45386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45387       ac_ext=c
45388 ac_cpp='$CPP $CPPFLAGS'
45389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45392
45393
45394 fi
45395
45396   fi
45397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45398 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45399   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45400     for ac_func in strtold
45401 do :
45402   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45403 if test "x$ac_cv_func_strtold" = x""yes; then :
45404   cat >>confdefs.h <<_ACEOF
45405 #define HAVE_STRTOLD 1
45406 _ACEOF
45407
45408 fi
45409 done
45410
45411   fi
45412
45413
45414
45415
45416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45417 $as_echo_n "checking for strtof declaration... " >&6; }
45418   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45419     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45420   $as_echo_n "(cached) " >&6
45421 else
45422
45423
45424       ac_ext=cpp
45425 ac_cpp='$CXXCPP $CPPFLAGS'
45426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45429
45430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45431 /* end confdefs.h.  */
45432 #include <stdlib.h>
45433 int
45434 main ()
45435 {
45436  strtof(0, 0);
45437   ;
45438   return 0;
45439 }
45440 _ACEOF
45441 if ac_fn_cxx_try_compile "$LINENO"; then :
45442   glibcxx_cv_func_strtof_use=yes
45443 else
45444   glibcxx_cv_func_strtof_use=no
45445 fi
45446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45447       ac_ext=c
45448 ac_cpp='$CPP $CPPFLAGS'
45449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45452
45453
45454 fi
45455
45456   fi
45457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45458 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45459   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45460     for ac_func in strtof
45461 do :
45462   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45463 if test "x$ac_cv_func_strtof" = x""yes; then :
45464   cat >>confdefs.h <<_ACEOF
45465 #define HAVE_STRTOF 1
45466 _ACEOF
45467
45468 fi
45469 done
45470
45471   fi
45472
45473
45474
45475
45476   CXXFLAGS="$ac_save_CXXFLAGS"
45477
45478     ;;
45479
45480   *djgpp)
45481     # GLIBCXX_CHECK_MATH_SUPPORT
45482     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45483
45484     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45485
45486     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45487
45488     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45489
45490     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45491
45492     ;;
45493
45494   *-freebsd*)
45495     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45496
45497
45498   # If we're not using GNU ld, then there's no point in even trying these
45499   # tests.  Check for that first.  We should have already tested for gld
45500   # by now (in libtool), but require it now just to be safe...
45501   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45502   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45503
45504
45505
45506   # The name set by libtool depends on the version of libtool.  Shame on us
45507   # for depending on an impl detail, but c'est la vie.  Older versions used
45508   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45509   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45510   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45511   # set (hence we're using an older libtool), then set it.
45512   if test x${with_gnu_ld+set} != xset; then
45513     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45514       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45515       with_gnu_ld=no
45516     else
45517       with_gnu_ld=$ac_cv_prog_gnu_ld
45518     fi
45519   fi
45520
45521   # Start by getting the version number.  I think the libtool test already
45522   # does some of this, but throws away the result.
45523   glibcxx_ld_is_gold=no
45524   if test x"$with_gnu_ld" = x"yes"; then
45525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45526 $as_echo_n "checking for ld version... " >&6; }
45527
45528     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45529       glibcxx_ld_is_gold=yes
45530     fi
45531     ldver=`$LD --version 2>/dev/null |
45532            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'`
45533
45534     glibcxx_gnu_ld_version=`echo $ldver | \
45535            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45537 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45538   fi
45539
45540   # Set --gc-sections.
45541   glibcxx_have_gc_sections=no
45542   if test "$glibcxx_ld_is_gold" = "yes"; then
45543     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45544       glibcxx_have_gc_sections=yes
45545     fi
45546   else
45547     glibcxx_gcsections_min_ld=21602
45548     if test x"$with_gnu_ld" = x"yes" &&
45549         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45550       glibcxx_have_gc_sections=yes
45551     fi
45552   fi
45553   if test "$glibcxx_have_gc_sections" = "yes"; then
45554     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45555     # NB: This flag only works reliably after 2.16.1. Configure tests
45556     # for this are difficult, so hard wire a value that should work.
45557
45558     ac_test_CFLAGS="${CFLAGS+set}"
45559     ac_save_CFLAGS="$CFLAGS"
45560     CFLAGS='-Wl,--gc-sections'
45561
45562     # Check for -Wl,--gc-sections
45563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45564 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45565     if test x$gcc_no_link = xyes; then
45566   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45567 fi
45568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45569 /* end confdefs.h.  */
45570  int one(void) { return 1; }
45571      int two(void) { return 2; }
45572
45573 int
45574 main ()
45575 {
45576  two();
45577   ;
45578   return 0;
45579 }
45580 _ACEOF
45581 if ac_fn_c_try_link "$LINENO"; then :
45582   ac_gcsections=yes
45583 else
45584   ac_gcsections=no
45585 fi
45586 rm -f core conftest.err conftest.$ac_objext \
45587     conftest$ac_exeext conftest.$ac_ext
45588     if test "$ac_gcsections" = "yes"; then
45589       rm -f conftest.c
45590       touch conftest.c
45591       if $CC -c conftest.c; then
45592         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45593            grep "Warning: gc-sections option ignored" > /dev/null; then
45594           ac_gcsections=no
45595         fi
45596       fi
45597       rm -f conftest.c conftest.o conftest
45598     fi
45599     if test "$ac_gcsections" = "yes"; then
45600       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45601     fi
45602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45603 $as_echo "$ac_gcsections" >&6; }
45604
45605     if test "$ac_test_CFLAGS" = set; then
45606       CFLAGS="$ac_save_CFLAGS"
45607     else
45608       # this is the suspicious part
45609       CFLAGS=''
45610     fi
45611   fi
45612
45613   # Set -z,relro.
45614   # Note this is only for shared objects.
45615   ac_ld_relro=no
45616   if test x"$with_gnu_ld" = x"yes"; then
45617     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45618 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45619     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45620     if test -n "$cxx_z_relo"; then
45621       OPT_LDFLAGS="-Wl,-z,relro"
45622       ac_ld_relro=yes
45623     fi
45624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45625 $as_echo "$ac_ld_relro" >&6; }
45626   fi
45627
45628   # Set linker optimization flags.
45629   if test x"$with_gnu_ld" = x"yes"; then
45630     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45631   fi
45632
45633
45634
45635
45636     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45637
45638     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45639
45640     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45641
45642     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45643
45644     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45645
45646     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45647
45648     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45649
45650     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45651
45652     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45653
45654
45655     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45656
45657     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45658
45659     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45660
45661     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45662
45663     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45664
45665     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45666
45667     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45668
45669     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45670
45671     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45672
45673     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45674
45675     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45676
45677     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45678
45679     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45680
45681     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45682
45683     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45684
45685     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45686
45687     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45688
45689     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45690
45691     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45692
45693     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45694
45695     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45696
45697     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45698
45699     if test x"long_double_math_on_this_cpu" = x"yes"; then
45700       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45701
45702       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45703
45704       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45705
45706     fi
45707     ;;
45708   *-hpux*)
45709     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45710
45711
45712   # If we're not using GNU ld, then there's no point in even trying these
45713   # tests.  Check for that first.  We should have already tested for gld
45714   # by now (in libtool), but require it now just to be safe...
45715   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45716   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45717
45718
45719
45720   # The name set by libtool depends on the version of libtool.  Shame on us
45721   # for depending on an impl detail, but c'est la vie.  Older versions used
45722   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45723   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45724   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45725   # set (hence we're using an older libtool), then set it.
45726   if test x${with_gnu_ld+set} != xset; then
45727     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45728       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45729       with_gnu_ld=no
45730     else
45731       with_gnu_ld=$ac_cv_prog_gnu_ld
45732     fi
45733   fi
45734
45735   # Start by getting the version number.  I think the libtool test already
45736   # does some of this, but throws away the result.
45737   glibcxx_ld_is_gold=no
45738   if test x"$with_gnu_ld" = x"yes"; then
45739     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45740 $as_echo_n "checking for ld version... " >&6; }
45741
45742     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45743       glibcxx_ld_is_gold=yes
45744     fi
45745     ldver=`$LD --version 2>/dev/null |
45746            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'`
45747
45748     glibcxx_gnu_ld_version=`echo $ldver | \
45749            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45752   fi
45753
45754   # Set --gc-sections.
45755   glibcxx_have_gc_sections=no
45756   if test "$glibcxx_ld_is_gold" = "yes"; then
45757     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45758       glibcxx_have_gc_sections=yes
45759     fi
45760   else
45761     glibcxx_gcsections_min_ld=21602
45762     if test x"$with_gnu_ld" = x"yes" &&
45763         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45764       glibcxx_have_gc_sections=yes
45765     fi
45766   fi
45767   if test "$glibcxx_have_gc_sections" = "yes"; then
45768     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45769     # NB: This flag only works reliably after 2.16.1. Configure tests
45770     # for this are difficult, so hard wire a value that should work.
45771
45772     ac_test_CFLAGS="${CFLAGS+set}"
45773     ac_save_CFLAGS="$CFLAGS"
45774     CFLAGS='-Wl,--gc-sections'
45775
45776     # Check for -Wl,--gc-sections
45777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45779     if test x$gcc_no_link = xyes; then
45780   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45781 fi
45782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45783 /* end confdefs.h.  */
45784  int one(void) { return 1; }
45785      int two(void) { return 2; }
45786
45787 int
45788 main ()
45789 {
45790  two();
45791   ;
45792   return 0;
45793 }
45794 _ACEOF
45795 if ac_fn_c_try_link "$LINENO"; then :
45796   ac_gcsections=yes
45797 else
45798   ac_gcsections=no
45799 fi
45800 rm -f core conftest.err conftest.$ac_objext \
45801     conftest$ac_exeext conftest.$ac_ext
45802     if test "$ac_gcsections" = "yes"; then
45803       rm -f conftest.c
45804       touch conftest.c
45805       if $CC -c conftest.c; then
45806         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45807            grep "Warning: gc-sections option ignored" > /dev/null; then
45808           ac_gcsections=no
45809         fi
45810       fi
45811       rm -f conftest.c conftest.o conftest
45812     fi
45813     if test "$ac_gcsections" = "yes"; then
45814       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45815     fi
45816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45817 $as_echo "$ac_gcsections" >&6; }
45818
45819     if test "$ac_test_CFLAGS" = set; then
45820       CFLAGS="$ac_save_CFLAGS"
45821     else
45822       # this is the suspicious part
45823       CFLAGS=''
45824     fi
45825   fi
45826
45827   # Set -z,relro.
45828   # Note this is only for shared objects.
45829   ac_ld_relro=no
45830   if test x"$with_gnu_ld" = x"yes"; then
45831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45833     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45834     if test -n "$cxx_z_relo"; then
45835       OPT_LDFLAGS="-Wl,-z,relro"
45836       ac_ld_relro=yes
45837     fi
45838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45839 $as_echo "$ac_ld_relro" >&6; }
45840   fi
45841
45842   # Set linker optimization flags.
45843   if test x"$with_gnu_ld" = x"yes"; then
45844     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45845   fi
45846
45847
45848
45849
45850
45851     # GLIBCXX_CHECK_MATH_SUPPORT
45852     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45853
45854     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45855
45856     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45857
45858     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45859
45860     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45861
45862     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45863
45864     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45865
45866     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45867
45868     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45869
45870     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45871
45872     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45873
45874     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45875
45876     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45877
45878     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45879
45880     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45881
45882     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45883
45884     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45885
45886     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45887
45888     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45889
45890     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45891
45892     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45893
45894
45895     # GLIBCXX_CHECK_STDLIB_SUPPORT
45896     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45897
45898
45899
45900
45901    # Check whether --enable-tls was given.
45902 if test "${enable_tls+set}" = set; then :
45903   enableval=$enable_tls;
45904       case "$enableval" in
45905        yes|no) ;;
45906        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45907       esac
45908
45909 else
45910   enable_tls=yes
45911 fi
45912
45913
45914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45915 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45916 if test "${gcc_cv_have_tls+set}" = set; then :
45917   $as_echo_n "(cached) " >&6
45918 else
45919
45920     if test "$cross_compiling" = yes; then :
45921                 if test x$gcc_no_link = xyes; then
45922   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45923 fi
45924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45925 /* end confdefs.h.  */
45926 __thread int a; int b; int main() { return a = b; }
45927 _ACEOF
45928 if ac_fn_c_try_link "$LINENO"; then :
45929   chktls_save_LDFLAGS="$LDFLAGS"
45930                           case $host in
45931             *-*-linux*)
45932               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45933               ;;
45934           esac
45935           chktls_save_CFLAGS="$CFLAGS"
45936           CFLAGS="-fPIC $CFLAGS"
45937                   if test x$gcc_no_link = xyes; then
45938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45939 fi
45940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45941 /* end confdefs.h.  */
45942 int f() { return 0; }
45943 _ACEOF
45944 if ac_fn_c_try_link "$LINENO"; then :
45945   if test x$gcc_no_link = xyes; then
45946   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45947 fi
45948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45949 /* end confdefs.h.  */
45950 __thread int a; int b; int f() { return a = b; }
45951 _ACEOF
45952 if ac_fn_c_try_link "$LINENO"; then :
45953   gcc_cv_have_tls=yes
45954 else
45955   gcc_cv_have_tls=no
45956 fi
45957 rm -f core conftest.err conftest.$ac_objext \
45958     conftest$ac_exeext conftest.$ac_ext
45959 else
45960   gcc_cv_have_tls=yes
45961 fi
45962 rm -f core conftest.err conftest.$ac_objext \
45963     conftest$ac_exeext conftest.$ac_ext
45964           CFLAGS="$chktls_save_CFLAGS"
45965           LDFLAGS="$chktls_save_LDFLAGS"
45966 else
45967   gcc_cv_have_tls=no
45968 fi
45969 rm -f core conftest.err conftest.$ac_objext \
45970     conftest$ac_exeext conftest.$ac_ext
45971
45972
45973 else
45974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45975 /* end confdefs.h.  */
45976 __thread int a; int b; int main() { return a = b; }
45977 _ACEOF
45978 if ac_fn_c_try_run "$LINENO"; then :
45979                       chktls_save_LDFLAGS="$LDFLAGS"
45980       LDFLAGS="-static $LDFLAGS"
45981       if test x$gcc_no_link = xyes; then
45982   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45983 fi
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h.  */
45986 int main() { return 0; }
45987 _ACEOF
45988 if ac_fn_c_try_link "$LINENO"; then :
45989   if test "$cross_compiling" = yes; then :
45990   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45992 as_fn_error "cannot run test program while cross compiling
45993 See \`config.log' for more details." "$LINENO" 5; }
45994 else
45995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45996 /* end confdefs.h.  */
45997 __thread int a; int b; int main() { return a = b; }
45998 _ACEOF
45999 if ac_fn_c_try_run "$LINENO"; then :
46000   gcc_cv_have_tls=yes
46001 else
46002   gcc_cv_have_tls=no
46003 fi
46004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46005   conftest.$ac_objext conftest.beam conftest.$ac_ext
46006 fi
46007
46008 else
46009   gcc_cv_have_tls=yes
46010 fi
46011 rm -f core conftest.err conftest.$ac_objext \
46012     conftest$ac_exeext conftest.$ac_ext
46013       LDFLAGS="$chktls_save_LDFLAGS"
46014       if test $gcc_cv_have_tls = yes; then
46015                                                 chktls_save_CFLAGS="$CFLAGS"
46016         thread_CFLAGS=failed
46017         for flag in '' '-pthread' '-lpthread'; do
46018           CFLAGS="$flag $chktls_save_CFLAGS"
46019           if test x$gcc_no_link = xyes; then
46020   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46021 fi
46022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46023 /* end confdefs.h.  */
46024 #include <pthread.h>
46025                 void *g(void *d) { return NULL; }
46026 int
46027 main ()
46028 {
46029 pthread_t t; pthread_create(&t,NULL,g,NULL);
46030   ;
46031   return 0;
46032 }
46033 _ACEOF
46034 if ac_fn_c_try_link "$LINENO"; then :
46035   thread_CFLAGS="$flag"
46036 fi
46037 rm -f core conftest.err conftest.$ac_objext \
46038     conftest$ac_exeext conftest.$ac_ext
46039           if test "X$thread_CFLAGS" != Xfailed; then
46040             break
46041           fi
46042         done
46043         CFLAGS="$chktls_save_CFLAGS"
46044         if test "X$thread_CFLAGS" != Xfailed; then
46045           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46046                                                   if test "$cross_compiling" = yes; then :
46047   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46049 as_fn_error "cannot run test program while cross compiling
46050 See \`config.log' for more details." "$LINENO" 5; }
46051 else
46052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46053 /* end confdefs.h.  */
46054 #include <pthread.h>
46055                 __thread int a;
46056                 static int *volatile a_in_other_thread;
46057                 static void *
46058                 thread_func (void *arg)
46059                 {
46060                   a_in_other_thread = &a;
46061                   return (void *)0;
46062                 }
46063 int
46064 main ()
46065 {
46066 pthread_t thread;
46067                 void *thread_retval;
46068                 int *volatile a_in_main_thread;
46069                 a_in_main_thread = &a;
46070                 if (pthread_create (&thread, (pthread_attr_t *)0,
46071                                     thread_func, (void *)0))
46072                   return 0;
46073                 if (pthread_join (thread, &thread_retval))
46074                   return 0;
46075                 return (a_in_other_thread == a_in_main_thread);
46076   ;
46077   return 0;
46078 }
46079 _ACEOF
46080 if ac_fn_c_try_run "$LINENO"; then :
46081   gcc_cv_have_tls=yes
46082 else
46083   gcc_cv_have_tls=no
46084 fi
46085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46086   conftest.$ac_objext conftest.beam conftest.$ac_ext
46087 fi
46088
46089           CFLAGS="$chktls_save_CFLAGS"
46090         fi
46091       fi
46092 else
46093   gcc_cv_have_tls=no
46094 fi
46095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46096   conftest.$ac_objext conftest.beam conftest.$ac_ext
46097 fi
46098
46099 fi
46100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46101 $as_echo "$gcc_cv_have_tls" >&6; }
46102   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46103
46104 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46105
46106   fi
46107     case "$target" in
46108       *-hpux10*)
46109         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46110
46111         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46112
46113         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46114
46115         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46116
46117         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46118
46119         ;;
46120     esac
46121     ;;
46122   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
46123
46124   # All these tests are for C++; save the language and the compiler flags.
46125   # The CXXFLAGS thing is suspicious, but based on similar bits previously
46126   # found in GLIBCXX_CONFIGURE.
46127
46128   ac_ext=cpp
46129 ac_cpp='$CXXCPP $CPPFLAGS'
46130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46133
46134   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46135   ac_save_CXXFLAGS="$CXXFLAGS"
46136
46137   # Check for maintainer-mode bits.
46138   if test x"$USE_MAINTAINER_MODE" = xno; then
46139     WERROR=''
46140   else
46141     WERROR='-Werror'
46142   fi
46143
46144   # Check for -ffunction-sections -fdata-sections
46145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46146 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46147   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46149 /* end confdefs.h.  */
46150 int foo; void bar() { };
46151 int
46152 main ()
46153 {
46154
46155   ;
46156   return 0;
46157 }
46158 _ACEOF
46159 if ac_fn_cxx_try_compile "$LINENO"; then :
46160   ac_fdsections=yes
46161 else
46162   ac_fdsections=no
46163 fi
46164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46165   if test "$ac_test_CXXFLAGS" = set; then
46166     CXXFLAGS="$ac_save_CXXFLAGS"
46167   else
46168     # this is the suspicious part
46169     CXXFLAGS=''
46170   fi
46171   if test x"$ac_fdsections" = x"yes"; then
46172     SECTION_FLAGS='-ffunction-sections -fdata-sections'
46173   fi
46174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46175 $as_echo "$ac_fdsections" >&6; }
46176
46177   ac_ext=c
46178 ac_cpp='$CPP $CPPFLAGS'
46179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46182
46183
46184
46185
46186
46187   # If we're not using GNU ld, then there's no point in even trying these
46188   # tests.  Check for that first.  We should have already tested for gld
46189   # by now (in libtool), but require it now just to be safe...
46190   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46191   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46192
46193
46194
46195   # The name set by libtool depends on the version of libtool.  Shame on us
46196   # for depending on an impl detail, but c'est la vie.  Older versions used
46197   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46198   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46199   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
46200   # set (hence we're using an older libtool), then set it.
46201   if test x${with_gnu_ld+set} != xset; then
46202     if test x${ac_cv_prog_gnu_ld+set} != xset; then
46203       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
46204       with_gnu_ld=no
46205     else
46206       with_gnu_ld=$ac_cv_prog_gnu_ld
46207     fi
46208   fi
46209
46210   # Start by getting the version number.  I think the libtool test already
46211   # does some of this, but throws away the result.
46212   glibcxx_ld_is_gold=no
46213   if test x"$with_gnu_ld" = x"yes"; then
46214     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46215 $as_echo_n "checking for ld version... " >&6; }
46216
46217     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46218       glibcxx_ld_is_gold=yes
46219     fi
46220     ldver=`$LD --version 2>/dev/null |
46221            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'`
46222
46223     glibcxx_gnu_ld_version=`echo $ldver | \
46224            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46225     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46226 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46227   fi
46228
46229   # Set --gc-sections.
46230   glibcxx_have_gc_sections=no
46231   if test "$glibcxx_ld_is_gold" = "yes"; then
46232     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46233       glibcxx_have_gc_sections=yes
46234     fi
46235   else
46236     glibcxx_gcsections_min_ld=21602
46237     if test x"$with_gnu_ld" = x"yes" &&
46238         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46239       glibcxx_have_gc_sections=yes
46240     fi
46241   fi
46242   if test "$glibcxx_have_gc_sections" = "yes"; then
46243     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
46244     # NB: This flag only works reliably after 2.16.1. Configure tests
46245     # for this are difficult, so hard wire a value that should work.
46246
46247     ac_test_CFLAGS="${CFLAGS+set}"
46248     ac_save_CFLAGS="$CFLAGS"
46249     CFLAGS='-Wl,--gc-sections'
46250
46251     # Check for -Wl,--gc-sections
46252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46253 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46254     if test x$gcc_no_link = xyes; then
46255   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46256 fi
46257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46258 /* end confdefs.h.  */
46259  int one(void) { return 1; }
46260      int two(void) { return 2; }
46261
46262 int
46263 main ()
46264 {
46265  two();
46266   ;
46267   return 0;
46268 }
46269 _ACEOF
46270 if ac_fn_c_try_link "$LINENO"; then :
46271   ac_gcsections=yes
46272 else
46273   ac_gcsections=no
46274 fi
46275 rm -f core conftest.err conftest.$ac_objext \
46276     conftest$ac_exeext conftest.$ac_ext
46277     if test "$ac_gcsections" = "yes"; then
46278       rm -f conftest.c
46279       touch conftest.c
46280       if $CC -c conftest.c; then
46281         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46282            grep "Warning: gc-sections option ignored" > /dev/null; then
46283           ac_gcsections=no
46284         fi
46285       fi
46286       rm -f conftest.c conftest.o conftest
46287     fi
46288     if test "$ac_gcsections" = "yes"; then
46289       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46290     fi
46291     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46292 $as_echo "$ac_gcsections" >&6; }
46293
46294     if test "$ac_test_CFLAGS" = set; then
46295       CFLAGS="$ac_save_CFLAGS"
46296     else
46297       # this is the suspicious part
46298       CFLAGS=''
46299     fi
46300   fi
46301
46302   # Set -z,relro.
46303   # Note this is only for shared objects.
46304   ac_ld_relro=no
46305   if test x"$with_gnu_ld" = x"yes"; then
46306     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46307 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46308     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46309     if test -n "$cxx_z_relo"; then
46310       OPT_LDFLAGS="-Wl,-z,relro"
46311       ac_ld_relro=yes
46312     fi
46313     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46314 $as_echo "$ac_ld_relro" >&6; }
46315   fi
46316
46317   # Set linker optimization flags.
46318   if test x"$with_gnu_ld" = x"yes"; then
46319     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46320   fi
46321
46322
46323
46324
46325
46326   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46327   ac_save_CXXFLAGS="$CXXFLAGS"
46328   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46329
46330     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46331 $as_echo_n "checking for sin in -lm... " >&6; }
46332 if test "${ac_cv_lib_m_sin+set}" = set; then :
46333   $as_echo_n "(cached) " >&6
46334 else
46335   ac_check_lib_save_LIBS=$LIBS
46336 LIBS="-lm  $LIBS"
46337 if test x$gcc_no_link = xyes; then
46338   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46339 fi
46340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46341 /* end confdefs.h.  */
46342
46343 /* Override any GCC internal prototype to avoid an error.
46344    Use char because int might match the return type of a GCC
46345    builtin and then its argument prototype would still apply.  */
46346 #ifdef __cplusplus
46347 extern "C"
46348 #endif
46349 char sin ();
46350 int
46351 main ()
46352 {
46353 return sin ();
46354   ;
46355   return 0;
46356 }
46357 _ACEOF
46358 if ac_fn_c_try_link "$LINENO"; then :
46359   ac_cv_lib_m_sin=yes
46360 else
46361   ac_cv_lib_m_sin=no
46362 fi
46363 rm -f core conftest.err conftest.$ac_objext \
46364     conftest$ac_exeext conftest.$ac_ext
46365 LIBS=$ac_check_lib_save_LIBS
46366 fi
46367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46368 $as_echo "$ac_cv_lib_m_sin" >&6; }
46369 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46370   libm="-lm"
46371 fi
46372
46373   ac_save_LIBS="$LIBS"
46374   LIBS="$LIBS $libm"
46375
46376
46377
46378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46379 $as_echo_n "checking for isinf declaration... " >&6; }
46380   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46381     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46382   $as_echo_n "(cached) " >&6
46383 else
46384
46385
46386       ac_ext=cpp
46387 ac_cpp='$CXXCPP $CPPFLAGS'
46388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46391
46392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46393 /* end confdefs.h.  */
46394 #include <math.h>
46395                       #ifdef HAVE_IEEEFP_H
46396                       #include <ieeefp.h>
46397                       #endif
46398
46399 int
46400 main ()
46401 {
46402  isinf(0);
46403   ;
46404   return 0;
46405 }
46406 _ACEOF
46407 if ac_fn_cxx_try_compile "$LINENO"; then :
46408   glibcxx_cv_func_isinf_use=yes
46409 else
46410   glibcxx_cv_func_isinf_use=no
46411 fi
46412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46413       ac_ext=c
46414 ac_cpp='$CPP $CPPFLAGS'
46415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418
46419
46420 fi
46421
46422   fi
46423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46424 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46425
46426   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46427     for ac_func in isinf
46428 do :
46429   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46430 if test "x$ac_cv_func_isinf" = x""yes; then :
46431   cat >>confdefs.h <<_ACEOF
46432 #define HAVE_ISINF 1
46433 _ACEOF
46434
46435 fi
46436 done
46437
46438   else
46439
46440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46441 $as_echo_n "checking for _isinf declaration... " >&6; }
46442   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46443     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46444   $as_echo_n "(cached) " >&6
46445 else
46446
46447
46448       ac_ext=cpp
46449 ac_cpp='$CXXCPP $CPPFLAGS'
46450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46453
46454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46455 /* end confdefs.h.  */
46456 #include <math.h>
46457                       #ifdef HAVE_IEEEFP_H
46458                       #include <ieeefp.h>
46459                       #endif
46460
46461 int
46462 main ()
46463 {
46464  _isinf(0);
46465   ;
46466   return 0;
46467 }
46468 _ACEOF
46469 if ac_fn_cxx_try_compile "$LINENO"; then :
46470   glibcxx_cv_func__isinf_use=yes
46471 else
46472   glibcxx_cv_func__isinf_use=no
46473 fi
46474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46475       ac_ext=c
46476 ac_cpp='$CPP $CPPFLAGS'
46477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46480
46481
46482 fi
46483
46484   fi
46485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46486 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46487
46488     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46489       for ac_func in _isinf
46490 do :
46491   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46492 if test "x$ac_cv_func__isinf" = x""yes; then :
46493   cat >>confdefs.h <<_ACEOF
46494 #define HAVE__ISINF 1
46495 _ACEOF
46496
46497 fi
46498 done
46499
46500     fi
46501   fi
46502
46503
46504
46505
46506
46507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46508 $as_echo_n "checking for isnan declaration... " >&6; }
46509   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46510     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46511   $as_echo_n "(cached) " >&6
46512 else
46513
46514
46515       ac_ext=cpp
46516 ac_cpp='$CXXCPP $CPPFLAGS'
46517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46520
46521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46522 /* end confdefs.h.  */
46523 #include <math.h>
46524                       #ifdef HAVE_IEEEFP_H
46525                       #include <ieeefp.h>
46526                       #endif
46527
46528 int
46529 main ()
46530 {
46531  isnan(0);
46532   ;
46533   return 0;
46534 }
46535 _ACEOF
46536 if ac_fn_cxx_try_compile "$LINENO"; then :
46537   glibcxx_cv_func_isnan_use=yes
46538 else
46539   glibcxx_cv_func_isnan_use=no
46540 fi
46541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46542       ac_ext=c
46543 ac_cpp='$CPP $CPPFLAGS'
46544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46547
46548
46549 fi
46550
46551   fi
46552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46553 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46554
46555   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46556     for ac_func in isnan
46557 do :
46558   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46559 if test "x$ac_cv_func_isnan" = x""yes; then :
46560   cat >>confdefs.h <<_ACEOF
46561 #define HAVE_ISNAN 1
46562 _ACEOF
46563
46564 fi
46565 done
46566
46567   else
46568
46569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46570 $as_echo_n "checking for _isnan declaration... " >&6; }
46571   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46572     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46573   $as_echo_n "(cached) " >&6
46574 else
46575
46576
46577       ac_ext=cpp
46578 ac_cpp='$CXXCPP $CPPFLAGS'
46579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46582
46583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46584 /* end confdefs.h.  */
46585 #include <math.h>
46586                       #ifdef HAVE_IEEEFP_H
46587                       #include <ieeefp.h>
46588                       #endif
46589
46590 int
46591 main ()
46592 {
46593  _isnan(0);
46594   ;
46595   return 0;
46596 }
46597 _ACEOF
46598 if ac_fn_cxx_try_compile "$LINENO"; then :
46599   glibcxx_cv_func__isnan_use=yes
46600 else
46601   glibcxx_cv_func__isnan_use=no
46602 fi
46603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46604       ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46609
46610
46611 fi
46612
46613   fi
46614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46615 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46616
46617     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46618       for ac_func in _isnan
46619 do :
46620   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46621 if test "x$ac_cv_func__isnan" = x""yes; then :
46622   cat >>confdefs.h <<_ACEOF
46623 #define HAVE__ISNAN 1
46624 _ACEOF
46625
46626 fi
46627 done
46628
46629     fi
46630   fi
46631
46632
46633
46634
46635
46636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46637 $as_echo_n "checking for finite declaration... " >&6; }
46638   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46639     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46640   $as_echo_n "(cached) " >&6
46641 else
46642
46643
46644       ac_ext=cpp
46645 ac_cpp='$CXXCPP $CPPFLAGS'
46646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46649
46650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46651 /* end confdefs.h.  */
46652 #include <math.h>
46653                       #ifdef HAVE_IEEEFP_H
46654                       #include <ieeefp.h>
46655                       #endif
46656
46657 int
46658 main ()
46659 {
46660  finite(0);
46661   ;
46662   return 0;
46663 }
46664 _ACEOF
46665 if ac_fn_cxx_try_compile "$LINENO"; then :
46666   glibcxx_cv_func_finite_use=yes
46667 else
46668   glibcxx_cv_func_finite_use=no
46669 fi
46670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46671       ac_ext=c
46672 ac_cpp='$CPP $CPPFLAGS'
46673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46676
46677
46678 fi
46679
46680   fi
46681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46682 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46683
46684   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46685     for ac_func in finite
46686 do :
46687   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46688 if test "x$ac_cv_func_finite" = x""yes; then :
46689   cat >>confdefs.h <<_ACEOF
46690 #define HAVE_FINITE 1
46691 _ACEOF
46692
46693 fi
46694 done
46695
46696   else
46697
46698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46699 $as_echo_n "checking for _finite declaration... " >&6; }
46700   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46701     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46702   $as_echo_n "(cached) " >&6
46703 else
46704
46705
46706       ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46711
46712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h.  */
46714 #include <math.h>
46715                       #ifdef HAVE_IEEEFP_H
46716                       #include <ieeefp.h>
46717                       #endif
46718
46719 int
46720 main ()
46721 {
46722  _finite(0);
46723   ;
46724   return 0;
46725 }
46726 _ACEOF
46727 if ac_fn_cxx_try_compile "$LINENO"; then :
46728   glibcxx_cv_func__finite_use=yes
46729 else
46730   glibcxx_cv_func__finite_use=no
46731 fi
46732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46733       ac_ext=c
46734 ac_cpp='$CPP $CPPFLAGS'
46735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46738
46739
46740 fi
46741
46742   fi
46743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46744 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46745
46746     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46747       for ac_func in _finite
46748 do :
46749   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46750 if test "x$ac_cv_func__finite" = x""yes; then :
46751   cat >>confdefs.h <<_ACEOF
46752 #define HAVE__FINITE 1
46753 _ACEOF
46754
46755 fi
46756 done
46757
46758     fi
46759   fi
46760
46761
46762
46763
46764
46765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46766 $as_echo_n "checking for sincos declaration... " >&6; }
46767   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46768     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46769   $as_echo_n "(cached) " >&6
46770 else
46771
46772
46773       ac_ext=cpp
46774 ac_cpp='$CXXCPP $CPPFLAGS'
46775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46778
46779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46780 /* end confdefs.h.  */
46781 #include <math.h>
46782 int
46783 main ()
46784 {
46785  sincos(0, 0, 0);
46786   ;
46787   return 0;
46788 }
46789 _ACEOF
46790 if ac_fn_cxx_try_compile "$LINENO"; then :
46791   glibcxx_cv_func_sincos_use=yes
46792 else
46793   glibcxx_cv_func_sincos_use=no
46794 fi
46795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46796       ac_ext=c
46797 ac_cpp='$CPP $CPPFLAGS'
46798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46801
46802
46803 fi
46804
46805   fi
46806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46807 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46808
46809   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46810     for ac_func in sincos
46811 do :
46812   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46813 if test "x$ac_cv_func_sincos" = x""yes; then :
46814   cat >>confdefs.h <<_ACEOF
46815 #define HAVE_SINCOS 1
46816 _ACEOF
46817
46818 fi
46819 done
46820
46821   else
46822
46823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46824 $as_echo_n "checking for _sincos declaration... " >&6; }
46825   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46826     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46827   $as_echo_n "(cached) " >&6
46828 else
46829
46830
46831       ac_ext=cpp
46832 ac_cpp='$CXXCPP $CPPFLAGS'
46833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46836
46837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46838 /* end confdefs.h.  */
46839 #include <math.h>
46840 int
46841 main ()
46842 {
46843  _sincos(0, 0, 0);
46844   ;
46845   return 0;
46846 }
46847 _ACEOF
46848 if ac_fn_cxx_try_compile "$LINENO"; then :
46849   glibcxx_cv_func__sincos_use=yes
46850 else
46851   glibcxx_cv_func__sincos_use=no
46852 fi
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46854       ac_ext=c
46855 ac_cpp='$CPP $CPPFLAGS'
46856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46859
46860
46861 fi
46862
46863   fi
46864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46865 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46866
46867     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46868       for ac_func in _sincos
46869 do :
46870   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46871 if test "x$ac_cv_func__sincos" = x""yes; then :
46872   cat >>confdefs.h <<_ACEOF
46873 #define HAVE__SINCOS 1
46874 _ACEOF
46875
46876 fi
46877 done
46878
46879     fi
46880   fi
46881
46882
46883
46884
46885
46886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46887 $as_echo_n "checking for fpclass declaration... " >&6; }
46888   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46889     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46890   $as_echo_n "(cached) " >&6
46891 else
46892
46893
46894       ac_ext=cpp
46895 ac_cpp='$CXXCPP $CPPFLAGS'
46896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46899
46900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46901 /* end confdefs.h.  */
46902 #include <math.h>
46903                       #ifdef HAVE_IEEEFP_H
46904                       #include <ieeefp.h>
46905                       #endif
46906
46907 int
46908 main ()
46909 {
46910  fpclass(0);
46911   ;
46912   return 0;
46913 }
46914 _ACEOF
46915 if ac_fn_cxx_try_compile "$LINENO"; then :
46916   glibcxx_cv_func_fpclass_use=yes
46917 else
46918   glibcxx_cv_func_fpclass_use=no
46919 fi
46920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46921       ac_ext=c
46922 ac_cpp='$CPP $CPPFLAGS'
46923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926
46927
46928 fi
46929
46930   fi
46931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46932 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46933
46934   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46935     for ac_func in fpclass
46936 do :
46937   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46938 if test "x$ac_cv_func_fpclass" = x""yes; then :
46939   cat >>confdefs.h <<_ACEOF
46940 #define HAVE_FPCLASS 1
46941 _ACEOF
46942
46943 fi
46944 done
46945
46946   else
46947
46948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46949 $as_echo_n "checking for _fpclass declaration... " >&6; }
46950   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46951     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46952   $as_echo_n "(cached) " >&6
46953 else
46954
46955
46956       ac_ext=cpp
46957 ac_cpp='$CXXCPP $CPPFLAGS'
46958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46961
46962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46963 /* end confdefs.h.  */
46964 #include <math.h>
46965                       #ifdef HAVE_IEEEFP_H
46966                       #include <ieeefp.h>
46967                       #endif
46968
46969 int
46970 main ()
46971 {
46972  _fpclass(0);
46973   ;
46974   return 0;
46975 }
46976 _ACEOF
46977 if ac_fn_cxx_try_compile "$LINENO"; then :
46978   glibcxx_cv_func__fpclass_use=yes
46979 else
46980   glibcxx_cv_func__fpclass_use=no
46981 fi
46982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46983       ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46988
46989
46990 fi
46991
46992   fi
46993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46994 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46995
46996     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46997       for ac_func in _fpclass
46998 do :
46999   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47000 if test "x$ac_cv_func__fpclass" = x""yes; then :
47001   cat >>confdefs.h <<_ACEOF
47002 #define HAVE__FPCLASS 1
47003 _ACEOF
47004
47005 fi
47006 done
47007
47008     fi
47009   fi
47010
47011
47012
47013
47014
47015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47016 $as_echo_n "checking for qfpclass declaration... " >&6; }
47017   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47018     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47019   $as_echo_n "(cached) " >&6
47020 else
47021
47022
47023       ac_ext=cpp
47024 ac_cpp='$CXXCPP $CPPFLAGS'
47025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47028
47029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47030 /* end confdefs.h.  */
47031 #include <math.h>
47032                       #ifdef HAVE_IEEEFP_H
47033                       #include <ieeefp.h>
47034                       #endif
47035
47036 int
47037 main ()
47038 {
47039  qfpclass(0);
47040   ;
47041   return 0;
47042 }
47043 _ACEOF
47044 if ac_fn_cxx_try_compile "$LINENO"; then :
47045   glibcxx_cv_func_qfpclass_use=yes
47046 else
47047   glibcxx_cv_func_qfpclass_use=no
47048 fi
47049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47050       ac_ext=c
47051 ac_cpp='$CPP $CPPFLAGS'
47052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47055
47056
47057 fi
47058
47059   fi
47060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47061 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47062
47063   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47064     for ac_func in qfpclass
47065 do :
47066   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47067 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47068   cat >>confdefs.h <<_ACEOF
47069 #define HAVE_QFPCLASS 1
47070 _ACEOF
47071
47072 fi
47073 done
47074
47075   else
47076
47077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47078 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47079   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47080     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47081   $as_echo_n "(cached) " >&6
47082 else
47083
47084
47085       ac_ext=cpp
47086 ac_cpp='$CXXCPP $CPPFLAGS'
47087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47090
47091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47092 /* end confdefs.h.  */
47093 #include <math.h>
47094                       #ifdef HAVE_IEEEFP_H
47095                       #include <ieeefp.h>
47096                       #endif
47097
47098 int
47099 main ()
47100 {
47101  _qfpclass(0);
47102   ;
47103   return 0;
47104 }
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107   glibcxx_cv_func__qfpclass_use=yes
47108 else
47109   glibcxx_cv_func__qfpclass_use=no
47110 fi
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112       ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47117
47118
47119 fi
47120
47121   fi
47122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47123 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47124
47125     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47126       for ac_func in _qfpclass
47127 do :
47128   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47129 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47130   cat >>confdefs.h <<_ACEOF
47131 #define HAVE__QFPCLASS 1
47132 _ACEOF
47133
47134 fi
47135 done
47136
47137     fi
47138   fi
47139
47140
47141
47142
47143
47144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47145 $as_echo_n "checking for hypot declaration... " >&6; }
47146   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47147     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47148   $as_echo_n "(cached) " >&6
47149 else
47150
47151
47152       ac_ext=cpp
47153 ac_cpp='$CXXCPP $CPPFLAGS'
47154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47157
47158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47159 /* end confdefs.h.  */
47160 #include <math.h>
47161 int
47162 main ()
47163 {
47164  hypot(0, 0);
47165   ;
47166   return 0;
47167 }
47168 _ACEOF
47169 if ac_fn_cxx_try_compile "$LINENO"; then :
47170   glibcxx_cv_func_hypot_use=yes
47171 else
47172   glibcxx_cv_func_hypot_use=no
47173 fi
47174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47175       ac_ext=c
47176 ac_cpp='$CPP $CPPFLAGS'
47177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47180
47181
47182 fi
47183
47184   fi
47185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47186 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47187
47188   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47189     for ac_func in hypot
47190 do :
47191   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47192 if test "x$ac_cv_func_hypot" = x""yes; then :
47193   cat >>confdefs.h <<_ACEOF
47194 #define HAVE_HYPOT 1
47195 _ACEOF
47196
47197 fi
47198 done
47199
47200   else
47201
47202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47203 $as_echo_n "checking for _hypot declaration... " >&6; }
47204   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47205     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47206   $as_echo_n "(cached) " >&6
47207 else
47208
47209
47210       ac_ext=cpp
47211 ac_cpp='$CXXCPP $CPPFLAGS'
47212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47215
47216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47217 /* end confdefs.h.  */
47218 #include <math.h>
47219 int
47220 main ()
47221 {
47222  _hypot(0, 0);
47223   ;
47224   return 0;
47225 }
47226 _ACEOF
47227 if ac_fn_cxx_try_compile "$LINENO"; then :
47228   glibcxx_cv_func__hypot_use=yes
47229 else
47230   glibcxx_cv_func__hypot_use=no
47231 fi
47232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47233       ac_ext=c
47234 ac_cpp='$CPP $CPPFLAGS'
47235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47238
47239
47240 fi
47241
47242   fi
47243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47244 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47245
47246     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47247       for ac_func in _hypot
47248 do :
47249   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47250 if test "x$ac_cv_func__hypot" = x""yes; then :
47251   cat >>confdefs.h <<_ACEOF
47252 #define HAVE__HYPOT 1
47253 _ACEOF
47254
47255 fi
47256 done
47257
47258     fi
47259   fi
47260
47261
47262
47263
47264
47265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47266 $as_echo_n "checking for float trig functions... " >&6; }
47267   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47268   $as_echo_n "(cached) " >&6
47269 else
47270
47271
47272     ac_ext=cpp
47273 ac_cpp='$CXXCPP $CPPFLAGS'
47274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47277
47278     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47279 /* end confdefs.h.  */
47280 #include <math.h>
47281 int
47282 main ()
47283 {
47284 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47285   ;
47286   return 0;
47287 }
47288 _ACEOF
47289 if ac_fn_cxx_try_compile "$LINENO"; then :
47290   glibcxx_cv_func_float_trig_use=yes
47291 else
47292   glibcxx_cv_func_float_trig_use=no
47293 fi
47294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47295     ac_ext=c
47296 ac_cpp='$CPP $CPPFLAGS'
47297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47300
47301 fi
47302
47303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47304 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47305   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47306     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47307 do :
47308   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47310 eval as_val=\$$as_ac_var
47311    if test "x$as_val" = x""yes; then :
47312   cat >>confdefs.h <<_ACEOF
47313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47314 _ACEOF
47315
47316 fi
47317 done
47318
47319   else
47320     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47321 $as_echo_n "checking for _float trig functions... " >&6; }
47322     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47323   $as_echo_n "(cached) " >&6
47324 else
47325
47326
47327       ac_ext=cpp
47328 ac_cpp='$CXXCPP $CPPFLAGS'
47329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47332
47333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47334 /* end confdefs.h.  */
47335 #include <math.h>
47336 int
47337 main ()
47338 {
47339 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47340   ;
47341   return 0;
47342 }
47343 _ACEOF
47344 if ac_fn_cxx_try_compile "$LINENO"; then :
47345   glibcxx_cv_func__float_trig_use=yes
47346 else
47347   glibcxx_cv_func__float_trig_use=no
47348 fi
47349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47350       ac_ext=c
47351 ac_cpp='$CPP $CPPFLAGS'
47352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47355
47356 fi
47357
47358     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47359 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47360     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47361       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47362 do :
47363   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47365 eval as_val=\$$as_ac_var
47366    if test "x$as_val" = x""yes; then :
47367   cat >>confdefs.h <<_ACEOF
47368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47369 _ACEOF
47370
47371 fi
47372 done
47373
47374     fi
47375   fi
47376
47377
47378
47379
47380
47381     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47382 $as_echo_n "checking for float round functions... " >&6; }
47383   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47384   $as_echo_n "(cached) " >&6
47385 else
47386
47387
47388     ac_ext=cpp
47389 ac_cpp='$CXXCPP $CPPFLAGS'
47390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47393
47394     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47395 /* end confdefs.h.  */
47396 #include <math.h>
47397 int
47398 main ()
47399 {
47400 ceilf (0); floorf (0);
47401   ;
47402   return 0;
47403 }
47404 _ACEOF
47405 if ac_fn_cxx_try_compile "$LINENO"; then :
47406   glibcxx_cv_func_float_round_use=yes
47407 else
47408   glibcxx_cv_func_float_round_use=no
47409 fi
47410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47411     ac_ext=c
47412 ac_cpp='$CPP $CPPFLAGS'
47413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47416
47417 fi
47418
47419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47420 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47421   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47422     for ac_func in ceilf floorf
47423 do :
47424   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47426 eval as_val=\$$as_ac_var
47427    if test "x$as_val" = x""yes; then :
47428   cat >>confdefs.h <<_ACEOF
47429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47430 _ACEOF
47431
47432 fi
47433 done
47434
47435   else
47436     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47437 $as_echo_n "checking for _float round functions... " >&6; }
47438     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47439   $as_echo_n "(cached) " >&6
47440 else
47441
47442
47443       ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47448
47449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47450 /* end confdefs.h.  */
47451 #include <math.h>
47452 int
47453 main ()
47454 {
47455 _ceilf (0); _floorf (0);
47456   ;
47457   return 0;
47458 }
47459 _ACEOF
47460 if ac_fn_cxx_try_compile "$LINENO"; then :
47461   glibcxx_cv_func__float_round_use=yes
47462 else
47463   glibcxx_cv_func__float_round_use=no
47464 fi
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47466       ac_ext=c
47467 ac_cpp='$CPP $CPPFLAGS'
47468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47471
47472 fi
47473
47474     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47475 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47476     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47477       for ac_func in _ceilf _floorf
47478 do :
47479   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47481 eval as_val=\$$as_ac_var
47482    if test "x$as_val" = x""yes; then :
47483   cat >>confdefs.h <<_ACEOF
47484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47485 _ACEOF
47486
47487 fi
47488 done
47489
47490     fi
47491   fi
47492
47493
47494
47495
47496
47497
47498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47499 $as_echo_n "checking for expf declaration... " >&6; }
47500   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47501     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47502   $as_echo_n "(cached) " >&6
47503 else
47504
47505
47506       ac_ext=cpp
47507 ac_cpp='$CXXCPP $CPPFLAGS'
47508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47511
47512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47513 /* end confdefs.h.  */
47514 #include <math.h>
47515                       #ifdef HAVE_IEEEFP_H
47516                       #include <ieeefp.h>
47517                       #endif
47518
47519 int
47520 main ()
47521 {
47522  expf(0);
47523   ;
47524   return 0;
47525 }
47526 _ACEOF
47527 if ac_fn_cxx_try_compile "$LINENO"; then :
47528   glibcxx_cv_func_expf_use=yes
47529 else
47530   glibcxx_cv_func_expf_use=no
47531 fi
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47533       ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47538
47539
47540 fi
47541
47542   fi
47543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47544 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47545
47546   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47547     for ac_func in expf
47548 do :
47549   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47550 if test "x$ac_cv_func_expf" = x""yes; then :
47551   cat >>confdefs.h <<_ACEOF
47552 #define HAVE_EXPF 1
47553 _ACEOF
47554
47555 fi
47556 done
47557
47558   else
47559
47560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47561 $as_echo_n "checking for _expf declaration... " >&6; }
47562   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47563     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47564   $as_echo_n "(cached) " >&6
47565 else
47566
47567
47568       ac_ext=cpp
47569 ac_cpp='$CXXCPP $CPPFLAGS'
47570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47573
47574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47575 /* end confdefs.h.  */
47576 #include <math.h>
47577                       #ifdef HAVE_IEEEFP_H
47578                       #include <ieeefp.h>
47579                       #endif
47580
47581 int
47582 main ()
47583 {
47584  _expf(0);
47585   ;
47586   return 0;
47587 }
47588 _ACEOF
47589 if ac_fn_cxx_try_compile "$LINENO"; then :
47590   glibcxx_cv_func__expf_use=yes
47591 else
47592   glibcxx_cv_func__expf_use=no
47593 fi
47594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595       ac_ext=c
47596 ac_cpp='$CPP $CPPFLAGS'
47597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47600
47601
47602 fi
47603
47604   fi
47605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47606 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47607
47608     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47609       for ac_func in _expf
47610 do :
47611   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47612 if test "x$ac_cv_func__expf" = x""yes; then :
47613   cat >>confdefs.h <<_ACEOF
47614 #define HAVE__EXPF 1
47615 _ACEOF
47616
47617 fi
47618 done
47619
47620     fi
47621   fi
47622
47623
47624
47625
47626
47627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47628 $as_echo_n "checking for isnanf declaration... " >&6; }
47629   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47630     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47631   $as_echo_n "(cached) " >&6
47632 else
47633
47634
47635       ac_ext=cpp
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47640
47641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h.  */
47643 #include <math.h>
47644                       #ifdef HAVE_IEEEFP_H
47645                       #include <ieeefp.h>
47646                       #endif
47647
47648 int
47649 main ()
47650 {
47651  isnanf(0);
47652   ;
47653   return 0;
47654 }
47655 _ACEOF
47656 if ac_fn_cxx_try_compile "$LINENO"; then :
47657   glibcxx_cv_func_isnanf_use=yes
47658 else
47659   glibcxx_cv_func_isnanf_use=no
47660 fi
47661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47662       ac_ext=c
47663 ac_cpp='$CPP $CPPFLAGS'
47664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47667
47668
47669 fi
47670
47671   fi
47672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47673 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47674
47675   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47676     for ac_func in isnanf
47677 do :
47678   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47679 if test "x$ac_cv_func_isnanf" = x""yes; then :
47680   cat >>confdefs.h <<_ACEOF
47681 #define HAVE_ISNANF 1
47682 _ACEOF
47683
47684 fi
47685 done
47686
47687   else
47688
47689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47690 $as_echo_n "checking for _isnanf declaration... " >&6; }
47691   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47692     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47693   $as_echo_n "(cached) " >&6
47694 else
47695
47696
47697       ac_ext=cpp
47698 ac_cpp='$CXXCPP $CPPFLAGS'
47699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47702
47703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47704 /* end confdefs.h.  */
47705 #include <math.h>
47706                       #ifdef HAVE_IEEEFP_H
47707                       #include <ieeefp.h>
47708                       #endif
47709
47710 int
47711 main ()
47712 {
47713  _isnanf(0);
47714   ;
47715   return 0;
47716 }
47717 _ACEOF
47718 if ac_fn_cxx_try_compile "$LINENO"; then :
47719   glibcxx_cv_func__isnanf_use=yes
47720 else
47721   glibcxx_cv_func__isnanf_use=no
47722 fi
47723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47724       ac_ext=c
47725 ac_cpp='$CPP $CPPFLAGS'
47726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47729
47730
47731 fi
47732
47733   fi
47734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47735 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47736
47737     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47738       for ac_func in _isnanf
47739 do :
47740   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47741 if test "x$ac_cv_func__isnanf" = x""yes; then :
47742   cat >>confdefs.h <<_ACEOF
47743 #define HAVE__ISNANF 1
47744 _ACEOF
47745
47746 fi
47747 done
47748
47749     fi
47750   fi
47751
47752
47753
47754
47755
47756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47757 $as_echo_n "checking for isinff declaration... " >&6; }
47758   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47759     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47760   $as_echo_n "(cached) " >&6
47761 else
47762
47763
47764       ac_ext=cpp
47765 ac_cpp='$CXXCPP $CPPFLAGS'
47766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47769
47770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47771 /* end confdefs.h.  */
47772 #include <math.h>
47773                       #ifdef HAVE_IEEEFP_H
47774                       #include <ieeefp.h>
47775                       #endif
47776
47777 int
47778 main ()
47779 {
47780  isinff(0);
47781   ;
47782   return 0;
47783 }
47784 _ACEOF
47785 if ac_fn_cxx_try_compile "$LINENO"; then :
47786   glibcxx_cv_func_isinff_use=yes
47787 else
47788   glibcxx_cv_func_isinff_use=no
47789 fi
47790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47791       ac_ext=c
47792 ac_cpp='$CPP $CPPFLAGS'
47793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47796
47797
47798 fi
47799
47800   fi
47801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47802 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47803
47804   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47805     for ac_func in isinff
47806 do :
47807   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47808 if test "x$ac_cv_func_isinff" = x""yes; then :
47809   cat >>confdefs.h <<_ACEOF
47810 #define HAVE_ISINFF 1
47811 _ACEOF
47812
47813 fi
47814 done
47815
47816   else
47817
47818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47819 $as_echo_n "checking for _isinff declaration... " >&6; }
47820   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47821     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47822   $as_echo_n "(cached) " >&6
47823 else
47824
47825
47826       ac_ext=cpp
47827 ac_cpp='$CXXCPP $CPPFLAGS'
47828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47831
47832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47833 /* end confdefs.h.  */
47834 #include <math.h>
47835                       #ifdef HAVE_IEEEFP_H
47836                       #include <ieeefp.h>
47837                       #endif
47838
47839 int
47840 main ()
47841 {
47842  _isinff(0);
47843   ;
47844   return 0;
47845 }
47846 _ACEOF
47847 if ac_fn_cxx_try_compile "$LINENO"; then :
47848   glibcxx_cv_func__isinff_use=yes
47849 else
47850   glibcxx_cv_func__isinff_use=no
47851 fi
47852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47853       ac_ext=c
47854 ac_cpp='$CPP $CPPFLAGS'
47855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47858
47859
47860 fi
47861
47862   fi
47863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47864 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47865
47866     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47867       for ac_func in _isinff
47868 do :
47869   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47870 if test "x$ac_cv_func__isinff" = x""yes; then :
47871   cat >>confdefs.h <<_ACEOF
47872 #define HAVE__ISINFF 1
47873 _ACEOF
47874
47875 fi
47876 done
47877
47878     fi
47879   fi
47880
47881
47882
47883
47884
47885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47886 $as_echo_n "checking for atan2f declaration... " >&6; }
47887   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47888     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47889   $as_echo_n "(cached) " >&6
47890 else
47891
47892
47893       ac_ext=cpp
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47898
47899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47900 /* end confdefs.h.  */
47901 #include <math.h>
47902 int
47903 main ()
47904 {
47905  atan2f(0, 0);
47906   ;
47907   return 0;
47908 }
47909 _ACEOF
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911   glibcxx_cv_func_atan2f_use=yes
47912 else
47913   glibcxx_cv_func_atan2f_use=no
47914 fi
47915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47916       ac_ext=c
47917 ac_cpp='$CPP $CPPFLAGS'
47918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47921
47922
47923 fi
47924
47925   fi
47926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47927 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47928
47929   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47930     for ac_func in atan2f
47931 do :
47932   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47933 if test "x$ac_cv_func_atan2f" = x""yes; then :
47934   cat >>confdefs.h <<_ACEOF
47935 #define HAVE_ATAN2F 1
47936 _ACEOF
47937
47938 fi
47939 done
47940
47941   else
47942
47943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47944 $as_echo_n "checking for _atan2f declaration... " >&6; }
47945   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47946     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47947   $as_echo_n "(cached) " >&6
47948 else
47949
47950
47951       ac_ext=cpp
47952 ac_cpp='$CXXCPP $CPPFLAGS'
47953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47956
47957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47958 /* end confdefs.h.  */
47959 #include <math.h>
47960 int
47961 main ()
47962 {
47963  _atan2f(0, 0);
47964   ;
47965   return 0;
47966 }
47967 _ACEOF
47968 if ac_fn_cxx_try_compile "$LINENO"; then :
47969   glibcxx_cv_func__atan2f_use=yes
47970 else
47971   glibcxx_cv_func__atan2f_use=no
47972 fi
47973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47974       ac_ext=c
47975 ac_cpp='$CPP $CPPFLAGS'
47976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47979
47980
47981 fi
47982
47983   fi
47984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47985 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47986
47987     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47988       for ac_func in _atan2f
47989 do :
47990   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47991 if test "x$ac_cv_func__atan2f" = x""yes; then :
47992   cat >>confdefs.h <<_ACEOF
47993 #define HAVE__ATAN2F 1
47994 _ACEOF
47995
47996 fi
47997 done
47998
47999     fi
48000   fi
48001
48002
48003
48004
48005
48006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48007 $as_echo_n "checking for fabsf declaration... " >&6; }
48008   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48009     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48010   $as_echo_n "(cached) " >&6
48011 else
48012
48013
48014       ac_ext=cpp
48015 ac_cpp='$CXXCPP $CPPFLAGS'
48016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48019
48020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48021 /* end confdefs.h.  */
48022 #include <math.h>
48023                       #ifdef HAVE_IEEEFP_H
48024                       #include <ieeefp.h>
48025                       #endif
48026
48027 int
48028 main ()
48029 {
48030  fabsf(0);
48031   ;
48032   return 0;
48033 }
48034 _ACEOF
48035 if ac_fn_cxx_try_compile "$LINENO"; then :
48036   glibcxx_cv_func_fabsf_use=yes
48037 else
48038   glibcxx_cv_func_fabsf_use=no
48039 fi
48040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48041       ac_ext=c
48042 ac_cpp='$CPP $CPPFLAGS'
48043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48046
48047
48048 fi
48049
48050   fi
48051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48052 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48053
48054   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48055     for ac_func in fabsf
48056 do :
48057   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48058 if test "x$ac_cv_func_fabsf" = x""yes; then :
48059   cat >>confdefs.h <<_ACEOF
48060 #define HAVE_FABSF 1
48061 _ACEOF
48062
48063 fi
48064 done
48065
48066   else
48067
48068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48069 $as_echo_n "checking for _fabsf declaration... " >&6; }
48070   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48071     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48072   $as_echo_n "(cached) " >&6
48073 else
48074
48075
48076       ac_ext=cpp
48077 ac_cpp='$CXXCPP $CPPFLAGS'
48078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48081
48082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48083 /* end confdefs.h.  */
48084 #include <math.h>
48085                       #ifdef HAVE_IEEEFP_H
48086                       #include <ieeefp.h>
48087                       #endif
48088
48089 int
48090 main ()
48091 {
48092  _fabsf(0);
48093   ;
48094   return 0;
48095 }
48096 _ACEOF
48097 if ac_fn_cxx_try_compile "$LINENO"; then :
48098   glibcxx_cv_func__fabsf_use=yes
48099 else
48100   glibcxx_cv_func__fabsf_use=no
48101 fi
48102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48103       ac_ext=c
48104 ac_cpp='$CPP $CPPFLAGS'
48105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48108
48109
48110 fi
48111
48112   fi
48113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48114 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48115
48116     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48117       for ac_func in _fabsf
48118 do :
48119   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48120 if test "x$ac_cv_func__fabsf" = x""yes; then :
48121   cat >>confdefs.h <<_ACEOF
48122 #define HAVE__FABSF 1
48123 _ACEOF
48124
48125 fi
48126 done
48127
48128     fi
48129   fi
48130
48131
48132
48133
48134
48135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48136 $as_echo_n "checking for fmodf declaration... " >&6; }
48137   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48138     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48139   $as_echo_n "(cached) " >&6
48140 else
48141
48142
48143       ac_ext=cpp
48144 ac_cpp='$CXXCPP $CPPFLAGS'
48145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48148
48149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48150 /* end confdefs.h.  */
48151 #include <math.h>
48152 int
48153 main ()
48154 {
48155  fmodf(0, 0);
48156   ;
48157   return 0;
48158 }
48159 _ACEOF
48160 if ac_fn_cxx_try_compile "$LINENO"; then :
48161   glibcxx_cv_func_fmodf_use=yes
48162 else
48163   glibcxx_cv_func_fmodf_use=no
48164 fi
48165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48166       ac_ext=c
48167 ac_cpp='$CPP $CPPFLAGS'
48168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48171
48172
48173 fi
48174
48175   fi
48176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48177 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48178
48179   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48180     for ac_func in fmodf
48181 do :
48182   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48183 if test "x$ac_cv_func_fmodf" = x""yes; then :
48184   cat >>confdefs.h <<_ACEOF
48185 #define HAVE_FMODF 1
48186 _ACEOF
48187
48188 fi
48189 done
48190
48191   else
48192
48193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48194 $as_echo_n "checking for _fmodf declaration... " >&6; }
48195   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48196     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48197   $as_echo_n "(cached) " >&6
48198 else
48199
48200
48201       ac_ext=cpp
48202 ac_cpp='$CXXCPP $CPPFLAGS'
48203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48206
48207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48208 /* end confdefs.h.  */
48209 #include <math.h>
48210 int
48211 main ()
48212 {
48213  _fmodf(0, 0);
48214   ;
48215   return 0;
48216 }
48217 _ACEOF
48218 if ac_fn_cxx_try_compile "$LINENO"; then :
48219   glibcxx_cv_func__fmodf_use=yes
48220 else
48221   glibcxx_cv_func__fmodf_use=no
48222 fi
48223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48224       ac_ext=c
48225 ac_cpp='$CPP $CPPFLAGS'
48226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48229
48230
48231 fi
48232
48233   fi
48234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48235 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48236
48237     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48238       for ac_func in _fmodf
48239 do :
48240   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48241 if test "x$ac_cv_func__fmodf" = x""yes; then :
48242   cat >>confdefs.h <<_ACEOF
48243 #define HAVE__FMODF 1
48244 _ACEOF
48245
48246 fi
48247 done
48248
48249     fi
48250   fi
48251
48252
48253
48254
48255
48256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48257 $as_echo_n "checking for frexpf declaration... " >&6; }
48258   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48259     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48260   $as_echo_n "(cached) " >&6
48261 else
48262
48263
48264       ac_ext=cpp
48265 ac_cpp='$CXXCPP $CPPFLAGS'
48266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48269
48270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48271 /* end confdefs.h.  */
48272 #include <math.h>
48273 int
48274 main ()
48275 {
48276  frexpf(0, 0);
48277   ;
48278   return 0;
48279 }
48280 _ACEOF
48281 if ac_fn_cxx_try_compile "$LINENO"; then :
48282   glibcxx_cv_func_frexpf_use=yes
48283 else
48284   glibcxx_cv_func_frexpf_use=no
48285 fi
48286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48287       ac_ext=c
48288 ac_cpp='$CPP $CPPFLAGS'
48289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48292
48293
48294 fi
48295
48296   fi
48297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48298 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48299
48300   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48301     for ac_func in frexpf
48302 do :
48303   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48304 if test "x$ac_cv_func_frexpf" = x""yes; then :
48305   cat >>confdefs.h <<_ACEOF
48306 #define HAVE_FREXPF 1
48307 _ACEOF
48308
48309 fi
48310 done
48311
48312   else
48313
48314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48315 $as_echo_n "checking for _frexpf declaration... " >&6; }
48316   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48317     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48318   $as_echo_n "(cached) " >&6
48319 else
48320
48321
48322       ac_ext=cpp
48323 ac_cpp='$CXXCPP $CPPFLAGS'
48324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48327
48328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48329 /* end confdefs.h.  */
48330 #include <math.h>
48331 int
48332 main ()
48333 {
48334  _frexpf(0, 0);
48335   ;
48336   return 0;
48337 }
48338 _ACEOF
48339 if ac_fn_cxx_try_compile "$LINENO"; then :
48340   glibcxx_cv_func__frexpf_use=yes
48341 else
48342   glibcxx_cv_func__frexpf_use=no
48343 fi
48344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48345       ac_ext=c
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48350
48351
48352 fi
48353
48354   fi
48355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48356 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48357
48358     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48359       for ac_func in _frexpf
48360 do :
48361   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48362 if test "x$ac_cv_func__frexpf" = x""yes; then :
48363   cat >>confdefs.h <<_ACEOF
48364 #define HAVE__FREXPF 1
48365 _ACEOF
48366
48367 fi
48368 done
48369
48370     fi
48371   fi
48372
48373
48374
48375
48376
48377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48378 $as_echo_n "checking for hypotf declaration... " >&6; }
48379   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48380     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48381   $as_echo_n "(cached) " >&6
48382 else
48383
48384
48385       ac_ext=cpp
48386 ac_cpp='$CXXCPP $CPPFLAGS'
48387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48390
48391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48392 /* end confdefs.h.  */
48393 #include <math.h>
48394 int
48395 main ()
48396 {
48397  hypotf(0, 0);
48398   ;
48399   return 0;
48400 }
48401 _ACEOF
48402 if ac_fn_cxx_try_compile "$LINENO"; then :
48403   glibcxx_cv_func_hypotf_use=yes
48404 else
48405   glibcxx_cv_func_hypotf_use=no
48406 fi
48407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48408       ac_ext=c
48409 ac_cpp='$CPP $CPPFLAGS'
48410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48413
48414
48415 fi
48416
48417   fi
48418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48419 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48420
48421   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48422     for ac_func in hypotf
48423 do :
48424   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48425 if test "x$ac_cv_func_hypotf" = x""yes; then :
48426   cat >>confdefs.h <<_ACEOF
48427 #define HAVE_HYPOTF 1
48428 _ACEOF
48429
48430 fi
48431 done
48432
48433   else
48434
48435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48436 $as_echo_n "checking for _hypotf declaration... " >&6; }
48437   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48438     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48439   $as_echo_n "(cached) " >&6
48440 else
48441
48442
48443       ac_ext=cpp
48444 ac_cpp='$CXXCPP $CPPFLAGS'
48445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48448
48449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48450 /* end confdefs.h.  */
48451 #include <math.h>
48452 int
48453 main ()
48454 {
48455  _hypotf(0, 0);
48456   ;
48457   return 0;
48458 }
48459 _ACEOF
48460 if ac_fn_cxx_try_compile "$LINENO"; then :
48461   glibcxx_cv_func__hypotf_use=yes
48462 else
48463   glibcxx_cv_func__hypotf_use=no
48464 fi
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48466       ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48471
48472
48473 fi
48474
48475   fi
48476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48477 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48478
48479     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48480       for ac_func in _hypotf
48481 do :
48482   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48483 if test "x$ac_cv_func__hypotf" = x""yes; then :
48484   cat >>confdefs.h <<_ACEOF
48485 #define HAVE__HYPOTF 1
48486 _ACEOF
48487
48488 fi
48489 done
48490
48491     fi
48492   fi
48493
48494
48495
48496
48497
48498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48499 $as_echo_n "checking for ldexpf declaration... " >&6; }
48500   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48501     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48502   $as_echo_n "(cached) " >&6
48503 else
48504
48505
48506       ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48511
48512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h.  */
48514 #include <math.h>
48515 int
48516 main ()
48517 {
48518  ldexpf(0, 0);
48519   ;
48520   return 0;
48521 }
48522 _ACEOF
48523 if ac_fn_cxx_try_compile "$LINENO"; then :
48524   glibcxx_cv_func_ldexpf_use=yes
48525 else
48526   glibcxx_cv_func_ldexpf_use=no
48527 fi
48528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48529       ac_ext=c
48530 ac_cpp='$CPP $CPPFLAGS'
48531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48534
48535
48536 fi
48537
48538   fi
48539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48540 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48541
48542   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48543     for ac_func in ldexpf
48544 do :
48545   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48546 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48547   cat >>confdefs.h <<_ACEOF
48548 #define HAVE_LDEXPF 1
48549 _ACEOF
48550
48551 fi
48552 done
48553
48554   else
48555
48556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48557 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48558   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48559     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48560   $as_echo_n "(cached) " >&6
48561 else
48562
48563
48564       ac_ext=cpp
48565 ac_cpp='$CXXCPP $CPPFLAGS'
48566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48569
48570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48571 /* end confdefs.h.  */
48572 #include <math.h>
48573 int
48574 main ()
48575 {
48576  _ldexpf(0, 0);
48577   ;
48578   return 0;
48579 }
48580 _ACEOF
48581 if ac_fn_cxx_try_compile "$LINENO"; then :
48582   glibcxx_cv_func__ldexpf_use=yes
48583 else
48584   glibcxx_cv_func__ldexpf_use=no
48585 fi
48586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48587       ac_ext=c
48588 ac_cpp='$CPP $CPPFLAGS'
48589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48592
48593
48594 fi
48595
48596   fi
48597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48598 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48599
48600     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48601       for ac_func in _ldexpf
48602 do :
48603   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48604 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48605   cat >>confdefs.h <<_ACEOF
48606 #define HAVE__LDEXPF 1
48607 _ACEOF
48608
48609 fi
48610 done
48611
48612     fi
48613   fi
48614
48615
48616
48617
48618
48619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48620 $as_echo_n "checking for logf declaration... " >&6; }
48621   if test x${glibcxx_cv_func_logf_use+set} != xset; then
48622     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48623   $as_echo_n "(cached) " >&6
48624 else
48625
48626
48627       ac_ext=cpp
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48632
48633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48634 /* end confdefs.h.  */
48635 #include <math.h>
48636                       #ifdef HAVE_IEEEFP_H
48637                       #include <ieeefp.h>
48638                       #endif
48639
48640 int
48641 main ()
48642 {
48643  logf(0);
48644   ;
48645   return 0;
48646 }
48647 _ACEOF
48648 if ac_fn_cxx_try_compile "$LINENO"; then :
48649   glibcxx_cv_func_logf_use=yes
48650 else
48651   glibcxx_cv_func_logf_use=no
48652 fi
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654       ac_ext=c
48655 ac_cpp='$CPP $CPPFLAGS'
48656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48659
48660
48661 fi
48662
48663   fi
48664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48665 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48666
48667   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48668     for ac_func in logf
48669 do :
48670   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48671 if test "x$ac_cv_func_logf" = x""yes; then :
48672   cat >>confdefs.h <<_ACEOF
48673 #define HAVE_LOGF 1
48674 _ACEOF
48675
48676 fi
48677 done
48678
48679   else
48680
48681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48682 $as_echo_n "checking for _logf declaration... " >&6; }
48683   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48684     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48685   $as_echo_n "(cached) " >&6
48686 else
48687
48688
48689       ac_ext=cpp
48690 ac_cpp='$CXXCPP $CPPFLAGS'
48691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48694
48695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48696 /* end confdefs.h.  */
48697 #include <math.h>
48698                       #ifdef HAVE_IEEEFP_H
48699                       #include <ieeefp.h>
48700                       #endif
48701
48702 int
48703 main ()
48704 {
48705  _logf(0);
48706   ;
48707   return 0;
48708 }
48709 _ACEOF
48710 if ac_fn_cxx_try_compile "$LINENO"; then :
48711   glibcxx_cv_func__logf_use=yes
48712 else
48713   glibcxx_cv_func__logf_use=no
48714 fi
48715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48716       ac_ext=c
48717 ac_cpp='$CPP $CPPFLAGS'
48718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48721
48722
48723 fi
48724
48725   fi
48726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48727 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48728
48729     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48730       for ac_func in _logf
48731 do :
48732   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48733 if test "x$ac_cv_func__logf" = x""yes; then :
48734   cat >>confdefs.h <<_ACEOF
48735 #define HAVE__LOGF 1
48736 _ACEOF
48737
48738 fi
48739 done
48740
48741     fi
48742   fi
48743
48744
48745
48746
48747
48748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48749 $as_echo_n "checking for log10f declaration... " >&6; }
48750   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48751     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48752   $as_echo_n "(cached) " >&6
48753 else
48754
48755
48756       ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761
48762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h.  */
48764 #include <math.h>
48765                       #ifdef HAVE_IEEEFP_H
48766                       #include <ieeefp.h>
48767                       #endif
48768
48769 int
48770 main ()
48771 {
48772  log10f(0);
48773   ;
48774   return 0;
48775 }
48776 _ACEOF
48777 if ac_fn_cxx_try_compile "$LINENO"; then :
48778   glibcxx_cv_func_log10f_use=yes
48779 else
48780   glibcxx_cv_func_log10f_use=no
48781 fi
48782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48783       ac_ext=c
48784 ac_cpp='$CPP $CPPFLAGS'
48785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48788
48789
48790 fi
48791
48792   fi
48793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48794 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48795
48796   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48797     for ac_func in log10f
48798 do :
48799   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48800 if test "x$ac_cv_func_log10f" = x""yes; then :
48801   cat >>confdefs.h <<_ACEOF
48802 #define HAVE_LOG10F 1
48803 _ACEOF
48804
48805 fi
48806 done
48807
48808   else
48809
48810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48811 $as_echo_n "checking for _log10f declaration... " >&6; }
48812   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48813     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48814   $as_echo_n "(cached) " >&6
48815 else
48816
48817
48818       ac_ext=cpp
48819 ac_cpp='$CXXCPP $CPPFLAGS'
48820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48823
48824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48825 /* end confdefs.h.  */
48826 #include <math.h>
48827                       #ifdef HAVE_IEEEFP_H
48828                       #include <ieeefp.h>
48829                       #endif
48830
48831 int
48832 main ()
48833 {
48834  _log10f(0);
48835   ;
48836   return 0;
48837 }
48838 _ACEOF
48839 if ac_fn_cxx_try_compile "$LINENO"; then :
48840   glibcxx_cv_func__log10f_use=yes
48841 else
48842   glibcxx_cv_func__log10f_use=no
48843 fi
48844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48845       ac_ext=c
48846 ac_cpp='$CPP $CPPFLAGS'
48847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48850
48851
48852 fi
48853
48854   fi
48855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48856 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48857
48858     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48859       for ac_func in _log10f
48860 do :
48861   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48862 if test "x$ac_cv_func__log10f" = x""yes; then :
48863   cat >>confdefs.h <<_ACEOF
48864 #define HAVE__LOG10F 1
48865 _ACEOF
48866
48867 fi
48868 done
48869
48870     fi
48871   fi
48872
48873
48874
48875
48876
48877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48878 $as_echo_n "checking for modff declaration... " >&6; }
48879   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48880     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48881   $as_echo_n "(cached) " >&6
48882 else
48883
48884
48885       ac_ext=cpp
48886 ac_cpp='$CXXCPP $CPPFLAGS'
48887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48890
48891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48892 /* end confdefs.h.  */
48893 #include <math.h>
48894 int
48895 main ()
48896 {
48897  modff(0, 0);
48898   ;
48899   return 0;
48900 }
48901 _ACEOF
48902 if ac_fn_cxx_try_compile "$LINENO"; then :
48903   glibcxx_cv_func_modff_use=yes
48904 else
48905   glibcxx_cv_func_modff_use=no
48906 fi
48907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48908       ac_ext=c
48909 ac_cpp='$CPP $CPPFLAGS'
48910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48913
48914
48915 fi
48916
48917   fi
48918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48919 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48920
48921   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48922     for ac_func in modff
48923 do :
48924   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48925 if test "x$ac_cv_func_modff" = x""yes; then :
48926   cat >>confdefs.h <<_ACEOF
48927 #define HAVE_MODFF 1
48928 _ACEOF
48929
48930 fi
48931 done
48932
48933   else
48934
48935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48936 $as_echo_n "checking for _modff declaration... " >&6; }
48937   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48938     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48939   $as_echo_n "(cached) " >&6
48940 else
48941
48942
48943       ac_ext=cpp
48944 ac_cpp='$CXXCPP $CPPFLAGS'
48945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48948
48949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48950 /* end confdefs.h.  */
48951 #include <math.h>
48952 int
48953 main ()
48954 {
48955  _modff(0, 0);
48956   ;
48957   return 0;
48958 }
48959 _ACEOF
48960 if ac_fn_cxx_try_compile "$LINENO"; then :
48961   glibcxx_cv_func__modff_use=yes
48962 else
48963   glibcxx_cv_func__modff_use=no
48964 fi
48965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48966       ac_ext=c
48967 ac_cpp='$CPP $CPPFLAGS'
48968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48971
48972
48973 fi
48974
48975   fi
48976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48977 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48978
48979     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48980       for ac_func in _modff
48981 do :
48982   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48983 if test "x$ac_cv_func__modff" = x""yes; then :
48984   cat >>confdefs.h <<_ACEOF
48985 #define HAVE__MODFF 1
48986 _ACEOF
48987
48988 fi
48989 done
48990
48991     fi
48992   fi
48993
48994
48995
48996
48997
48998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48999 $as_echo_n "checking for modf declaration... " >&6; }
49000   if test x${glibcxx_cv_func_modf_use+set} != xset; then
49001     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49002   $as_echo_n "(cached) " >&6
49003 else
49004
49005
49006       ac_ext=cpp
49007 ac_cpp='$CXXCPP $CPPFLAGS'
49008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49011
49012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49013 /* end confdefs.h.  */
49014 #include <math.h>
49015 int
49016 main ()
49017 {
49018  modf(0, 0);
49019   ;
49020   return 0;
49021 }
49022 _ACEOF
49023 if ac_fn_cxx_try_compile "$LINENO"; then :
49024   glibcxx_cv_func_modf_use=yes
49025 else
49026   glibcxx_cv_func_modf_use=no
49027 fi
49028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49029       ac_ext=c
49030 ac_cpp='$CPP $CPPFLAGS'
49031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49034
49035
49036 fi
49037
49038   fi
49039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49040 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49041
49042   if test x$glibcxx_cv_func_modf_use = x"yes"; then
49043     for ac_func in modf
49044 do :
49045   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49046 if test "x$ac_cv_func_modf" = x""yes; then :
49047   cat >>confdefs.h <<_ACEOF
49048 #define HAVE_MODF 1
49049 _ACEOF
49050
49051 fi
49052 done
49053
49054   else
49055
49056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49057 $as_echo_n "checking for _modf declaration... " >&6; }
49058   if test x${glibcxx_cv_func__modf_use+set} != xset; then
49059     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49060   $as_echo_n "(cached) " >&6
49061 else
49062
49063
49064       ac_ext=cpp
49065 ac_cpp='$CXXCPP $CPPFLAGS'
49066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49069
49070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49071 /* end confdefs.h.  */
49072 #include <math.h>
49073 int
49074 main ()
49075 {
49076  _modf(0, 0);
49077   ;
49078   return 0;
49079 }
49080 _ACEOF
49081 if ac_fn_cxx_try_compile "$LINENO"; then :
49082   glibcxx_cv_func__modf_use=yes
49083 else
49084   glibcxx_cv_func__modf_use=no
49085 fi
49086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49087       ac_ext=c
49088 ac_cpp='$CPP $CPPFLAGS'
49089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49092
49093
49094 fi
49095
49096   fi
49097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49098 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49099
49100     if test x$glibcxx_cv_func__modf_use = x"yes"; then
49101       for ac_func in _modf
49102 do :
49103   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49104 if test "x$ac_cv_func__modf" = x""yes; then :
49105   cat >>confdefs.h <<_ACEOF
49106 #define HAVE__MODF 1
49107 _ACEOF
49108
49109 fi
49110 done
49111
49112     fi
49113   fi
49114
49115
49116
49117
49118
49119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49120 $as_echo_n "checking for powf declaration... " >&6; }
49121   if test x${glibcxx_cv_func_powf_use+set} != xset; then
49122     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49123   $as_echo_n "(cached) " >&6
49124 else
49125
49126
49127       ac_ext=cpp
49128 ac_cpp='$CXXCPP $CPPFLAGS'
49129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49132
49133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49134 /* end confdefs.h.  */
49135 #include <math.h>
49136 int
49137 main ()
49138 {
49139  powf(0, 0);
49140   ;
49141   return 0;
49142 }
49143 _ACEOF
49144 if ac_fn_cxx_try_compile "$LINENO"; then :
49145   glibcxx_cv_func_powf_use=yes
49146 else
49147   glibcxx_cv_func_powf_use=no
49148 fi
49149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49150       ac_ext=c
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49155
49156
49157 fi
49158
49159   fi
49160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49161 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49162
49163   if test x$glibcxx_cv_func_powf_use = x"yes"; then
49164     for ac_func in powf
49165 do :
49166   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49167 if test "x$ac_cv_func_powf" = x""yes; then :
49168   cat >>confdefs.h <<_ACEOF
49169 #define HAVE_POWF 1
49170 _ACEOF
49171
49172 fi
49173 done
49174
49175   else
49176
49177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49178 $as_echo_n "checking for _powf declaration... " >&6; }
49179   if test x${glibcxx_cv_func__powf_use+set} != xset; then
49180     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49181   $as_echo_n "(cached) " >&6
49182 else
49183
49184
49185       ac_ext=cpp
49186 ac_cpp='$CXXCPP $CPPFLAGS'
49187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49190
49191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49192 /* end confdefs.h.  */
49193 #include <math.h>
49194 int
49195 main ()
49196 {
49197  _powf(0, 0);
49198   ;
49199   return 0;
49200 }
49201 _ACEOF
49202 if ac_fn_cxx_try_compile "$LINENO"; then :
49203   glibcxx_cv_func__powf_use=yes
49204 else
49205   glibcxx_cv_func__powf_use=no
49206 fi
49207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49208       ac_ext=c
49209 ac_cpp='$CPP $CPPFLAGS'
49210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49213
49214
49215 fi
49216
49217   fi
49218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49219 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49220
49221     if test x$glibcxx_cv_func__powf_use = x"yes"; then
49222       for ac_func in _powf
49223 do :
49224   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49225 if test "x$ac_cv_func__powf" = x""yes; then :
49226   cat >>confdefs.h <<_ACEOF
49227 #define HAVE__POWF 1
49228 _ACEOF
49229
49230 fi
49231 done
49232
49233     fi
49234   fi
49235
49236
49237
49238
49239
49240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49241 $as_echo_n "checking for sqrtf declaration... " >&6; }
49242   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49243     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49244   $as_echo_n "(cached) " >&6
49245 else
49246
49247
49248       ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49253
49254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h.  */
49256 #include <math.h>
49257                       #ifdef HAVE_IEEEFP_H
49258                       #include <ieeefp.h>
49259                       #endif
49260
49261 int
49262 main ()
49263 {
49264  sqrtf(0);
49265   ;
49266   return 0;
49267 }
49268 _ACEOF
49269 if ac_fn_cxx_try_compile "$LINENO"; then :
49270   glibcxx_cv_func_sqrtf_use=yes
49271 else
49272   glibcxx_cv_func_sqrtf_use=no
49273 fi
49274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49275       ac_ext=c
49276 ac_cpp='$CPP $CPPFLAGS'
49277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49280
49281
49282 fi
49283
49284   fi
49285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49286 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49287
49288   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49289     for ac_func in sqrtf
49290 do :
49291   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49292 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49293   cat >>confdefs.h <<_ACEOF
49294 #define HAVE_SQRTF 1
49295 _ACEOF
49296
49297 fi
49298 done
49299
49300   else
49301
49302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49303 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49304   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49305     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49306   $as_echo_n "(cached) " >&6
49307 else
49308
49309
49310       ac_ext=cpp
49311 ac_cpp='$CXXCPP $CPPFLAGS'
49312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49315
49316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49317 /* end confdefs.h.  */
49318 #include <math.h>
49319                       #ifdef HAVE_IEEEFP_H
49320                       #include <ieeefp.h>
49321                       #endif
49322
49323 int
49324 main ()
49325 {
49326  _sqrtf(0);
49327   ;
49328   return 0;
49329 }
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332   glibcxx_cv_func__sqrtf_use=yes
49333 else
49334   glibcxx_cv_func__sqrtf_use=no
49335 fi
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337       ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49342
49343
49344 fi
49345
49346   fi
49347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49348 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49349
49350     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49351       for ac_func in _sqrtf
49352 do :
49353   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49354 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49355   cat >>confdefs.h <<_ACEOF
49356 #define HAVE__SQRTF 1
49357 _ACEOF
49358
49359 fi
49360 done
49361
49362     fi
49363   fi
49364
49365
49366
49367
49368
49369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49370 $as_echo_n "checking for sincosf declaration... " >&6; }
49371   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49372     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49373   $as_echo_n "(cached) " >&6
49374 else
49375
49376
49377       ac_ext=cpp
49378 ac_cpp='$CXXCPP $CPPFLAGS'
49379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49382
49383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49384 /* end confdefs.h.  */
49385 #include <math.h>
49386 int
49387 main ()
49388 {
49389  sincosf(0, 0, 0);
49390   ;
49391   return 0;
49392 }
49393 _ACEOF
49394 if ac_fn_cxx_try_compile "$LINENO"; then :
49395   glibcxx_cv_func_sincosf_use=yes
49396 else
49397   glibcxx_cv_func_sincosf_use=no
49398 fi
49399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49400       ac_ext=c
49401 ac_cpp='$CPP $CPPFLAGS'
49402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49405
49406
49407 fi
49408
49409   fi
49410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49411 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49412
49413   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49414     for ac_func in sincosf
49415 do :
49416   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49417 if test "x$ac_cv_func_sincosf" = x""yes; then :
49418   cat >>confdefs.h <<_ACEOF
49419 #define HAVE_SINCOSF 1
49420 _ACEOF
49421
49422 fi
49423 done
49424
49425   else
49426
49427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49428 $as_echo_n "checking for _sincosf declaration... " >&6; }
49429   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49430     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49431   $as_echo_n "(cached) " >&6
49432 else
49433
49434
49435       ac_ext=cpp
49436 ac_cpp='$CXXCPP $CPPFLAGS'
49437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49440
49441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49442 /* end confdefs.h.  */
49443 #include <math.h>
49444 int
49445 main ()
49446 {
49447  _sincosf(0, 0, 0);
49448   ;
49449   return 0;
49450 }
49451 _ACEOF
49452 if ac_fn_cxx_try_compile "$LINENO"; then :
49453   glibcxx_cv_func__sincosf_use=yes
49454 else
49455   glibcxx_cv_func__sincosf_use=no
49456 fi
49457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49458       ac_ext=c
49459 ac_cpp='$CPP $CPPFLAGS'
49460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49463
49464
49465 fi
49466
49467   fi
49468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49469 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49470
49471     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49472       for ac_func in _sincosf
49473 do :
49474   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49475 if test "x$ac_cv_func__sincosf" = x""yes; then :
49476   cat >>confdefs.h <<_ACEOF
49477 #define HAVE__SINCOSF 1
49478 _ACEOF
49479
49480 fi
49481 done
49482
49483     fi
49484   fi
49485
49486
49487
49488
49489
49490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49491 $as_echo_n "checking for finitef declaration... " >&6; }
49492   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49493     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49494   $as_echo_n "(cached) " >&6
49495 else
49496
49497
49498       ac_ext=cpp
49499 ac_cpp='$CXXCPP $CPPFLAGS'
49500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49503
49504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49505 /* end confdefs.h.  */
49506 #include <math.h>
49507                       #ifdef HAVE_IEEEFP_H
49508                       #include <ieeefp.h>
49509                       #endif
49510
49511 int
49512 main ()
49513 {
49514  finitef(0);
49515   ;
49516   return 0;
49517 }
49518 _ACEOF
49519 if ac_fn_cxx_try_compile "$LINENO"; then :
49520   glibcxx_cv_func_finitef_use=yes
49521 else
49522   glibcxx_cv_func_finitef_use=no
49523 fi
49524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49525       ac_ext=c
49526 ac_cpp='$CPP $CPPFLAGS'
49527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49530
49531
49532 fi
49533
49534   fi
49535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49536 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49537
49538   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49539     for ac_func in finitef
49540 do :
49541   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49542 if test "x$ac_cv_func_finitef" = x""yes; then :
49543   cat >>confdefs.h <<_ACEOF
49544 #define HAVE_FINITEF 1
49545 _ACEOF
49546
49547 fi
49548 done
49549
49550   else
49551
49552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49553 $as_echo_n "checking for _finitef declaration... " >&6; }
49554   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49555     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49556   $as_echo_n "(cached) " >&6
49557 else
49558
49559
49560       ac_ext=cpp
49561 ac_cpp='$CXXCPP $CPPFLAGS'
49562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49565
49566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49567 /* end confdefs.h.  */
49568 #include <math.h>
49569                       #ifdef HAVE_IEEEFP_H
49570                       #include <ieeefp.h>
49571                       #endif
49572
49573 int
49574 main ()
49575 {
49576  _finitef(0);
49577   ;
49578   return 0;
49579 }
49580 _ACEOF
49581 if ac_fn_cxx_try_compile "$LINENO"; then :
49582   glibcxx_cv_func__finitef_use=yes
49583 else
49584   glibcxx_cv_func__finitef_use=no
49585 fi
49586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49587       ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49592
49593
49594 fi
49595
49596   fi
49597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49598 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49599
49600     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49601       for ac_func in _finitef
49602 do :
49603   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49604 if test "x$ac_cv_func__finitef" = x""yes; then :
49605   cat >>confdefs.h <<_ACEOF
49606 #define HAVE__FINITEF 1
49607 _ACEOF
49608
49609 fi
49610 done
49611
49612     fi
49613   fi
49614
49615
49616
49617
49618
49619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49620 $as_echo_n "checking for long double trig functions... " >&6; }
49621   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49622   $as_echo_n "(cached) " >&6
49623 else
49624
49625
49626     ac_ext=cpp
49627 ac_cpp='$CXXCPP $CPPFLAGS'
49628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49631
49632     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49633 /* end confdefs.h.  */
49634 #include <math.h>
49635 int
49636 main ()
49637 {
49638 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49639   ;
49640   return 0;
49641 }
49642 _ACEOF
49643 if ac_fn_cxx_try_compile "$LINENO"; then :
49644   glibcxx_cv_func_long_double_trig_use=yes
49645 else
49646   glibcxx_cv_func_long_double_trig_use=no
49647 fi
49648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49649     ac_ext=c
49650 ac_cpp='$CPP $CPPFLAGS'
49651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49654
49655 fi
49656
49657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49658 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49659   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49660     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49661 do :
49662   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49664 eval as_val=\$$as_ac_var
49665    if test "x$as_val" = x""yes; then :
49666   cat >>confdefs.h <<_ACEOF
49667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49668 _ACEOF
49669
49670 fi
49671 done
49672
49673   else
49674     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49675 $as_echo_n "checking for _long double trig functions... " >&6; }
49676     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49677   $as_echo_n "(cached) " >&6
49678 else
49679
49680
49681       ac_ext=cpp
49682 ac_cpp='$CXXCPP $CPPFLAGS'
49683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49686
49687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49688 /* end confdefs.h.  */
49689 #include <math.h>
49690 int
49691 main ()
49692 {
49693 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49694   ;
49695   return 0;
49696 }
49697 _ACEOF
49698 if ac_fn_cxx_try_compile "$LINENO"; then :
49699   glibcxx_cv_func__long_double_trig_use=yes
49700 else
49701   glibcxx_cv_func__long_double_trig_use=no
49702 fi
49703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49704       ac_ext=c
49705 ac_cpp='$CPP $CPPFLAGS'
49706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49709
49710 fi
49711
49712     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49713 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49714     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49715       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49716 do :
49717   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49719 eval as_val=\$$as_ac_var
49720    if test "x$as_val" = x""yes; then :
49721   cat >>confdefs.h <<_ACEOF
49722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49723 _ACEOF
49724
49725 fi
49726 done
49727
49728     fi
49729   fi
49730
49731
49732
49733
49734
49735     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49736 $as_echo_n "checking for long double round functions... " >&6; }
49737   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49738   $as_echo_n "(cached) " >&6
49739 else
49740
49741
49742     ac_ext=cpp
49743 ac_cpp='$CXXCPP $CPPFLAGS'
49744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49747
49748     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49749 /* end confdefs.h.  */
49750 #include <math.h>
49751 int
49752 main ()
49753 {
49754 ceill (0); floorl (0);
49755   ;
49756   return 0;
49757 }
49758 _ACEOF
49759 if ac_fn_cxx_try_compile "$LINENO"; then :
49760   glibcxx_cv_func_long_double_round_use=yes
49761 else
49762   glibcxx_cv_func_long_double_round_use=no
49763 fi
49764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49765     ac_ext=c
49766 ac_cpp='$CPP $CPPFLAGS'
49767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49770
49771 fi
49772
49773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49774 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49775   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49776     for ac_func in ceill floorl
49777 do :
49778   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49780 eval as_val=\$$as_ac_var
49781    if test "x$as_val" = x""yes; then :
49782   cat >>confdefs.h <<_ACEOF
49783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49784 _ACEOF
49785
49786 fi
49787 done
49788
49789   else
49790     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49791 $as_echo_n "checking for _long double round functions... " >&6; }
49792     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49793   $as_echo_n "(cached) " >&6
49794 else
49795
49796
49797       ac_ext=cpp
49798 ac_cpp='$CXXCPP $CPPFLAGS'
49799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49802
49803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49804 /* end confdefs.h.  */
49805 #include <math.h>
49806 int
49807 main ()
49808 {
49809 _ceill (0); _floorl (0);
49810   ;
49811   return 0;
49812 }
49813 _ACEOF
49814 if ac_fn_cxx_try_compile "$LINENO"; then :
49815   glibcxx_cv_func__long_double_round_use=yes
49816 else
49817   glibcxx_cv_func__long_double_round_use=no
49818 fi
49819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49820       ac_ext=c
49821 ac_cpp='$CPP $CPPFLAGS'
49822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49825
49826 fi
49827
49828     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49829 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49830     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49831       for ac_func in _ceill _floorl
49832 do :
49833   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49835 eval as_val=\$$as_ac_var
49836    if test "x$as_val" = x""yes; then :
49837   cat >>confdefs.h <<_ACEOF
49838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49839 _ACEOF
49840
49841 fi
49842 done
49843
49844     fi
49845   fi
49846
49847
49848
49849
49850
49851
49852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49853 $as_echo_n "checking for isnanl declaration... " >&6; }
49854   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49855     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49856   $as_echo_n "(cached) " >&6
49857 else
49858
49859
49860       ac_ext=cpp
49861 ac_cpp='$CXXCPP $CPPFLAGS'
49862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49865
49866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49867 /* end confdefs.h.  */
49868 #include <math.h>
49869                       #ifdef HAVE_IEEEFP_H
49870                       #include <ieeefp.h>
49871                       #endif
49872
49873 int
49874 main ()
49875 {
49876  isnanl(0);
49877   ;
49878   return 0;
49879 }
49880 _ACEOF
49881 if ac_fn_cxx_try_compile "$LINENO"; then :
49882   glibcxx_cv_func_isnanl_use=yes
49883 else
49884   glibcxx_cv_func_isnanl_use=no
49885 fi
49886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49887       ac_ext=c
49888 ac_cpp='$CPP $CPPFLAGS'
49889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49892
49893
49894 fi
49895
49896   fi
49897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49898 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49899
49900   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49901     for ac_func in isnanl
49902 do :
49903   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49904 if test "x$ac_cv_func_isnanl" = x""yes; then :
49905   cat >>confdefs.h <<_ACEOF
49906 #define HAVE_ISNANL 1
49907 _ACEOF
49908
49909 fi
49910 done
49911
49912   else
49913
49914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49915 $as_echo_n "checking for _isnanl declaration... " >&6; }
49916   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49917     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49918   $as_echo_n "(cached) " >&6
49919 else
49920
49921
49922       ac_ext=cpp
49923 ac_cpp='$CXXCPP $CPPFLAGS'
49924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49927
49928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49929 /* end confdefs.h.  */
49930 #include <math.h>
49931                       #ifdef HAVE_IEEEFP_H
49932                       #include <ieeefp.h>
49933                       #endif
49934
49935 int
49936 main ()
49937 {
49938  _isnanl(0);
49939   ;
49940   return 0;
49941 }
49942 _ACEOF
49943 if ac_fn_cxx_try_compile "$LINENO"; then :
49944   glibcxx_cv_func__isnanl_use=yes
49945 else
49946   glibcxx_cv_func__isnanl_use=no
49947 fi
49948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49949       ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49954
49955
49956 fi
49957
49958   fi
49959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49960 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49961
49962     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49963       for ac_func in _isnanl
49964 do :
49965   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49966 if test "x$ac_cv_func__isnanl" = x""yes; then :
49967   cat >>confdefs.h <<_ACEOF
49968 #define HAVE__ISNANL 1
49969 _ACEOF
49970
49971 fi
49972 done
49973
49974     fi
49975   fi
49976
49977
49978
49979
49980
49981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49982 $as_echo_n "checking for isinfl declaration... " >&6; }
49983   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49984     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49985   $as_echo_n "(cached) " >&6
49986 else
49987
49988
49989       ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49994
49995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h.  */
49997 #include <math.h>
49998                       #ifdef HAVE_IEEEFP_H
49999                       #include <ieeefp.h>
50000                       #endif
50001
50002 int
50003 main ()
50004 {
50005  isinfl(0);
50006   ;
50007   return 0;
50008 }
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011   glibcxx_cv_func_isinfl_use=yes
50012 else
50013   glibcxx_cv_func_isinfl_use=no
50014 fi
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016       ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50021
50022
50023 fi
50024
50025   fi
50026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50027 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50028
50029   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50030     for ac_func in isinfl
50031 do :
50032   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50033 if test "x$ac_cv_func_isinfl" = x""yes; then :
50034   cat >>confdefs.h <<_ACEOF
50035 #define HAVE_ISINFL 1
50036 _ACEOF
50037
50038 fi
50039 done
50040
50041   else
50042
50043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50044 $as_echo_n "checking for _isinfl declaration... " >&6; }
50045   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50046     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50047   $as_echo_n "(cached) " >&6
50048 else
50049
50050
50051       ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50056
50057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h.  */
50059 #include <math.h>
50060                       #ifdef HAVE_IEEEFP_H
50061                       #include <ieeefp.h>
50062                       #endif
50063
50064 int
50065 main ()
50066 {
50067  _isinfl(0);
50068   ;
50069   return 0;
50070 }
50071 _ACEOF
50072 if ac_fn_cxx_try_compile "$LINENO"; then :
50073   glibcxx_cv_func__isinfl_use=yes
50074 else
50075   glibcxx_cv_func__isinfl_use=no
50076 fi
50077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50078       ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50083
50084
50085 fi
50086
50087   fi
50088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50089 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50090
50091     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50092       for ac_func in _isinfl
50093 do :
50094   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50095 if test "x$ac_cv_func__isinfl" = x""yes; then :
50096   cat >>confdefs.h <<_ACEOF
50097 #define HAVE__ISINFL 1
50098 _ACEOF
50099
50100 fi
50101 done
50102
50103     fi
50104   fi
50105
50106
50107
50108
50109
50110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50111 $as_echo_n "checking for atan2l declaration... " >&6; }
50112   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50113     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50114   $as_echo_n "(cached) " >&6
50115 else
50116
50117
50118       ac_ext=cpp
50119 ac_cpp='$CXXCPP $CPPFLAGS'
50120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50123
50124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50125 /* end confdefs.h.  */
50126 #include <math.h>
50127 int
50128 main ()
50129 {
50130  atan2l(0, 0);
50131   ;
50132   return 0;
50133 }
50134 _ACEOF
50135 if ac_fn_cxx_try_compile "$LINENO"; then :
50136   glibcxx_cv_func_atan2l_use=yes
50137 else
50138   glibcxx_cv_func_atan2l_use=no
50139 fi
50140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50141       ac_ext=c
50142 ac_cpp='$CPP $CPPFLAGS'
50143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50146
50147
50148 fi
50149
50150   fi
50151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50152 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50153
50154   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50155     for ac_func in atan2l
50156 do :
50157   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50158 if test "x$ac_cv_func_atan2l" = x""yes; then :
50159   cat >>confdefs.h <<_ACEOF
50160 #define HAVE_ATAN2L 1
50161 _ACEOF
50162
50163 fi
50164 done
50165
50166   else
50167
50168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50169 $as_echo_n "checking for _atan2l declaration... " >&6; }
50170   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50171     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50172   $as_echo_n "(cached) " >&6
50173 else
50174
50175
50176       ac_ext=cpp
50177 ac_cpp='$CXXCPP $CPPFLAGS'
50178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50181
50182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50183 /* end confdefs.h.  */
50184 #include <math.h>
50185 int
50186 main ()
50187 {
50188  _atan2l(0, 0);
50189   ;
50190   return 0;
50191 }
50192 _ACEOF
50193 if ac_fn_cxx_try_compile "$LINENO"; then :
50194   glibcxx_cv_func__atan2l_use=yes
50195 else
50196   glibcxx_cv_func__atan2l_use=no
50197 fi
50198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50199       ac_ext=c
50200 ac_cpp='$CPP $CPPFLAGS'
50201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50204
50205
50206 fi
50207
50208   fi
50209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50210 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50211
50212     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50213       for ac_func in _atan2l
50214 do :
50215   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50216 if test "x$ac_cv_func__atan2l" = x""yes; then :
50217   cat >>confdefs.h <<_ACEOF
50218 #define HAVE__ATAN2L 1
50219 _ACEOF
50220
50221 fi
50222 done
50223
50224     fi
50225   fi
50226
50227
50228
50229
50230
50231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50232 $as_echo_n "checking for expl declaration... " >&6; }
50233   if test x${glibcxx_cv_func_expl_use+set} != xset; then
50234     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50235   $as_echo_n "(cached) " >&6
50236 else
50237
50238
50239       ac_ext=cpp
50240 ac_cpp='$CXXCPP $CPPFLAGS'
50241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50244
50245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50246 /* end confdefs.h.  */
50247 #include <math.h>
50248                       #ifdef HAVE_IEEEFP_H
50249                       #include <ieeefp.h>
50250                       #endif
50251
50252 int
50253 main ()
50254 {
50255  expl(0);
50256   ;
50257   return 0;
50258 }
50259 _ACEOF
50260 if ac_fn_cxx_try_compile "$LINENO"; then :
50261   glibcxx_cv_func_expl_use=yes
50262 else
50263   glibcxx_cv_func_expl_use=no
50264 fi
50265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50266       ac_ext=c
50267 ac_cpp='$CPP $CPPFLAGS'
50268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50271
50272
50273 fi
50274
50275   fi
50276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50277 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50278
50279   if test x$glibcxx_cv_func_expl_use = x"yes"; then
50280     for ac_func in expl
50281 do :
50282   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50283 if test "x$ac_cv_func_expl" = x""yes; then :
50284   cat >>confdefs.h <<_ACEOF
50285 #define HAVE_EXPL 1
50286 _ACEOF
50287
50288 fi
50289 done
50290
50291   else
50292
50293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50294 $as_echo_n "checking for _expl declaration... " >&6; }
50295   if test x${glibcxx_cv_func__expl_use+set} != xset; then
50296     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50297   $as_echo_n "(cached) " >&6
50298 else
50299
50300
50301       ac_ext=cpp
50302 ac_cpp='$CXXCPP $CPPFLAGS'
50303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50306
50307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50308 /* end confdefs.h.  */
50309 #include <math.h>
50310                       #ifdef HAVE_IEEEFP_H
50311                       #include <ieeefp.h>
50312                       #endif
50313
50314 int
50315 main ()
50316 {
50317  _expl(0);
50318   ;
50319   return 0;
50320 }
50321 _ACEOF
50322 if ac_fn_cxx_try_compile "$LINENO"; then :
50323   glibcxx_cv_func__expl_use=yes
50324 else
50325   glibcxx_cv_func__expl_use=no
50326 fi
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328       ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50333
50334
50335 fi
50336
50337   fi
50338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50339 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50340
50341     if test x$glibcxx_cv_func__expl_use = x"yes"; then
50342       for ac_func in _expl
50343 do :
50344   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50345 if test "x$ac_cv_func__expl" = x""yes; then :
50346   cat >>confdefs.h <<_ACEOF
50347 #define HAVE__EXPL 1
50348 _ACEOF
50349
50350 fi
50351 done
50352
50353     fi
50354   fi
50355
50356
50357
50358
50359
50360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50361 $as_echo_n "checking for fabsl declaration... " >&6; }
50362   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50363     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50364   $as_echo_n "(cached) " >&6
50365 else
50366
50367
50368       ac_ext=cpp
50369 ac_cpp='$CXXCPP $CPPFLAGS'
50370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50373
50374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50375 /* end confdefs.h.  */
50376 #include <math.h>
50377                       #ifdef HAVE_IEEEFP_H
50378                       #include <ieeefp.h>
50379                       #endif
50380
50381 int
50382 main ()
50383 {
50384  fabsl(0);
50385   ;
50386   return 0;
50387 }
50388 _ACEOF
50389 if ac_fn_cxx_try_compile "$LINENO"; then :
50390   glibcxx_cv_func_fabsl_use=yes
50391 else
50392   glibcxx_cv_func_fabsl_use=no
50393 fi
50394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50395       ac_ext=c
50396 ac_cpp='$CPP $CPPFLAGS'
50397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50400
50401
50402 fi
50403
50404   fi
50405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50406 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50407
50408   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50409     for ac_func in fabsl
50410 do :
50411   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50412 if test "x$ac_cv_func_fabsl" = x""yes; then :
50413   cat >>confdefs.h <<_ACEOF
50414 #define HAVE_FABSL 1
50415 _ACEOF
50416
50417 fi
50418 done
50419
50420   else
50421
50422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50423 $as_echo_n "checking for _fabsl declaration... " >&6; }
50424   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50425     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50426   $as_echo_n "(cached) " >&6
50427 else
50428
50429
50430       ac_ext=cpp
50431 ac_cpp='$CXXCPP $CPPFLAGS'
50432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50435
50436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50437 /* end confdefs.h.  */
50438 #include <math.h>
50439                       #ifdef HAVE_IEEEFP_H
50440                       #include <ieeefp.h>
50441                       #endif
50442
50443 int
50444 main ()
50445 {
50446  _fabsl(0);
50447   ;
50448   return 0;
50449 }
50450 _ACEOF
50451 if ac_fn_cxx_try_compile "$LINENO"; then :
50452   glibcxx_cv_func__fabsl_use=yes
50453 else
50454   glibcxx_cv_func__fabsl_use=no
50455 fi
50456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50457       ac_ext=c
50458 ac_cpp='$CPP $CPPFLAGS'
50459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50462
50463
50464 fi
50465
50466   fi
50467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50468 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50469
50470     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50471       for ac_func in _fabsl
50472 do :
50473   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50474 if test "x$ac_cv_func__fabsl" = x""yes; then :
50475   cat >>confdefs.h <<_ACEOF
50476 #define HAVE__FABSL 1
50477 _ACEOF
50478
50479 fi
50480 done
50481
50482     fi
50483   fi
50484
50485
50486
50487
50488
50489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50490 $as_echo_n "checking for fmodl declaration... " >&6; }
50491   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50492     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50493   $as_echo_n "(cached) " >&6
50494 else
50495
50496
50497       ac_ext=cpp
50498 ac_cpp='$CXXCPP $CPPFLAGS'
50499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50502
50503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50504 /* end confdefs.h.  */
50505 #include <math.h>
50506 int
50507 main ()
50508 {
50509  fmodl(0, 0);
50510   ;
50511   return 0;
50512 }
50513 _ACEOF
50514 if ac_fn_cxx_try_compile "$LINENO"; then :
50515   glibcxx_cv_func_fmodl_use=yes
50516 else
50517   glibcxx_cv_func_fmodl_use=no
50518 fi
50519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50520       ac_ext=c
50521 ac_cpp='$CPP $CPPFLAGS'
50522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50525
50526
50527 fi
50528
50529   fi
50530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50531 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50532
50533   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50534     for ac_func in fmodl
50535 do :
50536   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50537 if test "x$ac_cv_func_fmodl" = x""yes; then :
50538   cat >>confdefs.h <<_ACEOF
50539 #define HAVE_FMODL 1
50540 _ACEOF
50541
50542 fi
50543 done
50544
50545   else
50546
50547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50548 $as_echo_n "checking for _fmodl declaration... " >&6; }
50549   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50550     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50551   $as_echo_n "(cached) " >&6
50552 else
50553
50554
50555       ac_ext=cpp
50556 ac_cpp='$CXXCPP $CPPFLAGS'
50557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50560
50561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50562 /* end confdefs.h.  */
50563 #include <math.h>
50564 int
50565 main ()
50566 {
50567  _fmodl(0, 0);
50568   ;
50569   return 0;
50570 }
50571 _ACEOF
50572 if ac_fn_cxx_try_compile "$LINENO"; then :
50573   glibcxx_cv_func__fmodl_use=yes
50574 else
50575   glibcxx_cv_func__fmodl_use=no
50576 fi
50577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50578       ac_ext=c
50579 ac_cpp='$CPP $CPPFLAGS'
50580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50583
50584
50585 fi
50586
50587   fi
50588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50589 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50590
50591     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50592       for ac_func in _fmodl
50593 do :
50594   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50595 if test "x$ac_cv_func__fmodl" = x""yes; then :
50596   cat >>confdefs.h <<_ACEOF
50597 #define HAVE__FMODL 1
50598 _ACEOF
50599
50600 fi
50601 done
50602
50603     fi
50604   fi
50605
50606
50607
50608
50609
50610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50611 $as_echo_n "checking for frexpl declaration... " >&6; }
50612   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50613     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50614   $as_echo_n "(cached) " >&6
50615 else
50616
50617
50618       ac_ext=cpp
50619 ac_cpp='$CXXCPP $CPPFLAGS'
50620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50623
50624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50625 /* end confdefs.h.  */
50626 #include <math.h>
50627 int
50628 main ()
50629 {
50630  frexpl(0, 0);
50631   ;
50632   return 0;
50633 }
50634 _ACEOF
50635 if ac_fn_cxx_try_compile "$LINENO"; then :
50636   glibcxx_cv_func_frexpl_use=yes
50637 else
50638   glibcxx_cv_func_frexpl_use=no
50639 fi
50640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50641       ac_ext=c
50642 ac_cpp='$CPP $CPPFLAGS'
50643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50646
50647
50648 fi
50649
50650   fi
50651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50652 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50653
50654   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50655     for ac_func in frexpl
50656 do :
50657   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50658 if test "x$ac_cv_func_frexpl" = x""yes; then :
50659   cat >>confdefs.h <<_ACEOF
50660 #define HAVE_FREXPL 1
50661 _ACEOF
50662
50663 fi
50664 done
50665
50666   else
50667
50668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50669 $as_echo_n "checking for _frexpl declaration... " >&6; }
50670   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50671     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50672   $as_echo_n "(cached) " >&6
50673 else
50674
50675
50676       ac_ext=cpp
50677 ac_cpp='$CXXCPP $CPPFLAGS'
50678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50681
50682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50683 /* end confdefs.h.  */
50684 #include <math.h>
50685 int
50686 main ()
50687 {
50688  _frexpl(0, 0);
50689   ;
50690   return 0;
50691 }
50692 _ACEOF
50693 if ac_fn_cxx_try_compile "$LINENO"; then :
50694   glibcxx_cv_func__frexpl_use=yes
50695 else
50696   glibcxx_cv_func__frexpl_use=no
50697 fi
50698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50699       ac_ext=c
50700 ac_cpp='$CPP $CPPFLAGS'
50701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50704
50705
50706 fi
50707
50708   fi
50709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50710 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50711
50712     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50713       for ac_func in _frexpl
50714 do :
50715   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50716 if test "x$ac_cv_func__frexpl" = x""yes; then :
50717   cat >>confdefs.h <<_ACEOF
50718 #define HAVE__FREXPL 1
50719 _ACEOF
50720
50721 fi
50722 done
50723
50724     fi
50725   fi
50726
50727
50728
50729
50730
50731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50732 $as_echo_n "checking for hypotl declaration... " >&6; }
50733   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50734     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50735   $as_echo_n "(cached) " >&6
50736 else
50737
50738
50739       ac_ext=cpp
50740 ac_cpp='$CXXCPP $CPPFLAGS'
50741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50744
50745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50746 /* end confdefs.h.  */
50747 #include <math.h>
50748 int
50749 main ()
50750 {
50751  hypotl(0, 0);
50752   ;
50753   return 0;
50754 }
50755 _ACEOF
50756 if ac_fn_cxx_try_compile "$LINENO"; then :
50757   glibcxx_cv_func_hypotl_use=yes
50758 else
50759   glibcxx_cv_func_hypotl_use=no
50760 fi
50761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50762       ac_ext=c
50763 ac_cpp='$CPP $CPPFLAGS'
50764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50767
50768
50769 fi
50770
50771   fi
50772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50773 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50774
50775   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50776     for ac_func in hypotl
50777 do :
50778   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50779 if test "x$ac_cv_func_hypotl" = x""yes; then :
50780   cat >>confdefs.h <<_ACEOF
50781 #define HAVE_HYPOTL 1
50782 _ACEOF
50783
50784 fi
50785 done
50786
50787   else
50788
50789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50790 $as_echo_n "checking for _hypotl declaration... " >&6; }
50791   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50792     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50793   $as_echo_n "(cached) " >&6
50794 else
50795
50796
50797       ac_ext=cpp
50798 ac_cpp='$CXXCPP $CPPFLAGS'
50799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50802
50803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50804 /* end confdefs.h.  */
50805 #include <math.h>
50806 int
50807 main ()
50808 {
50809  _hypotl(0, 0);
50810   ;
50811   return 0;
50812 }
50813 _ACEOF
50814 if ac_fn_cxx_try_compile "$LINENO"; then :
50815   glibcxx_cv_func__hypotl_use=yes
50816 else
50817   glibcxx_cv_func__hypotl_use=no
50818 fi
50819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50820       ac_ext=c
50821 ac_cpp='$CPP $CPPFLAGS'
50822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50825
50826
50827 fi
50828
50829   fi
50830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50831 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50832
50833     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50834       for ac_func in _hypotl
50835 do :
50836   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50837 if test "x$ac_cv_func__hypotl" = x""yes; then :
50838   cat >>confdefs.h <<_ACEOF
50839 #define HAVE__HYPOTL 1
50840 _ACEOF
50841
50842 fi
50843 done
50844
50845     fi
50846   fi
50847
50848
50849
50850
50851
50852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50853 $as_echo_n "checking for ldexpl declaration... " >&6; }
50854   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50855     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50856   $as_echo_n "(cached) " >&6
50857 else
50858
50859
50860       ac_ext=cpp
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50865
50866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50867 /* end confdefs.h.  */
50868 #include <math.h>
50869 int
50870 main ()
50871 {
50872  ldexpl(0, 0);
50873   ;
50874   return 0;
50875 }
50876 _ACEOF
50877 if ac_fn_cxx_try_compile "$LINENO"; then :
50878   glibcxx_cv_func_ldexpl_use=yes
50879 else
50880   glibcxx_cv_func_ldexpl_use=no
50881 fi
50882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50883       ac_ext=c
50884 ac_cpp='$CPP $CPPFLAGS'
50885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50888
50889
50890 fi
50891
50892   fi
50893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50894 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50895
50896   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50897     for ac_func in ldexpl
50898 do :
50899   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50900 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50901   cat >>confdefs.h <<_ACEOF
50902 #define HAVE_LDEXPL 1
50903 _ACEOF
50904
50905 fi
50906 done
50907
50908   else
50909
50910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50911 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50912   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50913     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50914   $as_echo_n "(cached) " >&6
50915 else
50916
50917
50918       ac_ext=cpp
50919 ac_cpp='$CXXCPP $CPPFLAGS'
50920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50923
50924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50925 /* end confdefs.h.  */
50926 #include <math.h>
50927 int
50928 main ()
50929 {
50930  _ldexpl(0, 0);
50931   ;
50932   return 0;
50933 }
50934 _ACEOF
50935 if ac_fn_cxx_try_compile "$LINENO"; then :
50936   glibcxx_cv_func__ldexpl_use=yes
50937 else
50938   glibcxx_cv_func__ldexpl_use=no
50939 fi
50940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50941       ac_ext=c
50942 ac_cpp='$CPP $CPPFLAGS'
50943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50946
50947
50948 fi
50949
50950   fi
50951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50952 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50953
50954     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50955       for ac_func in _ldexpl
50956 do :
50957   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50958 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50959   cat >>confdefs.h <<_ACEOF
50960 #define HAVE__LDEXPL 1
50961 _ACEOF
50962
50963 fi
50964 done
50965
50966     fi
50967   fi
50968
50969
50970
50971
50972
50973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50974 $as_echo_n "checking for logl declaration... " >&6; }
50975   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50976     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50977   $as_echo_n "(cached) " >&6
50978 else
50979
50980
50981       ac_ext=cpp
50982 ac_cpp='$CXXCPP $CPPFLAGS'
50983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50986
50987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50988 /* end confdefs.h.  */
50989 #include <math.h>
50990                       #ifdef HAVE_IEEEFP_H
50991                       #include <ieeefp.h>
50992                       #endif
50993
50994 int
50995 main ()
50996 {
50997  logl(0);
50998   ;
50999   return 0;
51000 }
51001 _ACEOF
51002 if ac_fn_cxx_try_compile "$LINENO"; then :
51003   glibcxx_cv_func_logl_use=yes
51004 else
51005   glibcxx_cv_func_logl_use=no
51006 fi
51007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51008       ac_ext=c
51009 ac_cpp='$CPP $CPPFLAGS'
51010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51013
51014
51015 fi
51016
51017   fi
51018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51019 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51020
51021   if test x$glibcxx_cv_func_logl_use = x"yes"; then
51022     for ac_func in logl
51023 do :
51024   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51025 if test "x$ac_cv_func_logl" = x""yes; then :
51026   cat >>confdefs.h <<_ACEOF
51027 #define HAVE_LOGL 1
51028 _ACEOF
51029
51030 fi
51031 done
51032
51033   else
51034
51035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51036 $as_echo_n "checking for _logl declaration... " >&6; }
51037   if test x${glibcxx_cv_func__logl_use+set} != xset; then
51038     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51039   $as_echo_n "(cached) " >&6
51040 else
51041
51042
51043       ac_ext=cpp
51044 ac_cpp='$CXXCPP $CPPFLAGS'
51045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51048
51049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51050 /* end confdefs.h.  */
51051 #include <math.h>
51052                       #ifdef HAVE_IEEEFP_H
51053                       #include <ieeefp.h>
51054                       #endif
51055
51056 int
51057 main ()
51058 {
51059  _logl(0);
51060   ;
51061   return 0;
51062 }
51063 _ACEOF
51064 if ac_fn_cxx_try_compile "$LINENO"; then :
51065   glibcxx_cv_func__logl_use=yes
51066 else
51067   glibcxx_cv_func__logl_use=no
51068 fi
51069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51070       ac_ext=c
51071 ac_cpp='$CPP $CPPFLAGS'
51072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51075
51076
51077 fi
51078
51079   fi
51080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51081 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51082
51083     if test x$glibcxx_cv_func__logl_use = x"yes"; then
51084       for ac_func in _logl
51085 do :
51086   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51087 if test "x$ac_cv_func__logl" = x""yes; then :
51088   cat >>confdefs.h <<_ACEOF
51089 #define HAVE__LOGL 1
51090 _ACEOF
51091
51092 fi
51093 done
51094
51095     fi
51096   fi
51097
51098
51099
51100
51101
51102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51103 $as_echo_n "checking for log10l declaration... " >&6; }
51104   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51105     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51106   $as_echo_n "(cached) " >&6
51107 else
51108
51109
51110       ac_ext=cpp
51111 ac_cpp='$CXXCPP $CPPFLAGS'
51112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51115
51116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51117 /* end confdefs.h.  */
51118 #include <math.h>
51119                       #ifdef HAVE_IEEEFP_H
51120                       #include <ieeefp.h>
51121                       #endif
51122
51123 int
51124 main ()
51125 {
51126  log10l(0);
51127   ;
51128   return 0;
51129 }
51130 _ACEOF
51131 if ac_fn_cxx_try_compile "$LINENO"; then :
51132   glibcxx_cv_func_log10l_use=yes
51133 else
51134   glibcxx_cv_func_log10l_use=no
51135 fi
51136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51137       ac_ext=c
51138 ac_cpp='$CPP $CPPFLAGS'
51139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51142
51143
51144 fi
51145
51146   fi
51147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51148 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51149
51150   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51151     for ac_func in log10l
51152 do :
51153   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51154 if test "x$ac_cv_func_log10l" = x""yes; then :
51155   cat >>confdefs.h <<_ACEOF
51156 #define HAVE_LOG10L 1
51157 _ACEOF
51158
51159 fi
51160 done
51161
51162   else
51163
51164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51165 $as_echo_n "checking for _log10l declaration... " >&6; }
51166   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51167     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51168   $as_echo_n "(cached) " >&6
51169 else
51170
51171
51172       ac_ext=cpp
51173 ac_cpp='$CXXCPP $CPPFLAGS'
51174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51177
51178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51179 /* end confdefs.h.  */
51180 #include <math.h>
51181                       #ifdef HAVE_IEEEFP_H
51182                       #include <ieeefp.h>
51183                       #endif
51184
51185 int
51186 main ()
51187 {
51188  _log10l(0);
51189   ;
51190   return 0;
51191 }
51192 _ACEOF
51193 if ac_fn_cxx_try_compile "$LINENO"; then :
51194   glibcxx_cv_func__log10l_use=yes
51195 else
51196   glibcxx_cv_func__log10l_use=no
51197 fi
51198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51199       ac_ext=c
51200 ac_cpp='$CPP $CPPFLAGS'
51201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51204
51205
51206 fi
51207
51208   fi
51209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51210 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51211
51212     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51213       for ac_func in _log10l
51214 do :
51215   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51216 if test "x$ac_cv_func__log10l" = x""yes; then :
51217   cat >>confdefs.h <<_ACEOF
51218 #define HAVE__LOG10L 1
51219 _ACEOF
51220
51221 fi
51222 done
51223
51224     fi
51225   fi
51226
51227
51228
51229
51230
51231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51232 $as_echo_n "checking for modfl declaration... " >&6; }
51233   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51234     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51235   $as_echo_n "(cached) " >&6
51236 else
51237
51238
51239       ac_ext=cpp
51240 ac_cpp='$CXXCPP $CPPFLAGS'
51241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51244
51245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51246 /* end confdefs.h.  */
51247 #include <math.h>
51248 int
51249 main ()
51250 {
51251  modfl(0, 0);
51252   ;
51253   return 0;
51254 }
51255 _ACEOF
51256 if ac_fn_cxx_try_compile "$LINENO"; then :
51257   glibcxx_cv_func_modfl_use=yes
51258 else
51259   glibcxx_cv_func_modfl_use=no
51260 fi
51261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51262       ac_ext=c
51263 ac_cpp='$CPP $CPPFLAGS'
51264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51267
51268
51269 fi
51270
51271   fi
51272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51273 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51274
51275   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51276     for ac_func in modfl
51277 do :
51278   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51279 if test "x$ac_cv_func_modfl" = x""yes; then :
51280   cat >>confdefs.h <<_ACEOF
51281 #define HAVE_MODFL 1
51282 _ACEOF
51283
51284 fi
51285 done
51286
51287   else
51288
51289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51290 $as_echo_n "checking for _modfl declaration... " >&6; }
51291   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51292     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51293   $as_echo_n "(cached) " >&6
51294 else
51295
51296
51297       ac_ext=cpp
51298 ac_cpp='$CXXCPP $CPPFLAGS'
51299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51302
51303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51304 /* end confdefs.h.  */
51305 #include <math.h>
51306 int
51307 main ()
51308 {
51309  _modfl(0, 0);
51310   ;
51311   return 0;
51312 }
51313 _ACEOF
51314 if ac_fn_cxx_try_compile "$LINENO"; then :
51315   glibcxx_cv_func__modfl_use=yes
51316 else
51317   glibcxx_cv_func__modfl_use=no
51318 fi
51319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51320       ac_ext=c
51321 ac_cpp='$CPP $CPPFLAGS'
51322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51325
51326
51327 fi
51328
51329   fi
51330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51331 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51332
51333     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51334       for ac_func in _modfl
51335 do :
51336   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51337 if test "x$ac_cv_func__modfl" = x""yes; then :
51338   cat >>confdefs.h <<_ACEOF
51339 #define HAVE__MODFL 1
51340 _ACEOF
51341
51342 fi
51343 done
51344
51345     fi
51346   fi
51347
51348
51349
51350
51351
51352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51353 $as_echo_n "checking for powl declaration... " >&6; }
51354   if test x${glibcxx_cv_func_powl_use+set} != xset; then
51355     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51356   $as_echo_n "(cached) " >&6
51357 else
51358
51359
51360       ac_ext=cpp
51361 ac_cpp='$CXXCPP $CPPFLAGS'
51362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51365
51366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51367 /* end confdefs.h.  */
51368 #include <math.h>
51369 int
51370 main ()
51371 {
51372  powl(0, 0);
51373   ;
51374   return 0;
51375 }
51376 _ACEOF
51377 if ac_fn_cxx_try_compile "$LINENO"; then :
51378   glibcxx_cv_func_powl_use=yes
51379 else
51380   glibcxx_cv_func_powl_use=no
51381 fi
51382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51383       ac_ext=c
51384 ac_cpp='$CPP $CPPFLAGS'
51385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51388
51389
51390 fi
51391
51392   fi
51393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51394 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51395
51396   if test x$glibcxx_cv_func_powl_use = x"yes"; then
51397     for ac_func in powl
51398 do :
51399   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51400 if test "x$ac_cv_func_powl" = x""yes; then :
51401   cat >>confdefs.h <<_ACEOF
51402 #define HAVE_POWL 1
51403 _ACEOF
51404
51405 fi
51406 done
51407
51408   else
51409
51410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51411 $as_echo_n "checking for _powl declaration... " >&6; }
51412   if test x${glibcxx_cv_func__powl_use+set} != xset; then
51413     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51414   $as_echo_n "(cached) " >&6
51415 else
51416
51417
51418       ac_ext=cpp
51419 ac_cpp='$CXXCPP $CPPFLAGS'
51420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51423
51424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51425 /* end confdefs.h.  */
51426 #include <math.h>
51427 int
51428 main ()
51429 {
51430  _powl(0, 0);
51431   ;
51432   return 0;
51433 }
51434 _ACEOF
51435 if ac_fn_cxx_try_compile "$LINENO"; then :
51436   glibcxx_cv_func__powl_use=yes
51437 else
51438   glibcxx_cv_func__powl_use=no
51439 fi
51440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51441       ac_ext=c
51442 ac_cpp='$CPP $CPPFLAGS'
51443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51446
51447
51448 fi
51449
51450   fi
51451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51452 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51453
51454     if test x$glibcxx_cv_func__powl_use = x"yes"; then
51455       for ac_func in _powl
51456 do :
51457   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51458 if test "x$ac_cv_func__powl" = x""yes; then :
51459   cat >>confdefs.h <<_ACEOF
51460 #define HAVE__POWL 1
51461 _ACEOF
51462
51463 fi
51464 done
51465
51466     fi
51467   fi
51468
51469
51470
51471
51472
51473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51474 $as_echo_n "checking for sqrtl declaration... " >&6; }
51475   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51476     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51477   $as_echo_n "(cached) " >&6
51478 else
51479
51480
51481       ac_ext=cpp
51482 ac_cpp='$CXXCPP $CPPFLAGS'
51483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51486
51487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51488 /* end confdefs.h.  */
51489 #include <math.h>
51490                       #ifdef HAVE_IEEEFP_H
51491                       #include <ieeefp.h>
51492                       #endif
51493
51494 int
51495 main ()
51496 {
51497  sqrtl(0);
51498   ;
51499   return 0;
51500 }
51501 _ACEOF
51502 if ac_fn_cxx_try_compile "$LINENO"; then :
51503   glibcxx_cv_func_sqrtl_use=yes
51504 else
51505   glibcxx_cv_func_sqrtl_use=no
51506 fi
51507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51508       ac_ext=c
51509 ac_cpp='$CPP $CPPFLAGS'
51510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51513
51514
51515 fi
51516
51517   fi
51518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51519 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51520
51521   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51522     for ac_func in sqrtl
51523 do :
51524   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51525 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51526   cat >>confdefs.h <<_ACEOF
51527 #define HAVE_SQRTL 1
51528 _ACEOF
51529
51530 fi
51531 done
51532
51533   else
51534
51535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51536 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51537   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51538     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51539   $as_echo_n "(cached) " >&6
51540 else
51541
51542
51543       ac_ext=cpp
51544 ac_cpp='$CXXCPP $CPPFLAGS'
51545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51548
51549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51550 /* end confdefs.h.  */
51551 #include <math.h>
51552                       #ifdef HAVE_IEEEFP_H
51553                       #include <ieeefp.h>
51554                       #endif
51555
51556 int
51557 main ()
51558 {
51559  _sqrtl(0);
51560   ;
51561   return 0;
51562 }
51563 _ACEOF
51564 if ac_fn_cxx_try_compile "$LINENO"; then :
51565   glibcxx_cv_func__sqrtl_use=yes
51566 else
51567   glibcxx_cv_func__sqrtl_use=no
51568 fi
51569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51570       ac_ext=c
51571 ac_cpp='$CPP $CPPFLAGS'
51572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51575
51576
51577 fi
51578
51579   fi
51580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51581 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51582
51583     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51584       for ac_func in _sqrtl
51585 do :
51586   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51587 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51588   cat >>confdefs.h <<_ACEOF
51589 #define HAVE__SQRTL 1
51590 _ACEOF
51591
51592 fi
51593 done
51594
51595     fi
51596   fi
51597
51598
51599
51600
51601
51602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51603 $as_echo_n "checking for sincosl declaration... " >&6; }
51604   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51605     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51606   $as_echo_n "(cached) " >&6
51607 else
51608
51609
51610       ac_ext=cpp
51611 ac_cpp='$CXXCPP $CPPFLAGS'
51612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51615
51616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51617 /* end confdefs.h.  */
51618 #include <math.h>
51619 int
51620 main ()
51621 {
51622  sincosl(0, 0, 0);
51623   ;
51624   return 0;
51625 }
51626 _ACEOF
51627 if ac_fn_cxx_try_compile "$LINENO"; then :
51628   glibcxx_cv_func_sincosl_use=yes
51629 else
51630   glibcxx_cv_func_sincosl_use=no
51631 fi
51632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51633       ac_ext=c
51634 ac_cpp='$CPP $CPPFLAGS'
51635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51638
51639
51640 fi
51641
51642   fi
51643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51644 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51645
51646   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51647     for ac_func in sincosl
51648 do :
51649   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51650 if test "x$ac_cv_func_sincosl" = x""yes; then :
51651   cat >>confdefs.h <<_ACEOF
51652 #define HAVE_SINCOSL 1
51653 _ACEOF
51654
51655 fi
51656 done
51657
51658   else
51659
51660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51661 $as_echo_n "checking for _sincosl declaration... " >&6; }
51662   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51663     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51664   $as_echo_n "(cached) " >&6
51665 else
51666
51667
51668       ac_ext=cpp
51669 ac_cpp='$CXXCPP $CPPFLAGS'
51670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51673
51674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51675 /* end confdefs.h.  */
51676 #include <math.h>
51677 int
51678 main ()
51679 {
51680  _sincosl(0, 0, 0);
51681   ;
51682   return 0;
51683 }
51684 _ACEOF
51685 if ac_fn_cxx_try_compile "$LINENO"; then :
51686   glibcxx_cv_func__sincosl_use=yes
51687 else
51688   glibcxx_cv_func__sincosl_use=no
51689 fi
51690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51691       ac_ext=c
51692 ac_cpp='$CPP $CPPFLAGS'
51693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51696
51697
51698 fi
51699
51700   fi
51701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51702 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51703
51704     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51705       for ac_func in _sincosl
51706 do :
51707   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51708 if test "x$ac_cv_func__sincosl" = x""yes; then :
51709   cat >>confdefs.h <<_ACEOF
51710 #define HAVE__SINCOSL 1
51711 _ACEOF
51712
51713 fi
51714 done
51715
51716     fi
51717   fi
51718
51719
51720
51721
51722
51723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51724 $as_echo_n "checking for finitel declaration... " >&6; }
51725   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51726     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51727   $as_echo_n "(cached) " >&6
51728 else
51729
51730
51731       ac_ext=cpp
51732 ac_cpp='$CXXCPP $CPPFLAGS'
51733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51736
51737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51738 /* end confdefs.h.  */
51739 #include <math.h>
51740                       #ifdef HAVE_IEEEFP_H
51741                       #include <ieeefp.h>
51742                       #endif
51743
51744 int
51745 main ()
51746 {
51747  finitel(0);
51748   ;
51749   return 0;
51750 }
51751 _ACEOF
51752 if ac_fn_cxx_try_compile "$LINENO"; then :
51753   glibcxx_cv_func_finitel_use=yes
51754 else
51755   glibcxx_cv_func_finitel_use=no
51756 fi
51757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51758       ac_ext=c
51759 ac_cpp='$CPP $CPPFLAGS'
51760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51763
51764
51765 fi
51766
51767   fi
51768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51769 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51770
51771   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51772     for ac_func in finitel
51773 do :
51774   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51775 if test "x$ac_cv_func_finitel" = x""yes; then :
51776   cat >>confdefs.h <<_ACEOF
51777 #define HAVE_FINITEL 1
51778 _ACEOF
51779
51780 fi
51781 done
51782
51783   else
51784
51785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51786 $as_echo_n "checking for _finitel declaration... " >&6; }
51787   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51788     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51789   $as_echo_n "(cached) " >&6
51790 else
51791
51792
51793       ac_ext=cpp
51794 ac_cpp='$CXXCPP $CPPFLAGS'
51795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51798
51799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51800 /* end confdefs.h.  */
51801 #include <math.h>
51802                       #ifdef HAVE_IEEEFP_H
51803                       #include <ieeefp.h>
51804                       #endif
51805
51806 int
51807 main ()
51808 {
51809  _finitel(0);
51810   ;
51811   return 0;
51812 }
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815   glibcxx_cv_func__finitel_use=yes
51816 else
51817   glibcxx_cv_func__finitel_use=no
51818 fi
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820       ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51825
51826
51827 fi
51828
51829   fi
51830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51831 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51832
51833     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51834       for ac_func in _finitel
51835 do :
51836   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51837 if test "x$ac_cv_func__finitel" = x""yes; then :
51838   cat >>confdefs.h <<_ACEOF
51839 #define HAVE__FINITEL 1
51840 _ACEOF
51841
51842 fi
51843 done
51844
51845     fi
51846   fi
51847
51848
51849
51850
51851   LIBS="$ac_save_LIBS"
51852   CXXFLAGS="$ac_save_CXXFLAGS"
51853
51854
51855   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51856   ac_save_CXXFLAGS="$CXXFLAGS"
51857   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51858
51859
51860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51861 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51862   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51863     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51864   $as_echo_n "(cached) " >&6
51865 else
51866
51867
51868       ac_ext=cpp
51869 ac_cpp='$CXXCPP $CPPFLAGS'
51870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51873
51874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51875 /* end confdefs.h.  */
51876 #include <stdlib.h>
51877 int
51878 main ()
51879 {
51880  at_quick_exit(0);
51881   ;
51882   return 0;
51883 }
51884 _ACEOF
51885 if ac_fn_cxx_try_compile "$LINENO"; then :
51886   glibcxx_cv_func_at_quick_exit_use=yes
51887 else
51888   glibcxx_cv_func_at_quick_exit_use=no
51889 fi
51890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51891       ac_ext=c
51892 ac_cpp='$CPP $CPPFLAGS'
51893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51896
51897
51898 fi
51899
51900   fi
51901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51902 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51903   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51904     for ac_func in at_quick_exit
51905 do :
51906   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51907 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51908   cat >>confdefs.h <<_ACEOF
51909 #define HAVE_AT_QUICK_EXIT 1
51910 _ACEOF
51911
51912 fi
51913 done
51914
51915   fi
51916
51917
51918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51919 $as_echo_n "checking for quick_exit declaration... " >&6; }
51920   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51921     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51922   $as_echo_n "(cached) " >&6
51923 else
51924
51925
51926       ac_ext=cpp
51927 ac_cpp='$CXXCPP $CPPFLAGS'
51928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51931
51932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51933 /* end confdefs.h.  */
51934 #include <stdlib.h>
51935 int
51936 main ()
51937 {
51938  quick_exit(0);
51939   ;
51940   return 0;
51941 }
51942 _ACEOF
51943 if ac_fn_cxx_try_compile "$LINENO"; then :
51944   glibcxx_cv_func_quick_exit_use=yes
51945 else
51946   glibcxx_cv_func_quick_exit_use=no
51947 fi
51948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51949       ac_ext=c
51950 ac_cpp='$CPP $CPPFLAGS'
51951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51954
51955
51956 fi
51957
51958   fi
51959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51960 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51961   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51962     for ac_func in quick_exit
51963 do :
51964   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51965 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51966   cat >>confdefs.h <<_ACEOF
51967 #define HAVE_QUICK_EXIT 1
51968 _ACEOF
51969
51970 fi
51971 done
51972
51973   fi
51974
51975
51976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51977 $as_echo_n "checking for strtold declaration... " >&6; }
51978   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51979     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51980   $as_echo_n "(cached) " >&6
51981 else
51982
51983
51984       ac_ext=cpp
51985 ac_cpp='$CXXCPP $CPPFLAGS'
51986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51989
51990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51991 /* end confdefs.h.  */
51992 #include <stdlib.h>
51993 int
51994 main ()
51995 {
51996  strtold(0, 0);
51997   ;
51998   return 0;
51999 }
52000 _ACEOF
52001 if ac_fn_cxx_try_compile "$LINENO"; then :
52002   glibcxx_cv_func_strtold_use=yes
52003 else
52004   glibcxx_cv_func_strtold_use=no
52005 fi
52006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52007       ac_ext=c
52008 ac_cpp='$CPP $CPPFLAGS'
52009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52012
52013
52014 fi
52015
52016   fi
52017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52018 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52019   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52020     for ac_func in strtold
52021 do :
52022   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52023 if test "x$ac_cv_func_strtold" = x""yes; then :
52024   cat >>confdefs.h <<_ACEOF
52025 #define HAVE_STRTOLD 1
52026 _ACEOF
52027
52028 fi
52029 done
52030
52031   fi
52032
52033
52034
52035
52036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52037 $as_echo_n "checking for strtof declaration... " >&6; }
52038   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52039     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52040   $as_echo_n "(cached) " >&6
52041 else
52042
52043
52044       ac_ext=cpp
52045 ac_cpp='$CXXCPP $CPPFLAGS'
52046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52049
52050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52051 /* end confdefs.h.  */
52052 #include <stdlib.h>
52053 int
52054 main ()
52055 {
52056  strtof(0, 0);
52057   ;
52058   return 0;
52059 }
52060 _ACEOF
52061 if ac_fn_cxx_try_compile "$LINENO"; then :
52062   glibcxx_cv_func_strtof_use=yes
52063 else
52064   glibcxx_cv_func_strtof_use=no
52065 fi
52066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52067       ac_ext=c
52068 ac_cpp='$CPP $CPPFLAGS'
52069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52072
52073
52074 fi
52075
52076   fi
52077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52078 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52079   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52080     for ac_func in strtof
52081 do :
52082   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52083 if test "x$ac_cv_func_strtof" = x""yes; then :
52084   cat >>confdefs.h <<_ACEOF
52085 #define HAVE_STRTOF 1
52086 _ACEOF
52087
52088 fi
52089 done
52090
52091   fi
52092
52093
52094
52095
52096   CXXFLAGS="$ac_save_CXXFLAGS"
52097
52098     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52099
52100
52101
52102    # Check whether --enable-tls was given.
52103 if test "${enable_tls+set}" = set; then :
52104   enableval=$enable_tls;
52105       case "$enableval" in
52106        yes|no) ;;
52107        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52108       esac
52109
52110 else
52111   enable_tls=yes
52112 fi
52113
52114
52115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52116 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52117 if test "${gcc_cv_have_tls+set}" = set; then :
52118   $as_echo_n "(cached) " >&6
52119 else
52120
52121     if test "$cross_compiling" = yes; then :
52122                 if test x$gcc_no_link = xyes; then
52123   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52124 fi
52125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52126 /* end confdefs.h.  */
52127 __thread int a; int b; int main() { return a = b; }
52128 _ACEOF
52129 if ac_fn_c_try_link "$LINENO"; then :
52130   chktls_save_LDFLAGS="$LDFLAGS"
52131                           case $host in
52132             *-*-linux*)
52133               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52134               ;;
52135           esac
52136           chktls_save_CFLAGS="$CFLAGS"
52137           CFLAGS="-fPIC $CFLAGS"
52138                   if test x$gcc_no_link = xyes; then
52139   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52140 fi
52141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52142 /* end confdefs.h.  */
52143 int f() { return 0; }
52144 _ACEOF
52145 if ac_fn_c_try_link "$LINENO"; then :
52146   if test x$gcc_no_link = xyes; then
52147   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52148 fi
52149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52150 /* end confdefs.h.  */
52151 __thread int a; int b; int f() { return a = b; }
52152 _ACEOF
52153 if ac_fn_c_try_link "$LINENO"; then :
52154   gcc_cv_have_tls=yes
52155 else
52156   gcc_cv_have_tls=no
52157 fi
52158 rm -f core conftest.err conftest.$ac_objext \
52159     conftest$ac_exeext conftest.$ac_ext
52160 else
52161   gcc_cv_have_tls=yes
52162 fi
52163 rm -f core conftest.err conftest.$ac_objext \
52164     conftest$ac_exeext conftest.$ac_ext
52165           CFLAGS="$chktls_save_CFLAGS"
52166           LDFLAGS="$chktls_save_LDFLAGS"
52167 else
52168   gcc_cv_have_tls=no
52169 fi
52170 rm -f core conftest.err conftest.$ac_objext \
52171     conftest$ac_exeext conftest.$ac_ext
52172
52173
52174 else
52175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52176 /* end confdefs.h.  */
52177 __thread int a; int b; int main() { return a = b; }
52178 _ACEOF
52179 if ac_fn_c_try_run "$LINENO"; then :
52180                       chktls_save_LDFLAGS="$LDFLAGS"
52181       LDFLAGS="-static $LDFLAGS"
52182       if test x$gcc_no_link = xyes; then
52183   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52184 fi
52185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52186 /* end confdefs.h.  */
52187 int main() { return 0; }
52188 _ACEOF
52189 if ac_fn_c_try_link "$LINENO"; then :
52190   if test "$cross_compiling" = yes; then :
52191   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52193 as_fn_error "cannot run test program while cross compiling
52194 See \`config.log' for more details." "$LINENO" 5; }
52195 else
52196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h.  */
52198 __thread int a; int b; int main() { return a = b; }
52199 _ACEOF
52200 if ac_fn_c_try_run "$LINENO"; then :
52201   gcc_cv_have_tls=yes
52202 else
52203   gcc_cv_have_tls=no
52204 fi
52205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52206   conftest.$ac_objext conftest.beam conftest.$ac_ext
52207 fi
52208
52209 else
52210   gcc_cv_have_tls=yes
52211 fi
52212 rm -f core conftest.err conftest.$ac_objext \
52213     conftest$ac_exeext conftest.$ac_ext
52214       LDFLAGS="$chktls_save_LDFLAGS"
52215       if test $gcc_cv_have_tls = yes; then
52216                                                 chktls_save_CFLAGS="$CFLAGS"
52217         thread_CFLAGS=failed
52218         for flag in '' '-pthread' '-lpthread'; do
52219           CFLAGS="$flag $chktls_save_CFLAGS"
52220           if test x$gcc_no_link = xyes; then
52221   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52222 fi
52223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52224 /* end confdefs.h.  */
52225 #include <pthread.h>
52226                 void *g(void *d) { return NULL; }
52227 int
52228 main ()
52229 {
52230 pthread_t t; pthread_create(&t,NULL,g,NULL);
52231   ;
52232   return 0;
52233 }
52234 _ACEOF
52235 if ac_fn_c_try_link "$LINENO"; then :
52236   thread_CFLAGS="$flag"
52237 fi
52238 rm -f core conftest.err conftest.$ac_objext \
52239     conftest$ac_exeext conftest.$ac_ext
52240           if test "X$thread_CFLAGS" != Xfailed; then
52241             break
52242           fi
52243         done
52244         CFLAGS="$chktls_save_CFLAGS"
52245         if test "X$thread_CFLAGS" != Xfailed; then
52246           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52247                                                   if test "$cross_compiling" = yes; then :
52248   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52250 as_fn_error "cannot run test program while cross compiling
52251 See \`config.log' for more details." "$LINENO" 5; }
52252 else
52253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52254 /* end confdefs.h.  */
52255 #include <pthread.h>
52256                 __thread int a;
52257                 static int *volatile a_in_other_thread;
52258                 static void *
52259                 thread_func (void *arg)
52260                 {
52261                   a_in_other_thread = &a;
52262                   return (void *)0;
52263                 }
52264 int
52265 main ()
52266 {
52267 pthread_t thread;
52268                 void *thread_retval;
52269                 int *volatile a_in_main_thread;
52270                 a_in_main_thread = &a;
52271                 if (pthread_create (&thread, (pthread_attr_t *)0,
52272                                     thread_func, (void *)0))
52273                   return 0;
52274                 if (pthread_join (thread, &thread_retval))
52275                   return 0;
52276                 return (a_in_other_thread == a_in_main_thread);
52277   ;
52278   return 0;
52279 }
52280 _ACEOF
52281 if ac_fn_c_try_run "$LINENO"; then :
52282   gcc_cv_have_tls=yes
52283 else
52284   gcc_cv_have_tls=no
52285 fi
52286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52287   conftest.$ac_objext conftest.beam conftest.$ac_ext
52288 fi
52289
52290           CFLAGS="$chktls_save_CFLAGS"
52291         fi
52292       fi
52293 else
52294   gcc_cv_have_tls=no
52295 fi
52296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52297   conftest.$ac_objext conftest.beam conftest.$ac_ext
52298 fi
52299
52300 fi
52301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52302 $as_echo "$gcc_cv_have_tls" >&6; }
52303   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52304
52305 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52306
52307   fi
52308
52309
52310
52311
52312
52313           am_save_CPPFLAGS="$CPPFLAGS"
52314
52315   for element in $INCICONV; do
52316     haveit=
52317     for x in $CPPFLAGS; do
52318
52319   acl_save_prefix="$prefix"
52320   prefix="$acl_final_prefix"
52321   acl_save_exec_prefix="$exec_prefix"
52322   exec_prefix="$acl_final_exec_prefix"
52323   eval x=\"$x\"
52324   exec_prefix="$acl_save_exec_prefix"
52325   prefix="$acl_save_prefix"
52326
52327       if test "X$x" = "X$element"; then
52328         haveit=yes
52329         break
52330       fi
52331     done
52332     if test -z "$haveit"; then
52333       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52334     fi
52335   done
52336
52337
52338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52339 $as_echo_n "checking for iconv... " >&6; }
52340 if test "${am_cv_func_iconv+set}" = set; then :
52341   $as_echo_n "(cached) " >&6
52342 else
52343
52344     am_cv_func_iconv="no, consider installing GNU libiconv"
52345     am_cv_lib_iconv=no
52346     if test x$gcc_no_link = xyes; then
52347   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52348 fi
52349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52350 /* end confdefs.h.  */
52351 #include <stdlib.h>
52352 #include <iconv.h>
52353 int
52354 main ()
52355 {
52356 iconv_t cd = iconv_open("","");
52357        iconv(cd,NULL,NULL,NULL,NULL);
52358        iconv_close(cd);
52359   ;
52360   return 0;
52361 }
52362 _ACEOF
52363 if ac_fn_c_try_link "$LINENO"; then :
52364   am_cv_func_iconv=yes
52365 fi
52366 rm -f core conftest.err conftest.$ac_objext \
52367     conftest$ac_exeext conftest.$ac_ext
52368     if test "$am_cv_func_iconv" != yes; then
52369       am_save_LIBS="$LIBS"
52370       LIBS="$LIBS $LIBICONV"
52371       if test x$gcc_no_link = xyes; then
52372   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52373 fi
52374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52375 /* end confdefs.h.  */
52376 #include <stdlib.h>
52377 #include <iconv.h>
52378 int
52379 main ()
52380 {
52381 iconv_t cd = iconv_open("","");
52382          iconv(cd,NULL,NULL,NULL,NULL);
52383          iconv_close(cd);
52384   ;
52385   return 0;
52386 }
52387 _ACEOF
52388 if ac_fn_c_try_link "$LINENO"; then :
52389   am_cv_lib_iconv=yes
52390         am_cv_func_iconv=yes
52391 fi
52392 rm -f core conftest.err conftest.$ac_objext \
52393     conftest$ac_exeext conftest.$ac_ext
52394       LIBS="$am_save_LIBS"
52395     fi
52396
52397 fi
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52399 $as_echo "$am_cv_func_iconv" >&6; }
52400   if test "$am_cv_func_iconv" = yes; then
52401
52402 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52403
52404   fi
52405   if test "$am_cv_lib_iconv" = yes; then
52406     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52407 $as_echo_n "checking how to link with libiconv... " >&6; }
52408     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52409 $as_echo "$LIBICONV" >&6; }
52410   else
52411             CPPFLAGS="$am_save_CPPFLAGS"
52412     LIBICONV=
52413     LTLIBICONV=
52414   fi
52415
52416
52417
52418   if test "$am_cv_func_iconv" = yes; then
52419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52420 $as_echo_n "checking for iconv declaration... " >&6; }
52421     if test "${am_cv_proto_iconv+set}" = set; then :
52422   $as_echo_n "(cached) " >&6
52423 else
52424
52425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52426 /* end confdefs.h.  */
52427
52428 #include <stdlib.h>
52429 #include <iconv.h>
52430 extern
52431 #ifdef __cplusplus
52432 "C"
52433 #endif
52434 #if defined(__STDC__) || defined(__cplusplus)
52435 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52436 #else
52437 size_t iconv();
52438 #endif
52439
52440 int
52441 main ()
52442 {
52443
52444   ;
52445   return 0;
52446 }
52447 _ACEOF
52448 if ac_fn_c_try_compile "$LINENO"; then :
52449   am_cv_proto_iconv_arg1=""
52450 else
52451   am_cv_proto_iconv_arg1="const"
52452 fi
52453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52454       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);"
52455 fi
52456
52457     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52458     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52459          }$am_cv_proto_iconv" >&5
52460 $as_echo "${ac_t:-
52461          }$am_cv_proto_iconv" >&6; }
52462
52463 cat >>confdefs.h <<_ACEOF
52464 #define ICONV_CONST $am_cv_proto_iconv_arg1
52465 _ACEOF
52466
52467   fi
52468
52469     ;;
52470   *-mingw32*)
52471
52472   # If we're not using GNU ld, then there's no point in even trying these
52473   # tests.  Check for that first.  We should have already tested for gld
52474   # by now (in libtool), but require it now just to be safe...
52475   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52476   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52477
52478
52479
52480   # The name set by libtool depends on the version of libtool.  Shame on us
52481   # for depending on an impl detail, but c'est la vie.  Older versions used
52482   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52483   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52484   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
52485   # set (hence we're using an older libtool), then set it.
52486   if test x${with_gnu_ld+set} != xset; then
52487     if test x${ac_cv_prog_gnu_ld+set} != xset; then
52488       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
52489       with_gnu_ld=no
52490     else
52491       with_gnu_ld=$ac_cv_prog_gnu_ld
52492     fi
52493   fi
52494
52495   # Start by getting the version number.  I think the libtool test already
52496   # does some of this, but throws away the result.
52497   glibcxx_ld_is_gold=no
52498   if test x"$with_gnu_ld" = x"yes"; then
52499     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52500 $as_echo_n "checking for ld version... " >&6; }
52501
52502     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52503       glibcxx_ld_is_gold=yes
52504     fi
52505     ldver=`$LD --version 2>/dev/null |
52506            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'`
52507
52508     glibcxx_gnu_ld_version=`echo $ldver | \
52509            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52510     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52511 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52512   fi
52513
52514   # Set --gc-sections.
52515   glibcxx_have_gc_sections=no
52516   if test "$glibcxx_ld_is_gold" = "yes"; then
52517     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52518       glibcxx_have_gc_sections=yes
52519     fi
52520   else
52521     glibcxx_gcsections_min_ld=21602
52522     if test x"$with_gnu_ld" = x"yes" &&
52523         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52524       glibcxx_have_gc_sections=yes
52525     fi
52526   fi
52527   if test "$glibcxx_have_gc_sections" = "yes"; then
52528     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
52529     # NB: This flag only works reliably after 2.16.1. Configure tests
52530     # for this are difficult, so hard wire a value that should work.
52531
52532     ac_test_CFLAGS="${CFLAGS+set}"
52533     ac_save_CFLAGS="$CFLAGS"
52534     CFLAGS='-Wl,--gc-sections'
52535
52536     # Check for -Wl,--gc-sections
52537     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52538 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52539     if test x$gcc_no_link = xyes; then
52540   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52541 fi
52542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52543 /* end confdefs.h.  */
52544  int one(void) { return 1; }
52545      int two(void) { return 2; }
52546
52547 int
52548 main ()
52549 {
52550  two();
52551   ;
52552   return 0;
52553 }
52554 _ACEOF
52555 if ac_fn_c_try_link "$LINENO"; then :
52556   ac_gcsections=yes
52557 else
52558   ac_gcsections=no
52559 fi
52560 rm -f core conftest.err conftest.$ac_objext \
52561     conftest$ac_exeext conftest.$ac_ext
52562     if test "$ac_gcsections" = "yes"; then
52563       rm -f conftest.c
52564       touch conftest.c
52565       if $CC -c conftest.c; then
52566         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52567            grep "Warning: gc-sections option ignored" > /dev/null; then
52568           ac_gcsections=no
52569         fi
52570       fi
52571       rm -f conftest.c conftest.o conftest
52572     fi
52573     if test "$ac_gcsections" = "yes"; then
52574       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52575     fi
52576     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52577 $as_echo "$ac_gcsections" >&6; }
52578
52579     if test "$ac_test_CFLAGS" = set; then
52580       CFLAGS="$ac_save_CFLAGS"
52581     else
52582       # this is the suspicious part
52583       CFLAGS=''
52584     fi
52585   fi
52586
52587   # Set -z,relro.
52588   # Note this is only for shared objects.
52589   ac_ld_relro=no
52590   if test x"$with_gnu_ld" = x"yes"; then
52591     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52592 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52593     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52594     if test -n "$cxx_z_relo"; then
52595       OPT_LDFLAGS="-Wl,-z,relro"
52596       ac_ld_relro=yes
52597     fi
52598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52599 $as_echo "$ac_ld_relro" >&6; }
52600   fi
52601
52602   # Set linker optimization flags.
52603   if test x"$with_gnu_ld" = x"yes"; then
52604     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52605   fi
52606
52607
52608
52609
52610
52611   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52612   ac_save_CXXFLAGS="$CXXFLAGS"
52613   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52614
52615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52616 $as_echo_n "checking for sin in -lm... " >&6; }
52617 if test "${ac_cv_lib_m_sin+set}" = set; then :
52618   $as_echo_n "(cached) " >&6
52619 else
52620   ac_check_lib_save_LIBS=$LIBS
52621 LIBS="-lm  $LIBS"
52622 if test x$gcc_no_link = xyes; then
52623   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52624 fi
52625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52626 /* end confdefs.h.  */
52627
52628 /* Override any GCC internal prototype to avoid an error.
52629    Use char because int might match the return type of a GCC
52630    builtin and then its argument prototype would still apply.  */
52631 #ifdef __cplusplus
52632 extern "C"
52633 #endif
52634 char sin ();
52635 int
52636 main ()
52637 {
52638 return sin ();
52639   ;
52640   return 0;
52641 }
52642 _ACEOF
52643 if ac_fn_c_try_link "$LINENO"; then :
52644   ac_cv_lib_m_sin=yes
52645 else
52646   ac_cv_lib_m_sin=no
52647 fi
52648 rm -f core conftest.err conftest.$ac_objext \
52649     conftest$ac_exeext conftest.$ac_ext
52650 LIBS=$ac_check_lib_save_LIBS
52651 fi
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52653 $as_echo "$ac_cv_lib_m_sin" >&6; }
52654 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52655   libm="-lm"
52656 fi
52657
52658   ac_save_LIBS="$LIBS"
52659   LIBS="$LIBS $libm"
52660
52661
52662
52663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52664 $as_echo_n "checking for isinf declaration... " >&6; }
52665   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52666     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52667   $as_echo_n "(cached) " >&6
52668 else
52669
52670
52671       ac_ext=cpp
52672 ac_cpp='$CXXCPP $CPPFLAGS'
52673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52676
52677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52678 /* end confdefs.h.  */
52679 #include <math.h>
52680                       #ifdef HAVE_IEEEFP_H
52681                       #include <ieeefp.h>
52682                       #endif
52683
52684 int
52685 main ()
52686 {
52687  isinf(0);
52688   ;
52689   return 0;
52690 }
52691 _ACEOF
52692 if ac_fn_cxx_try_compile "$LINENO"; then :
52693   glibcxx_cv_func_isinf_use=yes
52694 else
52695   glibcxx_cv_func_isinf_use=no
52696 fi
52697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52698       ac_ext=c
52699 ac_cpp='$CPP $CPPFLAGS'
52700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52703
52704
52705 fi
52706
52707   fi
52708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52709 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52710
52711   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52712     for ac_func in isinf
52713 do :
52714   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52715 if test "x$ac_cv_func_isinf" = x""yes; then :
52716   cat >>confdefs.h <<_ACEOF
52717 #define HAVE_ISINF 1
52718 _ACEOF
52719
52720 fi
52721 done
52722
52723   else
52724
52725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52726 $as_echo_n "checking for _isinf declaration... " >&6; }
52727   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52728     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52729   $as_echo_n "(cached) " >&6
52730 else
52731
52732
52733       ac_ext=cpp
52734 ac_cpp='$CXXCPP $CPPFLAGS'
52735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52738
52739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52740 /* end confdefs.h.  */
52741 #include <math.h>
52742                       #ifdef HAVE_IEEEFP_H
52743                       #include <ieeefp.h>
52744                       #endif
52745
52746 int
52747 main ()
52748 {
52749  _isinf(0);
52750   ;
52751   return 0;
52752 }
52753 _ACEOF
52754 if ac_fn_cxx_try_compile "$LINENO"; then :
52755   glibcxx_cv_func__isinf_use=yes
52756 else
52757   glibcxx_cv_func__isinf_use=no
52758 fi
52759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52760       ac_ext=c
52761 ac_cpp='$CPP $CPPFLAGS'
52762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52765
52766
52767 fi
52768
52769   fi
52770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52771 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52772
52773     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52774       for ac_func in _isinf
52775 do :
52776   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52777 if test "x$ac_cv_func__isinf" = x""yes; then :
52778   cat >>confdefs.h <<_ACEOF
52779 #define HAVE__ISINF 1
52780 _ACEOF
52781
52782 fi
52783 done
52784
52785     fi
52786   fi
52787
52788
52789
52790
52791
52792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52793 $as_echo_n "checking for isnan declaration... " >&6; }
52794   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52795     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52796   $as_echo_n "(cached) " >&6
52797 else
52798
52799
52800       ac_ext=cpp
52801 ac_cpp='$CXXCPP $CPPFLAGS'
52802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52805
52806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52807 /* end confdefs.h.  */
52808 #include <math.h>
52809                       #ifdef HAVE_IEEEFP_H
52810                       #include <ieeefp.h>
52811                       #endif
52812
52813 int
52814 main ()
52815 {
52816  isnan(0);
52817   ;
52818   return 0;
52819 }
52820 _ACEOF
52821 if ac_fn_cxx_try_compile "$LINENO"; then :
52822   glibcxx_cv_func_isnan_use=yes
52823 else
52824   glibcxx_cv_func_isnan_use=no
52825 fi
52826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52827       ac_ext=c
52828 ac_cpp='$CPP $CPPFLAGS'
52829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52832
52833
52834 fi
52835
52836   fi
52837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52838 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52839
52840   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52841     for ac_func in isnan
52842 do :
52843   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52844 if test "x$ac_cv_func_isnan" = x""yes; then :
52845   cat >>confdefs.h <<_ACEOF
52846 #define HAVE_ISNAN 1
52847 _ACEOF
52848
52849 fi
52850 done
52851
52852   else
52853
52854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52855 $as_echo_n "checking for _isnan declaration... " >&6; }
52856   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52857     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52858   $as_echo_n "(cached) " >&6
52859 else
52860
52861
52862       ac_ext=cpp
52863 ac_cpp='$CXXCPP $CPPFLAGS'
52864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52867
52868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52869 /* end confdefs.h.  */
52870 #include <math.h>
52871                       #ifdef HAVE_IEEEFP_H
52872                       #include <ieeefp.h>
52873                       #endif
52874
52875 int
52876 main ()
52877 {
52878  _isnan(0);
52879   ;
52880   return 0;
52881 }
52882 _ACEOF
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884   glibcxx_cv_func__isnan_use=yes
52885 else
52886   glibcxx_cv_func__isnan_use=no
52887 fi
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52889       ac_ext=c
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52894
52895
52896 fi
52897
52898   fi
52899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52900 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52901
52902     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52903       for ac_func in _isnan
52904 do :
52905   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52906 if test "x$ac_cv_func__isnan" = x""yes; then :
52907   cat >>confdefs.h <<_ACEOF
52908 #define HAVE__ISNAN 1
52909 _ACEOF
52910
52911 fi
52912 done
52913
52914     fi
52915   fi
52916
52917
52918
52919
52920
52921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52922 $as_echo_n "checking for finite declaration... " >&6; }
52923   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52924     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52925   $as_echo_n "(cached) " >&6
52926 else
52927
52928
52929       ac_ext=cpp
52930 ac_cpp='$CXXCPP $CPPFLAGS'
52931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52934
52935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52936 /* end confdefs.h.  */
52937 #include <math.h>
52938                       #ifdef HAVE_IEEEFP_H
52939                       #include <ieeefp.h>
52940                       #endif
52941
52942 int
52943 main ()
52944 {
52945  finite(0);
52946   ;
52947   return 0;
52948 }
52949 _ACEOF
52950 if ac_fn_cxx_try_compile "$LINENO"; then :
52951   glibcxx_cv_func_finite_use=yes
52952 else
52953   glibcxx_cv_func_finite_use=no
52954 fi
52955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52956       ac_ext=c
52957 ac_cpp='$CPP $CPPFLAGS'
52958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52961
52962
52963 fi
52964
52965   fi
52966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52967 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52968
52969   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52970     for ac_func in finite
52971 do :
52972   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52973 if test "x$ac_cv_func_finite" = x""yes; then :
52974   cat >>confdefs.h <<_ACEOF
52975 #define HAVE_FINITE 1
52976 _ACEOF
52977
52978 fi
52979 done
52980
52981   else
52982
52983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52984 $as_echo_n "checking for _finite declaration... " >&6; }
52985   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52986     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52987   $as_echo_n "(cached) " >&6
52988 else
52989
52990
52991       ac_ext=cpp
52992 ac_cpp='$CXXCPP $CPPFLAGS'
52993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52996
52997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52998 /* end confdefs.h.  */
52999 #include <math.h>
53000                       #ifdef HAVE_IEEEFP_H
53001                       #include <ieeefp.h>
53002                       #endif
53003
53004 int
53005 main ()
53006 {
53007  _finite(0);
53008   ;
53009   return 0;
53010 }
53011 _ACEOF
53012 if ac_fn_cxx_try_compile "$LINENO"; then :
53013   glibcxx_cv_func__finite_use=yes
53014 else
53015   glibcxx_cv_func__finite_use=no
53016 fi
53017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53018       ac_ext=c
53019 ac_cpp='$CPP $CPPFLAGS'
53020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53023
53024
53025 fi
53026
53027   fi
53028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53029 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53030
53031     if test x$glibcxx_cv_func__finite_use = x"yes"; then
53032       for ac_func in _finite
53033 do :
53034   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53035 if test "x$ac_cv_func__finite" = x""yes; then :
53036   cat >>confdefs.h <<_ACEOF
53037 #define HAVE__FINITE 1
53038 _ACEOF
53039
53040 fi
53041 done
53042
53043     fi
53044   fi
53045
53046
53047
53048
53049
53050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53051 $as_echo_n "checking for sincos declaration... " >&6; }
53052   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53053     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53054   $as_echo_n "(cached) " >&6
53055 else
53056
53057
53058       ac_ext=cpp
53059 ac_cpp='$CXXCPP $CPPFLAGS'
53060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53063
53064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53065 /* end confdefs.h.  */
53066 #include <math.h>
53067 int
53068 main ()
53069 {
53070  sincos(0, 0, 0);
53071   ;
53072   return 0;
53073 }
53074 _ACEOF
53075 if ac_fn_cxx_try_compile "$LINENO"; then :
53076   glibcxx_cv_func_sincos_use=yes
53077 else
53078   glibcxx_cv_func_sincos_use=no
53079 fi
53080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53081       ac_ext=c
53082 ac_cpp='$CPP $CPPFLAGS'
53083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53086
53087
53088 fi
53089
53090   fi
53091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53092 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53093
53094   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53095     for ac_func in sincos
53096 do :
53097   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53098 if test "x$ac_cv_func_sincos" = x""yes; then :
53099   cat >>confdefs.h <<_ACEOF
53100 #define HAVE_SINCOS 1
53101 _ACEOF
53102
53103 fi
53104 done
53105
53106   else
53107
53108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53109 $as_echo_n "checking for _sincos declaration... " >&6; }
53110   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53111     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53112   $as_echo_n "(cached) " >&6
53113 else
53114
53115
53116       ac_ext=cpp
53117 ac_cpp='$CXXCPP $CPPFLAGS'
53118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53121
53122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53123 /* end confdefs.h.  */
53124 #include <math.h>
53125 int
53126 main ()
53127 {
53128  _sincos(0, 0, 0);
53129   ;
53130   return 0;
53131 }
53132 _ACEOF
53133 if ac_fn_cxx_try_compile "$LINENO"; then :
53134   glibcxx_cv_func__sincos_use=yes
53135 else
53136   glibcxx_cv_func__sincos_use=no
53137 fi
53138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53139       ac_ext=c
53140 ac_cpp='$CPP $CPPFLAGS'
53141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53144
53145
53146 fi
53147
53148   fi
53149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53150 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53151
53152     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53153       for ac_func in _sincos
53154 do :
53155   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53156 if test "x$ac_cv_func__sincos" = x""yes; then :
53157   cat >>confdefs.h <<_ACEOF
53158 #define HAVE__SINCOS 1
53159 _ACEOF
53160
53161 fi
53162 done
53163
53164     fi
53165   fi
53166
53167
53168
53169
53170
53171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53172 $as_echo_n "checking for fpclass declaration... " >&6; }
53173   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53174     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53175   $as_echo_n "(cached) " >&6
53176 else
53177
53178
53179       ac_ext=cpp
53180 ac_cpp='$CXXCPP $CPPFLAGS'
53181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53184
53185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53186 /* end confdefs.h.  */
53187 #include <math.h>
53188                       #ifdef HAVE_IEEEFP_H
53189                       #include <ieeefp.h>
53190                       #endif
53191
53192 int
53193 main ()
53194 {
53195  fpclass(0);
53196   ;
53197   return 0;
53198 }
53199 _ACEOF
53200 if ac_fn_cxx_try_compile "$LINENO"; then :
53201   glibcxx_cv_func_fpclass_use=yes
53202 else
53203   glibcxx_cv_func_fpclass_use=no
53204 fi
53205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53206       ac_ext=c
53207 ac_cpp='$CPP $CPPFLAGS'
53208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53211
53212
53213 fi
53214
53215   fi
53216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53217 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53218
53219   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53220     for ac_func in fpclass
53221 do :
53222   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53223 if test "x$ac_cv_func_fpclass" = x""yes; then :
53224   cat >>confdefs.h <<_ACEOF
53225 #define HAVE_FPCLASS 1
53226 _ACEOF
53227
53228 fi
53229 done
53230
53231   else
53232
53233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53234 $as_echo_n "checking for _fpclass declaration... " >&6; }
53235   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53236     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53237   $as_echo_n "(cached) " >&6
53238 else
53239
53240
53241       ac_ext=cpp
53242 ac_cpp='$CXXCPP $CPPFLAGS'
53243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53246
53247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53248 /* end confdefs.h.  */
53249 #include <math.h>
53250                       #ifdef HAVE_IEEEFP_H
53251                       #include <ieeefp.h>
53252                       #endif
53253
53254 int
53255 main ()
53256 {
53257  _fpclass(0);
53258   ;
53259   return 0;
53260 }
53261 _ACEOF
53262 if ac_fn_cxx_try_compile "$LINENO"; then :
53263   glibcxx_cv_func__fpclass_use=yes
53264 else
53265   glibcxx_cv_func__fpclass_use=no
53266 fi
53267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53268       ac_ext=c
53269 ac_cpp='$CPP $CPPFLAGS'
53270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53273
53274
53275 fi
53276
53277   fi
53278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53279 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53280
53281     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53282       for ac_func in _fpclass
53283 do :
53284   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53285 if test "x$ac_cv_func__fpclass" = x""yes; then :
53286   cat >>confdefs.h <<_ACEOF
53287 #define HAVE__FPCLASS 1
53288 _ACEOF
53289
53290 fi
53291 done
53292
53293     fi
53294   fi
53295
53296
53297
53298
53299
53300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53301 $as_echo_n "checking for qfpclass declaration... " >&6; }
53302   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53303     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53304   $as_echo_n "(cached) " >&6
53305 else
53306
53307
53308       ac_ext=cpp
53309 ac_cpp='$CXXCPP $CPPFLAGS'
53310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53313
53314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53315 /* end confdefs.h.  */
53316 #include <math.h>
53317                       #ifdef HAVE_IEEEFP_H
53318                       #include <ieeefp.h>
53319                       #endif
53320
53321 int
53322 main ()
53323 {
53324  qfpclass(0);
53325   ;
53326   return 0;
53327 }
53328 _ACEOF
53329 if ac_fn_cxx_try_compile "$LINENO"; then :
53330   glibcxx_cv_func_qfpclass_use=yes
53331 else
53332   glibcxx_cv_func_qfpclass_use=no
53333 fi
53334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53335       ac_ext=c
53336 ac_cpp='$CPP $CPPFLAGS'
53337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53340
53341
53342 fi
53343
53344   fi
53345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53346 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53347
53348   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53349     for ac_func in qfpclass
53350 do :
53351   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53352 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53353   cat >>confdefs.h <<_ACEOF
53354 #define HAVE_QFPCLASS 1
53355 _ACEOF
53356
53357 fi
53358 done
53359
53360   else
53361
53362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53363 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53364   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53365     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53366   $as_echo_n "(cached) " >&6
53367 else
53368
53369
53370       ac_ext=cpp
53371 ac_cpp='$CXXCPP $CPPFLAGS'
53372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53375
53376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53377 /* end confdefs.h.  */
53378 #include <math.h>
53379                       #ifdef HAVE_IEEEFP_H
53380                       #include <ieeefp.h>
53381                       #endif
53382
53383 int
53384 main ()
53385 {
53386  _qfpclass(0);
53387   ;
53388   return 0;
53389 }
53390 _ACEOF
53391 if ac_fn_cxx_try_compile "$LINENO"; then :
53392   glibcxx_cv_func__qfpclass_use=yes
53393 else
53394   glibcxx_cv_func__qfpclass_use=no
53395 fi
53396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53397       ac_ext=c
53398 ac_cpp='$CPP $CPPFLAGS'
53399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53402
53403
53404 fi
53405
53406   fi
53407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53408 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53409
53410     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53411       for ac_func in _qfpclass
53412 do :
53413   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53414 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53415   cat >>confdefs.h <<_ACEOF
53416 #define HAVE__QFPCLASS 1
53417 _ACEOF
53418
53419 fi
53420 done
53421
53422     fi
53423   fi
53424
53425
53426
53427
53428
53429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53430 $as_echo_n "checking for hypot declaration... " >&6; }
53431   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53432     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53433   $as_echo_n "(cached) " >&6
53434 else
53435
53436
53437       ac_ext=cpp
53438 ac_cpp='$CXXCPP $CPPFLAGS'
53439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53442
53443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53444 /* end confdefs.h.  */
53445 #include <math.h>
53446 int
53447 main ()
53448 {
53449  hypot(0, 0);
53450   ;
53451   return 0;
53452 }
53453 _ACEOF
53454 if ac_fn_cxx_try_compile "$LINENO"; then :
53455   glibcxx_cv_func_hypot_use=yes
53456 else
53457   glibcxx_cv_func_hypot_use=no
53458 fi
53459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53460       ac_ext=c
53461 ac_cpp='$CPP $CPPFLAGS'
53462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53465
53466
53467 fi
53468
53469   fi
53470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53471 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53472
53473   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53474     for ac_func in hypot
53475 do :
53476   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53477 if test "x$ac_cv_func_hypot" = x""yes; then :
53478   cat >>confdefs.h <<_ACEOF
53479 #define HAVE_HYPOT 1
53480 _ACEOF
53481
53482 fi
53483 done
53484
53485   else
53486
53487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53488 $as_echo_n "checking for _hypot declaration... " >&6; }
53489   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53490     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53491   $as_echo_n "(cached) " >&6
53492 else
53493
53494
53495       ac_ext=cpp
53496 ac_cpp='$CXXCPP $CPPFLAGS'
53497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53500
53501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53502 /* end confdefs.h.  */
53503 #include <math.h>
53504 int
53505 main ()
53506 {
53507  _hypot(0, 0);
53508   ;
53509   return 0;
53510 }
53511 _ACEOF
53512 if ac_fn_cxx_try_compile "$LINENO"; then :
53513   glibcxx_cv_func__hypot_use=yes
53514 else
53515   glibcxx_cv_func__hypot_use=no
53516 fi
53517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53518       ac_ext=c
53519 ac_cpp='$CPP $CPPFLAGS'
53520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53523
53524
53525 fi
53526
53527   fi
53528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53529 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53530
53531     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53532       for ac_func in _hypot
53533 do :
53534   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53535 if test "x$ac_cv_func__hypot" = x""yes; then :
53536   cat >>confdefs.h <<_ACEOF
53537 #define HAVE__HYPOT 1
53538 _ACEOF
53539
53540 fi
53541 done
53542
53543     fi
53544   fi
53545
53546
53547
53548
53549
53550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53551 $as_echo_n "checking for float trig functions... " >&6; }
53552   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53553   $as_echo_n "(cached) " >&6
53554 else
53555
53556
53557     ac_ext=cpp
53558 ac_cpp='$CXXCPP $CPPFLAGS'
53559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53562
53563     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53564 /* end confdefs.h.  */
53565 #include <math.h>
53566 int
53567 main ()
53568 {
53569 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53570   ;
53571   return 0;
53572 }
53573 _ACEOF
53574 if ac_fn_cxx_try_compile "$LINENO"; then :
53575   glibcxx_cv_func_float_trig_use=yes
53576 else
53577   glibcxx_cv_func_float_trig_use=no
53578 fi
53579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53580     ac_ext=c
53581 ac_cpp='$CPP $CPPFLAGS'
53582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53585
53586 fi
53587
53588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53589 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53590   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53591     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53592 do :
53593   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53595 eval as_val=\$$as_ac_var
53596    if test "x$as_val" = x""yes; then :
53597   cat >>confdefs.h <<_ACEOF
53598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53599 _ACEOF
53600
53601 fi
53602 done
53603
53604   else
53605     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53606 $as_echo_n "checking for _float trig functions... " >&6; }
53607     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53608   $as_echo_n "(cached) " >&6
53609 else
53610
53611
53612       ac_ext=cpp
53613 ac_cpp='$CXXCPP $CPPFLAGS'
53614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53617
53618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53619 /* end confdefs.h.  */
53620 #include <math.h>
53621 int
53622 main ()
53623 {
53624 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53625   ;
53626   return 0;
53627 }
53628 _ACEOF
53629 if ac_fn_cxx_try_compile "$LINENO"; then :
53630   glibcxx_cv_func__float_trig_use=yes
53631 else
53632   glibcxx_cv_func__float_trig_use=no
53633 fi
53634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53635       ac_ext=c
53636 ac_cpp='$CPP $CPPFLAGS'
53637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53640
53641 fi
53642
53643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53644 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53645     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53646       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53647 do :
53648   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53650 eval as_val=\$$as_ac_var
53651    if test "x$as_val" = x""yes; then :
53652   cat >>confdefs.h <<_ACEOF
53653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53654 _ACEOF
53655
53656 fi
53657 done
53658
53659     fi
53660   fi
53661
53662
53663
53664
53665
53666     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53667 $as_echo_n "checking for float round functions... " >&6; }
53668   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53669   $as_echo_n "(cached) " >&6
53670 else
53671
53672
53673     ac_ext=cpp
53674 ac_cpp='$CXXCPP $CPPFLAGS'
53675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53678
53679     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680 /* end confdefs.h.  */
53681 #include <math.h>
53682 int
53683 main ()
53684 {
53685 ceilf (0); floorf (0);
53686   ;
53687   return 0;
53688 }
53689 _ACEOF
53690 if ac_fn_cxx_try_compile "$LINENO"; then :
53691   glibcxx_cv_func_float_round_use=yes
53692 else
53693   glibcxx_cv_func_float_round_use=no
53694 fi
53695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53696     ac_ext=c
53697 ac_cpp='$CPP $CPPFLAGS'
53698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53701
53702 fi
53703
53704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53705 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53706   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53707     for ac_func in ceilf floorf
53708 do :
53709   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53711 eval as_val=\$$as_ac_var
53712    if test "x$as_val" = x""yes; then :
53713   cat >>confdefs.h <<_ACEOF
53714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53715 _ACEOF
53716
53717 fi
53718 done
53719
53720   else
53721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53722 $as_echo_n "checking for _float round functions... " >&6; }
53723     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53724   $as_echo_n "(cached) " >&6
53725 else
53726
53727
53728       ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53733
53734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h.  */
53736 #include <math.h>
53737 int
53738 main ()
53739 {
53740 _ceilf (0); _floorf (0);
53741   ;
53742   return 0;
53743 }
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746   glibcxx_cv_func__float_round_use=yes
53747 else
53748   glibcxx_cv_func__float_round_use=no
53749 fi
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751       ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53756
53757 fi
53758
53759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53760 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53761     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53762       for ac_func in _ceilf _floorf
53763 do :
53764   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53766 eval as_val=\$$as_ac_var
53767    if test "x$as_val" = x""yes; then :
53768   cat >>confdefs.h <<_ACEOF
53769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53770 _ACEOF
53771
53772 fi
53773 done
53774
53775     fi
53776   fi
53777
53778
53779
53780
53781
53782
53783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53784 $as_echo_n "checking for expf declaration... " >&6; }
53785   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53786     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53787   $as_echo_n "(cached) " >&6
53788 else
53789
53790
53791       ac_ext=cpp
53792 ac_cpp='$CXXCPP $CPPFLAGS'
53793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53796
53797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53798 /* end confdefs.h.  */
53799 #include <math.h>
53800                       #ifdef HAVE_IEEEFP_H
53801                       #include <ieeefp.h>
53802                       #endif
53803
53804 int
53805 main ()
53806 {
53807  expf(0);
53808   ;
53809   return 0;
53810 }
53811 _ACEOF
53812 if ac_fn_cxx_try_compile "$LINENO"; then :
53813   glibcxx_cv_func_expf_use=yes
53814 else
53815   glibcxx_cv_func_expf_use=no
53816 fi
53817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53818       ac_ext=c
53819 ac_cpp='$CPP $CPPFLAGS'
53820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53823
53824
53825 fi
53826
53827   fi
53828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53829 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53830
53831   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53832     for ac_func in expf
53833 do :
53834   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53835 if test "x$ac_cv_func_expf" = x""yes; then :
53836   cat >>confdefs.h <<_ACEOF
53837 #define HAVE_EXPF 1
53838 _ACEOF
53839
53840 fi
53841 done
53842
53843   else
53844
53845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53846 $as_echo_n "checking for _expf declaration... " >&6; }
53847   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53848     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53849   $as_echo_n "(cached) " >&6
53850 else
53851
53852
53853       ac_ext=cpp
53854 ac_cpp='$CXXCPP $CPPFLAGS'
53855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53858
53859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53860 /* end confdefs.h.  */
53861 #include <math.h>
53862                       #ifdef HAVE_IEEEFP_H
53863                       #include <ieeefp.h>
53864                       #endif
53865
53866 int
53867 main ()
53868 {
53869  _expf(0);
53870   ;
53871   return 0;
53872 }
53873 _ACEOF
53874 if ac_fn_cxx_try_compile "$LINENO"; then :
53875   glibcxx_cv_func__expf_use=yes
53876 else
53877   glibcxx_cv_func__expf_use=no
53878 fi
53879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53880       ac_ext=c
53881 ac_cpp='$CPP $CPPFLAGS'
53882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53885
53886
53887 fi
53888
53889   fi
53890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53891 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53892
53893     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53894       for ac_func in _expf
53895 do :
53896   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53897 if test "x$ac_cv_func__expf" = x""yes; then :
53898   cat >>confdefs.h <<_ACEOF
53899 #define HAVE__EXPF 1
53900 _ACEOF
53901
53902 fi
53903 done
53904
53905     fi
53906   fi
53907
53908
53909
53910
53911
53912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53913 $as_echo_n "checking for isnanf declaration... " >&6; }
53914   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53915     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53916   $as_echo_n "(cached) " >&6
53917 else
53918
53919
53920       ac_ext=cpp
53921 ac_cpp='$CXXCPP $CPPFLAGS'
53922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53925
53926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53927 /* end confdefs.h.  */
53928 #include <math.h>
53929                       #ifdef HAVE_IEEEFP_H
53930                       #include <ieeefp.h>
53931                       #endif
53932
53933 int
53934 main ()
53935 {
53936  isnanf(0);
53937   ;
53938   return 0;
53939 }
53940 _ACEOF
53941 if ac_fn_cxx_try_compile "$LINENO"; then :
53942   glibcxx_cv_func_isnanf_use=yes
53943 else
53944   glibcxx_cv_func_isnanf_use=no
53945 fi
53946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53947       ac_ext=c
53948 ac_cpp='$CPP $CPPFLAGS'
53949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53952
53953
53954 fi
53955
53956   fi
53957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53958 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53959
53960   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53961     for ac_func in isnanf
53962 do :
53963   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53964 if test "x$ac_cv_func_isnanf" = x""yes; then :
53965   cat >>confdefs.h <<_ACEOF
53966 #define HAVE_ISNANF 1
53967 _ACEOF
53968
53969 fi
53970 done
53971
53972   else
53973
53974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53975 $as_echo_n "checking for _isnanf declaration... " >&6; }
53976   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53977     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53978   $as_echo_n "(cached) " >&6
53979 else
53980
53981
53982       ac_ext=cpp
53983 ac_cpp='$CXXCPP $CPPFLAGS'
53984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53987
53988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53989 /* end confdefs.h.  */
53990 #include <math.h>
53991                       #ifdef HAVE_IEEEFP_H
53992                       #include <ieeefp.h>
53993                       #endif
53994
53995 int
53996 main ()
53997 {
53998  _isnanf(0);
53999   ;
54000   return 0;
54001 }
54002 _ACEOF
54003 if ac_fn_cxx_try_compile "$LINENO"; then :
54004   glibcxx_cv_func__isnanf_use=yes
54005 else
54006   glibcxx_cv_func__isnanf_use=no
54007 fi
54008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54009       ac_ext=c
54010 ac_cpp='$CPP $CPPFLAGS'
54011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54014
54015
54016 fi
54017
54018   fi
54019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54020 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54021
54022     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54023       for ac_func in _isnanf
54024 do :
54025   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54026 if test "x$ac_cv_func__isnanf" = x""yes; then :
54027   cat >>confdefs.h <<_ACEOF
54028 #define HAVE__ISNANF 1
54029 _ACEOF
54030
54031 fi
54032 done
54033
54034     fi
54035   fi
54036
54037
54038
54039
54040
54041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54042 $as_echo_n "checking for isinff declaration... " >&6; }
54043   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54044     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54045   $as_echo_n "(cached) " >&6
54046 else
54047
54048
54049       ac_ext=cpp
54050 ac_cpp='$CXXCPP $CPPFLAGS'
54051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54054
54055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54056 /* end confdefs.h.  */
54057 #include <math.h>
54058                       #ifdef HAVE_IEEEFP_H
54059                       #include <ieeefp.h>
54060                       #endif
54061
54062 int
54063 main ()
54064 {
54065  isinff(0);
54066   ;
54067   return 0;
54068 }
54069 _ACEOF
54070 if ac_fn_cxx_try_compile "$LINENO"; then :
54071   glibcxx_cv_func_isinff_use=yes
54072 else
54073   glibcxx_cv_func_isinff_use=no
54074 fi
54075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54076       ac_ext=c
54077 ac_cpp='$CPP $CPPFLAGS'
54078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54081
54082
54083 fi
54084
54085   fi
54086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54087 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54088
54089   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54090     for ac_func in isinff
54091 do :
54092   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54093 if test "x$ac_cv_func_isinff" = x""yes; then :
54094   cat >>confdefs.h <<_ACEOF
54095 #define HAVE_ISINFF 1
54096 _ACEOF
54097
54098 fi
54099 done
54100
54101   else
54102
54103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54104 $as_echo_n "checking for _isinff declaration... " >&6; }
54105   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54106     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54107   $as_echo_n "(cached) " >&6
54108 else
54109
54110
54111       ac_ext=cpp
54112 ac_cpp='$CXXCPP $CPPFLAGS'
54113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54116
54117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54118 /* end confdefs.h.  */
54119 #include <math.h>
54120                       #ifdef HAVE_IEEEFP_H
54121                       #include <ieeefp.h>
54122                       #endif
54123
54124 int
54125 main ()
54126 {
54127  _isinff(0);
54128   ;
54129   return 0;
54130 }
54131 _ACEOF
54132 if ac_fn_cxx_try_compile "$LINENO"; then :
54133   glibcxx_cv_func__isinff_use=yes
54134 else
54135   glibcxx_cv_func__isinff_use=no
54136 fi
54137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54138       ac_ext=c
54139 ac_cpp='$CPP $CPPFLAGS'
54140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54143
54144
54145 fi
54146
54147   fi
54148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54149 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54150
54151     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54152       for ac_func in _isinff
54153 do :
54154   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54155 if test "x$ac_cv_func__isinff" = x""yes; then :
54156   cat >>confdefs.h <<_ACEOF
54157 #define HAVE__ISINFF 1
54158 _ACEOF
54159
54160 fi
54161 done
54162
54163     fi
54164   fi
54165
54166
54167
54168
54169
54170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54171 $as_echo_n "checking for atan2f declaration... " >&6; }
54172   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54173     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54174   $as_echo_n "(cached) " >&6
54175 else
54176
54177
54178       ac_ext=cpp
54179 ac_cpp='$CXXCPP $CPPFLAGS'
54180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54183
54184       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54185 /* end confdefs.h.  */
54186 #include <math.h>
54187 int
54188 main ()
54189 {
54190  atan2f(0, 0);
54191   ;
54192   return 0;
54193 }
54194 _ACEOF
54195 if ac_fn_cxx_try_compile "$LINENO"; then :
54196   glibcxx_cv_func_atan2f_use=yes
54197 else
54198   glibcxx_cv_func_atan2f_use=no
54199 fi
54200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54201       ac_ext=c
54202 ac_cpp='$CPP $CPPFLAGS'
54203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54206
54207
54208 fi
54209
54210   fi
54211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54212 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54213
54214   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54215     for ac_func in atan2f
54216 do :
54217   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54218 if test "x$ac_cv_func_atan2f" = x""yes; then :
54219   cat >>confdefs.h <<_ACEOF
54220 #define HAVE_ATAN2F 1
54221 _ACEOF
54222
54223 fi
54224 done
54225
54226   else
54227
54228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54229 $as_echo_n "checking for _atan2f declaration... " >&6; }
54230   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54231     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54232   $as_echo_n "(cached) " >&6
54233 else
54234
54235
54236       ac_ext=cpp
54237 ac_cpp='$CXXCPP $CPPFLAGS'
54238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54241
54242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54243 /* end confdefs.h.  */
54244 #include <math.h>
54245 int
54246 main ()
54247 {
54248  _atan2f(0, 0);
54249   ;
54250   return 0;
54251 }
54252 _ACEOF
54253 if ac_fn_cxx_try_compile "$LINENO"; then :
54254   glibcxx_cv_func__atan2f_use=yes
54255 else
54256   glibcxx_cv_func__atan2f_use=no
54257 fi
54258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54259       ac_ext=c
54260 ac_cpp='$CPP $CPPFLAGS'
54261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54264
54265
54266 fi
54267
54268   fi
54269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54270 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54271
54272     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54273       for ac_func in _atan2f
54274 do :
54275   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54276 if test "x$ac_cv_func__atan2f" = x""yes; then :
54277   cat >>confdefs.h <<_ACEOF
54278 #define HAVE__ATAN2F 1
54279 _ACEOF
54280
54281 fi
54282 done
54283
54284     fi
54285   fi
54286
54287
54288
54289
54290
54291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54292 $as_echo_n "checking for fabsf declaration... " >&6; }
54293   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54294     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54295   $as_echo_n "(cached) " >&6
54296 else
54297
54298
54299       ac_ext=cpp
54300 ac_cpp='$CXXCPP $CPPFLAGS'
54301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54304
54305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54306 /* end confdefs.h.  */
54307 #include <math.h>
54308                       #ifdef HAVE_IEEEFP_H
54309                       #include <ieeefp.h>
54310                       #endif
54311
54312 int
54313 main ()
54314 {
54315  fabsf(0);
54316   ;
54317   return 0;
54318 }
54319 _ACEOF
54320 if ac_fn_cxx_try_compile "$LINENO"; then :
54321   glibcxx_cv_func_fabsf_use=yes
54322 else
54323   glibcxx_cv_func_fabsf_use=no
54324 fi
54325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54326       ac_ext=c
54327 ac_cpp='$CPP $CPPFLAGS'
54328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54331
54332
54333 fi
54334
54335   fi
54336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54337 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54338
54339   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54340     for ac_func in fabsf
54341 do :
54342   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54343 if test "x$ac_cv_func_fabsf" = x""yes; then :
54344   cat >>confdefs.h <<_ACEOF
54345 #define HAVE_FABSF 1
54346 _ACEOF
54347
54348 fi
54349 done
54350
54351   else
54352
54353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54354 $as_echo_n "checking for _fabsf declaration... " >&6; }
54355   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54356     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54357   $as_echo_n "(cached) " >&6
54358 else
54359
54360
54361       ac_ext=cpp
54362 ac_cpp='$CXXCPP $CPPFLAGS'
54363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54366
54367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54368 /* end confdefs.h.  */
54369 #include <math.h>
54370                       #ifdef HAVE_IEEEFP_H
54371                       #include <ieeefp.h>
54372                       #endif
54373
54374 int
54375 main ()
54376 {
54377  _fabsf(0);
54378   ;
54379   return 0;
54380 }
54381 _ACEOF
54382 if ac_fn_cxx_try_compile "$LINENO"; then :
54383   glibcxx_cv_func__fabsf_use=yes
54384 else
54385   glibcxx_cv_func__fabsf_use=no
54386 fi
54387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54388       ac_ext=c
54389 ac_cpp='$CPP $CPPFLAGS'
54390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54393
54394
54395 fi
54396
54397   fi
54398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54399 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54400
54401     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54402       for ac_func in _fabsf
54403 do :
54404   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54405 if test "x$ac_cv_func__fabsf" = x""yes; then :
54406   cat >>confdefs.h <<_ACEOF
54407 #define HAVE__FABSF 1
54408 _ACEOF
54409
54410 fi
54411 done
54412
54413     fi
54414   fi
54415
54416
54417
54418
54419
54420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54421 $as_echo_n "checking for fmodf declaration... " >&6; }
54422   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54423     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54424   $as_echo_n "(cached) " >&6
54425 else
54426
54427
54428       ac_ext=cpp
54429 ac_cpp='$CXXCPP $CPPFLAGS'
54430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54433
54434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54435 /* end confdefs.h.  */
54436 #include <math.h>
54437 int
54438 main ()
54439 {
54440  fmodf(0, 0);
54441   ;
54442   return 0;
54443 }
54444 _ACEOF
54445 if ac_fn_cxx_try_compile "$LINENO"; then :
54446   glibcxx_cv_func_fmodf_use=yes
54447 else
54448   glibcxx_cv_func_fmodf_use=no
54449 fi
54450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54451       ac_ext=c
54452 ac_cpp='$CPP $CPPFLAGS'
54453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54456
54457
54458 fi
54459
54460   fi
54461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54462 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54463
54464   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54465     for ac_func in fmodf
54466 do :
54467   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54468 if test "x$ac_cv_func_fmodf" = x""yes; then :
54469   cat >>confdefs.h <<_ACEOF
54470 #define HAVE_FMODF 1
54471 _ACEOF
54472
54473 fi
54474 done
54475
54476   else
54477
54478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54479 $as_echo_n "checking for _fmodf declaration... " >&6; }
54480   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54481     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54482   $as_echo_n "(cached) " >&6
54483 else
54484
54485
54486       ac_ext=cpp
54487 ac_cpp='$CXXCPP $CPPFLAGS'
54488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54491
54492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54493 /* end confdefs.h.  */
54494 #include <math.h>
54495 int
54496 main ()
54497 {
54498  _fmodf(0, 0);
54499   ;
54500   return 0;
54501 }
54502 _ACEOF
54503 if ac_fn_cxx_try_compile "$LINENO"; then :
54504   glibcxx_cv_func__fmodf_use=yes
54505 else
54506   glibcxx_cv_func__fmodf_use=no
54507 fi
54508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54509       ac_ext=c
54510 ac_cpp='$CPP $CPPFLAGS'
54511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54514
54515
54516 fi
54517
54518   fi
54519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54520 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54521
54522     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54523       for ac_func in _fmodf
54524 do :
54525   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54526 if test "x$ac_cv_func__fmodf" = x""yes; then :
54527   cat >>confdefs.h <<_ACEOF
54528 #define HAVE__FMODF 1
54529 _ACEOF
54530
54531 fi
54532 done
54533
54534     fi
54535   fi
54536
54537
54538
54539
54540
54541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54542 $as_echo_n "checking for frexpf declaration... " >&6; }
54543   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54544     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54545   $as_echo_n "(cached) " >&6
54546 else
54547
54548
54549       ac_ext=cpp
54550 ac_cpp='$CXXCPP $CPPFLAGS'
54551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54554
54555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54556 /* end confdefs.h.  */
54557 #include <math.h>
54558 int
54559 main ()
54560 {
54561  frexpf(0, 0);
54562   ;
54563   return 0;
54564 }
54565 _ACEOF
54566 if ac_fn_cxx_try_compile "$LINENO"; then :
54567   glibcxx_cv_func_frexpf_use=yes
54568 else
54569   glibcxx_cv_func_frexpf_use=no
54570 fi
54571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54572       ac_ext=c
54573 ac_cpp='$CPP $CPPFLAGS'
54574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54577
54578
54579 fi
54580
54581   fi
54582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54583 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54584
54585   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54586     for ac_func in frexpf
54587 do :
54588   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54589 if test "x$ac_cv_func_frexpf" = x""yes; then :
54590   cat >>confdefs.h <<_ACEOF
54591 #define HAVE_FREXPF 1
54592 _ACEOF
54593
54594 fi
54595 done
54596
54597   else
54598
54599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54600 $as_echo_n "checking for _frexpf declaration... " >&6; }
54601   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54602     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54603   $as_echo_n "(cached) " >&6
54604 else
54605
54606
54607       ac_ext=cpp
54608 ac_cpp='$CXXCPP $CPPFLAGS'
54609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54612
54613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54614 /* end confdefs.h.  */
54615 #include <math.h>
54616 int
54617 main ()
54618 {
54619  _frexpf(0, 0);
54620   ;
54621   return 0;
54622 }
54623 _ACEOF
54624 if ac_fn_cxx_try_compile "$LINENO"; then :
54625   glibcxx_cv_func__frexpf_use=yes
54626 else
54627   glibcxx_cv_func__frexpf_use=no
54628 fi
54629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630       ac_ext=c
54631 ac_cpp='$CPP $CPPFLAGS'
54632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635
54636
54637 fi
54638
54639   fi
54640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54641 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54642
54643     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54644       for ac_func in _frexpf
54645 do :
54646   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54647 if test "x$ac_cv_func__frexpf" = x""yes; then :
54648   cat >>confdefs.h <<_ACEOF
54649 #define HAVE__FREXPF 1
54650 _ACEOF
54651
54652 fi
54653 done
54654
54655     fi
54656   fi
54657
54658
54659
54660
54661
54662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54663 $as_echo_n "checking for hypotf declaration... " >&6; }
54664   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54665     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54666   $as_echo_n "(cached) " >&6
54667 else
54668
54669
54670       ac_ext=cpp
54671 ac_cpp='$CXXCPP $CPPFLAGS'
54672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54675
54676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54677 /* end confdefs.h.  */
54678 #include <math.h>
54679 int
54680 main ()
54681 {
54682  hypotf(0, 0);
54683   ;
54684   return 0;
54685 }
54686 _ACEOF
54687 if ac_fn_cxx_try_compile "$LINENO"; then :
54688   glibcxx_cv_func_hypotf_use=yes
54689 else
54690   glibcxx_cv_func_hypotf_use=no
54691 fi
54692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54693       ac_ext=c
54694 ac_cpp='$CPP $CPPFLAGS'
54695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54698
54699
54700 fi
54701
54702   fi
54703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54704 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54705
54706   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54707     for ac_func in hypotf
54708 do :
54709   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54710 if test "x$ac_cv_func_hypotf" = x""yes; then :
54711   cat >>confdefs.h <<_ACEOF
54712 #define HAVE_HYPOTF 1
54713 _ACEOF
54714
54715 fi
54716 done
54717
54718   else
54719
54720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54721 $as_echo_n "checking for _hypotf declaration... " >&6; }
54722   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54723     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54724   $as_echo_n "(cached) " >&6
54725 else
54726
54727
54728       ac_ext=cpp
54729 ac_cpp='$CXXCPP $CPPFLAGS'
54730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54733
54734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54735 /* end confdefs.h.  */
54736 #include <math.h>
54737 int
54738 main ()
54739 {
54740  _hypotf(0, 0);
54741   ;
54742   return 0;
54743 }
54744 _ACEOF
54745 if ac_fn_cxx_try_compile "$LINENO"; then :
54746   glibcxx_cv_func__hypotf_use=yes
54747 else
54748   glibcxx_cv_func__hypotf_use=no
54749 fi
54750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54751       ac_ext=c
54752 ac_cpp='$CPP $CPPFLAGS'
54753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54756
54757
54758 fi
54759
54760   fi
54761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54762 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54763
54764     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54765       for ac_func in _hypotf
54766 do :
54767   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54768 if test "x$ac_cv_func__hypotf" = x""yes; then :
54769   cat >>confdefs.h <<_ACEOF
54770 #define HAVE__HYPOTF 1
54771 _ACEOF
54772
54773 fi
54774 done
54775
54776     fi
54777   fi
54778
54779
54780
54781
54782
54783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54784 $as_echo_n "checking for ldexpf declaration... " >&6; }
54785   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54786     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54787   $as_echo_n "(cached) " >&6
54788 else
54789
54790
54791       ac_ext=cpp
54792 ac_cpp='$CXXCPP $CPPFLAGS'
54793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54796
54797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54798 /* end confdefs.h.  */
54799 #include <math.h>
54800 int
54801 main ()
54802 {
54803  ldexpf(0, 0);
54804   ;
54805   return 0;
54806 }
54807 _ACEOF
54808 if ac_fn_cxx_try_compile "$LINENO"; then :
54809   glibcxx_cv_func_ldexpf_use=yes
54810 else
54811   glibcxx_cv_func_ldexpf_use=no
54812 fi
54813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54814       ac_ext=c
54815 ac_cpp='$CPP $CPPFLAGS'
54816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54819
54820
54821 fi
54822
54823   fi
54824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54825 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54826
54827   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54828     for ac_func in ldexpf
54829 do :
54830   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54831 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54832   cat >>confdefs.h <<_ACEOF
54833 #define HAVE_LDEXPF 1
54834 _ACEOF
54835
54836 fi
54837 done
54838
54839   else
54840
54841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54842 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54843   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54844     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54845   $as_echo_n "(cached) " >&6
54846 else
54847
54848
54849       ac_ext=cpp
54850 ac_cpp='$CXXCPP $CPPFLAGS'
54851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54854
54855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54856 /* end confdefs.h.  */
54857 #include <math.h>
54858 int
54859 main ()
54860 {
54861  _ldexpf(0, 0);
54862   ;
54863   return 0;
54864 }
54865 _ACEOF
54866 if ac_fn_cxx_try_compile "$LINENO"; then :
54867   glibcxx_cv_func__ldexpf_use=yes
54868 else
54869   glibcxx_cv_func__ldexpf_use=no
54870 fi
54871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872       ac_ext=c
54873 ac_cpp='$CPP $CPPFLAGS'
54874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54877
54878
54879 fi
54880
54881   fi
54882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54883 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54884
54885     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54886       for ac_func in _ldexpf
54887 do :
54888   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54889 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54890   cat >>confdefs.h <<_ACEOF
54891 #define HAVE__LDEXPF 1
54892 _ACEOF
54893
54894 fi
54895 done
54896
54897     fi
54898   fi
54899
54900
54901
54902
54903
54904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54905 $as_echo_n "checking for logf declaration... " >&6; }
54906   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54907     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54908   $as_echo_n "(cached) " >&6
54909 else
54910
54911
54912       ac_ext=cpp
54913 ac_cpp='$CXXCPP $CPPFLAGS'
54914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54917
54918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54919 /* end confdefs.h.  */
54920 #include <math.h>
54921                       #ifdef HAVE_IEEEFP_H
54922                       #include <ieeefp.h>
54923                       #endif
54924
54925 int
54926 main ()
54927 {
54928  logf(0);
54929   ;
54930   return 0;
54931 }
54932 _ACEOF
54933 if ac_fn_cxx_try_compile "$LINENO"; then :
54934   glibcxx_cv_func_logf_use=yes
54935 else
54936   glibcxx_cv_func_logf_use=no
54937 fi
54938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54939       ac_ext=c
54940 ac_cpp='$CPP $CPPFLAGS'
54941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54944
54945
54946 fi
54947
54948   fi
54949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54950 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54951
54952   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54953     for ac_func in logf
54954 do :
54955   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54956 if test "x$ac_cv_func_logf" = x""yes; then :
54957   cat >>confdefs.h <<_ACEOF
54958 #define HAVE_LOGF 1
54959 _ACEOF
54960
54961 fi
54962 done
54963
54964   else
54965
54966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54967 $as_echo_n "checking for _logf declaration... " >&6; }
54968   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54969     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54970   $as_echo_n "(cached) " >&6
54971 else
54972
54973
54974       ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54979
54980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h.  */
54982 #include <math.h>
54983                       #ifdef HAVE_IEEEFP_H
54984                       #include <ieeefp.h>
54985                       #endif
54986
54987 int
54988 main ()
54989 {
54990  _logf(0);
54991   ;
54992   return 0;
54993 }
54994 _ACEOF
54995 if ac_fn_cxx_try_compile "$LINENO"; then :
54996   glibcxx_cv_func__logf_use=yes
54997 else
54998   glibcxx_cv_func__logf_use=no
54999 fi
55000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55001       ac_ext=c
55002 ac_cpp='$CPP $CPPFLAGS'
55003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55006
55007
55008 fi
55009
55010   fi
55011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55012 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55013
55014     if test x$glibcxx_cv_func__logf_use = x"yes"; then
55015       for ac_func in _logf
55016 do :
55017   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55018 if test "x$ac_cv_func__logf" = x""yes; then :
55019   cat >>confdefs.h <<_ACEOF
55020 #define HAVE__LOGF 1
55021 _ACEOF
55022
55023 fi
55024 done
55025
55026     fi
55027   fi
55028
55029
55030
55031
55032
55033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55034 $as_echo_n "checking for log10f declaration... " >&6; }
55035   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55036     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55037   $as_echo_n "(cached) " >&6
55038 else
55039
55040
55041       ac_ext=cpp
55042 ac_cpp='$CXXCPP $CPPFLAGS'
55043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55046
55047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55048 /* end confdefs.h.  */
55049 #include <math.h>
55050                       #ifdef HAVE_IEEEFP_H
55051                       #include <ieeefp.h>
55052                       #endif
55053
55054 int
55055 main ()
55056 {
55057  log10f(0);
55058   ;
55059   return 0;
55060 }
55061 _ACEOF
55062 if ac_fn_cxx_try_compile "$LINENO"; then :
55063   glibcxx_cv_func_log10f_use=yes
55064 else
55065   glibcxx_cv_func_log10f_use=no
55066 fi
55067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55068       ac_ext=c
55069 ac_cpp='$CPP $CPPFLAGS'
55070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55073
55074
55075 fi
55076
55077   fi
55078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55079 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55080
55081   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55082     for ac_func in log10f
55083 do :
55084   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55085 if test "x$ac_cv_func_log10f" = x""yes; then :
55086   cat >>confdefs.h <<_ACEOF
55087 #define HAVE_LOG10F 1
55088 _ACEOF
55089
55090 fi
55091 done
55092
55093   else
55094
55095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55096 $as_echo_n "checking for _log10f declaration... " >&6; }
55097   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55098     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55099   $as_echo_n "(cached) " >&6
55100 else
55101
55102
55103       ac_ext=cpp
55104 ac_cpp='$CXXCPP $CPPFLAGS'
55105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55108
55109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55110 /* end confdefs.h.  */
55111 #include <math.h>
55112                       #ifdef HAVE_IEEEFP_H
55113                       #include <ieeefp.h>
55114                       #endif
55115
55116 int
55117 main ()
55118 {
55119  _log10f(0);
55120   ;
55121   return 0;
55122 }
55123 _ACEOF
55124 if ac_fn_cxx_try_compile "$LINENO"; then :
55125   glibcxx_cv_func__log10f_use=yes
55126 else
55127   glibcxx_cv_func__log10f_use=no
55128 fi
55129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55130       ac_ext=c
55131 ac_cpp='$CPP $CPPFLAGS'
55132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55135
55136
55137 fi
55138
55139   fi
55140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55141 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55142
55143     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55144       for ac_func in _log10f
55145 do :
55146   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55147 if test "x$ac_cv_func__log10f" = x""yes; then :
55148   cat >>confdefs.h <<_ACEOF
55149 #define HAVE__LOG10F 1
55150 _ACEOF
55151
55152 fi
55153 done
55154
55155     fi
55156   fi
55157
55158
55159
55160
55161
55162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55163 $as_echo_n "checking for modff declaration... " >&6; }
55164   if test x${glibcxx_cv_func_modff_use+set} != xset; then
55165     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55166   $as_echo_n "(cached) " >&6
55167 else
55168
55169
55170       ac_ext=cpp
55171 ac_cpp='$CXXCPP $CPPFLAGS'
55172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55175
55176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55177 /* end confdefs.h.  */
55178 #include <math.h>
55179 int
55180 main ()
55181 {
55182  modff(0, 0);
55183   ;
55184   return 0;
55185 }
55186 _ACEOF
55187 if ac_fn_cxx_try_compile "$LINENO"; then :
55188   glibcxx_cv_func_modff_use=yes
55189 else
55190   glibcxx_cv_func_modff_use=no
55191 fi
55192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55193       ac_ext=c
55194 ac_cpp='$CPP $CPPFLAGS'
55195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55198
55199
55200 fi
55201
55202   fi
55203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55204 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55205
55206   if test x$glibcxx_cv_func_modff_use = x"yes"; then
55207     for ac_func in modff
55208 do :
55209   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55210 if test "x$ac_cv_func_modff" = x""yes; then :
55211   cat >>confdefs.h <<_ACEOF
55212 #define HAVE_MODFF 1
55213 _ACEOF
55214
55215 fi
55216 done
55217
55218   else
55219
55220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55221 $as_echo_n "checking for _modff declaration... " >&6; }
55222   if test x${glibcxx_cv_func__modff_use+set} != xset; then
55223     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55224   $as_echo_n "(cached) " >&6
55225 else
55226
55227
55228       ac_ext=cpp
55229 ac_cpp='$CXXCPP $CPPFLAGS'
55230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55233
55234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55235 /* end confdefs.h.  */
55236 #include <math.h>
55237 int
55238 main ()
55239 {
55240  _modff(0, 0);
55241   ;
55242   return 0;
55243 }
55244 _ACEOF
55245 if ac_fn_cxx_try_compile "$LINENO"; then :
55246   glibcxx_cv_func__modff_use=yes
55247 else
55248   glibcxx_cv_func__modff_use=no
55249 fi
55250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55251       ac_ext=c
55252 ac_cpp='$CPP $CPPFLAGS'
55253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55256
55257
55258 fi
55259
55260   fi
55261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55262 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55263
55264     if test x$glibcxx_cv_func__modff_use = x"yes"; then
55265       for ac_func in _modff
55266 do :
55267   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55268 if test "x$ac_cv_func__modff" = x""yes; then :
55269   cat >>confdefs.h <<_ACEOF
55270 #define HAVE__MODFF 1
55271 _ACEOF
55272
55273 fi
55274 done
55275
55276     fi
55277   fi
55278
55279
55280
55281
55282
55283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55284 $as_echo_n "checking for modf declaration... " >&6; }
55285   if test x${glibcxx_cv_func_modf_use+set} != xset; then
55286     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55287   $as_echo_n "(cached) " >&6
55288 else
55289
55290
55291       ac_ext=cpp
55292 ac_cpp='$CXXCPP $CPPFLAGS'
55293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55296
55297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55298 /* end confdefs.h.  */
55299 #include <math.h>
55300 int
55301 main ()
55302 {
55303  modf(0, 0);
55304   ;
55305   return 0;
55306 }
55307 _ACEOF
55308 if ac_fn_cxx_try_compile "$LINENO"; then :
55309   glibcxx_cv_func_modf_use=yes
55310 else
55311   glibcxx_cv_func_modf_use=no
55312 fi
55313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55314       ac_ext=c
55315 ac_cpp='$CPP $CPPFLAGS'
55316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319
55320
55321 fi
55322
55323   fi
55324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55325 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55326
55327   if test x$glibcxx_cv_func_modf_use = x"yes"; then
55328     for ac_func in modf
55329 do :
55330   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55331 if test "x$ac_cv_func_modf" = x""yes; then :
55332   cat >>confdefs.h <<_ACEOF
55333 #define HAVE_MODF 1
55334 _ACEOF
55335
55336 fi
55337 done
55338
55339   else
55340
55341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55342 $as_echo_n "checking for _modf declaration... " >&6; }
55343   if test x${glibcxx_cv_func__modf_use+set} != xset; then
55344     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55345   $as_echo_n "(cached) " >&6
55346 else
55347
55348
55349       ac_ext=cpp
55350 ac_cpp='$CXXCPP $CPPFLAGS'
55351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55354
55355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55356 /* end confdefs.h.  */
55357 #include <math.h>
55358 int
55359 main ()
55360 {
55361  _modf(0, 0);
55362   ;
55363   return 0;
55364 }
55365 _ACEOF
55366 if ac_fn_cxx_try_compile "$LINENO"; then :
55367   glibcxx_cv_func__modf_use=yes
55368 else
55369   glibcxx_cv_func__modf_use=no
55370 fi
55371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55372       ac_ext=c
55373 ac_cpp='$CPP $CPPFLAGS'
55374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55377
55378
55379 fi
55380
55381   fi
55382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55383 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55384
55385     if test x$glibcxx_cv_func__modf_use = x"yes"; then
55386       for ac_func in _modf
55387 do :
55388   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55389 if test "x$ac_cv_func__modf" = x""yes; then :
55390   cat >>confdefs.h <<_ACEOF
55391 #define HAVE__MODF 1
55392 _ACEOF
55393
55394 fi
55395 done
55396
55397     fi
55398   fi
55399
55400
55401
55402
55403
55404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55405 $as_echo_n "checking for powf declaration... " >&6; }
55406   if test x${glibcxx_cv_func_powf_use+set} != xset; then
55407     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55408   $as_echo_n "(cached) " >&6
55409 else
55410
55411
55412       ac_ext=cpp
55413 ac_cpp='$CXXCPP $CPPFLAGS'
55414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55417
55418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55419 /* end confdefs.h.  */
55420 #include <math.h>
55421 int
55422 main ()
55423 {
55424  powf(0, 0);
55425   ;
55426   return 0;
55427 }
55428 _ACEOF
55429 if ac_fn_cxx_try_compile "$LINENO"; then :
55430   glibcxx_cv_func_powf_use=yes
55431 else
55432   glibcxx_cv_func_powf_use=no
55433 fi
55434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55435       ac_ext=c
55436 ac_cpp='$CPP $CPPFLAGS'
55437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55440
55441
55442 fi
55443
55444   fi
55445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55446 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55447
55448   if test x$glibcxx_cv_func_powf_use = x"yes"; then
55449     for ac_func in powf
55450 do :
55451   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55452 if test "x$ac_cv_func_powf" = x""yes; then :
55453   cat >>confdefs.h <<_ACEOF
55454 #define HAVE_POWF 1
55455 _ACEOF
55456
55457 fi
55458 done
55459
55460   else
55461
55462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55463 $as_echo_n "checking for _powf declaration... " >&6; }
55464   if test x${glibcxx_cv_func__powf_use+set} != xset; then
55465     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55466   $as_echo_n "(cached) " >&6
55467 else
55468
55469
55470       ac_ext=cpp
55471 ac_cpp='$CXXCPP $CPPFLAGS'
55472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55475
55476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55477 /* end confdefs.h.  */
55478 #include <math.h>
55479 int
55480 main ()
55481 {
55482  _powf(0, 0);
55483   ;
55484   return 0;
55485 }
55486 _ACEOF
55487 if ac_fn_cxx_try_compile "$LINENO"; then :
55488   glibcxx_cv_func__powf_use=yes
55489 else
55490   glibcxx_cv_func__powf_use=no
55491 fi
55492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55493       ac_ext=c
55494 ac_cpp='$CPP $CPPFLAGS'
55495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55498
55499
55500 fi
55501
55502   fi
55503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55504 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55505
55506     if test x$glibcxx_cv_func__powf_use = x"yes"; then
55507       for ac_func in _powf
55508 do :
55509   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55510 if test "x$ac_cv_func__powf" = x""yes; then :
55511   cat >>confdefs.h <<_ACEOF
55512 #define HAVE__POWF 1
55513 _ACEOF
55514
55515 fi
55516 done
55517
55518     fi
55519   fi
55520
55521
55522
55523
55524
55525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55526 $as_echo_n "checking for sqrtf declaration... " >&6; }
55527   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55528     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55529   $as_echo_n "(cached) " >&6
55530 else
55531
55532
55533       ac_ext=cpp
55534 ac_cpp='$CXXCPP $CPPFLAGS'
55535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55538
55539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55540 /* end confdefs.h.  */
55541 #include <math.h>
55542                       #ifdef HAVE_IEEEFP_H
55543                       #include <ieeefp.h>
55544                       #endif
55545
55546 int
55547 main ()
55548 {
55549  sqrtf(0);
55550   ;
55551   return 0;
55552 }
55553 _ACEOF
55554 if ac_fn_cxx_try_compile "$LINENO"; then :
55555   glibcxx_cv_func_sqrtf_use=yes
55556 else
55557   glibcxx_cv_func_sqrtf_use=no
55558 fi
55559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55560       ac_ext=c
55561 ac_cpp='$CPP $CPPFLAGS'
55562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55565
55566
55567 fi
55568
55569   fi
55570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55571 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55572
55573   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55574     for ac_func in sqrtf
55575 do :
55576   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55577 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55578   cat >>confdefs.h <<_ACEOF
55579 #define HAVE_SQRTF 1
55580 _ACEOF
55581
55582 fi
55583 done
55584
55585   else
55586
55587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55588 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55589   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55590     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55591   $as_echo_n "(cached) " >&6
55592 else
55593
55594
55595       ac_ext=cpp
55596 ac_cpp='$CXXCPP $CPPFLAGS'
55597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55600
55601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55602 /* end confdefs.h.  */
55603 #include <math.h>
55604                       #ifdef HAVE_IEEEFP_H
55605                       #include <ieeefp.h>
55606                       #endif
55607
55608 int
55609 main ()
55610 {
55611  _sqrtf(0);
55612   ;
55613   return 0;
55614 }
55615 _ACEOF
55616 if ac_fn_cxx_try_compile "$LINENO"; then :
55617   glibcxx_cv_func__sqrtf_use=yes
55618 else
55619   glibcxx_cv_func__sqrtf_use=no
55620 fi
55621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55622       ac_ext=c
55623 ac_cpp='$CPP $CPPFLAGS'
55624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55627
55628
55629 fi
55630
55631   fi
55632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55633 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55634
55635     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55636       for ac_func in _sqrtf
55637 do :
55638   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55639 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55640   cat >>confdefs.h <<_ACEOF
55641 #define HAVE__SQRTF 1
55642 _ACEOF
55643
55644 fi
55645 done
55646
55647     fi
55648   fi
55649
55650
55651
55652
55653
55654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55655 $as_echo_n "checking for sincosf declaration... " >&6; }
55656   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55657     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55658   $as_echo_n "(cached) " >&6
55659 else
55660
55661
55662       ac_ext=cpp
55663 ac_cpp='$CXXCPP $CPPFLAGS'
55664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55667
55668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55669 /* end confdefs.h.  */
55670 #include <math.h>
55671 int
55672 main ()
55673 {
55674  sincosf(0, 0, 0);
55675   ;
55676   return 0;
55677 }
55678 _ACEOF
55679 if ac_fn_cxx_try_compile "$LINENO"; then :
55680   glibcxx_cv_func_sincosf_use=yes
55681 else
55682   glibcxx_cv_func_sincosf_use=no
55683 fi
55684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55685       ac_ext=c
55686 ac_cpp='$CPP $CPPFLAGS'
55687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55690
55691
55692 fi
55693
55694   fi
55695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55696 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55697
55698   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55699     for ac_func in sincosf
55700 do :
55701   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55702 if test "x$ac_cv_func_sincosf" = x""yes; then :
55703   cat >>confdefs.h <<_ACEOF
55704 #define HAVE_SINCOSF 1
55705 _ACEOF
55706
55707 fi
55708 done
55709
55710   else
55711
55712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55713 $as_echo_n "checking for _sincosf declaration... " >&6; }
55714   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55715     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55716   $as_echo_n "(cached) " >&6
55717 else
55718
55719
55720       ac_ext=cpp
55721 ac_cpp='$CXXCPP $CPPFLAGS'
55722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55725
55726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55727 /* end confdefs.h.  */
55728 #include <math.h>
55729 int
55730 main ()
55731 {
55732  _sincosf(0, 0, 0);
55733   ;
55734   return 0;
55735 }
55736 _ACEOF
55737 if ac_fn_cxx_try_compile "$LINENO"; then :
55738   glibcxx_cv_func__sincosf_use=yes
55739 else
55740   glibcxx_cv_func__sincosf_use=no
55741 fi
55742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55743       ac_ext=c
55744 ac_cpp='$CPP $CPPFLAGS'
55745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55748
55749
55750 fi
55751
55752   fi
55753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55754 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55755
55756     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55757       for ac_func in _sincosf
55758 do :
55759   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55760 if test "x$ac_cv_func__sincosf" = x""yes; then :
55761   cat >>confdefs.h <<_ACEOF
55762 #define HAVE__SINCOSF 1
55763 _ACEOF
55764
55765 fi
55766 done
55767
55768     fi
55769   fi
55770
55771
55772
55773
55774
55775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55776 $as_echo_n "checking for finitef declaration... " >&6; }
55777   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55778     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55779   $as_echo_n "(cached) " >&6
55780 else
55781
55782
55783       ac_ext=cpp
55784 ac_cpp='$CXXCPP $CPPFLAGS'
55785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55788
55789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55790 /* end confdefs.h.  */
55791 #include <math.h>
55792                       #ifdef HAVE_IEEEFP_H
55793                       #include <ieeefp.h>
55794                       #endif
55795
55796 int
55797 main ()
55798 {
55799  finitef(0);
55800   ;
55801   return 0;
55802 }
55803 _ACEOF
55804 if ac_fn_cxx_try_compile "$LINENO"; then :
55805   glibcxx_cv_func_finitef_use=yes
55806 else
55807   glibcxx_cv_func_finitef_use=no
55808 fi
55809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55810       ac_ext=c
55811 ac_cpp='$CPP $CPPFLAGS'
55812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55815
55816
55817 fi
55818
55819   fi
55820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55821 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55822
55823   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55824     for ac_func in finitef
55825 do :
55826   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55827 if test "x$ac_cv_func_finitef" = x""yes; then :
55828   cat >>confdefs.h <<_ACEOF
55829 #define HAVE_FINITEF 1
55830 _ACEOF
55831
55832 fi
55833 done
55834
55835   else
55836
55837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55838 $as_echo_n "checking for _finitef declaration... " >&6; }
55839   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55840     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55841   $as_echo_n "(cached) " >&6
55842 else
55843
55844
55845       ac_ext=cpp
55846 ac_cpp='$CXXCPP $CPPFLAGS'
55847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55850
55851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55852 /* end confdefs.h.  */
55853 #include <math.h>
55854                       #ifdef HAVE_IEEEFP_H
55855                       #include <ieeefp.h>
55856                       #endif
55857
55858 int
55859 main ()
55860 {
55861  _finitef(0);
55862   ;
55863   return 0;
55864 }
55865 _ACEOF
55866 if ac_fn_cxx_try_compile "$LINENO"; then :
55867   glibcxx_cv_func__finitef_use=yes
55868 else
55869   glibcxx_cv_func__finitef_use=no
55870 fi
55871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55872       ac_ext=c
55873 ac_cpp='$CPP $CPPFLAGS'
55874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55877
55878
55879 fi
55880
55881   fi
55882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55883 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55884
55885     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55886       for ac_func in _finitef
55887 do :
55888   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55889 if test "x$ac_cv_func__finitef" = x""yes; then :
55890   cat >>confdefs.h <<_ACEOF
55891 #define HAVE__FINITEF 1
55892 _ACEOF
55893
55894 fi
55895 done
55896
55897     fi
55898   fi
55899
55900
55901
55902
55903
55904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55905 $as_echo_n "checking for long double trig functions... " >&6; }
55906   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55907   $as_echo_n "(cached) " >&6
55908 else
55909
55910
55911     ac_ext=cpp
55912 ac_cpp='$CXXCPP $CPPFLAGS'
55913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55916
55917     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55918 /* end confdefs.h.  */
55919 #include <math.h>
55920 int
55921 main ()
55922 {
55923 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55924   ;
55925   return 0;
55926 }
55927 _ACEOF
55928 if ac_fn_cxx_try_compile "$LINENO"; then :
55929   glibcxx_cv_func_long_double_trig_use=yes
55930 else
55931   glibcxx_cv_func_long_double_trig_use=no
55932 fi
55933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55934     ac_ext=c
55935 ac_cpp='$CPP $CPPFLAGS'
55936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55939
55940 fi
55941
55942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55943 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55944   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55945     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55946 do :
55947   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55949 eval as_val=\$$as_ac_var
55950    if test "x$as_val" = x""yes; then :
55951   cat >>confdefs.h <<_ACEOF
55952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55953 _ACEOF
55954
55955 fi
55956 done
55957
55958   else
55959     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55960 $as_echo_n "checking for _long double trig functions... " >&6; }
55961     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55962   $as_echo_n "(cached) " >&6
55963 else
55964
55965
55966       ac_ext=cpp
55967 ac_cpp='$CXXCPP $CPPFLAGS'
55968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55971
55972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55973 /* end confdefs.h.  */
55974 #include <math.h>
55975 int
55976 main ()
55977 {
55978 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55979   ;
55980   return 0;
55981 }
55982 _ACEOF
55983 if ac_fn_cxx_try_compile "$LINENO"; then :
55984   glibcxx_cv_func__long_double_trig_use=yes
55985 else
55986   glibcxx_cv_func__long_double_trig_use=no
55987 fi
55988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55989       ac_ext=c
55990 ac_cpp='$CPP $CPPFLAGS'
55991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55994
55995 fi
55996
55997     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55998 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55999     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56000       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56001 do :
56002   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56004 eval as_val=\$$as_ac_var
56005    if test "x$as_val" = x""yes; then :
56006   cat >>confdefs.h <<_ACEOF
56007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56008 _ACEOF
56009
56010 fi
56011 done
56012
56013     fi
56014   fi
56015
56016
56017
56018
56019
56020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56021 $as_echo_n "checking for long double round functions... " >&6; }
56022   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56023   $as_echo_n "(cached) " >&6
56024 else
56025
56026
56027     ac_ext=cpp
56028 ac_cpp='$CXXCPP $CPPFLAGS'
56029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56032
56033     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56034 /* end confdefs.h.  */
56035 #include <math.h>
56036 int
56037 main ()
56038 {
56039 ceill (0); floorl (0);
56040   ;
56041   return 0;
56042 }
56043 _ACEOF
56044 if ac_fn_cxx_try_compile "$LINENO"; then :
56045   glibcxx_cv_func_long_double_round_use=yes
56046 else
56047   glibcxx_cv_func_long_double_round_use=no
56048 fi
56049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56050     ac_ext=c
56051 ac_cpp='$CPP $CPPFLAGS'
56052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56055
56056 fi
56057
56058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56059 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56060   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56061     for ac_func in ceill floorl
56062 do :
56063   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56065 eval as_val=\$$as_ac_var
56066    if test "x$as_val" = x""yes; then :
56067   cat >>confdefs.h <<_ACEOF
56068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56069 _ACEOF
56070
56071 fi
56072 done
56073
56074   else
56075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56076 $as_echo_n "checking for _long double round functions... " >&6; }
56077     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56078   $as_echo_n "(cached) " >&6
56079 else
56080
56081
56082       ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56087
56088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h.  */
56090 #include <math.h>
56091 int
56092 main ()
56093 {
56094 _ceill (0); _floorl (0);
56095   ;
56096   return 0;
56097 }
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100   glibcxx_cv_func__long_double_round_use=yes
56101 else
56102   glibcxx_cv_func__long_double_round_use=no
56103 fi
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105       ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56110
56111 fi
56112
56113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56114 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56115     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56116       for ac_func in _ceill _floorl
56117 do :
56118   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56120 eval as_val=\$$as_ac_var
56121    if test "x$as_val" = x""yes; then :
56122   cat >>confdefs.h <<_ACEOF
56123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56124 _ACEOF
56125
56126 fi
56127 done
56128
56129     fi
56130   fi
56131
56132
56133
56134
56135
56136
56137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56138 $as_echo_n "checking for isnanl declaration... " >&6; }
56139   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56140     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56141   $as_echo_n "(cached) " >&6
56142 else
56143
56144
56145       ac_ext=cpp
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56150
56151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h.  */
56153 #include <math.h>
56154                       #ifdef HAVE_IEEEFP_H
56155                       #include <ieeefp.h>
56156                       #endif
56157
56158 int
56159 main ()
56160 {
56161  isnanl(0);
56162   ;
56163   return 0;
56164 }
56165 _ACEOF
56166 if ac_fn_cxx_try_compile "$LINENO"; then :
56167   glibcxx_cv_func_isnanl_use=yes
56168 else
56169   glibcxx_cv_func_isnanl_use=no
56170 fi
56171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56172       ac_ext=c
56173 ac_cpp='$CPP $CPPFLAGS'
56174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56177
56178
56179 fi
56180
56181   fi
56182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56183 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56184
56185   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56186     for ac_func in isnanl
56187 do :
56188   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56189 if test "x$ac_cv_func_isnanl" = x""yes; then :
56190   cat >>confdefs.h <<_ACEOF
56191 #define HAVE_ISNANL 1
56192 _ACEOF
56193
56194 fi
56195 done
56196
56197   else
56198
56199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56200 $as_echo_n "checking for _isnanl declaration... " >&6; }
56201   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56202     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56203   $as_echo_n "(cached) " >&6
56204 else
56205
56206
56207       ac_ext=cpp
56208 ac_cpp='$CXXCPP $CPPFLAGS'
56209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56212
56213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56214 /* end confdefs.h.  */
56215 #include <math.h>
56216                       #ifdef HAVE_IEEEFP_H
56217                       #include <ieeefp.h>
56218                       #endif
56219
56220 int
56221 main ()
56222 {
56223  _isnanl(0);
56224   ;
56225   return 0;
56226 }
56227 _ACEOF
56228 if ac_fn_cxx_try_compile "$LINENO"; then :
56229   glibcxx_cv_func__isnanl_use=yes
56230 else
56231   glibcxx_cv_func__isnanl_use=no
56232 fi
56233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234       ac_ext=c
56235 ac_cpp='$CPP $CPPFLAGS'
56236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56239
56240
56241 fi
56242
56243   fi
56244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56245 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56246
56247     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56248       for ac_func in _isnanl
56249 do :
56250   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56251 if test "x$ac_cv_func__isnanl" = x""yes; then :
56252   cat >>confdefs.h <<_ACEOF
56253 #define HAVE__ISNANL 1
56254 _ACEOF
56255
56256 fi
56257 done
56258
56259     fi
56260   fi
56261
56262
56263
56264
56265
56266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56267 $as_echo_n "checking for isinfl declaration... " >&6; }
56268   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56269     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56270   $as_echo_n "(cached) " >&6
56271 else
56272
56273
56274       ac_ext=cpp
56275 ac_cpp='$CXXCPP $CPPFLAGS'
56276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56279
56280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56281 /* end confdefs.h.  */
56282 #include <math.h>
56283                       #ifdef HAVE_IEEEFP_H
56284                       #include <ieeefp.h>
56285                       #endif
56286
56287 int
56288 main ()
56289 {
56290  isinfl(0);
56291   ;
56292   return 0;
56293 }
56294 _ACEOF
56295 if ac_fn_cxx_try_compile "$LINENO"; then :
56296   glibcxx_cv_func_isinfl_use=yes
56297 else
56298   glibcxx_cv_func_isinfl_use=no
56299 fi
56300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56301       ac_ext=c
56302 ac_cpp='$CPP $CPPFLAGS'
56303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56306
56307
56308 fi
56309
56310   fi
56311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56312 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56313
56314   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56315     for ac_func in isinfl
56316 do :
56317   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56318 if test "x$ac_cv_func_isinfl" = x""yes; then :
56319   cat >>confdefs.h <<_ACEOF
56320 #define HAVE_ISINFL 1
56321 _ACEOF
56322
56323 fi
56324 done
56325
56326   else
56327
56328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56329 $as_echo_n "checking for _isinfl declaration... " >&6; }
56330   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56331     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56332   $as_echo_n "(cached) " >&6
56333 else
56334
56335
56336       ac_ext=cpp
56337 ac_cpp='$CXXCPP $CPPFLAGS'
56338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56341
56342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343 /* end confdefs.h.  */
56344 #include <math.h>
56345                       #ifdef HAVE_IEEEFP_H
56346                       #include <ieeefp.h>
56347                       #endif
56348
56349 int
56350 main ()
56351 {
56352  _isinfl(0);
56353   ;
56354   return 0;
56355 }
56356 _ACEOF
56357 if ac_fn_cxx_try_compile "$LINENO"; then :
56358   glibcxx_cv_func__isinfl_use=yes
56359 else
56360   glibcxx_cv_func__isinfl_use=no
56361 fi
56362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363       ac_ext=c
56364 ac_cpp='$CPP $CPPFLAGS'
56365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56368
56369
56370 fi
56371
56372   fi
56373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56374 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56375
56376     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56377       for ac_func in _isinfl
56378 do :
56379   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56380 if test "x$ac_cv_func__isinfl" = x""yes; then :
56381   cat >>confdefs.h <<_ACEOF
56382 #define HAVE__ISINFL 1
56383 _ACEOF
56384
56385 fi
56386 done
56387
56388     fi
56389   fi
56390
56391
56392
56393
56394
56395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56396 $as_echo_n "checking for atan2l declaration... " >&6; }
56397   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56398     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56399   $as_echo_n "(cached) " >&6
56400 else
56401
56402
56403       ac_ext=cpp
56404 ac_cpp='$CXXCPP $CPPFLAGS'
56405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56408
56409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56410 /* end confdefs.h.  */
56411 #include <math.h>
56412 int
56413 main ()
56414 {
56415  atan2l(0, 0);
56416   ;
56417   return 0;
56418 }
56419 _ACEOF
56420 if ac_fn_cxx_try_compile "$LINENO"; then :
56421   glibcxx_cv_func_atan2l_use=yes
56422 else
56423   glibcxx_cv_func_atan2l_use=no
56424 fi
56425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56426       ac_ext=c
56427 ac_cpp='$CPP $CPPFLAGS'
56428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56431
56432
56433 fi
56434
56435   fi
56436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56437 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56438
56439   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56440     for ac_func in atan2l
56441 do :
56442   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56443 if test "x$ac_cv_func_atan2l" = x""yes; then :
56444   cat >>confdefs.h <<_ACEOF
56445 #define HAVE_ATAN2L 1
56446 _ACEOF
56447
56448 fi
56449 done
56450
56451   else
56452
56453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56454 $as_echo_n "checking for _atan2l declaration... " >&6; }
56455   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56456     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56457   $as_echo_n "(cached) " >&6
56458 else
56459
56460
56461       ac_ext=cpp
56462 ac_cpp='$CXXCPP $CPPFLAGS'
56463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56466
56467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56468 /* end confdefs.h.  */
56469 #include <math.h>
56470 int
56471 main ()
56472 {
56473  _atan2l(0, 0);
56474   ;
56475   return 0;
56476 }
56477 _ACEOF
56478 if ac_fn_cxx_try_compile "$LINENO"; then :
56479   glibcxx_cv_func__atan2l_use=yes
56480 else
56481   glibcxx_cv_func__atan2l_use=no
56482 fi
56483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56484       ac_ext=c
56485 ac_cpp='$CPP $CPPFLAGS'
56486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56489
56490
56491 fi
56492
56493   fi
56494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56495 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56496
56497     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56498       for ac_func in _atan2l
56499 do :
56500   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56501 if test "x$ac_cv_func__atan2l" = x""yes; then :
56502   cat >>confdefs.h <<_ACEOF
56503 #define HAVE__ATAN2L 1
56504 _ACEOF
56505
56506 fi
56507 done
56508
56509     fi
56510   fi
56511
56512
56513
56514
56515
56516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56517 $as_echo_n "checking for expl declaration... " >&6; }
56518   if test x${glibcxx_cv_func_expl_use+set} != xset; then
56519     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56520   $as_echo_n "(cached) " >&6
56521 else
56522
56523
56524       ac_ext=cpp
56525 ac_cpp='$CXXCPP $CPPFLAGS'
56526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56529
56530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56531 /* end confdefs.h.  */
56532 #include <math.h>
56533                       #ifdef HAVE_IEEEFP_H
56534                       #include <ieeefp.h>
56535                       #endif
56536
56537 int
56538 main ()
56539 {
56540  expl(0);
56541   ;
56542   return 0;
56543 }
56544 _ACEOF
56545 if ac_fn_cxx_try_compile "$LINENO"; then :
56546   glibcxx_cv_func_expl_use=yes
56547 else
56548   glibcxx_cv_func_expl_use=no
56549 fi
56550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56551       ac_ext=c
56552 ac_cpp='$CPP $CPPFLAGS'
56553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56556
56557
56558 fi
56559
56560   fi
56561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56562 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56563
56564   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56565     for ac_func in expl
56566 do :
56567   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56568 if test "x$ac_cv_func_expl" = x""yes; then :
56569   cat >>confdefs.h <<_ACEOF
56570 #define HAVE_EXPL 1
56571 _ACEOF
56572
56573 fi
56574 done
56575
56576   else
56577
56578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56579 $as_echo_n "checking for _expl declaration... " >&6; }
56580   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56581     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56582   $as_echo_n "(cached) " >&6
56583 else
56584
56585
56586       ac_ext=cpp
56587 ac_cpp='$CXXCPP $CPPFLAGS'
56588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56591
56592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56593 /* end confdefs.h.  */
56594 #include <math.h>
56595                       #ifdef HAVE_IEEEFP_H
56596                       #include <ieeefp.h>
56597                       #endif
56598
56599 int
56600 main ()
56601 {
56602  _expl(0);
56603   ;
56604   return 0;
56605 }
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608   glibcxx_cv_func__expl_use=yes
56609 else
56610   glibcxx_cv_func__expl_use=no
56611 fi
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613       ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618
56619
56620 fi
56621
56622   fi
56623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56624 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56625
56626     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56627       for ac_func in _expl
56628 do :
56629   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56630 if test "x$ac_cv_func__expl" = x""yes; then :
56631   cat >>confdefs.h <<_ACEOF
56632 #define HAVE__EXPL 1
56633 _ACEOF
56634
56635 fi
56636 done
56637
56638     fi
56639   fi
56640
56641
56642
56643
56644
56645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56646 $as_echo_n "checking for fabsl declaration... " >&6; }
56647   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56648     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56649   $as_echo_n "(cached) " >&6
56650 else
56651
56652
56653       ac_ext=cpp
56654 ac_cpp='$CXXCPP $CPPFLAGS'
56655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56658
56659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h.  */
56661 #include <math.h>
56662                       #ifdef HAVE_IEEEFP_H
56663                       #include <ieeefp.h>
56664                       #endif
56665
56666 int
56667 main ()
56668 {
56669  fabsl(0);
56670   ;
56671   return 0;
56672 }
56673 _ACEOF
56674 if ac_fn_cxx_try_compile "$LINENO"; then :
56675   glibcxx_cv_func_fabsl_use=yes
56676 else
56677   glibcxx_cv_func_fabsl_use=no
56678 fi
56679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56680       ac_ext=c
56681 ac_cpp='$CPP $CPPFLAGS'
56682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56685
56686
56687 fi
56688
56689   fi
56690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56691 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56692
56693   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56694     for ac_func in fabsl
56695 do :
56696   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56697 if test "x$ac_cv_func_fabsl" = x""yes; then :
56698   cat >>confdefs.h <<_ACEOF
56699 #define HAVE_FABSL 1
56700 _ACEOF
56701
56702 fi
56703 done
56704
56705   else
56706
56707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56708 $as_echo_n "checking for _fabsl declaration... " >&6; }
56709   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56710     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56711   $as_echo_n "(cached) " >&6
56712 else
56713
56714
56715       ac_ext=cpp
56716 ac_cpp='$CXXCPP $CPPFLAGS'
56717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56720
56721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56722 /* end confdefs.h.  */
56723 #include <math.h>
56724                       #ifdef HAVE_IEEEFP_H
56725                       #include <ieeefp.h>
56726                       #endif
56727
56728 int
56729 main ()
56730 {
56731  _fabsl(0);
56732   ;
56733   return 0;
56734 }
56735 _ACEOF
56736 if ac_fn_cxx_try_compile "$LINENO"; then :
56737   glibcxx_cv_func__fabsl_use=yes
56738 else
56739   glibcxx_cv_func__fabsl_use=no
56740 fi
56741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56742       ac_ext=c
56743 ac_cpp='$CPP $CPPFLAGS'
56744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56747
56748
56749 fi
56750
56751   fi
56752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56753 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56754
56755     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56756       for ac_func in _fabsl
56757 do :
56758   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56759 if test "x$ac_cv_func__fabsl" = x""yes; then :
56760   cat >>confdefs.h <<_ACEOF
56761 #define HAVE__FABSL 1
56762 _ACEOF
56763
56764 fi
56765 done
56766
56767     fi
56768   fi
56769
56770
56771
56772
56773
56774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56775 $as_echo_n "checking for fmodl declaration... " >&6; }
56776   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56777     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56778   $as_echo_n "(cached) " >&6
56779 else
56780
56781
56782       ac_ext=cpp
56783 ac_cpp='$CXXCPP $CPPFLAGS'
56784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56787
56788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56789 /* end confdefs.h.  */
56790 #include <math.h>
56791 int
56792 main ()
56793 {
56794  fmodl(0, 0);
56795   ;
56796   return 0;
56797 }
56798 _ACEOF
56799 if ac_fn_cxx_try_compile "$LINENO"; then :
56800   glibcxx_cv_func_fmodl_use=yes
56801 else
56802   glibcxx_cv_func_fmodl_use=no
56803 fi
56804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56805       ac_ext=c
56806 ac_cpp='$CPP $CPPFLAGS'
56807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56810
56811
56812 fi
56813
56814   fi
56815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56816 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56817
56818   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56819     for ac_func in fmodl
56820 do :
56821   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56822 if test "x$ac_cv_func_fmodl" = x""yes; then :
56823   cat >>confdefs.h <<_ACEOF
56824 #define HAVE_FMODL 1
56825 _ACEOF
56826
56827 fi
56828 done
56829
56830   else
56831
56832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56833 $as_echo_n "checking for _fmodl declaration... " >&6; }
56834   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56835     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56836   $as_echo_n "(cached) " >&6
56837 else
56838
56839
56840       ac_ext=cpp
56841 ac_cpp='$CXXCPP $CPPFLAGS'
56842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56845
56846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56847 /* end confdefs.h.  */
56848 #include <math.h>
56849 int
56850 main ()
56851 {
56852  _fmodl(0, 0);
56853   ;
56854   return 0;
56855 }
56856 _ACEOF
56857 if ac_fn_cxx_try_compile "$LINENO"; then :
56858   glibcxx_cv_func__fmodl_use=yes
56859 else
56860   glibcxx_cv_func__fmodl_use=no
56861 fi
56862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56863       ac_ext=c
56864 ac_cpp='$CPP $CPPFLAGS'
56865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56868
56869
56870 fi
56871
56872   fi
56873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56874 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56875
56876     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56877       for ac_func in _fmodl
56878 do :
56879   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56880 if test "x$ac_cv_func__fmodl" = x""yes; then :
56881   cat >>confdefs.h <<_ACEOF
56882 #define HAVE__FMODL 1
56883 _ACEOF
56884
56885 fi
56886 done
56887
56888     fi
56889   fi
56890
56891
56892
56893
56894
56895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56896 $as_echo_n "checking for frexpl declaration... " >&6; }
56897   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56898     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56899   $as_echo_n "(cached) " >&6
56900 else
56901
56902
56903       ac_ext=cpp
56904 ac_cpp='$CXXCPP $CPPFLAGS'
56905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56908
56909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56910 /* end confdefs.h.  */
56911 #include <math.h>
56912 int
56913 main ()
56914 {
56915  frexpl(0, 0);
56916   ;
56917   return 0;
56918 }
56919 _ACEOF
56920 if ac_fn_cxx_try_compile "$LINENO"; then :
56921   glibcxx_cv_func_frexpl_use=yes
56922 else
56923   glibcxx_cv_func_frexpl_use=no
56924 fi
56925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56926       ac_ext=c
56927 ac_cpp='$CPP $CPPFLAGS'
56928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56931
56932
56933 fi
56934
56935   fi
56936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56937 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56938
56939   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56940     for ac_func in frexpl
56941 do :
56942   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56943 if test "x$ac_cv_func_frexpl" = x""yes; then :
56944   cat >>confdefs.h <<_ACEOF
56945 #define HAVE_FREXPL 1
56946 _ACEOF
56947
56948 fi
56949 done
56950
56951   else
56952
56953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56954 $as_echo_n "checking for _frexpl declaration... " >&6; }
56955   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56956     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56957   $as_echo_n "(cached) " >&6
56958 else
56959
56960
56961       ac_ext=cpp
56962 ac_cpp='$CXXCPP $CPPFLAGS'
56963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56966
56967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56968 /* end confdefs.h.  */
56969 #include <math.h>
56970 int
56971 main ()
56972 {
56973  _frexpl(0, 0);
56974   ;
56975   return 0;
56976 }
56977 _ACEOF
56978 if ac_fn_cxx_try_compile "$LINENO"; then :
56979   glibcxx_cv_func__frexpl_use=yes
56980 else
56981   glibcxx_cv_func__frexpl_use=no
56982 fi
56983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984       ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56989
56990
56991 fi
56992
56993   fi
56994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56995 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56996
56997     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56998       for ac_func in _frexpl
56999 do :
57000   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57001 if test "x$ac_cv_func__frexpl" = x""yes; then :
57002   cat >>confdefs.h <<_ACEOF
57003 #define HAVE__FREXPL 1
57004 _ACEOF
57005
57006 fi
57007 done
57008
57009     fi
57010   fi
57011
57012
57013
57014
57015
57016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57017 $as_echo_n "checking for hypotl declaration... " >&6; }
57018   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57019     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57020   $as_echo_n "(cached) " >&6
57021 else
57022
57023
57024       ac_ext=cpp
57025 ac_cpp='$CXXCPP $CPPFLAGS'
57026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57029
57030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h.  */
57032 #include <math.h>
57033 int
57034 main ()
57035 {
57036  hypotl(0, 0);
57037   ;
57038   return 0;
57039 }
57040 _ACEOF
57041 if ac_fn_cxx_try_compile "$LINENO"; then :
57042   glibcxx_cv_func_hypotl_use=yes
57043 else
57044   glibcxx_cv_func_hypotl_use=no
57045 fi
57046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047       ac_ext=c
57048 ac_cpp='$CPP $CPPFLAGS'
57049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57052
57053
57054 fi
57055
57056   fi
57057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57058 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57059
57060   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57061     for ac_func in hypotl
57062 do :
57063   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57064 if test "x$ac_cv_func_hypotl" = x""yes; then :
57065   cat >>confdefs.h <<_ACEOF
57066 #define HAVE_HYPOTL 1
57067 _ACEOF
57068
57069 fi
57070 done
57071
57072   else
57073
57074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57075 $as_echo_n "checking for _hypotl declaration... " >&6; }
57076   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57077     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57078   $as_echo_n "(cached) " >&6
57079 else
57080
57081
57082       ac_ext=cpp
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57087
57088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089 /* end confdefs.h.  */
57090 #include <math.h>
57091 int
57092 main ()
57093 {
57094  _hypotl(0, 0);
57095   ;
57096   return 0;
57097 }
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100   glibcxx_cv_func__hypotl_use=yes
57101 else
57102   glibcxx_cv_func__hypotl_use=no
57103 fi
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105       ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110
57111
57112 fi
57113
57114   fi
57115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57116 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57117
57118     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57119       for ac_func in _hypotl
57120 do :
57121   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57122 if test "x$ac_cv_func__hypotl" = x""yes; then :
57123   cat >>confdefs.h <<_ACEOF
57124 #define HAVE__HYPOTL 1
57125 _ACEOF
57126
57127 fi
57128 done
57129
57130     fi
57131   fi
57132
57133
57134
57135
57136
57137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57138 $as_echo_n "checking for ldexpl declaration... " >&6; }
57139   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57140     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57141   $as_echo_n "(cached) " >&6
57142 else
57143
57144
57145       ac_ext=cpp
57146 ac_cpp='$CXXCPP $CPPFLAGS'
57147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57150
57151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152 /* end confdefs.h.  */
57153 #include <math.h>
57154 int
57155 main ()
57156 {
57157  ldexpl(0, 0);
57158   ;
57159   return 0;
57160 }
57161 _ACEOF
57162 if ac_fn_cxx_try_compile "$LINENO"; then :
57163   glibcxx_cv_func_ldexpl_use=yes
57164 else
57165   glibcxx_cv_func_ldexpl_use=no
57166 fi
57167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57168       ac_ext=c
57169 ac_cpp='$CPP $CPPFLAGS'
57170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57173
57174
57175 fi
57176
57177   fi
57178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57179 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57180
57181   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57182     for ac_func in ldexpl
57183 do :
57184   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57185 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57186   cat >>confdefs.h <<_ACEOF
57187 #define HAVE_LDEXPL 1
57188 _ACEOF
57189
57190 fi
57191 done
57192
57193   else
57194
57195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57196 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57197   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57198     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57199   $as_echo_n "(cached) " >&6
57200 else
57201
57202
57203       ac_ext=cpp
57204 ac_cpp='$CXXCPP $CPPFLAGS'
57205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57208
57209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57210 /* end confdefs.h.  */
57211 #include <math.h>
57212 int
57213 main ()
57214 {
57215  _ldexpl(0, 0);
57216   ;
57217   return 0;
57218 }
57219 _ACEOF
57220 if ac_fn_cxx_try_compile "$LINENO"; then :
57221   glibcxx_cv_func__ldexpl_use=yes
57222 else
57223   glibcxx_cv_func__ldexpl_use=no
57224 fi
57225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57226       ac_ext=c
57227 ac_cpp='$CPP $CPPFLAGS'
57228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57231
57232
57233 fi
57234
57235   fi
57236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57237 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57238
57239     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57240       for ac_func in _ldexpl
57241 do :
57242   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57243 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57244   cat >>confdefs.h <<_ACEOF
57245 #define HAVE__LDEXPL 1
57246 _ACEOF
57247
57248 fi
57249 done
57250
57251     fi
57252   fi
57253
57254
57255
57256
57257
57258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57259 $as_echo_n "checking for logl declaration... " >&6; }
57260   if test x${glibcxx_cv_func_logl_use+set} != xset; then
57261     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57262   $as_echo_n "(cached) " >&6
57263 else
57264
57265
57266       ac_ext=cpp
57267 ac_cpp='$CXXCPP $CPPFLAGS'
57268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57271
57272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57273 /* end confdefs.h.  */
57274 #include <math.h>
57275                       #ifdef HAVE_IEEEFP_H
57276                       #include <ieeefp.h>
57277                       #endif
57278
57279 int
57280 main ()
57281 {
57282  logl(0);
57283   ;
57284   return 0;
57285 }
57286 _ACEOF
57287 if ac_fn_cxx_try_compile "$LINENO"; then :
57288   glibcxx_cv_func_logl_use=yes
57289 else
57290   glibcxx_cv_func_logl_use=no
57291 fi
57292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57293       ac_ext=c
57294 ac_cpp='$CPP $CPPFLAGS'
57295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57298
57299
57300 fi
57301
57302   fi
57303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57304 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57305
57306   if test x$glibcxx_cv_func_logl_use = x"yes"; then
57307     for ac_func in logl
57308 do :
57309   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57310 if test "x$ac_cv_func_logl" = x""yes; then :
57311   cat >>confdefs.h <<_ACEOF
57312 #define HAVE_LOGL 1
57313 _ACEOF
57314
57315 fi
57316 done
57317
57318   else
57319
57320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57321 $as_echo_n "checking for _logl declaration... " >&6; }
57322   if test x${glibcxx_cv_func__logl_use+set} != xset; then
57323     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57324   $as_echo_n "(cached) " >&6
57325 else
57326
57327
57328       ac_ext=cpp
57329 ac_cpp='$CXXCPP $CPPFLAGS'
57330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57333
57334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335 /* end confdefs.h.  */
57336 #include <math.h>
57337                       #ifdef HAVE_IEEEFP_H
57338                       #include <ieeefp.h>
57339                       #endif
57340
57341 int
57342 main ()
57343 {
57344  _logl(0);
57345   ;
57346   return 0;
57347 }
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350   glibcxx_cv_func__logl_use=yes
57351 else
57352   glibcxx_cv_func__logl_use=no
57353 fi
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355       ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57360
57361
57362 fi
57363
57364   fi
57365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57366 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57367
57368     if test x$glibcxx_cv_func__logl_use = x"yes"; then
57369       for ac_func in _logl
57370 do :
57371   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57372 if test "x$ac_cv_func__logl" = x""yes; then :
57373   cat >>confdefs.h <<_ACEOF
57374 #define HAVE__LOGL 1
57375 _ACEOF
57376
57377 fi
57378 done
57379
57380     fi
57381   fi
57382
57383
57384
57385
57386
57387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57388 $as_echo_n "checking for log10l declaration... " >&6; }
57389   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57390     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57391   $as_echo_n "(cached) " >&6
57392 else
57393
57394
57395       ac_ext=cpp
57396 ac_cpp='$CXXCPP $CPPFLAGS'
57397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57400
57401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57402 /* end confdefs.h.  */
57403 #include <math.h>
57404                       #ifdef HAVE_IEEEFP_H
57405                       #include <ieeefp.h>
57406                       #endif
57407
57408 int
57409 main ()
57410 {
57411  log10l(0);
57412   ;
57413   return 0;
57414 }
57415 _ACEOF
57416 if ac_fn_cxx_try_compile "$LINENO"; then :
57417   glibcxx_cv_func_log10l_use=yes
57418 else
57419   glibcxx_cv_func_log10l_use=no
57420 fi
57421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57422       ac_ext=c
57423 ac_cpp='$CPP $CPPFLAGS'
57424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57427
57428
57429 fi
57430
57431   fi
57432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57433 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57434
57435   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57436     for ac_func in log10l
57437 do :
57438   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57439 if test "x$ac_cv_func_log10l" = x""yes; then :
57440   cat >>confdefs.h <<_ACEOF
57441 #define HAVE_LOG10L 1
57442 _ACEOF
57443
57444 fi
57445 done
57446
57447   else
57448
57449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57450 $as_echo_n "checking for _log10l declaration... " >&6; }
57451   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57452     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57453   $as_echo_n "(cached) " >&6
57454 else
57455
57456
57457       ac_ext=cpp
57458 ac_cpp='$CXXCPP $CPPFLAGS'
57459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57462
57463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57464 /* end confdefs.h.  */
57465 #include <math.h>
57466                       #ifdef HAVE_IEEEFP_H
57467                       #include <ieeefp.h>
57468                       #endif
57469
57470 int
57471 main ()
57472 {
57473  _log10l(0);
57474   ;
57475   return 0;
57476 }
57477 _ACEOF
57478 if ac_fn_cxx_try_compile "$LINENO"; then :
57479   glibcxx_cv_func__log10l_use=yes
57480 else
57481   glibcxx_cv_func__log10l_use=no
57482 fi
57483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57484       ac_ext=c
57485 ac_cpp='$CPP $CPPFLAGS'
57486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57489
57490
57491 fi
57492
57493   fi
57494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57495 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57496
57497     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57498       for ac_func in _log10l
57499 do :
57500   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57501 if test "x$ac_cv_func__log10l" = x""yes; then :
57502   cat >>confdefs.h <<_ACEOF
57503 #define HAVE__LOG10L 1
57504 _ACEOF
57505
57506 fi
57507 done
57508
57509     fi
57510   fi
57511
57512
57513
57514
57515
57516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57517 $as_echo_n "checking for modfl declaration... " >&6; }
57518   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57519     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57520   $as_echo_n "(cached) " >&6
57521 else
57522
57523
57524       ac_ext=cpp
57525 ac_cpp='$CXXCPP $CPPFLAGS'
57526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57529
57530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57531 /* end confdefs.h.  */
57532 #include <math.h>
57533 int
57534 main ()
57535 {
57536  modfl(0, 0);
57537   ;
57538   return 0;
57539 }
57540 _ACEOF
57541 if ac_fn_cxx_try_compile "$LINENO"; then :
57542   glibcxx_cv_func_modfl_use=yes
57543 else
57544   glibcxx_cv_func_modfl_use=no
57545 fi
57546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57547       ac_ext=c
57548 ac_cpp='$CPP $CPPFLAGS'
57549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57552
57553
57554 fi
57555
57556   fi
57557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57558 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57559
57560   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57561     for ac_func in modfl
57562 do :
57563   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57564 if test "x$ac_cv_func_modfl" = x""yes; then :
57565   cat >>confdefs.h <<_ACEOF
57566 #define HAVE_MODFL 1
57567 _ACEOF
57568
57569 fi
57570 done
57571
57572   else
57573
57574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57575 $as_echo_n "checking for _modfl declaration... " >&6; }
57576   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57577     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57578   $as_echo_n "(cached) " >&6
57579 else
57580
57581
57582       ac_ext=cpp
57583 ac_cpp='$CXXCPP $CPPFLAGS'
57584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57587
57588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57589 /* end confdefs.h.  */
57590 #include <math.h>
57591 int
57592 main ()
57593 {
57594  _modfl(0, 0);
57595   ;
57596   return 0;
57597 }
57598 _ACEOF
57599 if ac_fn_cxx_try_compile "$LINENO"; then :
57600   glibcxx_cv_func__modfl_use=yes
57601 else
57602   glibcxx_cv_func__modfl_use=no
57603 fi
57604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57605       ac_ext=c
57606 ac_cpp='$CPP $CPPFLAGS'
57607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57610
57611
57612 fi
57613
57614   fi
57615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57616 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57617
57618     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57619       for ac_func in _modfl
57620 do :
57621   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57622 if test "x$ac_cv_func__modfl" = x""yes; then :
57623   cat >>confdefs.h <<_ACEOF
57624 #define HAVE__MODFL 1
57625 _ACEOF
57626
57627 fi
57628 done
57629
57630     fi
57631   fi
57632
57633
57634
57635
57636
57637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57638 $as_echo_n "checking for powl declaration... " >&6; }
57639   if test x${glibcxx_cv_func_powl_use+set} != xset; then
57640     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57641   $as_echo_n "(cached) " >&6
57642 else
57643
57644
57645       ac_ext=cpp
57646 ac_cpp='$CXXCPP $CPPFLAGS'
57647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57650
57651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57652 /* end confdefs.h.  */
57653 #include <math.h>
57654 int
57655 main ()
57656 {
57657  powl(0, 0);
57658   ;
57659   return 0;
57660 }
57661 _ACEOF
57662 if ac_fn_cxx_try_compile "$LINENO"; then :
57663   glibcxx_cv_func_powl_use=yes
57664 else
57665   glibcxx_cv_func_powl_use=no
57666 fi
57667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57668       ac_ext=c
57669 ac_cpp='$CPP $CPPFLAGS'
57670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57673
57674
57675 fi
57676
57677   fi
57678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57679 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57680
57681   if test x$glibcxx_cv_func_powl_use = x"yes"; then
57682     for ac_func in powl
57683 do :
57684   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57685 if test "x$ac_cv_func_powl" = x""yes; then :
57686   cat >>confdefs.h <<_ACEOF
57687 #define HAVE_POWL 1
57688 _ACEOF
57689
57690 fi
57691 done
57692
57693   else
57694
57695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57696 $as_echo_n "checking for _powl declaration... " >&6; }
57697   if test x${glibcxx_cv_func__powl_use+set} != xset; then
57698     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57699   $as_echo_n "(cached) " >&6
57700 else
57701
57702
57703       ac_ext=cpp
57704 ac_cpp='$CXXCPP $CPPFLAGS'
57705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57708
57709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57710 /* end confdefs.h.  */
57711 #include <math.h>
57712 int
57713 main ()
57714 {
57715  _powl(0, 0);
57716   ;
57717   return 0;
57718 }
57719 _ACEOF
57720 if ac_fn_cxx_try_compile "$LINENO"; then :
57721   glibcxx_cv_func__powl_use=yes
57722 else
57723   glibcxx_cv_func__powl_use=no
57724 fi
57725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57726       ac_ext=c
57727 ac_cpp='$CPP $CPPFLAGS'
57728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57731
57732
57733 fi
57734
57735   fi
57736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57737 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57738
57739     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57740       for ac_func in _powl
57741 do :
57742   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57743 if test "x$ac_cv_func__powl" = x""yes; then :
57744   cat >>confdefs.h <<_ACEOF
57745 #define HAVE__POWL 1
57746 _ACEOF
57747
57748 fi
57749 done
57750
57751     fi
57752   fi
57753
57754
57755
57756
57757
57758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57759 $as_echo_n "checking for sqrtl declaration... " >&6; }
57760   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57761     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57762   $as_echo_n "(cached) " >&6
57763 else
57764
57765
57766       ac_ext=cpp
57767 ac_cpp='$CXXCPP $CPPFLAGS'
57768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771
57772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57773 /* end confdefs.h.  */
57774 #include <math.h>
57775                       #ifdef HAVE_IEEEFP_H
57776                       #include <ieeefp.h>
57777                       #endif
57778
57779 int
57780 main ()
57781 {
57782  sqrtl(0);
57783   ;
57784   return 0;
57785 }
57786 _ACEOF
57787 if ac_fn_cxx_try_compile "$LINENO"; then :
57788   glibcxx_cv_func_sqrtl_use=yes
57789 else
57790   glibcxx_cv_func_sqrtl_use=no
57791 fi
57792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57793       ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57798
57799
57800 fi
57801
57802   fi
57803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57804 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57805
57806   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57807     for ac_func in sqrtl
57808 do :
57809   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57810 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57811   cat >>confdefs.h <<_ACEOF
57812 #define HAVE_SQRTL 1
57813 _ACEOF
57814
57815 fi
57816 done
57817
57818   else
57819
57820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57821 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57822   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57823     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57824   $as_echo_n "(cached) " >&6
57825 else
57826
57827
57828       ac_ext=cpp
57829 ac_cpp='$CXXCPP $CPPFLAGS'
57830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57833
57834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57835 /* end confdefs.h.  */
57836 #include <math.h>
57837                       #ifdef HAVE_IEEEFP_H
57838                       #include <ieeefp.h>
57839                       #endif
57840
57841 int
57842 main ()
57843 {
57844  _sqrtl(0);
57845   ;
57846   return 0;
57847 }
57848 _ACEOF
57849 if ac_fn_cxx_try_compile "$LINENO"; then :
57850   glibcxx_cv_func__sqrtl_use=yes
57851 else
57852   glibcxx_cv_func__sqrtl_use=no
57853 fi
57854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57855       ac_ext=c
57856 ac_cpp='$CPP $CPPFLAGS'
57857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57860
57861
57862 fi
57863
57864   fi
57865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57866 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57867
57868     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57869       for ac_func in _sqrtl
57870 do :
57871   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57872 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57873   cat >>confdefs.h <<_ACEOF
57874 #define HAVE__SQRTL 1
57875 _ACEOF
57876
57877 fi
57878 done
57879
57880     fi
57881   fi
57882
57883
57884
57885
57886
57887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57888 $as_echo_n "checking for sincosl declaration... " >&6; }
57889   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57890     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57891   $as_echo_n "(cached) " >&6
57892 else
57893
57894
57895       ac_ext=cpp
57896 ac_cpp='$CXXCPP $CPPFLAGS'
57897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57900
57901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57902 /* end confdefs.h.  */
57903 #include <math.h>
57904 int
57905 main ()
57906 {
57907  sincosl(0, 0, 0);
57908   ;
57909   return 0;
57910 }
57911 _ACEOF
57912 if ac_fn_cxx_try_compile "$LINENO"; then :
57913   glibcxx_cv_func_sincosl_use=yes
57914 else
57915   glibcxx_cv_func_sincosl_use=no
57916 fi
57917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57918       ac_ext=c
57919 ac_cpp='$CPP $CPPFLAGS'
57920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57923
57924
57925 fi
57926
57927   fi
57928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57929 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57930
57931   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57932     for ac_func in sincosl
57933 do :
57934   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57935 if test "x$ac_cv_func_sincosl" = x""yes; then :
57936   cat >>confdefs.h <<_ACEOF
57937 #define HAVE_SINCOSL 1
57938 _ACEOF
57939
57940 fi
57941 done
57942
57943   else
57944
57945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57946 $as_echo_n "checking for _sincosl declaration... " >&6; }
57947   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57948     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57949   $as_echo_n "(cached) " >&6
57950 else
57951
57952
57953       ac_ext=cpp
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57958
57959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57960 /* end confdefs.h.  */
57961 #include <math.h>
57962 int
57963 main ()
57964 {
57965  _sincosl(0, 0, 0);
57966   ;
57967   return 0;
57968 }
57969 _ACEOF
57970 if ac_fn_cxx_try_compile "$LINENO"; then :
57971   glibcxx_cv_func__sincosl_use=yes
57972 else
57973   glibcxx_cv_func__sincosl_use=no
57974 fi
57975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57976       ac_ext=c
57977 ac_cpp='$CPP $CPPFLAGS'
57978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57981
57982
57983 fi
57984
57985   fi
57986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57987 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57988
57989     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57990       for ac_func in _sincosl
57991 do :
57992   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57993 if test "x$ac_cv_func__sincosl" = x""yes; then :
57994   cat >>confdefs.h <<_ACEOF
57995 #define HAVE__SINCOSL 1
57996 _ACEOF
57997
57998 fi
57999 done
58000
58001     fi
58002   fi
58003
58004
58005
58006
58007
58008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58009 $as_echo_n "checking for finitel declaration... " >&6; }
58010   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58011     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58012   $as_echo_n "(cached) " >&6
58013 else
58014
58015
58016       ac_ext=cpp
58017 ac_cpp='$CXXCPP $CPPFLAGS'
58018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58021
58022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58023 /* end confdefs.h.  */
58024 #include <math.h>
58025                       #ifdef HAVE_IEEEFP_H
58026                       #include <ieeefp.h>
58027                       #endif
58028
58029 int
58030 main ()
58031 {
58032  finitel(0);
58033   ;
58034   return 0;
58035 }
58036 _ACEOF
58037 if ac_fn_cxx_try_compile "$LINENO"; then :
58038   glibcxx_cv_func_finitel_use=yes
58039 else
58040   glibcxx_cv_func_finitel_use=no
58041 fi
58042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58043       ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58048
58049
58050 fi
58051
58052   fi
58053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58054 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58055
58056   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58057     for ac_func in finitel
58058 do :
58059   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58060 if test "x$ac_cv_func_finitel" = x""yes; then :
58061   cat >>confdefs.h <<_ACEOF
58062 #define HAVE_FINITEL 1
58063 _ACEOF
58064
58065 fi
58066 done
58067
58068   else
58069
58070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58071 $as_echo_n "checking for _finitel declaration... " >&6; }
58072   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58073     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58074   $as_echo_n "(cached) " >&6
58075 else
58076
58077
58078       ac_ext=cpp
58079 ac_cpp='$CXXCPP $CPPFLAGS'
58080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58083
58084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085 /* end confdefs.h.  */
58086 #include <math.h>
58087                       #ifdef HAVE_IEEEFP_H
58088                       #include <ieeefp.h>
58089                       #endif
58090
58091 int
58092 main ()
58093 {
58094  _finitel(0);
58095   ;
58096   return 0;
58097 }
58098 _ACEOF
58099 if ac_fn_cxx_try_compile "$LINENO"; then :
58100   glibcxx_cv_func__finitel_use=yes
58101 else
58102   glibcxx_cv_func__finitel_use=no
58103 fi
58104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58105       ac_ext=c
58106 ac_cpp='$CPP $CPPFLAGS'
58107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58110
58111
58112 fi
58113
58114   fi
58115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58116 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58117
58118     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58119       for ac_func in _finitel
58120 do :
58121   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58122 if test "x$ac_cv_func__finitel" = x""yes; then :
58123   cat >>confdefs.h <<_ACEOF
58124 #define HAVE__FINITEL 1
58125 _ACEOF
58126
58127 fi
58128 done
58129
58130     fi
58131   fi
58132
58133
58134
58135
58136   LIBS="$ac_save_LIBS"
58137   CXXFLAGS="$ac_save_CXXFLAGS"
58138
58139
58140   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58141   ac_save_CXXFLAGS="$CXXFLAGS"
58142   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58143
58144
58145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58146 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58147   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58148     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58149   $as_echo_n "(cached) " >&6
58150 else
58151
58152
58153       ac_ext=cpp
58154 ac_cpp='$CXXCPP $CPPFLAGS'
58155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58158
58159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58160 /* end confdefs.h.  */
58161 #include <stdlib.h>
58162 int
58163 main ()
58164 {
58165  at_quick_exit(0);
58166   ;
58167   return 0;
58168 }
58169 _ACEOF
58170 if ac_fn_cxx_try_compile "$LINENO"; then :
58171   glibcxx_cv_func_at_quick_exit_use=yes
58172 else
58173   glibcxx_cv_func_at_quick_exit_use=no
58174 fi
58175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58176       ac_ext=c
58177 ac_cpp='$CPP $CPPFLAGS'
58178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58181
58182
58183 fi
58184
58185   fi
58186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58187 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58188   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58189     for ac_func in at_quick_exit
58190 do :
58191   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58192 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58193   cat >>confdefs.h <<_ACEOF
58194 #define HAVE_AT_QUICK_EXIT 1
58195 _ACEOF
58196
58197 fi
58198 done
58199
58200   fi
58201
58202
58203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58204 $as_echo_n "checking for quick_exit declaration... " >&6; }
58205   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58206     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58207   $as_echo_n "(cached) " >&6
58208 else
58209
58210
58211       ac_ext=cpp
58212 ac_cpp='$CXXCPP $CPPFLAGS'
58213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58216
58217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58218 /* end confdefs.h.  */
58219 #include <stdlib.h>
58220 int
58221 main ()
58222 {
58223  quick_exit(0);
58224   ;
58225   return 0;
58226 }
58227 _ACEOF
58228 if ac_fn_cxx_try_compile "$LINENO"; then :
58229   glibcxx_cv_func_quick_exit_use=yes
58230 else
58231   glibcxx_cv_func_quick_exit_use=no
58232 fi
58233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58234       ac_ext=c
58235 ac_cpp='$CPP $CPPFLAGS'
58236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58239
58240
58241 fi
58242
58243   fi
58244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58245 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58246   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58247     for ac_func in quick_exit
58248 do :
58249   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58250 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58251   cat >>confdefs.h <<_ACEOF
58252 #define HAVE_QUICK_EXIT 1
58253 _ACEOF
58254
58255 fi
58256 done
58257
58258   fi
58259
58260
58261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58262 $as_echo_n "checking for strtold declaration... " >&6; }
58263   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58264     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58265   $as_echo_n "(cached) " >&6
58266 else
58267
58268
58269       ac_ext=cpp
58270 ac_cpp='$CXXCPP $CPPFLAGS'
58271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58274
58275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58276 /* end confdefs.h.  */
58277 #include <stdlib.h>
58278 int
58279 main ()
58280 {
58281  strtold(0, 0);
58282   ;
58283   return 0;
58284 }
58285 _ACEOF
58286 if ac_fn_cxx_try_compile "$LINENO"; then :
58287   glibcxx_cv_func_strtold_use=yes
58288 else
58289   glibcxx_cv_func_strtold_use=no
58290 fi
58291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58292       ac_ext=c
58293 ac_cpp='$CPP $CPPFLAGS'
58294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58297
58298
58299 fi
58300
58301   fi
58302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58303 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58304   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58305     for ac_func in strtold
58306 do :
58307   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58308 if test "x$ac_cv_func_strtold" = x""yes; then :
58309   cat >>confdefs.h <<_ACEOF
58310 #define HAVE_STRTOLD 1
58311 _ACEOF
58312
58313 fi
58314 done
58315
58316   fi
58317
58318
58319
58320
58321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58322 $as_echo_n "checking for strtof declaration... " >&6; }
58323   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58324     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58325   $as_echo_n "(cached) " >&6
58326 else
58327
58328
58329       ac_ext=cpp
58330 ac_cpp='$CXXCPP $CPPFLAGS'
58331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58334
58335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58336 /* end confdefs.h.  */
58337 #include <stdlib.h>
58338 int
58339 main ()
58340 {
58341  strtof(0, 0);
58342   ;
58343   return 0;
58344 }
58345 _ACEOF
58346 if ac_fn_cxx_try_compile "$LINENO"; then :
58347   glibcxx_cv_func_strtof_use=yes
58348 else
58349   glibcxx_cv_func_strtof_use=no
58350 fi
58351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58352       ac_ext=c
58353 ac_cpp='$CPP $CPPFLAGS'
58354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58357
58358
58359 fi
58360
58361   fi
58362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58363 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58364   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58365     for ac_func in strtof
58366 do :
58367   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58368 if test "x$ac_cv_func_strtof" = x""yes; then :
58369   cat >>confdefs.h <<_ACEOF
58370 #define HAVE_STRTOF 1
58371 _ACEOF
58372
58373 fi
58374 done
58375
58376   fi
58377
58378
58379
58380
58381   CXXFLAGS="$ac_save_CXXFLAGS"
58382
58383     ;;
58384   *-netbsd*)
58385     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58386
58387
58388   # If we're not using GNU ld, then there's no point in even trying these
58389   # tests.  Check for that first.  We should have already tested for gld
58390   # by now (in libtool), but require it now just to be safe...
58391   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58392   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58393
58394
58395
58396   # The name set by libtool depends on the version of libtool.  Shame on us
58397   # for depending on an impl detail, but c'est la vie.  Older versions used
58398   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58399   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58400   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58401   # set (hence we're using an older libtool), then set it.
58402   if test x${with_gnu_ld+set} != xset; then
58403     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58404       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58405       with_gnu_ld=no
58406     else
58407       with_gnu_ld=$ac_cv_prog_gnu_ld
58408     fi
58409   fi
58410
58411   # Start by getting the version number.  I think the libtool test already
58412   # does some of this, but throws away the result.
58413   glibcxx_ld_is_gold=no
58414   if test x"$with_gnu_ld" = x"yes"; then
58415     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58416 $as_echo_n "checking for ld version... " >&6; }
58417
58418     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58419       glibcxx_ld_is_gold=yes
58420     fi
58421     ldver=`$LD --version 2>/dev/null |
58422            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'`
58423
58424     glibcxx_gnu_ld_version=`echo $ldver | \
58425            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58426     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58427 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58428   fi
58429
58430   # Set --gc-sections.
58431   glibcxx_have_gc_sections=no
58432   if test "$glibcxx_ld_is_gold" = "yes"; then
58433     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58434       glibcxx_have_gc_sections=yes
58435     fi
58436   else
58437     glibcxx_gcsections_min_ld=21602
58438     if test x"$with_gnu_ld" = x"yes" &&
58439         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58440       glibcxx_have_gc_sections=yes
58441     fi
58442   fi
58443   if test "$glibcxx_have_gc_sections" = "yes"; then
58444     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58445     # NB: This flag only works reliably after 2.16.1. Configure tests
58446     # for this are difficult, so hard wire a value that should work.
58447
58448     ac_test_CFLAGS="${CFLAGS+set}"
58449     ac_save_CFLAGS="$CFLAGS"
58450     CFLAGS='-Wl,--gc-sections'
58451
58452     # Check for -Wl,--gc-sections
58453     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58454 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58455     if test x$gcc_no_link = xyes; then
58456   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58457 fi
58458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58459 /* end confdefs.h.  */
58460  int one(void) { return 1; }
58461      int two(void) { return 2; }
58462
58463 int
58464 main ()
58465 {
58466  two();
58467   ;
58468   return 0;
58469 }
58470 _ACEOF
58471 if ac_fn_c_try_link "$LINENO"; then :
58472   ac_gcsections=yes
58473 else
58474   ac_gcsections=no
58475 fi
58476 rm -f core conftest.err conftest.$ac_objext \
58477     conftest$ac_exeext conftest.$ac_ext
58478     if test "$ac_gcsections" = "yes"; then
58479       rm -f conftest.c
58480       touch conftest.c
58481       if $CC -c conftest.c; then
58482         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58483            grep "Warning: gc-sections option ignored" > /dev/null; then
58484           ac_gcsections=no
58485         fi
58486       fi
58487       rm -f conftest.c conftest.o conftest
58488     fi
58489     if test "$ac_gcsections" = "yes"; then
58490       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58491     fi
58492     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58493 $as_echo "$ac_gcsections" >&6; }
58494
58495     if test "$ac_test_CFLAGS" = set; then
58496       CFLAGS="$ac_save_CFLAGS"
58497     else
58498       # this is the suspicious part
58499       CFLAGS=''
58500     fi
58501   fi
58502
58503   # Set -z,relro.
58504   # Note this is only for shared objects.
58505   ac_ld_relro=no
58506   if test x"$with_gnu_ld" = x"yes"; then
58507     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58508 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58509     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58510     if test -n "$cxx_z_relo"; then
58511       OPT_LDFLAGS="-Wl,-z,relro"
58512       ac_ld_relro=yes
58513     fi
58514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58515 $as_echo "$ac_ld_relro" >&6; }
58516   fi
58517
58518   # Set linker optimization flags.
58519   if test x"$with_gnu_ld" = x"yes"; then
58520     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58521   fi
58522
58523
58524
58525
58526     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58527
58528     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58529
58530     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58531
58532     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58533
58534     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58535
58536     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58537
58538     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58539
58540     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58541
58542     if test x"long_double_math_on_this_cpu" = x"yes"; then
58543       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58544
58545       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58546
58547       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58548
58549     fi
58550     ;;
58551   *-qnx6.1* | *-qnx6.2*)
58552     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58553
58554
58555   # If we're not using GNU ld, then there's no point in even trying these
58556   # tests.  Check for that first.  We should have already tested for gld
58557   # by now (in libtool), but require it now just to be safe...
58558   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58559   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58560
58561
58562
58563   # The name set by libtool depends on the version of libtool.  Shame on us
58564   # for depending on an impl detail, but c'est la vie.  Older versions used
58565   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58566   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58567   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58568   # set (hence we're using an older libtool), then set it.
58569   if test x${with_gnu_ld+set} != xset; then
58570     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58571       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58572       with_gnu_ld=no
58573     else
58574       with_gnu_ld=$ac_cv_prog_gnu_ld
58575     fi
58576   fi
58577
58578   # Start by getting the version number.  I think the libtool test already
58579   # does some of this, but throws away the result.
58580   glibcxx_ld_is_gold=no
58581   if test x"$with_gnu_ld" = x"yes"; then
58582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58583 $as_echo_n "checking for ld version... " >&6; }
58584
58585     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58586       glibcxx_ld_is_gold=yes
58587     fi
58588     ldver=`$LD --version 2>/dev/null |
58589            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'`
58590
58591     glibcxx_gnu_ld_version=`echo $ldver | \
58592            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58593     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58594 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58595   fi
58596
58597   # Set --gc-sections.
58598   glibcxx_have_gc_sections=no
58599   if test "$glibcxx_ld_is_gold" = "yes"; then
58600     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58601       glibcxx_have_gc_sections=yes
58602     fi
58603   else
58604     glibcxx_gcsections_min_ld=21602
58605     if test x"$with_gnu_ld" = x"yes" &&
58606         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58607       glibcxx_have_gc_sections=yes
58608     fi
58609   fi
58610   if test "$glibcxx_have_gc_sections" = "yes"; then
58611     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58612     # NB: This flag only works reliably after 2.16.1. Configure tests
58613     # for this are difficult, so hard wire a value that should work.
58614
58615     ac_test_CFLAGS="${CFLAGS+set}"
58616     ac_save_CFLAGS="$CFLAGS"
58617     CFLAGS='-Wl,--gc-sections'
58618
58619     # Check for -Wl,--gc-sections
58620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58621 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58622     if test x$gcc_no_link = xyes; then
58623   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58624 fi
58625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58626 /* end confdefs.h.  */
58627  int one(void) { return 1; }
58628      int two(void) { return 2; }
58629
58630 int
58631 main ()
58632 {
58633  two();
58634   ;
58635   return 0;
58636 }
58637 _ACEOF
58638 if ac_fn_c_try_link "$LINENO"; then :
58639   ac_gcsections=yes
58640 else
58641   ac_gcsections=no
58642 fi
58643 rm -f core conftest.err conftest.$ac_objext \
58644     conftest$ac_exeext conftest.$ac_ext
58645     if test "$ac_gcsections" = "yes"; then
58646       rm -f conftest.c
58647       touch conftest.c
58648       if $CC -c conftest.c; then
58649         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58650            grep "Warning: gc-sections option ignored" > /dev/null; then
58651           ac_gcsections=no
58652         fi
58653       fi
58654       rm -f conftest.c conftest.o conftest
58655     fi
58656     if test "$ac_gcsections" = "yes"; then
58657       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58658     fi
58659     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58660 $as_echo "$ac_gcsections" >&6; }
58661
58662     if test "$ac_test_CFLAGS" = set; then
58663       CFLAGS="$ac_save_CFLAGS"
58664     else
58665       # this is the suspicious part
58666       CFLAGS=''
58667     fi
58668   fi
58669
58670   # Set -z,relro.
58671   # Note this is only for shared objects.
58672   ac_ld_relro=no
58673   if test x"$with_gnu_ld" = x"yes"; then
58674     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58675 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58676     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58677     if test -n "$cxx_z_relo"; then
58678       OPT_LDFLAGS="-Wl,-z,relro"
58679       ac_ld_relro=yes
58680     fi
58681     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58682 $as_echo "$ac_ld_relro" >&6; }
58683   fi
58684
58685   # Set linker optimization flags.
58686   if test x"$with_gnu_ld" = x"yes"; then
58687     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58688   fi
58689
58690
58691
58692
58693     $as_echo "#define HAVE_COSF 1" >>confdefs.h
58694
58695     $as_echo "#define HAVE_COSL 1" >>confdefs.h
58696
58697     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58698
58699     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58700
58701     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58702
58703     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58704
58705     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58706
58707     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58708
58709     $as_echo "#define HAVE_SINF 1" >>confdefs.h
58710
58711     $as_echo "#define HAVE_SINL 1" >>confdefs.h
58712
58713     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58714
58715     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58716
58717     ;;
58718   *-rtems*)
58719
58720   # All these tests are for C++; save the language and the compiler flags.
58721   # The CXXFLAGS thing is suspicious, but based on similar bits previously
58722   # found in GLIBCXX_CONFIGURE.
58723
58724   ac_ext=cpp
58725 ac_cpp='$CXXCPP $CPPFLAGS'
58726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58729
58730   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58731   ac_save_CXXFLAGS="$CXXFLAGS"
58732
58733   # Check for maintainer-mode bits.
58734   if test x"$USE_MAINTAINER_MODE" = xno; then
58735     WERROR=''
58736   else
58737     WERROR='-Werror'
58738   fi
58739
58740   # Check for -ffunction-sections -fdata-sections
58741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58742 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58743   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58745 /* end confdefs.h.  */
58746 int foo; void bar() { };
58747 int
58748 main ()
58749 {
58750
58751   ;
58752   return 0;
58753 }
58754 _ACEOF
58755 if ac_fn_cxx_try_compile "$LINENO"; then :
58756   ac_fdsections=yes
58757 else
58758   ac_fdsections=no
58759 fi
58760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58761   if test "$ac_test_CXXFLAGS" = set; then
58762     CXXFLAGS="$ac_save_CXXFLAGS"
58763   else
58764     # this is the suspicious part
58765     CXXFLAGS=''
58766   fi
58767   if test x"$ac_fdsections" = x"yes"; then
58768     SECTION_FLAGS='-ffunction-sections -fdata-sections'
58769   fi
58770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58771 $as_echo "$ac_fdsections" >&6; }
58772
58773   ac_ext=c
58774 ac_cpp='$CPP $CPPFLAGS'
58775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58778
58779
58780
58781
58782
58783   # If we're not using GNU ld, then there's no point in even trying these
58784   # tests.  Check for that first.  We should have already tested for gld
58785   # by now (in libtool), but require it now just to be safe...
58786   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58787   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58788
58789
58790
58791   # The name set by libtool depends on the version of libtool.  Shame on us
58792   # for depending on an impl detail, but c'est la vie.  Older versions used
58793   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58794   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58795   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58796   # set (hence we're using an older libtool), then set it.
58797   if test x${with_gnu_ld+set} != xset; then
58798     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58799       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58800       with_gnu_ld=no
58801     else
58802       with_gnu_ld=$ac_cv_prog_gnu_ld
58803     fi
58804   fi
58805
58806   # Start by getting the version number.  I think the libtool test already
58807   # does some of this, but throws away the result.
58808   glibcxx_ld_is_gold=no
58809   if test x"$with_gnu_ld" = x"yes"; then
58810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58811 $as_echo_n "checking for ld version... " >&6; }
58812
58813     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58814       glibcxx_ld_is_gold=yes
58815     fi
58816     ldver=`$LD --version 2>/dev/null |
58817            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'`
58818
58819     glibcxx_gnu_ld_version=`echo $ldver | \
58820            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58821     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58822 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58823   fi
58824
58825   # Set --gc-sections.
58826   glibcxx_have_gc_sections=no
58827   if test "$glibcxx_ld_is_gold" = "yes"; then
58828     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58829       glibcxx_have_gc_sections=yes
58830     fi
58831   else
58832     glibcxx_gcsections_min_ld=21602
58833     if test x"$with_gnu_ld" = x"yes" &&
58834         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58835       glibcxx_have_gc_sections=yes
58836     fi
58837   fi
58838   if test "$glibcxx_have_gc_sections" = "yes"; then
58839     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58840     # NB: This flag only works reliably after 2.16.1. Configure tests
58841     # for this are difficult, so hard wire a value that should work.
58842
58843     ac_test_CFLAGS="${CFLAGS+set}"
58844     ac_save_CFLAGS="$CFLAGS"
58845     CFLAGS='-Wl,--gc-sections'
58846
58847     # Check for -Wl,--gc-sections
58848     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58849 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58850     if test x$gcc_no_link = xyes; then
58851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58852 fi
58853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58854 /* end confdefs.h.  */
58855  int one(void) { return 1; }
58856      int two(void) { return 2; }
58857
58858 int
58859 main ()
58860 {
58861  two();
58862   ;
58863   return 0;
58864 }
58865 _ACEOF
58866 if ac_fn_c_try_link "$LINENO"; then :
58867   ac_gcsections=yes
58868 else
58869   ac_gcsections=no
58870 fi
58871 rm -f core conftest.err conftest.$ac_objext \
58872     conftest$ac_exeext conftest.$ac_ext
58873     if test "$ac_gcsections" = "yes"; then
58874       rm -f conftest.c
58875       touch conftest.c
58876       if $CC -c conftest.c; then
58877         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58878            grep "Warning: gc-sections option ignored" > /dev/null; then
58879           ac_gcsections=no
58880         fi
58881       fi
58882       rm -f conftest.c conftest.o conftest
58883     fi
58884     if test "$ac_gcsections" = "yes"; then
58885       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58886     fi
58887     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58888 $as_echo "$ac_gcsections" >&6; }
58889
58890     if test "$ac_test_CFLAGS" = set; then
58891       CFLAGS="$ac_save_CFLAGS"
58892     else
58893       # this is the suspicious part
58894       CFLAGS=''
58895     fi
58896   fi
58897
58898   # Set -z,relro.
58899   # Note this is only for shared objects.
58900   ac_ld_relro=no
58901   if test x"$with_gnu_ld" = x"yes"; then
58902     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58903 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58904     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58905     if test -n "$cxx_z_relo"; then
58906       OPT_LDFLAGS="-Wl,-z,relro"
58907       ac_ld_relro=yes
58908     fi
58909     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58910 $as_echo "$ac_ld_relro" >&6; }
58911   fi
58912
58913   # Set linker optimization flags.
58914   if test x"$with_gnu_ld" = x"yes"; then
58915     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58916   fi
58917
58918
58919
58920
58921
58922   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58923   ac_save_CXXFLAGS="$CXXFLAGS"
58924   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58925
58926     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58927 $as_echo_n "checking for sin in -lm... " >&6; }
58928 if test "${ac_cv_lib_m_sin+set}" = set; then :
58929   $as_echo_n "(cached) " >&6
58930 else
58931   ac_check_lib_save_LIBS=$LIBS
58932 LIBS="-lm  $LIBS"
58933 if test x$gcc_no_link = xyes; then
58934   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58935 fi
58936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58937 /* end confdefs.h.  */
58938
58939 /* Override any GCC internal prototype to avoid an error.
58940    Use char because int might match the return type of a GCC
58941    builtin and then its argument prototype would still apply.  */
58942 #ifdef __cplusplus
58943 extern "C"
58944 #endif
58945 char sin ();
58946 int
58947 main ()
58948 {
58949 return sin ();
58950   ;
58951   return 0;
58952 }
58953 _ACEOF
58954 if ac_fn_c_try_link "$LINENO"; then :
58955   ac_cv_lib_m_sin=yes
58956 else
58957   ac_cv_lib_m_sin=no
58958 fi
58959 rm -f core conftest.err conftest.$ac_objext \
58960     conftest$ac_exeext conftest.$ac_ext
58961 LIBS=$ac_check_lib_save_LIBS
58962 fi
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58964 $as_echo "$ac_cv_lib_m_sin" >&6; }
58965 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58966   libm="-lm"
58967 fi
58968
58969   ac_save_LIBS="$LIBS"
58970   LIBS="$LIBS $libm"
58971
58972
58973
58974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58975 $as_echo_n "checking for isinf declaration... " >&6; }
58976   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58977     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58978   $as_echo_n "(cached) " >&6
58979 else
58980
58981
58982       ac_ext=cpp
58983 ac_cpp='$CXXCPP $CPPFLAGS'
58984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58987
58988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58989 /* end confdefs.h.  */
58990 #include <math.h>
58991                       #ifdef HAVE_IEEEFP_H
58992                       #include <ieeefp.h>
58993                       #endif
58994
58995 int
58996 main ()
58997 {
58998  isinf(0);
58999   ;
59000   return 0;
59001 }
59002 _ACEOF
59003 if ac_fn_cxx_try_compile "$LINENO"; then :
59004   glibcxx_cv_func_isinf_use=yes
59005 else
59006   glibcxx_cv_func_isinf_use=no
59007 fi
59008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59009       ac_ext=c
59010 ac_cpp='$CPP $CPPFLAGS'
59011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59014
59015
59016 fi
59017
59018   fi
59019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59020 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59021
59022   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59023     for ac_func in isinf
59024 do :
59025   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59026 if test "x$ac_cv_func_isinf" = x""yes; then :
59027   cat >>confdefs.h <<_ACEOF
59028 #define HAVE_ISINF 1
59029 _ACEOF
59030
59031 fi
59032 done
59033
59034   else
59035
59036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59037 $as_echo_n "checking for _isinf declaration... " >&6; }
59038   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59039     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59040   $as_echo_n "(cached) " >&6
59041 else
59042
59043
59044       ac_ext=cpp
59045 ac_cpp='$CXXCPP $CPPFLAGS'
59046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59049
59050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59051 /* end confdefs.h.  */
59052 #include <math.h>
59053                       #ifdef HAVE_IEEEFP_H
59054                       #include <ieeefp.h>
59055                       #endif
59056
59057 int
59058 main ()
59059 {
59060  _isinf(0);
59061   ;
59062   return 0;
59063 }
59064 _ACEOF
59065 if ac_fn_cxx_try_compile "$LINENO"; then :
59066   glibcxx_cv_func__isinf_use=yes
59067 else
59068   glibcxx_cv_func__isinf_use=no
59069 fi
59070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59071       ac_ext=c
59072 ac_cpp='$CPP $CPPFLAGS'
59073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59076
59077
59078 fi
59079
59080   fi
59081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59082 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59083
59084     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59085       for ac_func in _isinf
59086 do :
59087   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59088 if test "x$ac_cv_func__isinf" = x""yes; then :
59089   cat >>confdefs.h <<_ACEOF
59090 #define HAVE__ISINF 1
59091 _ACEOF
59092
59093 fi
59094 done
59095
59096     fi
59097   fi
59098
59099
59100
59101
59102
59103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59104 $as_echo_n "checking for isnan declaration... " >&6; }
59105   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59106     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59107   $as_echo_n "(cached) " >&6
59108 else
59109
59110
59111       ac_ext=cpp
59112 ac_cpp='$CXXCPP $CPPFLAGS'
59113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116
59117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59118 /* end confdefs.h.  */
59119 #include <math.h>
59120                       #ifdef HAVE_IEEEFP_H
59121                       #include <ieeefp.h>
59122                       #endif
59123
59124 int
59125 main ()
59126 {
59127  isnan(0);
59128   ;
59129   return 0;
59130 }
59131 _ACEOF
59132 if ac_fn_cxx_try_compile "$LINENO"; then :
59133   glibcxx_cv_func_isnan_use=yes
59134 else
59135   glibcxx_cv_func_isnan_use=no
59136 fi
59137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59138       ac_ext=c
59139 ac_cpp='$CPP $CPPFLAGS'
59140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59143
59144
59145 fi
59146
59147   fi
59148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59149 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59150
59151   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59152     for ac_func in isnan
59153 do :
59154   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59155 if test "x$ac_cv_func_isnan" = x""yes; then :
59156   cat >>confdefs.h <<_ACEOF
59157 #define HAVE_ISNAN 1
59158 _ACEOF
59159
59160 fi
59161 done
59162
59163   else
59164
59165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59166 $as_echo_n "checking for _isnan declaration... " >&6; }
59167   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59168     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59169   $as_echo_n "(cached) " >&6
59170 else
59171
59172
59173       ac_ext=cpp
59174 ac_cpp='$CXXCPP $CPPFLAGS'
59175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59178
59179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59180 /* end confdefs.h.  */
59181 #include <math.h>
59182                       #ifdef HAVE_IEEEFP_H
59183                       #include <ieeefp.h>
59184                       #endif
59185
59186 int
59187 main ()
59188 {
59189  _isnan(0);
59190   ;
59191   return 0;
59192 }
59193 _ACEOF
59194 if ac_fn_cxx_try_compile "$LINENO"; then :
59195   glibcxx_cv_func__isnan_use=yes
59196 else
59197   glibcxx_cv_func__isnan_use=no
59198 fi
59199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59200       ac_ext=c
59201 ac_cpp='$CPP $CPPFLAGS'
59202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59205
59206
59207 fi
59208
59209   fi
59210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59211 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59212
59213     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59214       for ac_func in _isnan
59215 do :
59216   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59217 if test "x$ac_cv_func__isnan" = x""yes; then :
59218   cat >>confdefs.h <<_ACEOF
59219 #define HAVE__ISNAN 1
59220 _ACEOF
59221
59222 fi
59223 done
59224
59225     fi
59226   fi
59227
59228
59229
59230
59231
59232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59233 $as_echo_n "checking for finite declaration... " >&6; }
59234   if test x${glibcxx_cv_func_finite_use+set} != xset; then
59235     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59236   $as_echo_n "(cached) " >&6
59237 else
59238
59239
59240       ac_ext=cpp
59241 ac_cpp='$CXXCPP $CPPFLAGS'
59242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59245
59246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59247 /* end confdefs.h.  */
59248 #include <math.h>
59249                       #ifdef HAVE_IEEEFP_H
59250                       #include <ieeefp.h>
59251                       #endif
59252
59253 int
59254 main ()
59255 {
59256  finite(0);
59257   ;
59258   return 0;
59259 }
59260 _ACEOF
59261 if ac_fn_cxx_try_compile "$LINENO"; then :
59262   glibcxx_cv_func_finite_use=yes
59263 else
59264   glibcxx_cv_func_finite_use=no
59265 fi
59266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59267       ac_ext=c
59268 ac_cpp='$CPP $CPPFLAGS'
59269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59272
59273
59274 fi
59275
59276   fi
59277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59278 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59279
59280   if test x$glibcxx_cv_func_finite_use = x"yes"; then
59281     for ac_func in finite
59282 do :
59283   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59284 if test "x$ac_cv_func_finite" = x""yes; then :
59285   cat >>confdefs.h <<_ACEOF
59286 #define HAVE_FINITE 1
59287 _ACEOF
59288
59289 fi
59290 done
59291
59292   else
59293
59294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59295 $as_echo_n "checking for _finite declaration... " >&6; }
59296   if test x${glibcxx_cv_func__finite_use+set} != xset; then
59297     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59298   $as_echo_n "(cached) " >&6
59299 else
59300
59301
59302       ac_ext=cpp
59303 ac_cpp='$CXXCPP $CPPFLAGS'
59304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59307
59308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59309 /* end confdefs.h.  */
59310 #include <math.h>
59311                       #ifdef HAVE_IEEEFP_H
59312                       #include <ieeefp.h>
59313                       #endif
59314
59315 int
59316 main ()
59317 {
59318  _finite(0);
59319   ;
59320   return 0;
59321 }
59322 _ACEOF
59323 if ac_fn_cxx_try_compile "$LINENO"; then :
59324   glibcxx_cv_func__finite_use=yes
59325 else
59326   glibcxx_cv_func__finite_use=no
59327 fi
59328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59329       ac_ext=c
59330 ac_cpp='$CPP $CPPFLAGS'
59331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59334
59335
59336 fi
59337
59338   fi
59339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59340 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59341
59342     if test x$glibcxx_cv_func__finite_use = x"yes"; then
59343       for ac_func in _finite
59344 do :
59345   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59346 if test "x$ac_cv_func__finite" = x""yes; then :
59347   cat >>confdefs.h <<_ACEOF
59348 #define HAVE__FINITE 1
59349 _ACEOF
59350
59351 fi
59352 done
59353
59354     fi
59355   fi
59356
59357
59358
59359
59360
59361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59362 $as_echo_n "checking for sincos declaration... " >&6; }
59363   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59364     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59365   $as_echo_n "(cached) " >&6
59366 else
59367
59368
59369       ac_ext=cpp
59370 ac_cpp='$CXXCPP $CPPFLAGS'
59371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59374
59375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59376 /* end confdefs.h.  */
59377 #include <math.h>
59378 int
59379 main ()
59380 {
59381  sincos(0, 0, 0);
59382   ;
59383   return 0;
59384 }
59385 _ACEOF
59386 if ac_fn_cxx_try_compile "$LINENO"; then :
59387   glibcxx_cv_func_sincos_use=yes
59388 else
59389   glibcxx_cv_func_sincos_use=no
59390 fi
59391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59392       ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397
59398
59399 fi
59400
59401   fi
59402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59403 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59404
59405   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59406     for ac_func in sincos
59407 do :
59408   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59409 if test "x$ac_cv_func_sincos" = x""yes; then :
59410   cat >>confdefs.h <<_ACEOF
59411 #define HAVE_SINCOS 1
59412 _ACEOF
59413
59414 fi
59415 done
59416
59417   else
59418
59419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59420 $as_echo_n "checking for _sincos declaration... " >&6; }
59421   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59422     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59423   $as_echo_n "(cached) " >&6
59424 else
59425
59426
59427       ac_ext=cpp
59428 ac_cpp='$CXXCPP $CPPFLAGS'
59429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59432
59433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59434 /* end confdefs.h.  */
59435 #include <math.h>
59436 int
59437 main ()
59438 {
59439  _sincos(0, 0, 0);
59440   ;
59441   return 0;
59442 }
59443 _ACEOF
59444 if ac_fn_cxx_try_compile "$LINENO"; then :
59445   glibcxx_cv_func__sincos_use=yes
59446 else
59447   glibcxx_cv_func__sincos_use=no
59448 fi
59449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59450       ac_ext=c
59451 ac_cpp='$CPP $CPPFLAGS'
59452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59455
59456
59457 fi
59458
59459   fi
59460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59461 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59462
59463     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59464       for ac_func in _sincos
59465 do :
59466   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59467 if test "x$ac_cv_func__sincos" = x""yes; then :
59468   cat >>confdefs.h <<_ACEOF
59469 #define HAVE__SINCOS 1
59470 _ACEOF
59471
59472 fi
59473 done
59474
59475     fi
59476   fi
59477
59478
59479
59480
59481
59482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59483 $as_echo_n "checking for fpclass declaration... " >&6; }
59484   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59485     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59486   $as_echo_n "(cached) " >&6
59487 else
59488
59489
59490       ac_ext=cpp
59491 ac_cpp='$CXXCPP $CPPFLAGS'
59492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59495
59496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59497 /* end confdefs.h.  */
59498 #include <math.h>
59499                       #ifdef HAVE_IEEEFP_H
59500                       #include <ieeefp.h>
59501                       #endif
59502
59503 int
59504 main ()
59505 {
59506  fpclass(0);
59507   ;
59508   return 0;
59509 }
59510 _ACEOF
59511 if ac_fn_cxx_try_compile "$LINENO"; then :
59512   glibcxx_cv_func_fpclass_use=yes
59513 else
59514   glibcxx_cv_func_fpclass_use=no
59515 fi
59516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59517       ac_ext=c
59518 ac_cpp='$CPP $CPPFLAGS'
59519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59522
59523
59524 fi
59525
59526   fi
59527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59528 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59529
59530   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59531     for ac_func in fpclass
59532 do :
59533   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59534 if test "x$ac_cv_func_fpclass" = x""yes; then :
59535   cat >>confdefs.h <<_ACEOF
59536 #define HAVE_FPCLASS 1
59537 _ACEOF
59538
59539 fi
59540 done
59541
59542   else
59543
59544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59545 $as_echo_n "checking for _fpclass declaration... " >&6; }
59546   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59547     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59548   $as_echo_n "(cached) " >&6
59549 else
59550
59551
59552       ac_ext=cpp
59553 ac_cpp='$CXXCPP $CPPFLAGS'
59554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59557
59558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59559 /* end confdefs.h.  */
59560 #include <math.h>
59561                       #ifdef HAVE_IEEEFP_H
59562                       #include <ieeefp.h>
59563                       #endif
59564
59565 int
59566 main ()
59567 {
59568  _fpclass(0);
59569   ;
59570   return 0;
59571 }
59572 _ACEOF
59573 if ac_fn_cxx_try_compile "$LINENO"; then :
59574   glibcxx_cv_func__fpclass_use=yes
59575 else
59576   glibcxx_cv_func__fpclass_use=no
59577 fi
59578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59579       ac_ext=c
59580 ac_cpp='$CPP $CPPFLAGS'
59581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59584
59585
59586 fi
59587
59588   fi
59589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59590 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59591
59592     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59593       for ac_func in _fpclass
59594 do :
59595   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59596 if test "x$ac_cv_func__fpclass" = x""yes; then :
59597   cat >>confdefs.h <<_ACEOF
59598 #define HAVE__FPCLASS 1
59599 _ACEOF
59600
59601 fi
59602 done
59603
59604     fi
59605   fi
59606
59607
59608
59609
59610
59611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59612 $as_echo_n "checking for qfpclass declaration... " >&6; }
59613   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59614     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59615   $as_echo_n "(cached) " >&6
59616 else
59617
59618
59619       ac_ext=cpp
59620 ac_cpp='$CXXCPP $CPPFLAGS'
59621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59624
59625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59626 /* end confdefs.h.  */
59627 #include <math.h>
59628                       #ifdef HAVE_IEEEFP_H
59629                       #include <ieeefp.h>
59630                       #endif
59631
59632 int
59633 main ()
59634 {
59635  qfpclass(0);
59636   ;
59637   return 0;
59638 }
59639 _ACEOF
59640 if ac_fn_cxx_try_compile "$LINENO"; then :
59641   glibcxx_cv_func_qfpclass_use=yes
59642 else
59643   glibcxx_cv_func_qfpclass_use=no
59644 fi
59645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59646       ac_ext=c
59647 ac_cpp='$CPP $CPPFLAGS'
59648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59651
59652
59653 fi
59654
59655   fi
59656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59657 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59658
59659   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59660     for ac_func in qfpclass
59661 do :
59662   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59663 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59664   cat >>confdefs.h <<_ACEOF
59665 #define HAVE_QFPCLASS 1
59666 _ACEOF
59667
59668 fi
59669 done
59670
59671   else
59672
59673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59674 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59675   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59676     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59677   $as_echo_n "(cached) " >&6
59678 else
59679
59680
59681       ac_ext=cpp
59682 ac_cpp='$CXXCPP $CPPFLAGS'
59683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59686
59687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59688 /* end confdefs.h.  */
59689 #include <math.h>
59690                       #ifdef HAVE_IEEEFP_H
59691                       #include <ieeefp.h>
59692                       #endif
59693
59694 int
59695 main ()
59696 {
59697  _qfpclass(0);
59698   ;
59699   return 0;
59700 }
59701 _ACEOF
59702 if ac_fn_cxx_try_compile "$LINENO"; then :
59703   glibcxx_cv_func__qfpclass_use=yes
59704 else
59705   glibcxx_cv_func__qfpclass_use=no
59706 fi
59707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59708       ac_ext=c
59709 ac_cpp='$CPP $CPPFLAGS'
59710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59713
59714
59715 fi
59716
59717   fi
59718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59719 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59720
59721     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59722       for ac_func in _qfpclass
59723 do :
59724   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59725 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59726   cat >>confdefs.h <<_ACEOF
59727 #define HAVE__QFPCLASS 1
59728 _ACEOF
59729
59730 fi
59731 done
59732
59733     fi
59734   fi
59735
59736
59737
59738
59739
59740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59741 $as_echo_n "checking for hypot declaration... " >&6; }
59742   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59743     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59744   $as_echo_n "(cached) " >&6
59745 else
59746
59747
59748       ac_ext=cpp
59749 ac_cpp='$CXXCPP $CPPFLAGS'
59750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59753
59754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59755 /* end confdefs.h.  */
59756 #include <math.h>
59757 int
59758 main ()
59759 {
59760  hypot(0, 0);
59761   ;
59762   return 0;
59763 }
59764 _ACEOF
59765 if ac_fn_cxx_try_compile "$LINENO"; then :
59766   glibcxx_cv_func_hypot_use=yes
59767 else
59768   glibcxx_cv_func_hypot_use=no
59769 fi
59770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59771       ac_ext=c
59772 ac_cpp='$CPP $CPPFLAGS'
59773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59776
59777
59778 fi
59779
59780   fi
59781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59782 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59783
59784   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59785     for ac_func in hypot
59786 do :
59787   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59788 if test "x$ac_cv_func_hypot" = x""yes; then :
59789   cat >>confdefs.h <<_ACEOF
59790 #define HAVE_HYPOT 1
59791 _ACEOF
59792
59793 fi
59794 done
59795
59796   else
59797
59798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59799 $as_echo_n "checking for _hypot declaration... " >&6; }
59800   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59801     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59802   $as_echo_n "(cached) " >&6
59803 else
59804
59805
59806       ac_ext=cpp
59807 ac_cpp='$CXXCPP $CPPFLAGS'
59808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59811
59812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59813 /* end confdefs.h.  */
59814 #include <math.h>
59815 int
59816 main ()
59817 {
59818  _hypot(0, 0);
59819   ;
59820   return 0;
59821 }
59822 _ACEOF
59823 if ac_fn_cxx_try_compile "$LINENO"; then :
59824   glibcxx_cv_func__hypot_use=yes
59825 else
59826   glibcxx_cv_func__hypot_use=no
59827 fi
59828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59829       ac_ext=c
59830 ac_cpp='$CPP $CPPFLAGS'
59831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59834
59835
59836 fi
59837
59838   fi
59839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59840 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59841
59842     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59843       for ac_func in _hypot
59844 do :
59845   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59846 if test "x$ac_cv_func__hypot" = x""yes; then :
59847   cat >>confdefs.h <<_ACEOF
59848 #define HAVE__HYPOT 1
59849 _ACEOF
59850
59851 fi
59852 done
59853
59854     fi
59855   fi
59856
59857
59858
59859
59860
59861     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59862 $as_echo_n "checking for float trig functions... " >&6; }
59863   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59864   $as_echo_n "(cached) " >&6
59865 else
59866
59867
59868     ac_ext=cpp
59869 ac_cpp='$CXXCPP $CPPFLAGS'
59870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59873
59874     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59875 /* end confdefs.h.  */
59876 #include <math.h>
59877 int
59878 main ()
59879 {
59880 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59881   ;
59882   return 0;
59883 }
59884 _ACEOF
59885 if ac_fn_cxx_try_compile "$LINENO"; then :
59886   glibcxx_cv_func_float_trig_use=yes
59887 else
59888   glibcxx_cv_func_float_trig_use=no
59889 fi
59890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59891     ac_ext=c
59892 ac_cpp='$CPP $CPPFLAGS'
59893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59896
59897 fi
59898
59899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59900 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59901   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59902     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59903 do :
59904   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59906 eval as_val=\$$as_ac_var
59907    if test "x$as_val" = x""yes; then :
59908   cat >>confdefs.h <<_ACEOF
59909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59910 _ACEOF
59911
59912 fi
59913 done
59914
59915   else
59916     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59917 $as_echo_n "checking for _float trig functions... " >&6; }
59918     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59919   $as_echo_n "(cached) " >&6
59920 else
59921
59922
59923       ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59928
59929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h.  */
59931 #include <math.h>
59932 int
59933 main ()
59934 {
59935 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59936   ;
59937   return 0;
59938 }
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941   glibcxx_cv_func__float_trig_use=yes
59942 else
59943   glibcxx_cv_func__float_trig_use=no
59944 fi
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946       ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59951
59952 fi
59953
59954     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59955 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59956     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59957       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59958 do :
59959   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59961 eval as_val=\$$as_ac_var
59962    if test "x$as_val" = x""yes; then :
59963   cat >>confdefs.h <<_ACEOF
59964 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59965 _ACEOF
59966
59967 fi
59968 done
59969
59970     fi
59971   fi
59972
59973
59974
59975
59976
59977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59978 $as_echo_n "checking for float round functions... " >&6; }
59979   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59980   $as_echo_n "(cached) " >&6
59981 else
59982
59983
59984     ac_ext=cpp
59985 ac_cpp='$CXXCPP $CPPFLAGS'
59986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59989
59990     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59991 /* end confdefs.h.  */
59992 #include <math.h>
59993 int
59994 main ()
59995 {
59996 ceilf (0); floorf (0);
59997   ;
59998   return 0;
59999 }
60000 _ACEOF
60001 if ac_fn_cxx_try_compile "$LINENO"; then :
60002   glibcxx_cv_func_float_round_use=yes
60003 else
60004   glibcxx_cv_func_float_round_use=no
60005 fi
60006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60007     ac_ext=c
60008 ac_cpp='$CPP $CPPFLAGS'
60009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60012
60013 fi
60014
60015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60016 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60017   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60018     for ac_func in ceilf floorf
60019 do :
60020   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60022 eval as_val=\$$as_ac_var
60023    if test "x$as_val" = x""yes; then :
60024   cat >>confdefs.h <<_ACEOF
60025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60026 _ACEOF
60027
60028 fi
60029 done
60030
60031   else
60032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60033 $as_echo_n "checking for _float round functions... " >&6; }
60034     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60035   $as_echo_n "(cached) " >&6
60036 else
60037
60038
60039       ac_ext=cpp
60040 ac_cpp='$CXXCPP $CPPFLAGS'
60041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60044
60045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60046 /* end confdefs.h.  */
60047 #include <math.h>
60048 int
60049 main ()
60050 {
60051 _ceilf (0); _floorf (0);
60052   ;
60053   return 0;
60054 }
60055 _ACEOF
60056 if ac_fn_cxx_try_compile "$LINENO"; then :
60057   glibcxx_cv_func__float_round_use=yes
60058 else
60059   glibcxx_cv_func__float_round_use=no
60060 fi
60061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60062       ac_ext=c
60063 ac_cpp='$CPP $CPPFLAGS'
60064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60067
60068 fi
60069
60070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60071 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60072     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60073       for ac_func in _ceilf _floorf
60074 do :
60075   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60077 eval as_val=\$$as_ac_var
60078    if test "x$as_val" = x""yes; then :
60079   cat >>confdefs.h <<_ACEOF
60080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60081 _ACEOF
60082
60083 fi
60084 done
60085
60086     fi
60087   fi
60088
60089
60090
60091
60092
60093
60094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60095 $as_echo_n "checking for expf declaration... " >&6; }
60096   if test x${glibcxx_cv_func_expf_use+set} != xset; then
60097     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60098   $as_echo_n "(cached) " >&6
60099 else
60100
60101
60102       ac_ext=cpp
60103 ac_cpp='$CXXCPP $CPPFLAGS'
60104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60107
60108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60109 /* end confdefs.h.  */
60110 #include <math.h>
60111                       #ifdef HAVE_IEEEFP_H
60112                       #include <ieeefp.h>
60113                       #endif
60114
60115 int
60116 main ()
60117 {
60118  expf(0);
60119   ;
60120   return 0;
60121 }
60122 _ACEOF
60123 if ac_fn_cxx_try_compile "$LINENO"; then :
60124   glibcxx_cv_func_expf_use=yes
60125 else
60126   glibcxx_cv_func_expf_use=no
60127 fi
60128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60129       ac_ext=c
60130 ac_cpp='$CPP $CPPFLAGS'
60131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60134
60135
60136 fi
60137
60138   fi
60139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60140 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60141
60142   if test x$glibcxx_cv_func_expf_use = x"yes"; then
60143     for ac_func in expf
60144 do :
60145   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60146 if test "x$ac_cv_func_expf" = x""yes; then :
60147   cat >>confdefs.h <<_ACEOF
60148 #define HAVE_EXPF 1
60149 _ACEOF
60150
60151 fi
60152 done
60153
60154   else
60155
60156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60157 $as_echo_n "checking for _expf declaration... " >&6; }
60158   if test x${glibcxx_cv_func__expf_use+set} != xset; then
60159     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60160   $as_echo_n "(cached) " >&6
60161 else
60162
60163
60164       ac_ext=cpp
60165 ac_cpp='$CXXCPP $CPPFLAGS'
60166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60169
60170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60171 /* end confdefs.h.  */
60172 #include <math.h>
60173                       #ifdef HAVE_IEEEFP_H
60174                       #include <ieeefp.h>
60175                       #endif
60176
60177 int
60178 main ()
60179 {
60180  _expf(0);
60181   ;
60182   return 0;
60183 }
60184 _ACEOF
60185 if ac_fn_cxx_try_compile "$LINENO"; then :
60186   glibcxx_cv_func__expf_use=yes
60187 else
60188   glibcxx_cv_func__expf_use=no
60189 fi
60190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60191       ac_ext=c
60192 ac_cpp='$CPP $CPPFLAGS'
60193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60196
60197
60198 fi
60199
60200   fi
60201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60202 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60203
60204     if test x$glibcxx_cv_func__expf_use = x"yes"; then
60205       for ac_func in _expf
60206 do :
60207   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60208 if test "x$ac_cv_func__expf" = x""yes; then :
60209   cat >>confdefs.h <<_ACEOF
60210 #define HAVE__EXPF 1
60211 _ACEOF
60212
60213 fi
60214 done
60215
60216     fi
60217   fi
60218
60219
60220
60221
60222
60223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60224 $as_echo_n "checking for isnanf declaration... " >&6; }
60225   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60226     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60227   $as_echo_n "(cached) " >&6
60228 else
60229
60230
60231       ac_ext=cpp
60232 ac_cpp='$CXXCPP $CPPFLAGS'
60233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60236
60237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60238 /* end confdefs.h.  */
60239 #include <math.h>
60240                       #ifdef HAVE_IEEEFP_H
60241                       #include <ieeefp.h>
60242                       #endif
60243
60244 int
60245 main ()
60246 {
60247  isnanf(0);
60248   ;
60249   return 0;
60250 }
60251 _ACEOF
60252 if ac_fn_cxx_try_compile "$LINENO"; then :
60253   glibcxx_cv_func_isnanf_use=yes
60254 else
60255   glibcxx_cv_func_isnanf_use=no
60256 fi
60257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60258       ac_ext=c
60259 ac_cpp='$CPP $CPPFLAGS'
60260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60263
60264
60265 fi
60266
60267   fi
60268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60269 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60270
60271   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60272     for ac_func in isnanf
60273 do :
60274   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60275 if test "x$ac_cv_func_isnanf" = x""yes; then :
60276   cat >>confdefs.h <<_ACEOF
60277 #define HAVE_ISNANF 1
60278 _ACEOF
60279
60280 fi
60281 done
60282
60283   else
60284
60285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60286 $as_echo_n "checking for _isnanf declaration... " >&6; }
60287   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60288     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60289   $as_echo_n "(cached) " >&6
60290 else
60291
60292
60293       ac_ext=cpp
60294 ac_cpp='$CXXCPP $CPPFLAGS'
60295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60298
60299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60300 /* end confdefs.h.  */
60301 #include <math.h>
60302                       #ifdef HAVE_IEEEFP_H
60303                       #include <ieeefp.h>
60304                       #endif
60305
60306 int
60307 main ()
60308 {
60309  _isnanf(0);
60310   ;
60311   return 0;
60312 }
60313 _ACEOF
60314 if ac_fn_cxx_try_compile "$LINENO"; then :
60315   glibcxx_cv_func__isnanf_use=yes
60316 else
60317   glibcxx_cv_func__isnanf_use=no
60318 fi
60319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60320       ac_ext=c
60321 ac_cpp='$CPP $CPPFLAGS'
60322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60325
60326
60327 fi
60328
60329   fi
60330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60331 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60332
60333     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60334       for ac_func in _isnanf
60335 do :
60336   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60337 if test "x$ac_cv_func__isnanf" = x""yes; then :
60338   cat >>confdefs.h <<_ACEOF
60339 #define HAVE__ISNANF 1
60340 _ACEOF
60341
60342 fi
60343 done
60344
60345     fi
60346   fi
60347
60348
60349
60350
60351
60352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60353 $as_echo_n "checking for isinff declaration... " >&6; }
60354   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60355     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60356   $as_echo_n "(cached) " >&6
60357 else
60358
60359
60360       ac_ext=cpp
60361 ac_cpp='$CXXCPP $CPPFLAGS'
60362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60365
60366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60367 /* end confdefs.h.  */
60368 #include <math.h>
60369                       #ifdef HAVE_IEEEFP_H
60370                       #include <ieeefp.h>
60371                       #endif
60372
60373 int
60374 main ()
60375 {
60376  isinff(0);
60377   ;
60378   return 0;
60379 }
60380 _ACEOF
60381 if ac_fn_cxx_try_compile "$LINENO"; then :
60382   glibcxx_cv_func_isinff_use=yes
60383 else
60384   glibcxx_cv_func_isinff_use=no
60385 fi
60386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60387       ac_ext=c
60388 ac_cpp='$CPP $CPPFLAGS'
60389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60392
60393
60394 fi
60395
60396   fi
60397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60398 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60399
60400   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60401     for ac_func in isinff
60402 do :
60403   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60404 if test "x$ac_cv_func_isinff" = x""yes; then :
60405   cat >>confdefs.h <<_ACEOF
60406 #define HAVE_ISINFF 1
60407 _ACEOF
60408
60409 fi
60410 done
60411
60412   else
60413
60414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60415 $as_echo_n "checking for _isinff declaration... " >&6; }
60416   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60417     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60418   $as_echo_n "(cached) " >&6
60419 else
60420
60421
60422       ac_ext=cpp
60423 ac_cpp='$CXXCPP $CPPFLAGS'
60424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60427
60428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60429 /* end confdefs.h.  */
60430 #include <math.h>
60431                       #ifdef HAVE_IEEEFP_H
60432                       #include <ieeefp.h>
60433                       #endif
60434
60435 int
60436 main ()
60437 {
60438  _isinff(0);
60439   ;
60440   return 0;
60441 }
60442 _ACEOF
60443 if ac_fn_cxx_try_compile "$LINENO"; then :
60444   glibcxx_cv_func__isinff_use=yes
60445 else
60446   glibcxx_cv_func__isinff_use=no
60447 fi
60448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60449       ac_ext=c
60450 ac_cpp='$CPP $CPPFLAGS'
60451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60454
60455
60456 fi
60457
60458   fi
60459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60460 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60461
60462     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60463       for ac_func in _isinff
60464 do :
60465   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60466 if test "x$ac_cv_func__isinff" = x""yes; then :
60467   cat >>confdefs.h <<_ACEOF
60468 #define HAVE__ISINFF 1
60469 _ACEOF
60470
60471 fi
60472 done
60473
60474     fi
60475   fi
60476
60477
60478
60479
60480
60481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60482 $as_echo_n "checking for atan2f declaration... " >&6; }
60483   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60484     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60485   $as_echo_n "(cached) " >&6
60486 else
60487
60488
60489       ac_ext=cpp
60490 ac_cpp='$CXXCPP $CPPFLAGS'
60491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60494
60495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60496 /* end confdefs.h.  */
60497 #include <math.h>
60498 int
60499 main ()
60500 {
60501  atan2f(0, 0);
60502   ;
60503   return 0;
60504 }
60505 _ACEOF
60506 if ac_fn_cxx_try_compile "$LINENO"; then :
60507   glibcxx_cv_func_atan2f_use=yes
60508 else
60509   glibcxx_cv_func_atan2f_use=no
60510 fi
60511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60512       ac_ext=c
60513 ac_cpp='$CPP $CPPFLAGS'
60514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60517
60518
60519 fi
60520
60521   fi
60522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60523 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60524
60525   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60526     for ac_func in atan2f
60527 do :
60528   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60529 if test "x$ac_cv_func_atan2f" = x""yes; then :
60530   cat >>confdefs.h <<_ACEOF
60531 #define HAVE_ATAN2F 1
60532 _ACEOF
60533
60534 fi
60535 done
60536
60537   else
60538
60539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60540 $as_echo_n "checking for _atan2f declaration... " >&6; }
60541   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60542     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60543   $as_echo_n "(cached) " >&6
60544 else
60545
60546
60547       ac_ext=cpp
60548 ac_cpp='$CXXCPP $CPPFLAGS'
60549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60552
60553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60554 /* end confdefs.h.  */
60555 #include <math.h>
60556 int
60557 main ()
60558 {
60559  _atan2f(0, 0);
60560   ;
60561   return 0;
60562 }
60563 _ACEOF
60564 if ac_fn_cxx_try_compile "$LINENO"; then :
60565   glibcxx_cv_func__atan2f_use=yes
60566 else
60567   glibcxx_cv_func__atan2f_use=no
60568 fi
60569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60570       ac_ext=c
60571 ac_cpp='$CPP $CPPFLAGS'
60572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60575
60576
60577 fi
60578
60579   fi
60580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60581 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60582
60583     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60584       for ac_func in _atan2f
60585 do :
60586   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60587 if test "x$ac_cv_func__atan2f" = x""yes; then :
60588   cat >>confdefs.h <<_ACEOF
60589 #define HAVE__ATAN2F 1
60590 _ACEOF
60591
60592 fi
60593 done
60594
60595     fi
60596   fi
60597
60598
60599
60600
60601
60602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60603 $as_echo_n "checking for fabsf declaration... " >&6; }
60604   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60605     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60606   $as_echo_n "(cached) " >&6
60607 else
60608
60609
60610       ac_ext=cpp
60611 ac_cpp='$CXXCPP $CPPFLAGS'
60612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60615
60616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60617 /* end confdefs.h.  */
60618 #include <math.h>
60619                       #ifdef HAVE_IEEEFP_H
60620                       #include <ieeefp.h>
60621                       #endif
60622
60623 int
60624 main ()
60625 {
60626  fabsf(0);
60627   ;
60628   return 0;
60629 }
60630 _ACEOF
60631 if ac_fn_cxx_try_compile "$LINENO"; then :
60632   glibcxx_cv_func_fabsf_use=yes
60633 else
60634   glibcxx_cv_func_fabsf_use=no
60635 fi
60636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60637       ac_ext=c
60638 ac_cpp='$CPP $CPPFLAGS'
60639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60642
60643
60644 fi
60645
60646   fi
60647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60648 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60649
60650   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60651     for ac_func in fabsf
60652 do :
60653   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60654 if test "x$ac_cv_func_fabsf" = x""yes; then :
60655   cat >>confdefs.h <<_ACEOF
60656 #define HAVE_FABSF 1
60657 _ACEOF
60658
60659 fi
60660 done
60661
60662   else
60663
60664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60665 $as_echo_n "checking for _fabsf declaration... " >&6; }
60666   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60667     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60668   $as_echo_n "(cached) " >&6
60669 else
60670
60671
60672       ac_ext=cpp
60673 ac_cpp='$CXXCPP $CPPFLAGS'
60674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60677
60678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60679 /* end confdefs.h.  */
60680 #include <math.h>
60681                       #ifdef HAVE_IEEEFP_H
60682                       #include <ieeefp.h>
60683                       #endif
60684
60685 int
60686 main ()
60687 {
60688  _fabsf(0);
60689   ;
60690   return 0;
60691 }
60692 _ACEOF
60693 if ac_fn_cxx_try_compile "$LINENO"; then :
60694   glibcxx_cv_func__fabsf_use=yes
60695 else
60696   glibcxx_cv_func__fabsf_use=no
60697 fi
60698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60699       ac_ext=c
60700 ac_cpp='$CPP $CPPFLAGS'
60701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60704
60705
60706 fi
60707
60708   fi
60709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60710 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60711
60712     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60713       for ac_func in _fabsf
60714 do :
60715   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60716 if test "x$ac_cv_func__fabsf" = x""yes; then :
60717   cat >>confdefs.h <<_ACEOF
60718 #define HAVE__FABSF 1
60719 _ACEOF
60720
60721 fi
60722 done
60723
60724     fi
60725   fi
60726
60727
60728
60729
60730
60731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60732 $as_echo_n "checking for fmodf declaration... " >&6; }
60733   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60734     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60735   $as_echo_n "(cached) " >&6
60736 else
60737
60738
60739       ac_ext=cpp
60740 ac_cpp='$CXXCPP $CPPFLAGS'
60741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60744
60745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60746 /* end confdefs.h.  */
60747 #include <math.h>
60748 int
60749 main ()
60750 {
60751  fmodf(0, 0);
60752   ;
60753   return 0;
60754 }
60755 _ACEOF
60756 if ac_fn_cxx_try_compile "$LINENO"; then :
60757   glibcxx_cv_func_fmodf_use=yes
60758 else
60759   glibcxx_cv_func_fmodf_use=no
60760 fi
60761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60762       ac_ext=c
60763 ac_cpp='$CPP $CPPFLAGS'
60764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60767
60768
60769 fi
60770
60771   fi
60772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60773 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60774
60775   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60776     for ac_func in fmodf
60777 do :
60778   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60779 if test "x$ac_cv_func_fmodf" = x""yes; then :
60780   cat >>confdefs.h <<_ACEOF
60781 #define HAVE_FMODF 1
60782 _ACEOF
60783
60784 fi
60785 done
60786
60787   else
60788
60789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60790 $as_echo_n "checking for _fmodf declaration... " >&6; }
60791   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60792     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60793   $as_echo_n "(cached) " >&6
60794 else
60795
60796
60797       ac_ext=cpp
60798 ac_cpp='$CXXCPP $CPPFLAGS'
60799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60802
60803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60804 /* end confdefs.h.  */
60805 #include <math.h>
60806 int
60807 main ()
60808 {
60809  _fmodf(0, 0);
60810   ;
60811   return 0;
60812 }
60813 _ACEOF
60814 if ac_fn_cxx_try_compile "$LINENO"; then :
60815   glibcxx_cv_func__fmodf_use=yes
60816 else
60817   glibcxx_cv_func__fmodf_use=no
60818 fi
60819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60820       ac_ext=c
60821 ac_cpp='$CPP $CPPFLAGS'
60822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60825
60826
60827 fi
60828
60829   fi
60830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60831 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60832
60833     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60834       for ac_func in _fmodf
60835 do :
60836   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60837 if test "x$ac_cv_func__fmodf" = x""yes; then :
60838   cat >>confdefs.h <<_ACEOF
60839 #define HAVE__FMODF 1
60840 _ACEOF
60841
60842 fi
60843 done
60844
60845     fi
60846   fi
60847
60848
60849
60850
60851
60852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60853 $as_echo_n "checking for frexpf declaration... " >&6; }
60854   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60855     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60856   $as_echo_n "(cached) " >&6
60857 else
60858
60859
60860       ac_ext=cpp
60861 ac_cpp='$CXXCPP $CPPFLAGS'
60862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60865
60866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60867 /* end confdefs.h.  */
60868 #include <math.h>
60869 int
60870 main ()
60871 {
60872  frexpf(0, 0);
60873   ;
60874   return 0;
60875 }
60876 _ACEOF
60877 if ac_fn_cxx_try_compile "$LINENO"; then :
60878   glibcxx_cv_func_frexpf_use=yes
60879 else
60880   glibcxx_cv_func_frexpf_use=no
60881 fi
60882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60883       ac_ext=c
60884 ac_cpp='$CPP $CPPFLAGS'
60885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60888
60889
60890 fi
60891
60892   fi
60893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60894 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60895
60896   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60897     for ac_func in frexpf
60898 do :
60899   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60900 if test "x$ac_cv_func_frexpf" = x""yes; then :
60901   cat >>confdefs.h <<_ACEOF
60902 #define HAVE_FREXPF 1
60903 _ACEOF
60904
60905 fi
60906 done
60907
60908   else
60909
60910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60911 $as_echo_n "checking for _frexpf declaration... " >&6; }
60912   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60913     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60914   $as_echo_n "(cached) " >&6
60915 else
60916
60917
60918       ac_ext=cpp
60919 ac_cpp='$CXXCPP $CPPFLAGS'
60920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60923
60924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60925 /* end confdefs.h.  */
60926 #include <math.h>
60927 int
60928 main ()
60929 {
60930  _frexpf(0, 0);
60931   ;
60932   return 0;
60933 }
60934 _ACEOF
60935 if ac_fn_cxx_try_compile "$LINENO"; then :
60936   glibcxx_cv_func__frexpf_use=yes
60937 else
60938   glibcxx_cv_func__frexpf_use=no
60939 fi
60940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60941       ac_ext=c
60942 ac_cpp='$CPP $CPPFLAGS'
60943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60946
60947
60948 fi
60949
60950   fi
60951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60952 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60953
60954     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60955       for ac_func in _frexpf
60956 do :
60957   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60958 if test "x$ac_cv_func__frexpf" = x""yes; then :
60959   cat >>confdefs.h <<_ACEOF
60960 #define HAVE__FREXPF 1
60961 _ACEOF
60962
60963 fi
60964 done
60965
60966     fi
60967   fi
60968
60969
60970
60971
60972
60973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60974 $as_echo_n "checking for hypotf declaration... " >&6; }
60975   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60976     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60977   $as_echo_n "(cached) " >&6
60978 else
60979
60980
60981       ac_ext=cpp
60982 ac_cpp='$CXXCPP $CPPFLAGS'
60983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60986
60987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60988 /* end confdefs.h.  */
60989 #include <math.h>
60990 int
60991 main ()
60992 {
60993  hypotf(0, 0);
60994   ;
60995   return 0;
60996 }
60997 _ACEOF
60998 if ac_fn_cxx_try_compile "$LINENO"; then :
60999   glibcxx_cv_func_hypotf_use=yes
61000 else
61001   glibcxx_cv_func_hypotf_use=no
61002 fi
61003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61004       ac_ext=c
61005 ac_cpp='$CPP $CPPFLAGS'
61006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61009
61010
61011 fi
61012
61013   fi
61014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61015 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61016
61017   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61018     for ac_func in hypotf
61019 do :
61020   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61021 if test "x$ac_cv_func_hypotf" = x""yes; then :
61022   cat >>confdefs.h <<_ACEOF
61023 #define HAVE_HYPOTF 1
61024 _ACEOF
61025
61026 fi
61027 done
61028
61029   else
61030
61031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61032 $as_echo_n "checking for _hypotf declaration... " >&6; }
61033   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61034     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61035   $as_echo_n "(cached) " >&6
61036 else
61037
61038
61039       ac_ext=cpp
61040 ac_cpp='$CXXCPP $CPPFLAGS'
61041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61044
61045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61046 /* end confdefs.h.  */
61047 #include <math.h>
61048 int
61049 main ()
61050 {
61051  _hypotf(0, 0);
61052   ;
61053   return 0;
61054 }
61055 _ACEOF
61056 if ac_fn_cxx_try_compile "$LINENO"; then :
61057   glibcxx_cv_func__hypotf_use=yes
61058 else
61059   glibcxx_cv_func__hypotf_use=no
61060 fi
61061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61062       ac_ext=c
61063 ac_cpp='$CPP $CPPFLAGS'
61064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61067
61068
61069 fi
61070
61071   fi
61072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61073 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61074
61075     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61076       for ac_func in _hypotf
61077 do :
61078   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61079 if test "x$ac_cv_func__hypotf" = x""yes; then :
61080   cat >>confdefs.h <<_ACEOF
61081 #define HAVE__HYPOTF 1
61082 _ACEOF
61083
61084 fi
61085 done
61086
61087     fi
61088   fi
61089
61090
61091
61092
61093
61094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61095 $as_echo_n "checking for ldexpf declaration... " >&6; }
61096   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61097     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61098   $as_echo_n "(cached) " >&6
61099 else
61100
61101
61102       ac_ext=cpp
61103 ac_cpp='$CXXCPP $CPPFLAGS'
61104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61107
61108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61109 /* end confdefs.h.  */
61110 #include <math.h>
61111 int
61112 main ()
61113 {
61114  ldexpf(0, 0);
61115   ;
61116   return 0;
61117 }
61118 _ACEOF
61119 if ac_fn_cxx_try_compile "$LINENO"; then :
61120   glibcxx_cv_func_ldexpf_use=yes
61121 else
61122   glibcxx_cv_func_ldexpf_use=no
61123 fi
61124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61125       ac_ext=c
61126 ac_cpp='$CPP $CPPFLAGS'
61127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61130
61131
61132 fi
61133
61134   fi
61135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61136 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61137
61138   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61139     for ac_func in ldexpf
61140 do :
61141   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61142 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61143   cat >>confdefs.h <<_ACEOF
61144 #define HAVE_LDEXPF 1
61145 _ACEOF
61146
61147 fi
61148 done
61149
61150   else
61151
61152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61153 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61154   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61155     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61156   $as_echo_n "(cached) " >&6
61157 else
61158
61159
61160       ac_ext=cpp
61161 ac_cpp='$CXXCPP $CPPFLAGS'
61162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61165
61166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61167 /* end confdefs.h.  */
61168 #include <math.h>
61169 int
61170 main ()
61171 {
61172  _ldexpf(0, 0);
61173   ;
61174   return 0;
61175 }
61176 _ACEOF
61177 if ac_fn_cxx_try_compile "$LINENO"; then :
61178   glibcxx_cv_func__ldexpf_use=yes
61179 else
61180   glibcxx_cv_func__ldexpf_use=no
61181 fi
61182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61183       ac_ext=c
61184 ac_cpp='$CPP $CPPFLAGS'
61185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61188
61189
61190 fi
61191
61192   fi
61193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61194 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61195
61196     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61197       for ac_func in _ldexpf
61198 do :
61199   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61200 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61201   cat >>confdefs.h <<_ACEOF
61202 #define HAVE__LDEXPF 1
61203 _ACEOF
61204
61205 fi
61206 done
61207
61208     fi
61209   fi
61210
61211
61212
61213
61214
61215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61216 $as_echo_n "checking for logf declaration... " >&6; }
61217   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61218     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61219   $as_echo_n "(cached) " >&6
61220 else
61221
61222
61223       ac_ext=cpp
61224 ac_cpp='$CXXCPP $CPPFLAGS'
61225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61228
61229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61230 /* end confdefs.h.  */
61231 #include <math.h>
61232                       #ifdef HAVE_IEEEFP_H
61233                       #include <ieeefp.h>
61234                       #endif
61235
61236 int
61237 main ()
61238 {
61239  logf(0);
61240   ;
61241   return 0;
61242 }
61243 _ACEOF
61244 if ac_fn_cxx_try_compile "$LINENO"; then :
61245   glibcxx_cv_func_logf_use=yes
61246 else
61247   glibcxx_cv_func_logf_use=no
61248 fi
61249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61250       ac_ext=c
61251 ac_cpp='$CPP $CPPFLAGS'
61252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61255
61256
61257 fi
61258
61259   fi
61260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61261 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61262
61263   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61264     for ac_func in logf
61265 do :
61266   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61267 if test "x$ac_cv_func_logf" = x""yes; then :
61268   cat >>confdefs.h <<_ACEOF
61269 #define HAVE_LOGF 1
61270 _ACEOF
61271
61272 fi
61273 done
61274
61275   else
61276
61277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61278 $as_echo_n "checking for _logf declaration... " >&6; }
61279   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61280     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61281   $as_echo_n "(cached) " >&6
61282 else
61283
61284
61285       ac_ext=cpp
61286 ac_cpp='$CXXCPP $CPPFLAGS'
61287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61290
61291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61292 /* end confdefs.h.  */
61293 #include <math.h>
61294                       #ifdef HAVE_IEEEFP_H
61295                       #include <ieeefp.h>
61296                       #endif
61297
61298 int
61299 main ()
61300 {
61301  _logf(0);
61302   ;
61303   return 0;
61304 }
61305 _ACEOF
61306 if ac_fn_cxx_try_compile "$LINENO"; then :
61307   glibcxx_cv_func__logf_use=yes
61308 else
61309   glibcxx_cv_func__logf_use=no
61310 fi
61311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61312       ac_ext=c
61313 ac_cpp='$CPP $CPPFLAGS'
61314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61317
61318
61319 fi
61320
61321   fi
61322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61323 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61324
61325     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61326       for ac_func in _logf
61327 do :
61328   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61329 if test "x$ac_cv_func__logf" = x""yes; then :
61330   cat >>confdefs.h <<_ACEOF
61331 #define HAVE__LOGF 1
61332 _ACEOF
61333
61334 fi
61335 done
61336
61337     fi
61338   fi
61339
61340
61341
61342
61343
61344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61345 $as_echo_n "checking for log10f declaration... " >&6; }
61346   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61347     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61348   $as_echo_n "(cached) " >&6
61349 else
61350
61351
61352       ac_ext=cpp
61353 ac_cpp='$CXXCPP $CPPFLAGS'
61354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61357
61358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61359 /* end confdefs.h.  */
61360 #include <math.h>
61361                       #ifdef HAVE_IEEEFP_H
61362                       #include <ieeefp.h>
61363                       #endif
61364
61365 int
61366 main ()
61367 {
61368  log10f(0);
61369   ;
61370   return 0;
61371 }
61372 _ACEOF
61373 if ac_fn_cxx_try_compile "$LINENO"; then :
61374   glibcxx_cv_func_log10f_use=yes
61375 else
61376   glibcxx_cv_func_log10f_use=no
61377 fi
61378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61379       ac_ext=c
61380 ac_cpp='$CPP $CPPFLAGS'
61381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61384
61385
61386 fi
61387
61388   fi
61389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61390 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61391
61392   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61393     for ac_func in log10f
61394 do :
61395   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61396 if test "x$ac_cv_func_log10f" = x""yes; then :
61397   cat >>confdefs.h <<_ACEOF
61398 #define HAVE_LOG10F 1
61399 _ACEOF
61400
61401 fi
61402 done
61403
61404   else
61405
61406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61407 $as_echo_n "checking for _log10f declaration... " >&6; }
61408   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61409     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61410   $as_echo_n "(cached) " >&6
61411 else
61412
61413
61414       ac_ext=cpp
61415 ac_cpp='$CXXCPP $CPPFLAGS'
61416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61419
61420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61421 /* end confdefs.h.  */
61422 #include <math.h>
61423                       #ifdef HAVE_IEEEFP_H
61424                       #include <ieeefp.h>
61425                       #endif
61426
61427 int
61428 main ()
61429 {
61430  _log10f(0);
61431   ;
61432   return 0;
61433 }
61434 _ACEOF
61435 if ac_fn_cxx_try_compile "$LINENO"; then :
61436   glibcxx_cv_func__log10f_use=yes
61437 else
61438   glibcxx_cv_func__log10f_use=no
61439 fi
61440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61441       ac_ext=c
61442 ac_cpp='$CPP $CPPFLAGS'
61443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61446
61447
61448 fi
61449
61450   fi
61451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61452 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61453
61454     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61455       for ac_func in _log10f
61456 do :
61457   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61458 if test "x$ac_cv_func__log10f" = x""yes; then :
61459   cat >>confdefs.h <<_ACEOF
61460 #define HAVE__LOG10F 1
61461 _ACEOF
61462
61463 fi
61464 done
61465
61466     fi
61467   fi
61468
61469
61470
61471
61472
61473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61474 $as_echo_n "checking for modff declaration... " >&6; }
61475   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61476     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61477   $as_echo_n "(cached) " >&6
61478 else
61479
61480
61481       ac_ext=cpp
61482 ac_cpp='$CXXCPP $CPPFLAGS'
61483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61486
61487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61488 /* end confdefs.h.  */
61489 #include <math.h>
61490 int
61491 main ()
61492 {
61493  modff(0, 0);
61494   ;
61495   return 0;
61496 }
61497 _ACEOF
61498 if ac_fn_cxx_try_compile "$LINENO"; then :
61499   glibcxx_cv_func_modff_use=yes
61500 else
61501   glibcxx_cv_func_modff_use=no
61502 fi
61503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61504       ac_ext=c
61505 ac_cpp='$CPP $CPPFLAGS'
61506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61509
61510
61511 fi
61512
61513   fi
61514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61515 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61516
61517   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61518     for ac_func in modff
61519 do :
61520   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61521 if test "x$ac_cv_func_modff" = x""yes; then :
61522   cat >>confdefs.h <<_ACEOF
61523 #define HAVE_MODFF 1
61524 _ACEOF
61525
61526 fi
61527 done
61528
61529   else
61530
61531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61532 $as_echo_n "checking for _modff declaration... " >&6; }
61533   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61534     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61535   $as_echo_n "(cached) " >&6
61536 else
61537
61538
61539       ac_ext=cpp
61540 ac_cpp='$CXXCPP $CPPFLAGS'
61541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61544
61545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61546 /* end confdefs.h.  */
61547 #include <math.h>
61548 int
61549 main ()
61550 {
61551  _modff(0, 0);
61552   ;
61553   return 0;
61554 }
61555 _ACEOF
61556 if ac_fn_cxx_try_compile "$LINENO"; then :
61557   glibcxx_cv_func__modff_use=yes
61558 else
61559   glibcxx_cv_func__modff_use=no
61560 fi
61561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61562       ac_ext=c
61563 ac_cpp='$CPP $CPPFLAGS'
61564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61567
61568
61569 fi
61570
61571   fi
61572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61573 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61574
61575     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61576       for ac_func in _modff
61577 do :
61578   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61579 if test "x$ac_cv_func__modff" = x""yes; then :
61580   cat >>confdefs.h <<_ACEOF
61581 #define HAVE__MODFF 1
61582 _ACEOF
61583
61584 fi
61585 done
61586
61587     fi
61588   fi
61589
61590
61591
61592
61593
61594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61595 $as_echo_n "checking for modf declaration... " >&6; }
61596   if test x${glibcxx_cv_func_modf_use+set} != xset; then
61597     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61598   $as_echo_n "(cached) " >&6
61599 else
61600
61601
61602       ac_ext=cpp
61603 ac_cpp='$CXXCPP $CPPFLAGS'
61604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61607
61608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61609 /* end confdefs.h.  */
61610 #include <math.h>
61611 int
61612 main ()
61613 {
61614  modf(0, 0);
61615   ;
61616   return 0;
61617 }
61618 _ACEOF
61619 if ac_fn_cxx_try_compile "$LINENO"; then :
61620   glibcxx_cv_func_modf_use=yes
61621 else
61622   glibcxx_cv_func_modf_use=no
61623 fi
61624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61625       ac_ext=c
61626 ac_cpp='$CPP $CPPFLAGS'
61627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61630
61631
61632 fi
61633
61634   fi
61635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61636 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61637
61638   if test x$glibcxx_cv_func_modf_use = x"yes"; then
61639     for ac_func in modf
61640 do :
61641   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61642 if test "x$ac_cv_func_modf" = x""yes; then :
61643   cat >>confdefs.h <<_ACEOF
61644 #define HAVE_MODF 1
61645 _ACEOF
61646
61647 fi
61648 done
61649
61650   else
61651
61652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61653 $as_echo_n "checking for _modf declaration... " >&6; }
61654   if test x${glibcxx_cv_func__modf_use+set} != xset; then
61655     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61656   $as_echo_n "(cached) " >&6
61657 else
61658
61659
61660       ac_ext=cpp
61661 ac_cpp='$CXXCPP $CPPFLAGS'
61662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61665
61666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61667 /* end confdefs.h.  */
61668 #include <math.h>
61669 int
61670 main ()
61671 {
61672  _modf(0, 0);
61673   ;
61674   return 0;
61675 }
61676 _ACEOF
61677 if ac_fn_cxx_try_compile "$LINENO"; then :
61678   glibcxx_cv_func__modf_use=yes
61679 else
61680   glibcxx_cv_func__modf_use=no
61681 fi
61682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61683       ac_ext=c
61684 ac_cpp='$CPP $CPPFLAGS'
61685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61688
61689
61690 fi
61691
61692   fi
61693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61694 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61695
61696     if test x$glibcxx_cv_func__modf_use = x"yes"; then
61697       for ac_func in _modf
61698 do :
61699   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61700 if test "x$ac_cv_func__modf" = x""yes; then :
61701   cat >>confdefs.h <<_ACEOF
61702 #define HAVE__MODF 1
61703 _ACEOF
61704
61705 fi
61706 done
61707
61708     fi
61709   fi
61710
61711
61712
61713
61714
61715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61716 $as_echo_n "checking for powf declaration... " >&6; }
61717   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61718     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61719   $as_echo_n "(cached) " >&6
61720 else
61721
61722
61723       ac_ext=cpp
61724 ac_cpp='$CXXCPP $CPPFLAGS'
61725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61728
61729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61730 /* end confdefs.h.  */
61731 #include <math.h>
61732 int
61733 main ()
61734 {
61735  powf(0, 0);
61736   ;
61737   return 0;
61738 }
61739 _ACEOF
61740 if ac_fn_cxx_try_compile "$LINENO"; then :
61741   glibcxx_cv_func_powf_use=yes
61742 else
61743   glibcxx_cv_func_powf_use=no
61744 fi
61745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61746       ac_ext=c
61747 ac_cpp='$CPP $CPPFLAGS'
61748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61751
61752
61753 fi
61754
61755   fi
61756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61757 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61758
61759   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61760     for ac_func in powf
61761 do :
61762   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61763 if test "x$ac_cv_func_powf" = x""yes; then :
61764   cat >>confdefs.h <<_ACEOF
61765 #define HAVE_POWF 1
61766 _ACEOF
61767
61768 fi
61769 done
61770
61771   else
61772
61773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61774 $as_echo_n "checking for _powf declaration... " >&6; }
61775   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61776     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61777   $as_echo_n "(cached) " >&6
61778 else
61779
61780
61781       ac_ext=cpp
61782 ac_cpp='$CXXCPP $CPPFLAGS'
61783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61786
61787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61788 /* end confdefs.h.  */
61789 #include <math.h>
61790 int
61791 main ()
61792 {
61793  _powf(0, 0);
61794   ;
61795   return 0;
61796 }
61797 _ACEOF
61798 if ac_fn_cxx_try_compile "$LINENO"; then :
61799   glibcxx_cv_func__powf_use=yes
61800 else
61801   glibcxx_cv_func__powf_use=no
61802 fi
61803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61804       ac_ext=c
61805 ac_cpp='$CPP $CPPFLAGS'
61806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61809
61810
61811 fi
61812
61813   fi
61814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61815 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61816
61817     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61818       for ac_func in _powf
61819 do :
61820   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61821 if test "x$ac_cv_func__powf" = x""yes; then :
61822   cat >>confdefs.h <<_ACEOF
61823 #define HAVE__POWF 1
61824 _ACEOF
61825
61826 fi
61827 done
61828
61829     fi
61830   fi
61831
61832
61833
61834
61835
61836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61837 $as_echo_n "checking for sqrtf declaration... " >&6; }
61838   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61839     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61840   $as_echo_n "(cached) " >&6
61841 else
61842
61843
61844       ac_ext=cpp
61845 ac_cpp='$CXXCPP $CPPFLAGS'
61846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61849
61850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61851 /* end confdefs.h.  */
61852 #include <math.h>
61853                       #ifdef HAVE_IEEEFP_H
61854                       #include <ieeefp.h>
61855                       #endif
61856
61857 int
61858 main ()
61859 {
61860  sqrtf(0);
61861   ;
61862   return 0;
61863 }
61864 _ACEOF
61865 if ac_fn_cxx_try_compile "$LINENO"; then :
61866   glibcxx_cv_func_sqrtf_use=yes
61867 else
61868   glibcxx_cv_func_sqrtf_use=no
61869 fi
61870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61871       ac_ext=c
61872 ac_cpp='$CPP $CPPFLAGS'
61873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61876
61877
61878 fi
61879
61880   fi
61881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61882 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61883
61884   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61885     for ac_func in sqrtf
61886 do :
61887   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61888 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61889   cat >>confdefs.h <<_ACEOF
61890 #define HAVE_SQRTF 1
61891 _ACEOF
61892
61893 fi
61894 done
61895
61896   else
61897
61898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61899 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61900   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61901     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61902   $as_echo_n "(cached) " >&6
61903 else
61904
61905
61906       ac_ext=cpp
61907 ac_cpp='$CXXCPP $CPPFLAGS'
61908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61911
61912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61913 /* end confdefs.h.  */
61914 #include <math.h>
61915                       #ifdef HAVE_IEEEFP_H
61916                       #include <ieeefp.h>
61917                       #endif
61918
61919 int
61920 main ()
61921 {
61922  _sqrtf(0);
61923   ;
61924   return 0;
61925 }
61926 _ACEOF
61927 if ac_fn_cxx_try_compile "$LINENO"; then :
61928   glibcxx_cv_func__sqrtf_use=yes
61929 else
61930   glibcxx_cv_func__sqrtf_use=no
61931 fi
61932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61933       ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61938
61939
61940 fi
61941
61942   fi
61943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61944 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61945
61946     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61947       for ac_func in _sqrtf
61948 do :
61949   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61950 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61951   cat >>confdefs.h <<_ACEOF
61952 #define HAVE__SQRTF 1
61953 _ACEOF
61954
61955 fi
61956 done
61957
61958     fi
61959   fi
61960
61961
61962
61963
61964
61965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61966 $as_echo_n "checking for sincosf declaration... " >&6; }
61967   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61968     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61969   $as_echo_n "(cached) " >&6
61970 else
61971
61972
61973       ac_ext=cpp
61974 ac_cpp='$CXXCPP $CPPFLAGS'
61975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61978
61979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61980 /* end confdefs.h.  */
61981 #include <math.h>
61982 int
61983 main ()
61984 {
61985  sincosf(0, 0, 0);
61986   ;
61987   return 0;
61988 }
61989 _ACEOF
61990 if ac_fn_cxx_try_compile "$LINENO"; then :
61991   glibcxx_cv_func_sincosf_use=yes
61992 else
61993   glibcxx_cv_func_sincosf_use=no
61994 fi
61995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61996       ac_ext=c
61997 ac_cpp='$CPP $CPPFLAGS'
61998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62001
62002
62003 fi
62004
62005   fi
62006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62007 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62008
62009   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62010     for ac_func in sincosf
62011 do :
62012   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62013 if test "x$ac_cv_func_sincosf" = x""yes; then :
62014   cat >>confdefs.h <<_ACEOF
62015 #define HAVE_SINCOSF 1
62016 _ACEOF
62017
62018 fi
62019 done
62020
62021   else
62022
62023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62024 $as_echo_n "checking for _sincosf declaration... " >&6; }
62025   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62026     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62027   $as_echo_n "(cached) " >&6
62028 else
62029
62030
62031       ac_ext=cpp
62032 ac_cpp='$CXXCPP $CPPFLAGS'
62033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62036
62037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62038 /* end confdefs.h.  */
62039 #include <math.h>
62040 int
62041 main ()
62042 {
62043  _sincosf(0, 0, 0);
62044   ;
62045   return 0;
62046 }
62047 _ACEOF
62048 if ac_fn_cxx_try_compile "$LINENO"; then :
62049   glibcxx_cv_func__sincosf_use=yes
62050 else
62051   glibcxx_cv_func__sincosf_use=no
62052 fi
62053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62054       ac_ext=c
62055 ac_cpp='$CPP $CPPFLAGS'
62056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62059
62060
62061 fi
62062
62063   fi
62064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62065 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62066
62067     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62068       for ac_func in _sincosf
62069 do :
62070   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62071 if test "x$ac_cv_func__sincosf" = x""yes; then :
62072   cat >>confdefs.h <<_ACEOF
62073 #define HAVE__SINCOSF 1
62074 _ACEOF
62075
62076 fi
62077 done
62078
62079     fi
62080   fi
62081
62082
62083
62084
62085
62086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62087 $as_echo_n "checking for finitef declaration... " >&6; }
62088   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62089     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62090   $as_echo_n "(cached) " >&6
62091 else
62092
62093
62094       ac_ext=cpp
62095 ac_cpp='$CXXCPP $CPPFLAGS'
62096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62099
62100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62101 /* end confdefs.h.  */
62102 #include <math.h>
62103                       #ifdef HAVE_IEEEFP_H
62104                       #include <ieeefp.h>
62105                       #endif
62106
62107 int
62108 main ()
62109 {
62110  finitef(0);
62111   ;
62112   return 0;
62113 }
62114 _ACEOF
62115 if ac_fn_cxx_try_compile "$LINENO"; then :
62116   glibcxx_cv_func_finitef_use=yes
62117 else
62118   glibcxx_cv_func_finitef_use=no
62119 fi
62120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62121       ac_ext=c
62122 ac_cpp='$CPP $CPPFLAGS'
62123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62126
62127
62128 fi
62129
62130   fi
62131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62132 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62133
62134   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62135     for ac_func in finitef
62136 do :
62137   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62138 if test "x$ac_cv_func_finitef" = x""yes; then :
62139   cat >>confdefs.h <<_ACEOF
62140 #define HAVE_FINITEF 1
62141 _ACEOF
62142
62143 fi
62144 done
62145
62146   else
62147
62148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62149 $as_echo_n "checking for _finitef declaration... " >&6; }
62150   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62151     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62152   $as_echo_n "(cached) " >&6
62153 else
62154
62155
62156       ac_ext=cpp
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62161
62162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62163 /* end confdefs.h.  */
62164 #include <math.h>
62165                       #ifdef HAVE_IEEEFP_H
62166                       #include <ieeefp.h>
62167                       #endif
62168
62169 int
62170 main ()
62171 {
62172  _finitef(0);
62173   ;
62174   return 0;
62175 }
62176 _ACEOF
62177 if ac_fn_cxx_try_compile "$LINENO"; then :
62178   glibcxx_cv_func__finitef_use=yes
62179 else
62180   glibcxx_cv_func__finitef_use=no
62181 fi
62182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62183       ac_ext=c
62184 ac_cpp='$CPP $CPPFLAGS'
62185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62188
62189
62190 fi
62191
62192   fi
62193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62194 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62195
62196     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62197       for ac_func in _finitef
62198 do :
62199   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62200 if test "x$ac_cv_func__finitef" = x""yes; then :
62201   cat >>confdefs.h <<_ACEOF
62202 #define HAVE__FINITEF 1
62203 _ACEOF
62204
62205 fi
62206 done
62207
62208     fi
62209   fi
62210
62211
62212
62213
62214
62215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62216 $as_echo_n "checking for long double trig functions... " >&6; }
62217   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62218   $as_echo_n "(cached) " >&6
62219 else
62220
62221
62222     ac_ext=cpp
62223 ac_cpp='$CXXCPP $CPPFLAGS'
62224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62227
62228     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62229 /* end confdefs.h.  */
62230 #include <math.h>
62231 int
62232 main ()
62233 {
62234 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62235   ;
62236   return 0;
62237 }
62238 _ACEOF
62239 if ac_fn_cxx_try_compile "$LINENO"; then :
62240   glibcxx_cv_func_long_double_trig_use=yes
62241 else
62242   glibcxx_cv_func_long_double_trig_use=no
62243 fi
62244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62245     ac_ext=c
62246 ac_cpp='$CPP $CPPFLAGS'
62247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62250
62251 fi
62252
62253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62254 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62255   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62256     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62257 do :
62258   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62259 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62260 eval as_val=\$$as_ac_var
62261    if test "x$as_val" = x""yes; then :
62262   cat >>confdefs.h <<_ACEOF
62263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62264 _ACEOF
62265
62266 fi
62267 done
62268
62269   else
62270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62271 $as_echo_n "checking for _long double trig functions... " >&6; }
62272     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62273   $as_echo_n "(cached) " >&6
62274 else
62275
62276
62277       ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62282
62283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h.  */
62285 #include <math.h>
62286 int
62287 main ()
62288 {
62289 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62290   ;
62291   return 0;
62292 }
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295   glibcxx_cv_func__long_double_trig_use=yes
62296 else
62297   glibcxx_cv_func__long_double_trig_use=no
62298 fi
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300       ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62305
62306 fi
62307
62308     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62309 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62310     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62311       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62312 do :
62313   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62315 eval as_val=\$$as_ac_var
62316    if test "x$as_val" = x""yes; then :
62317   cat >>confdefs.h <<_ACEOF
62318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62319 _ACEOF
62320
62321 fi
62322 done
62323
62324     fi
62325   fi
62326
62327
62328
62329
62330
62331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62332 $as_echo_n "checking for long double round functions... " >&6; }
62333   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62334   $as_echo_n "(cached) " >&6
62335 else
62336
62337
62338     ac_ext=cpp
62339 ac_cpp='$CXXCPP $CPPFLAGS'
62340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62343
62344     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62345 /* end confdefs.h.  */
62346 #include <math.h>
62347 int
62348 main ()
62349 {
62350 ceill (0); floorl (0);
62351   ;
62352   return 0;
62353 }
62354 _ACEOF
62355 if ac_fn_cxx_try_compile "$LINENO"; then :
62356   glibcxx_cv_func_long_double_round_use=yes
62357 else
62358   glibcxx_cv_func_long_double_round_use=no
62359 fi
62360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62361     ac_ext=c
62362 ac_cpp='$CPP $CPPFLAGS'
62363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62366
62367 fi
62368
62369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62370 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62371   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62372     for ac_func in ceill floorl
62373 do :
62374   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62376 eval as_val=\$$as_ac_var
62377    if test "x$as_val" = x""yes; then :
62378   cat >>confdefs.h <<_ACEOF
62379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62380 _ACEOF
62381
62382 fi
62383 done
62384
62385   else
62386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62387 $as_echo_n "checking for _long double round functions... " >&6; }
62388     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62389   $as_echo_n "(cached) " >&6
62390 else
62391
62392
62393       ac_ext=cpp
62394 ac_cpp='$CXXCPP $CPPFLAGS'
62395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62398
62399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62400 /* end confdefs.h.  */
62401 #include <math.h>
62402 int
62403 main ()
62404 {
62405 _ceill (0); _floorl (0);
62406   ;
62407   return 0;
62408 }
62409 _ACEOF
62410 if ac_fn_cxx_try_compile "$LINENO"; then :
62411   glibcxx_cv_func__long_double_round_use=yes
62412 else
62413   glibcxx_cv_func__long_double_round_use=no
62414 fi
62415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62416       ac_ext=c
62417 ac_cpp='$CPP $CPPFLAGS'
62418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62421
62422 fi
62423
62424     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62425 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62426     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62427       for ac_func in _ceill _floorl
62428 do :
62429   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62431 eval as_val=\$$as_ac_var
62432    if test "x$as_val" = x""yes; then :
62433   cat >>confdefs.h <<_ACEOF
62434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62435 _ACEOF
62436
62437 fi
62438 done
62439
62440     fi
62441   fi
62442
62443
62444
62445
62446
62447
62448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62449 $as_echo_n "checking for isnanl declaration... " >&6; }
62450   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62451     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62452   $as_echo_n "(cached) " >&6
62453 else
62454
62455
62456       ac_ext=cpp
62457 ac_cpp='$CXXCPP $CPPFLAGS'
62458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62461
62462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62463 /* end confdefs.h.  */
62464 #include <math.h>
62465                       #ifdef HAVE_IEEEFP_H
62466                       #include <ieeefp.h>
62467                       #endif
62468
62469 int
62470 main ()
62471 {
62472  isnanl(0);
62473   ;
62474   return 0;
62475 }
62476 _ACEOF
62477 if ac_fn_cxx_try_compile "$LINENO"; then :
62478   glibcxx_cv_func_isnanl_use=yes
62479 else
62480   glibcxx_cv_func_isnanl_use=no
62481 fi
62482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62483       ac_ext=c
62484 ac_cpp='$CPP $CPPFLAGS'
62485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62488
62489
62490 fi
62491
62492   fi
62493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62494 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62495
62496   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62497     for ac_func in isnanl
62498 do :
62499   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62500 if test "x$ac_cv_func_isnanl" = x""yes; then :
62501   cat >>confdefs.h <<_ACEOF
62502 #define HAVE_ISNANL 1
62503 _ACEOF
62504
62505 fi
62506 done
62507
62508   else
62509
62510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62511 $as_echo_n "checking for _isnanl declaration... " >&6; }
62512   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62513     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62514   $as_echo_n "(cached) " >&6
62515 else
62516
62517
62518       ac_ext=cpp
62519 ac_cpp='$CXXCPP $CPPFLAGS'
62520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62523
62524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62525 /* end confdefs.h.  */
62526 #include <math.h>
62527                       #ifdef HAVE_IEEEFP_H
62528                       #include <ieeefp.h>
62529                       #endif
62530
62531 int
62532 main ()
62533 {
62534  _isnanl(0);
62535   ;
62536   return 0;
62537 }
62538 _ACEOF
62539 if ac_fn_cxx_try_compile "$LINENO"; then :
62540   glibcxx_cv_func__isnanl_use=yes
62541 else
62542   glibcxx_cv_func__isnanl_use=no
62543 fi
62544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62545       ac_ext=c
62546 ac_cpp='$CPP $CPPFLAGS'
62547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62550
62551
62552 fi
62553
62554   fi
62555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62556 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62557
62558     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62559       for ac_func in _isnanl
62560 do :
62561   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62562 if test "x$ac_cv_func__isnanl" = x""yes; then :
62563   cat >>confdefs.h <<_ACEOF
62564 #define HAVE__ISNANL 1
62565 _ACEOF
62566
62567 fi
62568 done
62569
62570     fi
62571   fi
62572
62573
62574
62575
62576
62577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62578 $as_echo_n "checking for isinfl declaration... " >&6; }
62579   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62580     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62581   $as_echo_n "(cached) " >&6
62582 else
62583
62584
62585       ac_ext=cpp
62586 ac_cpp='$CXXCPP $CPPFLAGS'
62587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62590
62591       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62592 /* end confdefs.h.  */
62593 #include <math.h>
62594                       #ifdef HAVE_IEEEFP_H
62595                       #include <ieeefp.h>
62596                       #endif
62597
62598 int
62599 main ()
62600 {
62601  isinfl(0);
62602   ;
62603   return 0;
62604 }
62605 _ACEOF
62606 if ac_fn_cxx_try_compile "$LINENO"; then :
62607   glibcxx_cv_func_isinfl_use=yes
62608 else
62609   glibcxx_cv_func_isinfl_use=no
62610 fi
62611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62612       ac_ext=c
62613 ac_cpp='$CPP $CPPFLAGS'
62614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62617
62618
62619 fi
62620
62621   fi
62622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62623 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62624
62625   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62626     for ac_func in isinfl
62627 do :
62628   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62629 if test "x$ac_cv_func_isinfl" = x""yes; then :
62630   cat >>confdefs.h <<_ACEOF
62631 #define HAVE_ISINFL 1
62632 _ACEOF
62633
62634 fi
62635 done
62636
62637   else
62638
62639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62640 $as_echo_n "checking for _isinfl declaration... " >&6; }
62641   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62642     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62643   $as_echo_n "(cached) " >&6
62644 else
62645
62646
62647       ac_ext=cpp
62648 ac_cpp='$CXXCPP $CPPFLAGS'
62649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62652
62653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62654 /* end confdefs.h.  */
62655 #include <math.h>
62656                       #ifdef HAVE_IEEEFP_H
62657                       #include <ieeefp.h>
62658                       #endif
62659
62660 int
62661 main ()
62662 {
62663  _isinfl(0);
62664   ;
62665   return 0;
62666 }
62667 _ACEOF
62668 if ac_fn_cxx_try_compile "$LINENO"; then :
62669   glibcxx_cv_func__isinfl_use=yes
62670 else
62671   glibcxx_cv_func__isinfl_use=no
62672 fi
62673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62674       ac_ext=c
62675 ac_cpp='$CPP $CPPFLAGS'
62676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62679
62680
62681 fi
62682
62683   fi
62684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62685 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62686
62687     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62688       for ac_func in _isinfl
62689 do :
62690   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62691 if test "x$ac_cv_func__isinfl" = x""yes; then :
62692   cat >>confdefs.h <<_ACEOF
62693 #define HAVE__ISINFL 1
62694 _ACEOF
62695
62696 fi
62697 done
62698
62699     fi
62700   fi
62701
62702
62703
62704
62705
62706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62707 $as_echo_n "checking for atan2l declaration... " >&6; }
62708   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62709     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62710   $as_echo_n "(cached) " >&6
62711 else
62712
62713
62714       ac_ext=cpp
62715 ac_cpp='$CXXCPP $CPPFLAGS'
62716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62719
62720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62721 /* end confdefs.h.  */
62722 #include <math.h>
62723 int
62724 main ()
62725 {
62726  atan2l(0, 0);
62727   ;
62728   return 0;
62729 }
62730 _ACEOF
62731 if ac_fn_cxx_try_compile "$LINENO"; then :
62732   glibcxx_cv_func_atan2l_use=yes
62733 else
62734   glibcxx_cv_func_atan2l_use=no
62735 fi
62736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62737       ac_ext=c
62738 ac_cpp='$CPP $CPPFLAGS'
62739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62742
62743
62744 fi
62745
62746   fi
62747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62748 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62749
62750   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62751     for ac_func in atan2l
62752 do :
62753   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62754 if test "x$ac_cv_func_atan2l" = x""yes; then :
62755   cat >>confdefs.h <<_ACEOF
62756 #define HAVE_ATAN2L 1
62757 _ACEOF
62758
62759 fi
62760 done
62761
62762   else
62763
62764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62765 $as_echo_n "checking for _atan2l declaration... " >&6; }
62766   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62767     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62768   $as_echo_n "(cached) " >&6
62769 else
62770
62771
62772       ac_ext=cpp
62773 ac_cpp='$CXXCPP $CPPFLAGS'
62774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62777
62778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62779 /* end confdefs.h.  */
62780 #include <math.h>
62781 int
62782 main ()
62783 {
62784  _atan2l(0, 0);
62785   ;
62786   return 0;
62787 }
62788 _ACEOF
62789 if ac_fn_cxx_try_compile "$LINENO"; then :
62790   glibcxx_cv_func__atan2l_use=yes
62791 else
62792   glibcxx_cv_func__atan2l_use=no
62793 fi
62794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62795       ac_ext=c
62796 ac_cpp='$CPP $CPPFLAGS'
62797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62800
62801
62802 fi
62803
62804   fi
62805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62806 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62807
62808     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62809       for ac_func in _atan2l
62810 do :
62811   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62812 if test "x$ac_cv_func__atan2l" = x""yes; then :
62813   cat >>confdefs.h <<_ACEOF
62814 #define HAVE__ATAN2L 1
62815 _ACEOF
62816
62817 fi
62818 done
62819
62820     fi
62821   fi
62822
62823
62824
62825
62826
62827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62828 $as_echo_n "checking for expl declaration... " >&6; }
62829   if test x${glibcxx_cv_func_expl_use+set} != xset; then
62830     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62831   $as_echo_n "(cached) " >&6
62832 else
62833
62834
62835       ac_ext=cpp
62836 ac_cpp='$CXXCPP $CPPFLAGS'
62837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62840
62841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62842 /* end confdefs.h.  */
62843 #include <math.h>
62844                       #ifdef HAVE_IEEEFP_H
62845                       #include <ieeefp.h>
62846                       #endif
62847
62848 int
62849 main ()
62850 {
62851  expl(0);
62852   ;
62853   return 0;
62854 }
62855 _ACEOF
62856 if ac_fn_cxx_try_compile "$LINENO"; then :
62857   glibcxx_cv_func_expl_use=yes
62858 else
62859   glibcxx_cv_func_expl_use=no
62860 fi
62861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62862       ac_ext=c
62863 ac_cpp='$CPP $CPPFLAGS'
62864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62867
62868
62869 fi
62870
62871   fi
62872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62873 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62874
62875   if test x$glibcxx_cv_func_expl_use = x"yes"; then
62876     for ac_func in expl
62877 do :
62878   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62879 if test "x$ac_cv_func_expl" = x""yes; then :
62880   cat >>confdefs.h <<_ACEOF
62881 #define HAVE_EXPL 1
62882 _ACEOF
62883
62884 fi
62885 done
62886
62887   else
62888
62889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62890 $as_echo_n "checking for _expl declaration... " >&6; }
62891   if test x${glibcxx_cv_func__expl_use+set} != xset; then
62892     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62893   $as_echo_n "(cached) " >&6
62894 else
62895
62896
62897       ac_ext=cpp
62898 ac_cpp='$CXXCPP $CPPFLAGS'
62899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62902
62903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62904 /* end confdefs.h.  */
62905 #include <math.h>
62906                       #ifdef HAVE_IEEEFP_H
62907                       #include <ieeefp.h>
62908                       #endif
62909
62910 int
62911 main ()
62912 {
62913  _expl(0);
62914   ;
62915   return 0;
62916 }
62917 _ACEOF
62918 if ac_fn_cxx_try_compile "$LINENO"; then :
62919   glibcxx_cv_func__expl_use=yes
62920 else
62921   glibcxx_cv_func__expl_use=no
62922 fi
62923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62924       ac_ext=c
62925 ac_cpp='$CPP $CPPFLAGS'
62926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62929
62930
62931 fi
62932
62933   fi
62934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62935 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62936
62937     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62938       for ac_func in _expl
62939 do :
62940   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62941 if test "x$ac_cv_func__expl" = x""yes; then :
62942   cat >>confdefs.h <<_ACEOF
62943 #define HAVE__EXPL 1
62944 _ACEOF
62945
62946 fi
62947 done
62948
62949     fi
62950   fi
62951
62952
62953
62954
62955
62956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62957 $as_echo_n "checking for fabsl declaration... " >&6; }
62958   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62959     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62960   $as_echo_n "(cached) " >&6
62961 else
62962
62963
62964       ac_ext=cpp
62965 ac_cpp='$CXXCPP $CPPFLAGS'
62966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62969
62970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62971 /* end confdefs.h.  */
62972 #include <math.h>
62973                       #ifdef HAVE_IEEEFP_H
62974                       #include <ieeefp.h>
62975                       #endif
62976
62977 int
62978 main ()
62979 {
62980  fabsl(0);
62981   ;
62982   return 0;
62983 }
62984 _ACEOF
62985 if ac_fn_cxx_try_compile "$LINENO"; then :
62986   glibcxx_cv_func_fabsl_use=yes
62987 else
62988   glibcxx_cv_func_fabsl_use=no
62989 fi
62990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62991       ac_ext=c
62992 ac_cpp='$CPP $CPPFLAGS'
62993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62996
62997
62998 fi
62999
63000   fi
63001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63002 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63003
63004   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63005     for ac_func in fabsl
63006 do :
63007   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63008 if test "x$ac_cv_func_fabsl" = x""yes; then :
63009   cat >>confdefs.h <<_ACEOF
63010 #define HAVE_FABSL 1
63011 _ACEOF
63012
63013 fi
63014 done
63015
63016   else
63017
63018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63019 $as_echo_n "checking for _fabsl declaration... " >&6; }
63020   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63021     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63022   $as_echo_n "(cached) " >&6
63023 else
63024
63025
63026       ac_ext=cpp
63027 ac_cpp='$CXXCPP $CPPFLAGS'
63028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63031
63032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63033 /* end confdefs.h.  */
63034 #include <math.h>
63035                       #ifdef HAVE_IEEEFP_H
63036                       #include <ieeefp.h>
63037                       #endif
63038
63039 int
63040 main ()
63041 {
63042  _fabsl(0);
63043   ;
63044   return 0;
63045 }
63046 _ACEOF
63047 if ac_fn_cxx_try_compile "$LINENO"; then :
63048   glibcxx_cv_func__fabsl_use=yes
63049 else
63050   glibcxx_cv_func__fabsl_use=no
63051 fi
63052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63053       ac_ext=c
63054 ac_cpp='$CPP $CPPFLAGS'
63055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63058
63059
63060 fi
63061
63062   fi
63063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63064 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63065
63066     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63067       for ac_func in _fabsl
63068 do :
63069   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63070 if test "x$ac_cv_func__fabsl" = x""yes; then :
63071   cat >>confdefs.h <<_ACEOF
63072 #define HAVE__FABSL 1
63073 _ACEOF
63074
63075 fi
63076 done
63077
63078     fi
63079   fi
63080
63081
63082
63083
63084
63085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63086 $as_echo_n "checking for fmodl declaration... " >&6; }
63087   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63088     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63089   $as_echo_n "(cached) " >&6
63090 else
63091
63092
63093       ac_ext=cpp
63094 ac_cpp='$CXXCPP $CPPFLAGS'
63095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63098
63099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63100 /* end confdefs.h.  */
63101 #include <math.h>
63102 int
63103 main ()
63104 {
63105  fmodl(0, 0);
63106   ;
63107   return 0;
63108 }
63109 _ACEOF
63110 if ac_fn_cxx_try_compile "$LINENO"; then :
63111   glibcxx_cv_func_fmodl_use=yes
63112 else
63113   glibcxx_cv_func_fmodl_use=no
63114 fi
63115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63116       ac_ext=c
63117 ac_cpp='$CPP $CPPFLAGS'
63118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63121
63122
63123 fi
63124
63125   fi
63126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63127 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63128
63129   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63130     for ac_func in fmodl
63131 do :
63132   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63133 if test "x$ac_cv_func_fmodl" = x""yes; then :
63134   cat >>confdefs.h <<_ACEOF
63135 #define HAVE_FMODL 1
63136 _ACEOF
63137
63138 fi
63139 done
63140
63141   else
63142
63143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63144 $as_echo_n "checking for _fmodl declaration... " >&6; }
63145   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63146     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63147   $as_echo_n "(cached) " >&6
63148 else
63149
63150
63151       ac_ext=cpp
63152 ac_cpp='$CXXCPP $CPPFLAGS'
63153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63156
63157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63158 /* end confdefs.h.  */
63159 #include <math.h>
63160 int
63161 main ()
63162 {
63163  _fmodl(0, 0);
63164   ;
63165   return 0;
63166 }
63167 _ACEOF
63168 if ac_fn_cxx_try_compile "$LINENO"; then :
63169   glibcxx_cv_func__fmodl_use=yes
63170 else
63171   glibcxx_cv_func__fmodl_use=no
63172 fi
63173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63174       ac_ext=c
63175 ac_cpp='$CPP $CPPFLAGS'
63176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63179
63180
63181 fi
63182
63183   fi
63184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63185 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63186
63187     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63188       for ac_func in _fmodl
63189 do :
63190   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63191 if test "x$ac_cv_func__fmodl" = x""yes; then :
63192   cat >>confdefs.h <<_ACEOF
63193 #define HAVE__FMODL 1
63194 _ACEOF
63195
63196 fi
63197 done
63198
63199     fi
63200   fi
63201
63202
63203
63204
63205
63206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63207 $as_echo_n "checking for frexpl declaration... " >&6; }
63208   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63209     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63210   $as_echo_n "(cached) " >&6
63211 else
63212
63213
63214       ac_ext=cpp
63215 ac_cpp='$CXXCPP $CPPFLAGS'
63216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63219
63220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63221 /* end confdefs.h.  */
63222 #include <math.h>
63223 int
63224 main ()
63225 {
63226  frexpl(0, 0);
63227   ;
63228   return 0;
63229 }
63230 _ACEOF
63231 if ac_fn_cxx_try_compile "$LINENO"; then :
63232   glibcxx_cv_func_frexpl_use=yes
63233 else
63234   glibcxx_cv_func_frexpl_use=no
63235 fi
63236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63237       ac_ext=c
63238 ac_cpp='$CPP $CPPFLAGS'
63239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63242
63243
63244 fi
63245
63246   fi
63247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63248 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63249
63250   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63251     for ac_func in frexpl
63252 do :
63253   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63254 if test "x$ac_cv_func_frexpl" = x""yes; then :
63255   cat >>confdefs.h <<_ACEOF
63256 #define HAVE_FREXPL 1
63257 _ACEOF
63258
63259 fi
63260 done
63261
63262   else
63263
63264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63265 $as_echo_n "checking for _frexpl declaration... " >&6; }
63266   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63267     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63268   $as_echo_n "(cached) " >&6
63269 else
63270
63271
63272       ac_ext=cpp
63273 ac_cpp='$CXXCPP $CPPFLAGS'
63274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63277
63278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63279 /* end confdefs.h.  */
63280 #include <math.h>
63281 int
63282 main ()
63283 {
63284  _frexpl(0, 0);
63285   ;
63286   return 0;
63287 }
63288 _ACEOF
63289 if ac_fn_cxx_try_compile "$LINENO"; then :
63290   glibcxx_cv_func__frexpl_use=yes
63291 else
63292   glibcxx_cv_func__frexpl_use=no
63293 fi
63294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63295       ac_ext=c
63296 ac_cpp='$CPP $CPPFLAGS'
63297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63300
63301
63302 fi
63303
63304   fi
63305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63306 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63307
63308     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63309       for ac_func in _frexpl
63310 do :
63311   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63312 if test "x$ac_cv_func__frexpl" = x""yes; then :
63313   cat >>confdefs.h <<_ACEOF
63314 #define HAVE__FREXPL 1
63315 _ACEOF
63316
63317 fi
63318 done
63319
63320     fi
63321   fi
63322
63323
63324
63325
63326
63327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63328 $as_echo_n "checking for hypotl declaration... " >&6; }
63329   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63330     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63331   $as_echo_n "(cached) " >&6
63332 else
63333
63334
63335       ac_ext=cpp
63336 ac_cpp='$CXXCPP $CPPFLAGS'
63337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63340
63341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63342 /* end confdefs.h.  */
63343 #include <math.h>
63344 int
63345 main ()
63346 {
63347  hypotl(0, 0);
63348   ;
63349   return 0;
63350 }
63351 _ACEOF
63352 if ac_fn_cxx_try_compile "$LINENO"; then :
63353   glibcxx_cv_func_hypotl_use=yes
63354 else
63355   glibcxx_cv_func_hypotl_use=no
63356 fi
63357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63358       ac_ext=c
63359 ac_cpp='$CPP $CPPFLAGS'
63360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63363
63364
63365 fi
63366
63367   fi
63368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63369 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63370
63371   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63372     for ac_func in hypotl
63373 do :
63374   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63375 if test "x$ac_cv_func_hypotl" = x""yes; then :
63376   cat >>confdefs.h <<_ACEOF
63377 #define HAVE_HYPOTL 1
63378 _ACEOF
63379
63380 fi
63381 done
63382
63383   else
63384
63385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63386 $as_echo_n "checking for _hypotl declaration... " >&6; }
63387   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63388     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63389   $as_echo_n "(cached) " >&6
63390 else
63391
63392
63393       ac_ext=cpp
63394 ac_cpp='$CXXCPP $CPPFLAGS'
63395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63398
63399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63400 /* end confdefs.h.  */
63401 #include <math.h>
63402 int
63403 main ()
63404 {
63405  _hypotl(0, 0);
63406   ;
63407   return 0;
63408 }
63409 _ACEOF
63410 if ac_fn_cxx_try_compile "$LINENO"; then :
63411   glibcxx_cv_func__hypotl_use=yes
63412 else
63413   glibcxx_cv_func__hypotl_use=no
63414 fi
63415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63416       ac_ext=c
63417 ac_cpp='$CPP $CPPFLAGS'
63418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63421
63422
63423 fi
63424
63425   fi
63426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63427 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63428
63429     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63430       for ac_func in _hypotl
63431 do :
63432   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63433 if test "x$ac_cv_func__hypotl" = x""yes; then :
63434   cat >>confdefs.h <<_ACEOF
63435 #define HAVE__HYPOTL 1
63436 _ACEOF
63437
63438 fi
63439 done
63440
63441     fi
63442   fi
63443
63444
63445
63446
63447
63448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63449 $as_echo_n "checking for ldexpl declaration... " >&6; }
63450   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63451     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63452   $as_echo_n "(cached) " >&6
63453 else
63454
63455
63456       ac_ext=cpp
63457 ac_cpp='$CXXCPP $CPPFLAGS'
63458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63461
63462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63463 /* end confdefs.h.  */
63464 #include <math.h>
63465 int
63466 main ()
63467 {
63468  ldexpl(0, 0);
63469   ;
63470   return 0;
63471 }
63472 _ACEOF
63473 if ac_fn_cxx_try_compile "$LINENO"; then :
63474   glibcxx_cv_func_ldexpl_use=yes
63475 else
63476   glibcxx_cv_func_ldexpl_use=no
63477 fi
63478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63479       ac_ext=c
63480 ac_cpp='$CPP $CPPFLAGS'
63481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63484
63485
63486 fi
63487
63488   fi
63489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63490 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63491
63492   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63493     for ac_func in ldexpl
63494 do :
63495   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63496 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63497   cat >>confdefs.h <<_ACEOF
63498 #define HAVE_LDEXPL 1
63499 _ACEOF
63500
63501 fi
63502 done
63503
63504   else
63505
63506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63507 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63508   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63509     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63510   $as_echo_n "(cached) " >&6
63511 else
63512
63513
63514       ac_ext=cpp
63515 ac_cpp='$CXXCPP $CPPFLAGS'
63516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63519
63520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63521 /* end confdefs.h.  */
63522 #include <math.h>
63523 int
63524 main ()
63525 {
63526  _ldexpl(0, 0);
63527   ;
63528   return 0;
63529 }
63530 _ACEOF
63531 if ac_fn_cxx_try_compile "$LINENO"; then :
63532   glibcxx_cv_func__ldexpl_use=yes
63533 else
63534   glibcxx_cv_func__ldexpl_use=no
63535 fi
63536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63537       ac_ext=c
63538 ac_cpp='$CPP $CPPFLAGS'
63539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63542
63543
63544 fi
63545
63546   fi
63547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63548 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63549
63550     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63551       for ac_func in _ldexpl
63552 do :
63553   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63554 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63555   cat >>confdefs.h <<_ACEOF
63556 #define HAVE__LDEXPL 1
63557 _ACEOF
63558
63559 fi
63560 done
63561
63562     fi
63563   fi
63564
63565
63566
63567
63568
63569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63570 $as_echo_n "checking for logl declaration... " >&6; }
63571   if test x${glibcxx_cv_func_logl_use+set} != xset; then
63572     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63573   $as_echo_n "(cached) " >&6
63574 else
63575
63576
63577       ac_ext=cpp
63578 ac_cpp='$CXXCPP $CPPFLAGS'
63579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63582
63583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63584 /* end confdefs.h.  */
63585 #include <math.h>
63586                       #ifdef HAVE_IEEEFP_H
63587                       #include <ieeefp.h>
63588                       #endif
63589
63590 int
63591 main ()
63592 {
63593  logl(0);
63594   ;
63595   return 0;
63596 }
63597 _ACEOF
63598 if ac_fn_cxx_try_compile "$LINENO"; then :
63599   glibcxx_cv_func_logl_use=yes
63600 else
63601   glibcxx_cv_func_logl_use=no
63602 fi
63603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63604       ac_ext=c
63605 ac_cpp='$CPP $CPPFLAGS'
63606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63609
63610
63611 fi
63612
63613   fi
63614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63615 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63616
63617   if test x$glibcxx_cv_func_logl_use = x"yes"; then
63618     for ac_func in logl
63619 do :
63620   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63621 if test "x$ac_cv_func_logl" = x""yes; then :
63622   cat >>confdefs.h <<_ACEOF
63623 #define HAVE_LOGL 1
63624 _ACEOF
63625
63626 fi
63627 done
63628
63629   else
63630
63631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63632 $as_echo_n "checking for _logl declaration... " >&6; }
63633   if test x${glibcxx_cv_func__logl_use+set} != xset; then
63634     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63635   $as_echo_n "(cached) " >&6
63636 else
63637
63638
63639       ac_ext=cpp
63640 ac_cpp='$CXXCPP $CPPFLAGS'
63641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63644
63645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63646 /* end confdefs.h.  */
63647 #include <math.h>
63648                       #ifdef HAVE_IEEEFP_H
63649                       #include <ieeefp.h>
63650                       #endif
63651
63652 int
63653 main ()
63654 {
63655  _logl(0);
63656   ;
63657   return 0;
63658 }
63659 _ACEOF
63660 if ac_fn_cxx_try_compile "$LINENO"; then :
63661   glibcxx_cv_func__logl_use=yes
63662 else
63663   glibcxx_cv_func__logl_use=no
63664 fi
63665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63666       ac_ext=c
63667 ac_cpp='$CPP $CPPFLAGS'
63668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63671
63672
63673 fi
63674
63675   fi
63676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63677 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63678
63679     if test x$glibcxx_cv_func__logl_use = x"yes"; then
63680       for ac_func in _logl
63681 do :
63682   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63683 if test "x$ac_cv_func__logl" = x""yes; then :
63684   cat >>confdefs.h <<_ACEOF
63685 #define HAVE__LOGL 1
63686 _ACEOF
63687
63688 fi
63689 done
63690
63691     fi
63692   fi
63693
63694
63695
63696
63697
63698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63699 $as_echo_n "checking for log10l declaration... " >&6; }
63700   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63701     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63702   $as_echo_n "(cached) " >&6
63703 else
63704
63705
63706       ac_ext=cpp
63707 ac_cpp='$CXXCPP $CPPFLAGS'
63708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63711
63712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63713 /* end confdefs.h.  */
63714 #include <math.h>
63715                       #ifdef HAVE_IEEEFP_H
63716                       #include <ieeefp.h>
63717                       #endif
63718
63719 int
63720 main ()
63721 {
63722  log10l(0);
63723   ;
63724   return 0;
63725 }
63726 _ACEOF
63727 if ac_fn_cxx_try_compile "$LINENO"; then :
63728   glibcxx_cv_func_log10l_use=yes
63729 else
63730   glibcxx_cv_func_log10l_use=no
63731 fi
63732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63733       ac_ext=c
63734 ac_cpp='$CPP $CPPFLAGS'
63735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63738
63739
63740 fi
63741
63742   fi
63743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63744 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63745
63746   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63747     for ac_func in log10l
63748 do :
63749   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63750 if test "x$ac_cv_func_log10l" = x""yes; then :
63751   cat >>confdefs.h <<_ACEOF
63752 #define HAVE_LOG10L 1
63753 _ACEOF
63754
63755 fi
63756 done
63757
63758   else
63759
63760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63761 $as_echo_n "checking for _log10l declaration... " >&6; }
63762   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63763     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63764   $as_echo_n "(cached) " >&6
63765 else
63766
63767
63768       ac_ext=cpp
63769 ac_cpp='$CXXCPP $CPPFLAGS'
63770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63773
63774       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63775 /* end confdefs.h.  */
63776 #include <math.h>
63777                       #ifdef HAVE_IEEEFP_H
63778                       #include <ieeefp.h>
63779                       #endif
63780
63781 int
63782 main ()
63783 {
63784  _log10l(0);
63785   ;
63786   return 0;
63787 }
63788 _ACEOF
63789 if ac_fn_cxx_try_compile "$LINENO"; then :
63790   glibcxx_cv_func__log10l_use=yes
63791 else
63792   glibcxx_cv_func__log10l_use=no
63793 fi
63794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63795       ac_ext=c
63796 ac_cpp='$CPP $CPPFLAGS'
63797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63800
63801
63802 fi
63803
63804   fi
63805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63806 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63807
63808     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63809       for ac_func in _log10l
63810 do :
63811   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63812 if test "x$ac_cv_func__log10l" = x""yes; then :
63813   cat >>confdefs.h <<_ACEOF
63814 #define HAVE__LOG10L 1
63815 _ACEOF
63816
63817 fi
63818 done
63819
63820     fi
63821   fi
63822
63823
63824
63825
63826
63827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63828 $as_echo_n "checking for modfl declaration... " >&6; }
63829   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63830     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63831   $as_echo_n "(cached) " >&6
63832 else
63833
63834
63835       ac_ext=cpp
63836 ac_cpp='$CXXCPP $CPPFLAGS'
63837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63840
63841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63842 /* end confdefs.h.  */
63843 #include <math.h>
63844 int
63845 main ()
63846 {
63847  modfl(0, 0);
63848   ;
63849   return 0;
63850 }
63851 _ACEOF
63852 if ac_fn_cxx_try_compile "$LINENO"; then :
63853   glibcxx_cv_func_modfl_use=yes
63854 else
63855   glibcxx_cv_func_modfl_use=no
63856 fi
63857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63858       ac_ext=c
63859 ac_cpp='$CPP $CPPFLAGS'
63860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63863
63864
63865 fi
63866
63867   fi
63868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63869 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63870
63871   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63872     for ac_func in modfl
63873 do :
63874   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63875 if test "x$ac_cv_func_modfl" = x""yes; then :
63876   cat >>confdefs.h <<_ACEOF
63877 #define HAVE_MODFL 1
63878 _ACEOF
63879
63880 fi
63881 done
63882
63883   else
63884
63885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63886 $as_echo_n "checking for _modfl declaration... " >&6; }
63887   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63888     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63889   $as_echo_n "(cached) " >&6
63890 else
63891
63892
63893       ac_ext=cpp
63894 ac_cpp='$CXXCPP $CPPFLAGS'
63895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63898
63899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63900 /* end confdefs.h.  */
63901 #include <math.h>
63902 int
63903 main ()
63904 {
63905  _modfl(0, 0);
63906   ;
63907   return 0;
63908 }
63909 _ACEOF
63910 if ac_fn_cxx_try_compile "$LINENO"; then :
63911   glibcxx_cv_func__modfl_use=yes
63912 else
63913   glibcxx_cv_func__modfl_use=no
63914 fi
63915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63916       ac_ext=c
63917 ac_cpp='$CPP $CPPFLAGS'
63918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63921
63922
63923 fi
63924
63925   fi
63926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63927 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63928
63929     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63930       for ac_func in _modfl
63931 do :
63932   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63933 if test "x$ac_cv_func__modfl" = x""yes; then :
63934   cat >>confdefs.h <<_ACEOF
63935 #define HAVE__MODFL 1
63936 _ACEOF
63937
63938 fi
63939 done
63940
63941     fi
63942   fi
63943
63944
63945
63946
63947
63948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63949 $as_echo_n "checking for powl declaration... " >&6; }
63950   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63951     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63952   $as_echo_n "(cached) " >&6
63953 else
63954
63955
63956       ac_ext=cpp
63957 ac_cpp='$CXXCPP $CPPFLAGS'
63958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63961
63962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63963 /* end confdefs.h.  */
63964 #include <math.h>
63965 int
63966 main ()
63967 {
63968  powl(0, 0);
63969   ;
63970   return 0;
63971 }
63972 _ACEOF
63973 if ac_fn_cxx_try_compile "$LINENO"; then :
63974   glibcxx_cv_func_powl_use=yes
63975 else
63976   glibcxx_cv_func_powl_use=no
63977 fi
63978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63979       ac_ext=c
63980 ac_cpp='$CPP $CPPFLAGS'
63981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63984
63985
63986 fi
63987
63988   fi
63989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63990 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63991
63992   if test x$glibcxx_cv_func_powl_use = x"yes"; then
63993     for ac_func in powl
63994 do :
63995   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63996 if test "x$ac_cv_func_powl" = x""yes; then :
63997   cat >>confdefs.h <<_ACEOF
63998 #define HAVE_POWL 1
63999 _ACEOF
64000
64001 fi
64002 done
64003
64004   else
64005
64006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64007 $as_echo_n "checking for _powl declaration... " >&6; }
64008   if test x${glibcxx_cv_func__powl_use+set} != xset; then
64009     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64010   $as_echo_n "(cached) " >&6
64011 else
64012
64013
64014       ac_ext=cpp
64015 ac_cpp='$CXXCPP $CPPFLAGS'
64016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64019
64020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64021 /* end confdefs.h.  */
64022 #include <math.h>
64023 int
64024 main ()
64025 {
64026  _powl(0, 0);
64027   ;
64028   return 0;
64029 }
64030 _ACEOF
64031 if ac_fn_cxx_try_compile "$LINENO"; then :
64032   glibcxx_cv_func__powl_use=yes
64033 else
64034   glibcxx_cv_func__powl_use=no
64035 fi
64036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64037       ac_ext=c
64038 ac_cpp='$CPP $CPPFLAGS'
64039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64042
64043
64044 fi
64045
64046   fi
64047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64048 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64049
64050     if test x$glibcxx_cv_func__powl_use = x"yes"; then
64051       for ac_func in _powl
64052 do :
64053   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64054 if test "x$ac_cv_func__powl" = x""yes; then :
64055   cat >>confdefs.h <<_ACEOF
64056 #define HAVE__POWL 1
64057 _ACEOF
64058
64059 fi
64060 done
64061
64062     fi
64063   fi
64064
64065
64066
64067
64068
64069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64070 $as_echo_n "checking for sqrtl declaration... " >&6; }
64071   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64072     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64073   $as_echo_n "(cached) " >&6
64074 else
64075
64076
64077       ac_ext=cpp
64078 ac_cpp='$CXXCPP $CPPFLAGS'
64079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64082
64083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64084 /* end confdefs.h.  */
64085 #include <math.h>
64086                       #ifdef HAVE_IEEEFP_H
64087                       #include <ieeefp.h>
64088                       #endif
64089
64090 int
64091 main ()
64092 {
64093  sqrtl(0);
64094   ;
64095   return 0;
64096 }
64097 _ACEOF
64098 if ac_fn_cxx_try_compile "$LINENO"; then :
64099   glibcxx_cv_func_sqrtl_use=yes
64100 else
64101   glibcxx_cv_func_sqrtl_use=no
64102 fi
64103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64104       ac_ext=c
64105 ac_cpp='$CPP $CPPFLAGS'
64106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64109
64110
64111 fi
64112
64113   fi
64114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64115 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64116
64117   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64118     for ac_func in sqrtl
64119 do :
64120   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64121 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64122   cat >>confdefs.h <<_ACEOF
64123 #define HAVE_SQRTL 1
64124 _ACEOF
64125
64126 fi
64127 done
64128
64129   else
64130
64131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64132 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64133   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64134     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64135   $as_echo_n "(cached) " >&6
64136 else
64137
64138
64139       ac_ext=cpp
64140 ac_cpp='$CXXCPP $CPPFLAGS'
64141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64144
64145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64146 /* end confdefs.h.  */
64147 #include <math.h>
64148                       #ifdef HAVE_IEEEFP_H
64149                       #include <ieeefp.h>
64150                       #endif
64151
64152 int
64153 main ()
64154 {
64155  _sqrtl(0);
64156   ;
64157   return 0;
64158 }
64159 _ACEOF
64160 if ac_fn_cxx_try_compile "$LINENO"; then :
64161   glibcxx_cv_func__sqrtl_use=yes
64162 else
64163   glibcxx_cv_func__sqrtl_use=no
64164 fi
64165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64166       ac_ext=c
64167 ac_cpp='$CPP $CPPFLAGS'
64168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64171
64172
64173 fi
64174
64175   fi
64176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64177 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64178
64179     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64180       for ac_func in _sqrtl
64181 do :
64182   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64183 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64184   cat >>confdefs.h <<_ACEOF
64185 #define HAVE__SQRTL 1
64186 _ACEOF
64187
64188 fi
64189 done
64190
64191     fi
64192   fi
64193
64194
64195
64196
64197
64198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64199 $as_echo_n "checking for sincosl declaration... " >&6; }
64200   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64201     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64202   $as_echo_n "(cached) " >&6
64203 else
64204
64205
64206       ac_ext=cpp
64207 ac_cpp='$CXXCPP $CPPFLAGS'
64208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64211
64212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64213 /* end confdefs.h.  */
64214 #include <math.h>
64215 int
64216 main ()
64217 {
64218  sincosl(0, 0, 0);
64219   ;
64220   return 0;
64221 }
64222 _ACEOF
64223 if ac_fn_cxx_try_compile "$LINENO"; then :
64224   glibcxx_cv_func_sincosl_use=yes
64225 else
64226   glibcxx_cv_func_sincosl_use=no
64227 fi
64228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64229       ac_ext=c
64230 ac_cpp='$CPP $CPPFLAGS'
64231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64234
64235
64236 fi
64237
64238   fi
64239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64240 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64241
64242   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64243     for ac_func in sincosl
64244 do :
64245   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64246 if test "x$ac_cv_func_sincosl" = x""yes; then :
64247   cat >>confdefs.h <<_ACEOF
64248 #define HAVE_SINCOSL 1
64249 _ACEOF
64250
64251 fi
64252 done
64253
64254   else
64255
64256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64257 $as_echo_n "checking for _sincosl declaration... " >&6; }
64258   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64259     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64260   $as_echo_n "(cached) " >&6
64261 else
64262
64263
64264       ac_ext=cpp
64265 ac_cpp='$CXXCPP $CPPFLAGS'
64266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64269
64270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64271 /* end confdefs.h.  */
64272 #include <math.h>
64273 int
64274 main ()
64275 {
64276  _sincosl(0, 0, 0);
64277   ;
64278   return 0;
64279 }
64280 _ACEOF
64281 if ac_fn_cxx_try_compile "$LINENO"; then :
64282   glibcxx_cv_func__sincosl_use=yes
64283 else
64284   glibcxx_cv_func__sincosl_use=no
64285 fi
64286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64287       ac_ext=c
64288 ac_cpp='$CPP $CPPFLAGS'
64289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64292
64293
64294 fi
64295
64296   fi
64297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64298 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64299
64300     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64301       for ac_func in _sincosl
64302 do :
64303   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64304 if test "x$ac_cv_func__sincosl" = x""yes; then :
64305   cat >>confdefs.h <<_ACEOF
64306 #define HAVE__SINCOSL 1
64307 _ACEOF
64308
64309 fi
64310 done
64311
64312     fi
64313   fi
64314
64315
64316
64317
64318
64319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64320 $as_echo_n "checking for finitel declaration... " >&6; }
64321   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64322     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64323   $as_echo_n "(cached) " >&6
64324 else
64325
64326
64327       ac_ext=cpp
64328 ac_cpp='$CXXCPP $CPPFLAGS'
64329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64332
64333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64334 /* end confdefs.h.  */
64335 #include <math.h>
64336                       #ifdef HAVE_IEEEFP_H
64337                       #include <ieeefp.h>
64338                       #endif
64339
64340 int
64341 main ()
64342 {
64343  finitel(0);
64344   ;
64345   return 0;
64346 }
64347 _ACEOF
64348 if ac_fn_cxx_try_compile "$LINENO"; then :
64349   glibcxx_cv_func_finitel_use=yes
64350 else
64351   glibcxx_cv_func_finitel_use=no
64352 fi
64353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64354       ac_ext=c
64355 ac_cpp='$CPP $CPPFLAGS'
64356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64359
64360
64361 fi
64362
64363   fi
64364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64365 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64366
64367   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64368     for ac_func in finitel
64369 do :
64370   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64371 if test "x$ac_cv_func_finitel" = x""yes; then :
64372   cat >>confdefs.h <<_ACEOF
64373 #define HAVE_FINITEL 1
64374 _ACEOF
64375
64376 fi
64377 done
64378
64379   else
64380
64381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64382 $as_echo_n "checking for _finitel declaration... " >&6; }
64383   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64384     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64385   $as_echo_n "(cached) " >&6
64386 else
64387
64388
64389       ac_ext=cpp
64390 ac_cpp='$CXXCPP $CPPFLAGS'
64391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64394
64395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64396 /* end confdefs.h.  */
64397 #include <math.h>
64398                       #ifdef HAVE_IEEEFP_H
64399                       #include <ieeefp.h>
64400                       #endif
64401
64402 int
64403 main ()
64404 {
64405  _finitel(0);
64406   ;
64407   return 0;
64408 }
64409 _ACEOF
64410 if ac_fn_cxx_try_compile "$LINENO"; then :
64411   glibcxx_cv_func__finitel_use=yes
64412 else
64413   glibcxx_cv_func__finitel_use=no
64414 fi
64415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64416       ac_ext=c
64417 ac_cpp='$CPP $CPPFLAGS'
64418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64421
64422
64423 fi
64424
64425   fi
64426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64427 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64428
64429     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64430       for ac_func in _finitel
64431 do :
64432   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64433 if test "x$ac_cv_func__finitel" = x""yes; then :
64434   cat >>confdefs.h <<_ACEOF
64435 #define HAVE__FINITEL 1
64436 _ACEOF
64437
64438 fi
64439 done
64440
64441     fi
64442   fi
64443
64444
64445
64446
64447   LIBS="$ac_save_LIBS"
64448   CXXFLAGS="$ac_save_CXXFLAGS"
64449
64450
64451   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64452   ac_save_CXXFLAGS="$CXXFLAGS"
64453   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64454
64455
64456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64457 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64458   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64459     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64460   $as_echo_n "(cached) " >&6
64461 else
64462
64463
64464       ac_ext=cpp
64465 ac_cpp='$CXXCPP $CPPFLAGS'
64466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64469
64470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64471 /* end confdefs.h.  */
64472 #include <stdlib.h>
64473 int
64474 main ()
64475 {
64476  at_quick_exit(0);
64477   ;
64478   return 0;
64479 }
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482   glibcxx_cv_func_at_quick_exit_use=yes
64483 else
64484   glibcxx_cv_func_at_quick_exit_use=no
64485 fi
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487       ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64492
64493
64494 fi
64495
64496   fi
64497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64498 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64499   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64500     for ac_func in at_quick_exit
64501 do :
64502   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64503 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64504   cat >>confdefs.h <<_ACEOF
64505 #define HAVE_AT_QUICK_EXIT 1
64506 _ACEOF
64507
64508 fi
64509 done
64510
64511   fi
64512
64513
64514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64515 $as_echo_n "checking for quick_exit declaration... " >&6; }
64516   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64517     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64518   $as_echo_n "(cached) " >&6
64519 else
64520
64521
64522       ac_ext=cpp
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64527
64528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64529 /* end confdefs.h.  */
64530 #include <stdlib.h>
64531 int
64532 main ()
64533 {
64534  quick_exit(0);
64535   ;
64536   return 0;
64537 }
64538 _ACEOF
64539 if ac_fn_cxx_try_compile "$LINENO"; then :
64540   glibcxx_cv_func_quick_exit_use=yes
64541 else
64542   glibcxx_cv_func_quick_exit_use=no
64543 fi
64544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64545       ac_ext=c
64546 ac_cpp='$CPP $CPPFLAGS'
64547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64550
64551
64552 fi
64553
64554   fi
64555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64556 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64557   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64558     for ac_func in quick_exit
64559 do :
64560   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64561 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64562   cat >>confdefs.h <<_ACEOF
64563 #define HAVE_QUICK_EXIT 1
64564 _ACEOF
64565
64566 fi
64567 done
64568
64569   fi
64570
64571
64572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64573 $as_echo_n "checking for strtold declaration... " >&6; }
64574   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64575     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64576   $as_echo_n "(cached) " >&6
64577 else
64578
64579
64580       ac_ext=cpp
64581 ac_cpp='$CXXCPP $CPPFLAGS'
64582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64585
64586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64587 /* end confdefs.h.  */
64588 #include <stdlib.h>
64589 int
64590 main ()
64591 {
64592  strtold(0, 0);
64593   ;
64594   return 0;
64595 }
64596 _ACEOF
64597 if ac_fn_cxx_try_compile "$LINENO"; then :
64598   glibcxx_cv_func_strtold_use=yes
64599 else
64600   glibcxx_cv_func_strtold_use=no
64601 fi
64602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64603       ac_ext=c
64604 ac_cpp='$CPP $CPPFLAGS'
64605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64608
64609
64610 fi
64611
64612   fi
64613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64614 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64615   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64616     for ac_func in strtold
64617 do :
64618   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64619 if test "x$ac_cv_func_strtold" = x""yes; then :
64620   cat >>confdefs.h <<_ACEOF
64621 #define HAVE_STRTOLD 1
64622 _ACEOF
64623
64624 fi
64625 done
64626
64627   fi
64628
64629
64630
64631
64632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64633 $as_echo_n "checking for strtof declaration... " >&6; }
64634   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64635     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64636   $as_echo_n "(cached) " >&6
64637 else
64638
64639
64640       ac_ext=cpp
64641 ac_cpp='$CXXCPP $CPPFLAGS'
64642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64645
64646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64647 /* end confdefs.h.  */
64648 #include <stdlib.h>
64649 int
64650 main ()
64651 {
64652  strtof(0, 0);
64653   ;
64654   return 0;
64655 }
64656 _ACEOF
64657 if ac_fn_cxx_try_compile "$LINENO"; then :
64658   glibcxx_cv_func_strtof_use=yes
64659 else
64660   glibcxx_cv_func_strtof_use=no
64661 fi
64662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64663       ac_ext=c
64664 ac_cpp='$CPP $CPPFLAGS'
64665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64668
64669
64670 fi
64671
64672   fi
64673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64674 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64675   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64676     for ac_func in strtof
64677 do :
64678   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64679 if test "x$ac_cv_func_strtof" = x""yes; then :
64680   cat >>confdefs.h <<_ACEOF
64681 #define HAVE_STRTOF 1
64682 _ACEOF
64683
64684 fi
64685 done
64686
64687   fi
64688
64689
64690
64691
64692   CXXFLAGS="$ac_save_CXXFLAGS"
64693
64694     ;;
64695   *-solaris*)
64696     case "$target" in
64697       *-solaris2.9 | *-solaris2.10)
64698
64699   # If we're not using GNU ld, then there's no point in even trying these
64700   # tests.  Check for that first.  We should have already tested for gld
64701   # by now (in libtool), but require it now just to be safe...
64702   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64703   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64704
64705
64706
64707   # The name set by libtool depends on the version of libtool.  Shame on us
64708   # for depending on an impl detail, but c'est la vie.  Older versions used
64709   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64710   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64711   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
64712   # set (hence we're using an older libtool), then set it.
64713   if test x${with_gnu_ld+set} != xset; then
64714     if test x${ac_cv_prog_gnu_ld+set} != xset; then
64715       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
64716       with_gnu_ld=no
64717     else
64718       with_gnu_ld=$ac_cv_prog_gnu_ld
64719     fi
64720   fi
64721
64722   # Start by getting the version number.  I think the libtool test already
64723   # does some of this, but throws away the result.
64724   glibcxx_ld_is_gold=no
64725   if test x"$with_gnu_ld" = x"yes"; then
64726     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64727 $as_echo_n "checking for ld version... " >&6; }
64728
64729     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64730       glibcxx_ld_is_gold=yes
64731     fi
64732     ldver=`$LD --version 2>/dev/null |
64733            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'`
64734
64735     glibcxx_gnu_ld_version=`echo $ldver | \
64736            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64737     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64738 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64739   fi
64740
64741   # Set --gc-sections.
64742   glibcxx_have_gc_sections=no
64743   if test "$glibcxx_ld_is_gold" = "yes"; then
64744     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64745       glibcxx_have_gc_sections=yes
64746     fi
64747   else
64748     glibcxx_gcsections_min_ld=21602
64749     if test x"$with_gnu_ld" = x"yes" &&
64750         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64751       glibcxx_have_gc_sections=yes
64752     fi
64753   fi
64754   if test "$glibcxx_have_gc_sections" = "yes"; then
64755     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
64756     # NB: This flag only works reliably after 2.16.1. Configure tests
64757     # for this are difficult, so hard wire a value that should work.
64758
64759     ac_test_CFLAGS="${CFLAGS+set}"
64760     ac_save_CFLAGS="$CFLAGS"
64761     CFLAGS='-Wl,--gc-sections'
64762
64763     # Check for -Wl,--gc-sections
64764     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64765 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64766     if test x$gcc_no_link = xyes; then
64767   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64768 fi
64769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64770 /* end confdefs.h.  */
64771  int one(void) { return 1; }
64772      int two(void) { return 2; }
64773
64774 int
64775 main ()
64776 {
64777  two();
64778   ;
64779   return 0;
64780 }
64781 _ACEOF
64782 if ac_fn_c_try_link "$LINENO"; then :
64783   ac_gcsections=yes
64784 else
64785   ac_gcsections=no
64786 fi
64787 rm -f core conftest.err conftest.$ac_objext \
64788     conftest$ac_exeext conftest.$ac_ext
64789     if test "$ac_gcsections" = "yes"; then
64790       rm -f conftest.c
64791       touch conftest.c
64792       if $CC -c conftest.c; then
64793         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64794            grep "Warning: gc-sections option ignored" > /dev/null; then
64795           ac_gcsections=no
64796         fi
64797       fi
64798       rm -f conftest.c conftest.o conftest
64799     fi
64800     if test "$ac_gcsections" = "yes"; then
64801       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64802     fi
64803     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64804 $as_echo "$ac_gcsections" >&6; }
64805
64806     if test "$ac_test_CFLAGS" = set; then
64807       CFLAGS="$ac_save_CFLAGS"
64808     else
64809       # this is the suspicious part
64810       CFLAGS=''
64811     fi
64812   fi
64813
64814   # Set -z,relro.
64815   # Note this is only for shared objects.
64816   ac_ld_relro=no
64817   if test x"$with_gnu_ld" = x"yes"; then
64818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64819 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64820     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64821     if test -n "$cxx_z_relo"; then
64822       OPT_LDFLAGS="-Wl,-z,relro"
64823       ac_ld_relro=yes
64824     fi
64825     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64826 $as_echo "$ac_ld_relro" >&6; }
64827   fi
64828
64829   # Set linker optimization flags.
64830   if test x"$with_gnu_ld" = x"yes"; then
64831     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64832   fi
64833
64834
64835
64836
64837          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64838
64839          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64840
64841          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64842
64843          # All of the dependencies for wide character support are here, so
64844          # turn it on.
64845          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64846
64847         ;;
64848     esac
64849     case "$target" in
64850       *-*-solaris2.10)
64851       # These two C99 functions are present only in Solaris >= 10
64852       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64853
64854       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64855
64856      ;;
64857     esac
64858     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64859
64860     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64861
64862     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64863
64864     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64865
64866     ;;
64867   *-tpf)
64868     SECTION_FLAGS='-ffunction-sections -fdata-sections'
64869     SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64870
64871     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64872
64873     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64874
64875     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64876
64877     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64878
64879     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64880
64881     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64882
64883     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64884
64885     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64886
64887     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64888
64889     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64890
64891     if test x"long_double_math_on_this_cpu" = x"yes"; then
64892       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64893
64894       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64895
64896       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64897
64898       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64899
64900     fi
64901     ;;
64902   *-*vms*)
64903     # Check for available headers.
64904     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64905
64906   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64907   ac_save_CXXFLAGS="$CXXFLAGS"
64908   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64909
64910     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64911 $as_echo_n "checking for sin in -lm... " >&6; }
64912 if test "${ac_cv_lib_m_sin+set}" = set; then :
64913   $as_echo_n "(cached) " >&6
64914 else
64915   ac_check_lib_save_LIBS=$LIBS
64916 LIBS="-lm  $LIBS"
64917 if test x$gcc_no_link = xyes; then
64918   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64919 fi
64920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64921 /* end confdefs.h.  */
64922
64923 /* Override any GCC internal prototype to avoid an error.
64924    Use char because int might match the return type of a GCC
64925    builtin and then its argument prototype would still apply.  */
64926 #ifdef __cplusplus
64927 extern "C"
64928 #endif
64929 char sin ();
64930 int
64931 main ()
64932 {
64933 return sin ();
64934   ;
64935   return 0;
64936 }
64937 _ACEOF
64938 if ac_fn_c_try_link "$LINENO"; then :
64939   ac_cv_lib_m_sin=yes
64940 else
64941   ac_cv_lib_m_sin=no
64942 fi
64943 rm -f core conftest.err conftest.$ac_objext \
64944     conftest$ac_exeext conftest.$ac_ext
64945 LIBS=$ac_check_lib_save_LIBS
64946 fi
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64948 $as_echo "$ac_cv_lib_m_sin" >&6; }
64949 if test "x$ac_cv_lib_m_sin" = x""yes; then :
64950   libm="-lm"
64951 fi
64952
64953   ac_save_LIBS="$LIBS"
64954   LIBS="$LIBS $libm"
64955
64956
64957
64958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64959 $as_echo_n "checking for isinf declaration... " >&6; }
64960   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64961     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64962   $as_echo_n "(cached) " >&6
64963 else
64964
64965
64966       ac_ext=cpp
64967 ac_cpp='$CXXCPP $CPPFLAGS'
64968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64971
64972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64973 /* end confdefs.h.  */
64974 #include <math.h>
64975                       #ifdef HAVE_IEEEFP_H
64976                       #include <ieeefp.h>
64977                       #endif
64978
64979 int
64980 main ()
64981 {
64982  isinf(0);
64983   ;
64984   return 0;
64985 }
64986 _ACEOF
64987 if ac_fn_cxx_try_compile "$LINENO"; then :
64988   glibcxx_cv_func_isinf_use=yes
64989 else
64990   glibcxx_cv_func_isinf_use=no
64991 fi
64992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64993       ac_ext=c
64994 ac_cpp='$CPP $CPPFLAGS'
64995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64998
64999
65000 fi
65001
65002   fi
65003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65004 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65005
65006   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65007     for ac_func in isinf
65008 do :
65009   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65010 if test "x$ac_cv_func_isinf" = x""yes; then :
65011   cat >>confdefs.h <<_ACEOF
65012 #define HAVE_ISINF 1
65013 _ACEOF
65014
65015 fi
65016 done
65017
65018   else
65019
65020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65021 $as_echo_n "checking for _isinf declaration... " >&6; }
65022   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65023     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65024   $as_echo_n "(cached) " >&6
65025 else
65026
65027
65028       ac_ext=cpp
65029 ac_cpp='$CXXCPP $CPPFLAGS'
65030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65033
65034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65035 /* end confdefs.h.  */
65036 #include <math.h>
65037                       #ifdef HAVE_IEEEFP_H
65038                       #include <ieeefp.h>
65039                       #endif
65040
65041 int
65042 main ()
65043 {
65044  _isinf(0);
65045   ;
65046   return 0;
65047 }
65048 _ACEOF
65049 if ac_fn_cxx_try_compile "$LINENO"; then :
65050   glibcxx_cv_func__isinf_use=yes
65051 else
65052   glibcxx_cv_func__isinf_use=no
65053 fi
65054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65055       ac_ext=c
65056 ac_cpp='$CPP $CPPFLAGS'
65057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65060
65061
65062 fi
65063
65064   fi
65065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65066 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65067
65068     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65069       for ac_func in _isinf
65070 do :
65071   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65072 if test "x$ac_cv_func__isinf" = x""yes; then :
65073   cat >>confdefs.h <<_ACEOF
65074 #define HAVE__ISINF 1
65075 _ACEOF
65076
65077 fi
65078 done
65079
65080     fi
65081   fi
65082
65083
65084
65085
65086
65087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65088 $as_echo_n "checking for isnan declaration... " >&6; }
65089   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65090     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65091   $as_echo_n "(cached) " >&6
65092 else
65093
65094
65095       ac_ext=cpp
65096 ac_cpp='$CXXCPP $CPPFLAGS'
65097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65100
65101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65102 /* end confdefs.h.  */
65103 #include <math.h>
65104                       #ifdef HAVE_IEEEFP_H
65105                       #include <ieeefp.h>
65106                       #endif
65107
65108 int
65109 main ()
65110 {
65111  isnan(0);
65112   ;
65113   return 0;
65114 }
65115 _ACEOF
65116 if ac_fn_cxx_try_compile "$LINENO"; then :
65117   glibcxx_cv_func_isnan_use=yes
65118 else
65119   glibcxx_cv_func_isnan_use=no
65120 fi
65121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65122       ac_ext=c
65123 ac_cpp='$CPP $CPPFLAGS'
65124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65127
65128
65129 fi
65130
65131   fi
65132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65133 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65134
65135   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65136     for ac_func in isnan
65137 do :
65138   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65139 if test "x$ac_cv_func_isnan" = x""yes; then :
65140   cat >>confdefs.h <<_ACEOF
65141 #define HAVE_ISNAN 1
65142 _ACEOF
65143
65144 fi
65145 done
65146
65147   else
65148
65149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65150 $as_echo_n "checking for _isnan declaration... " >&6; }
65151   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65152     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65153   $as_echo_n "(cached) " >&6
65154 else
65155
65156
65157       ac_ext=cpp
65158 ac_cpp='$CXXCPP $CPPFLAGS'
65159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65162
65163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65164 /* end confdefs.h.  */
65165 #include <math.h>
65166                       #ifdef HAVE_IEEEFP_H
65167                       #include <ieeefp.h>
65168                       #endif
65169
65170 int
65171 main ()
65172 {
65173  _isnan(0);
65174   ;
65175   return 0;
65176 }
65177 _ACEOF
65178 if ac_fn_cxx_try_compile "$LINENO"; then :
65179   glibcxx_cv_func__isnan_use=yes
65180 else
65181   glibcxx_cv_func__isnan_use=no
65182 fi
65183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65184       ac_ext=c
65185 ac_cpp='$CPP $CPPFLAGS'
65186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65189
65190
65191 fi
65192
65193   fi
65194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65195 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65196
65197     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65198       for ac_func in _isnan
65199 do :
65200   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65201 if test "x$ac_cv_func__isnan" = x""yes; then :
65202   cat >>confdefs.h <<_ACEOF
65203 #define HAVE__ISNAN 1
65204 _ACEOF
65205
65206 fi
65207 done
65208
65209     fi
65210   fi
65211
65212
65213
65214
65215
65216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65217 $as_echo_n "checking for finite declaration... " >&6; }
65218   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65219     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65220   $as_echo_n "(cached) " >&6
65221 else
65222
65223
65224       ac_ext=cpp
65225 ac_cpp='$CXXCPP $CPPFLAGS'
65226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65229
65230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65231 /* end confdefs.h.  */
65232 #include <math.h>
65233                       #ifdef HAVE_IEEEFP_H
65234                       #include <ieeefp.h>
65235                       #endif
65236
65237 int
65238 main ()
65239 {
65240  finite(0);
65241   ;
65242   return 0;
65243 }
65244 _ACEOF
65245 if ac_fn_cxx_try_compile "$LINENO"; then :
65246   glibcxx_cv_func_finite_use=yes
65247 else
65248   glibcxx_cv_func_finite_use=no
65249 fi
65250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65251       ac_ext=c
65252 ac_cpp='$CPP $CPPFLAGS'
65253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65256
65257
65258 fi
65259
65260   fi
65261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65262 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65263
65264   if test x$glibcxx_cv_func_finite_use = x"yes"; then
65265     for ac_func in finite
65266 do :
65267   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65268 if test "x$ac_cv_func_finite" = x""yes; then :
65269   cat >>confdefs.h <<_ACEOF
65270 #define HAVE_FINITE 1
65271 _ACEOF
65272
65273 fi
65274 done
65275
65276   else
65277
65278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65279 $as_echo_n "checking for _finite declaration... " >&6; }
65280   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65281     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65282   $as_echo_n "(cached) " >&6
65283 else
65284
65285
65286       ac_ext=cpp
65287 ac_cpp='$CXXCPP $CPPFLAGS'
65288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65291
65292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65293 /* end confdefs.h.  */
65294 #include <math.h>
65295                       #ifdef HAVE_IEEEFP_H
65296                       #include <ieeefp.h>
65297                       #endif
65298
65299 int
65300 main ()
65301 {
65302  _finite(0);
65303   ;
65304   return 0;
65305 }
65306 _ACEOF
65307 if ac_fn_cxx_try_compile "$LINENO"; then :
65308   glibcxx_cv_func__finite_use=yes
65309 else
65310   glibcxx_cv_func__finite_use=no
65311 fi
65312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65313       ac_ext=c
65314 ac_cpp='$CPP $CPPFLAGS'
65315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65318
65319
65320 fi
65321
65322   fi
65323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65324 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65325
65326     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65327       for ac_func in _finite
65328 do :
65329   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65330 if test "x$ac_cv_func__finite" = x""yes; then :
65331   cat >>confdefs.h <<_ACEOF
65332 #define HAVE__FINITE 1
65333 _ACEOF
65334
65335 fi
65336 done
65337
65338     fi
65339   fi
65340
65341
65342
65343
65344
65345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65346 $as_echo_n "checking for sincos declaration... " >&6; }
65347   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65348     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65349   $as_echo_n "(cached) " >&6
65350 else
65351
65352
65353       ac_ext=cpp
65354 ac_cpp='$CXXCPP $CPPFLAGS'
65355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65358
65359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65360 /* end confdefs.h.  */
65361 #include <math.h>
65362 int
65363 main ()
65364 {
65365  sincos(0, 0, 0);
65366   ;
65367   return 0;
65368 }
65369 _ACEOF
65370 if ac_fn_cxx_try_compile "$LINENO"; then :
65371   glibcxx_cv_func_sincos_use=yes
65372 else
65373   glibcxx_cv_func_sincos_use=no
65374 fi
65375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65376       ac_ext=c
65377 ac_cpp='$CPP $CPPFLAGS'
65378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65381
65382
65383 fi
65384
65385   fi
65386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65387 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65388
65389   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65390     for ac_func in sincos
65391 do :
65392   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65393 if test "x$ac_cv_func_sincos" = x""yes; then :
65394   cat >>confdefs.h <<_ACEOF
65395 #define HAVE_SINCOS 1
65396 _ACEOF
65397
65398 fi
65399 done
65400
65401   else
65402
65403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65404 $as_echo_n "checking for _sincos declaration... " >&6; }
65405   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65406     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65407   $as_echo_n "(cached) " >&6
65408 else
65409
65410
65411       ac_ext=cpp
65412 ac_cpp='$CXXCPP $CPPFLAGS'
65413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65416
65417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65418 /* end confdefs.h.  */
65419 #include <math.h>
65420 int
65421 main ()
65422 {
65423  _sincos(0, 0, 0);
65424   ;
65425   return 0;
65426 }
65427 _ACEOF
65428 if ac_fn_cxx_try_compile "$LINENO"; then :
65429   glibcxx_cv_func__sincos_use=yes
65430 else
65431   glibcxx_cv_func__sincos_use=no
65432 fi
65433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65434       ac_ext=c
65435 ac_cpp='$CPP $CPPFLAGS'
65436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65439
65440
65441 fi
65442
65443   fi
65444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65445 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65446
65447     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65448       for ac_func in _sincos
65449 do :
65450   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65451 if test "x$ac_cv_func__sincos" = x""yes; then :
65452   cat >>confdefs.h <<_ACEOF
65453 #define HAVE__SINCOS 1
65454 _ACEOF
65455
65456 fi
65457 done
65458
65459     fi
65460   fi
65461
65462
65463
65464
65465
65466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65467 $as_echo_n "checking for fpclass declaration... " >&6; }
65468   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65469     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65470   $as_echo_n "(cached) " >&6
65471 else
65472
65473
65474       ac_ext=cpp
65475 ac_cpp='$CXXCPP $CPPFLAGS'
65476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65479
65480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65481 /* end confdefs.h.  */
65482 #include <math.h>
65483                       #ifdef HAVE_IEEEFP_H
65484                       #include <ieeefp.h>
65485                       #endif
65486
65487 int
65488 main ()
65489 {
65490  fpclass(0);
65491   ;
65492   return 0;
65493 }
65494 _ACEOF
65495 if ac_fn_cxx_try_compile "$LINENO"; then :
65496   glibcxx_cv_func_fpclass_use=yes
65497 else
65498   glibcxx_cv_func_fpclass_use=no
65499 fi
65500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65501       ac_ext=c
65502 ac_cpp='$CPP $CPPFLAGS'
65503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65506
65507
65508 fi
65509
65510   fi
65511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65512 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65513
65514   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65515     for ac_func in fpclass
65516 do :
65517   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65518 if test "x$ac_cv_func_fpclass" = x""yes; then :
65519   cat >>confdefs.h <<_ACEOF
65520 #define HAVE_FPCLASS 1
65521 _ACEOF
65522
65523 fi
65524 done
65525
65526   else
65527
65528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65529 $as_echo_n "checking for _fpclass declaration... " >&6; }
65530   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65531     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65532   $as_echo_n "(cached) " >&6
65533 else
65534
65535
65536       ac_ext=cpp
65537 ac_cpp='$CXXCPP $CPPFLAGS'
65538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65541
65542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65543 /* end confdefs.h.  */
65544 #include <math.h>
65545                       #ifdef HAVE_IEEEFP_H
65546                       #include <ieeefp.h>
65547                       #endif
65548
65549 int
65550 main ()
65551 {
65552  _fpclass(0);
65553   ;
65554   return 0;
65555 }
65556 _ACEOF
65557 if ac_fn_cxx_try_compile "$LINENO"; then :
65558   glibcxx_cv_func__fpclass_use=yes
65559 else
65560   glibcxx_cv_func__fpclass_use=no
65561 fi
65562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65563       ac_ext=c
65564 ac_cpp='$CPP $CPPFLAGS'
65565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65568
65569
65570 fi
65571
65572   fi
65573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65574 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65575
65576     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65577       for ac_func in _fpclass
65578 do :
65579   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65580 if test "x$ac_cv_func__fpclass" = x""yes; then :
65581   cat >>confdefs.h <<_ACEOF
65582 #define HAVE__FPCLASS 1
65583 _ACEOF
65584
65585 fi
65586 done
65587
65588     fi
65589   fi
65590
65591
65592
65593
65594
65595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65596 $as_echo_n "checking for qfpclass declaration... " >&6; }
65597   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65598     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65599   $as_echo_n "(cached) " >&6
65600 else
65601
65602
65603       ac_ext=cpp
65604 ac_cpp='$CXXCPP $CPPFLAGS'
65605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65608
65609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65610 /* end confdefs.h.  */
65611 #include <math.h>
65612                       #ifdef HAVE_IEEEFP_H
65613                       #include <ieeefp.h>
65614                       #endif
65615
65616 int
65617 main ()
65618 {
65619  qfpclass(0);
65620   ;
65621   return 0;
65622 }
65623 _ACEOF
65624 if ac_fn_cxx_try_compile "$LINENO"; then :
65625   glibcxx_cv_func_qfpclass_use=yes
65626 else
65627   glibcxx_cv_func_qfpclass_use=no
65628 fi
65629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65630       ac_ext=c
65631 ac_cpp='$CPP $CPPFLAGS'
65632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65635
65636
65637 fi
65638
65639   fi
65640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65641 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65642
65643   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65644     for ac_func in qfpclass
65645 do :
65646   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65647 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65648   cat >>confdefs.h <<_ACEOF
65649 #define HAVE_QFPCLASS 1
65650 _ACEOF
65651
65652 fi
65653 done
65654
65655   else
65656
65657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65658 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65659   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65660     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65661   $as_echo_n "(cached) " >&6
65662 else
65663
65664
65665       ac_ext=cpp
65666 ac_cpp='$CXXCPP $CPPFLAGS'
65667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65670
65671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65672 /* end confdefs.h.  */
65673 #include <math.h>
65674                       #ifdef HAVE_IEEEFP_H
65675                       #include <ieeefp.h>
65676                       #endif
65677
65678 int
65679 main ()
65680 {
65681  _qfpclass(0);
65682   ;
65683   return 0;
65684 }
65685 _ACEOF
65686 if ac_fn_cxx_try_compile "$LINENO"; then :
65687   glibcxx_cv_func__qfpclass_use=yes
65688 else
65689   glibcxx_cv_func__qfpclass_use=no
65690 fi
65691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65692       ac_ext=c
65693 ac_cpp='$CPP $CPPFLAGS'
65694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65697
65698
65699 fi
65700
65701   fi
65702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65703 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65704
65705     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65706       for ac_func in _qfpclass
65707 do :
65708   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65709 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65710   cat >>confdefs.h <<_ACEOF
65711 #define HAVE__QFPCLASS 1
65712 _ACEOF
65713
65714 fi
65715 done
65716
65717     fi
65718   fi
65719
65720
65721
65722
65723
65724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65725 $as_echo_n "checking for hypot declaration... " >&6; }
65726   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65727     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65728   $as_echo_n "(cached) " >&6
65729 else
65730
65731
65732       ac_ext=cpp
65733 ac_cpp='$CXXCPP $CPPFLAGS'
65734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65737
65738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65739 /* end confdefs.h.  */
65740 #include <math.h>
65741 int
65742 main ()
65743 {
65744  hypot(0, 0);
65745   ;
65746   return 0;
65747 }
65748 _ACEOF
65749 if ac_fn_cxx_try_compile "$LINENO"; then :
65750   glibcxx_cv_func_hypot_use=yes
65751 else
65752   glibcxx_cv_func_hypot_use=no
65753 fi
65754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65755       ac_ext=c
65756 ac_cpp='$CPP $CPPFLAGS'
65757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65760
65761
65762 fi
65763
65764   fi
65765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65766 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65767
65768   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65769     for ac_func in hypot
65770 do :
65771   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65772 if test "x$ac_cv_func_hypot" = x""yes; then :
65773   cat >>confdefs.h <<_ACEOF
65774 #define HAVE_HYPOT 1
65775 _ACEOF
65776
65777 fi
65778 done
65779
65780   else
65781
65782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65783 $as_echo_n "checking for _hypot declaration... " >&6; }
65784   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65785     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65786   $as_echo_n "(cached) " >&6
65787 else
65788
65789
65790       ac_ext=cpp
65791 ac_cpp='$CXXCPP $CPPFLAGS'
65792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65795
65796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65797 /* end confdefs.h.  */
65798 #include <math.h>
65799 int
65800 main ()
65801 {
65802  _hypot(0, 0);
65803   ;
65804   return 0;
65805 }
65806 _ACEOF
65807 if ac_fn_cxx_try_compile "$LINENO"; then :
65808   glibcxx_cv_func__hypot_use=yes
65809 else
65810   glibcxx_cv_func__hypot_use=no
65811 fi
65812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65813       ac_ext=c
65814 ac_cpp='$CPP $CPPFLAGS'
65815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65818
65819
65820 fi
65821
65822   fi
65823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65824 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65825
65826     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65827       for ac_func in _hypot
65828 do :
65829   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65830 if test "x$ac_cv_func__hypot" = x""yes; then :
65831   cat >>confdefs.h <<_ACEOF
65832 #define HAVE__HYPOT 1
65833 _ACEOF
65834
65835 fi
65836 done
65837
65838     fi
65839   fi
65840
65841
65842
65843
65844
65845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65846 $as_echo_n "checking for float trig functions... " >&6; }
65847   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65848   $as_echo_n "(cached) " >&6
65849 else
65850
65851
65852     ac_ext=cpp
65853 ac_cpp='$CXXCPP $CPPFLAGS'
65854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65857
65858     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65859 /* end confdefs.h.  */
65860 #include <math.h>
65861 int
65862 main ()
65863 {
65864 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65865   ;
65866   return 0;
65867 }
65868 _ACEOF
65869 if ac_fn_cxx_try_compile "$LINENO"; then :
65870   glibcxx_cv_func_float_trig_use=yes
65871 else
65872   glibcxx_cv_func_float_trig_use=no
65873 fi
65874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65875     ac_ext=c
65876 ac_cpp='$CPP $CPPFLAGS'
65877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65880
65881 fi
65882
65883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65884 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65885   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65886     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65887 do :
65888   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65890 eval as_val=\$$as_ac_var
65891    if test "x$as_val" = x""yes; then :
65892   cat >>confdefs.h <<_ACEOF
65893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65894 _ACEOF
65895
65896 fi
65897 done
65898
65899   else
65900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65901 $as_echo_n "checking for _float trig functions... " >&6; }
65902     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65903   $as_echo_n "(cached) " >&6
65904 else
65905
65906
65907       ac_ext=cpp
65908 ac_cpp='$CXXCPP $CPPFLAGS'
65909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65912
65913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65914 /* end confdefs.h.  */
65915 #include <math.h>
65916 int
65917 main ()
65918 {
65919 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65920   ;
65921   return 0;
65922 }
65923 _ACEOF
65924 if ac_fn_cxx_try_compile "$LINENO"; then :
65925   glibcxx_cv_func__float_trig_use=yes
65926 else
65927   glibcxx_cv_func__float_trig_use=no
65928 fi
65929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65930       ac_ext=c
65931 ac_cpp='$CPP $CPPFLAGS'
65932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65935
65936 fi
65937
65938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65939 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65940     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65941       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65942 do :
65943   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65945 eval as_val=\$$as_ac_var
65946    if test "x$as_val" = x""yes; then :
65947   cat >>confdefs.h <<_ACEOF
65948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65949 _ACEOF
65950
65951 fi
65952 done
65953
65954     fi
65955   fi
65956
65957
65958
65959
65960
65961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65962 $as_echo_n "checking for float round functions... " >&6; }
65963   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65964   $as_echo_n "(cached) " >&6
65965 else
65966
65967
65968     ac_ext=cpp
65969 ac_cpp='$CXXCPP $CPPFLAGS'
65970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65973
65974     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65975 /* end confdefs.h.  */
65976 #include <math.h>
65977 int
65978 main ()
65979 {
65980 ceilf (0); floorf (0);
65981   ;
65982   return 0;
65983 }
65984 _ACEOF
65985 if ac_fn_cxx_try_compile "$LINENO"; then :
65986   glibcxx_cv_func_float_round_use=yes
65987 else
65988   glibcxx_cv_func_float_round_use=no
65989 fi
65990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65991     ac_ext=c
65992 ac_cpp='$CPP $CPPFLAGS'
65993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65996
65997 fi
65998
65999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66000 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66001   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66002     for ac_func in ceilf floorf
66003 do :
66004   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66006 eval as_val=\$$as_ac_var
66007    if test "x$as_val" = x""yes; then :
66008   cat >>confdefs.h <<_ACEOF
66009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66010 _ACEOF
66011
66012 fi
66013 done
66014
66015   else
66016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66017 $as_echo_n "checking for _float round functions... " >&6; }
66018     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66019   $as_echo_n "(cached) " >&6
66020 else
66021
66022
66023       ac_ext=cpp
66024 ac_cpp='$CXXCPP $CPPFLAGS'
66025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66028
66029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66030 /* end confdefs.h.  */
66031 #include <math.h>
66032 int
66033 main ()
66034 {
66035 _ceilf (0); _floorf (0);
66036   ;
66037   return 0;
66038 }
66039 _ACEOF
66040 if ac_fn_cxx_try_compile "$LINENO"; then :
66041   glibcxx_cv_func__float_round_use=yes
66042 else
66043   glibcxx_cv_func__float_round_use=no
66044 fi
66045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66046       ac_ext=c
66047 ac_cpp='$CPP $CPPFLAGS'
66048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66051
66052 fi
66053
66054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66055 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66056     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66057       for ac_func in _ceilf _floorf
66058 do :
66059   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66061 eval as_val=\$$as_ac_var
66062    if test "x$as_val" = x""yes; then :
66063   cat >>confdefs.h <<_ACEOF
66064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66065 _ACEOF
66066
66067 fi
66068 done
66069
66070     fi
66071   fi
66072
66073
66074
66075
66076
66077
66078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66079 $as_echo_n "checking for expf declaration... " >&6; }
66080   if test x${glibcxx_cv_func_expf_use+set} != xset; then
66081     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66082   $as_echo_n "(cached) " >&6
66083 else
66084
66085
66086       ac_ext=cpp
66087 ac_cpp='$CXXCPP $CPPFLAGS'
66088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66091
66092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66093 /* end confdefs.h.  */
66094 #include <math.h>
66095                       #ifdef HAVE_IEEEFP_H
66096                       #include <ieeefp.h>
66097                       #endif
66098
66099 int
66100 main ()
66101 {
66102  expf(0);
66103   ;
66104   return 0;
66105 }
66106 _ACEOF
66107 if ac_fn_cxx_try_compile "$LINENO"; then :
66108   glibcxx_cv_func_expf_use=yes
66109 else
66110   glibcxx_cv_func_expf_use=no
66111 fi
66112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66113       ac_ext=c
66114 ac_cpp='$CPP $CPPFLAGS'
66115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66118
66119
66120 fi
66121
66122   fi
66123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66124 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66125
66126   if test x$glibcxx_cv_func_expf_use = x"yes"; then
66127     for ac_func in expf
66128 do :
66129   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66130 if test "x$ac_cv_func_expf" = x""yes; then :
66131   cat >>confdefs.h <<_ACEOF
66132 #define HAVE_EXPF 1
66133 _ACEOF
66134
66135 fi
66136 done
66137
66138   else
66139
66140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66141 $as_echo_n "checking for _expf declaration... " >&6; }
66142   if test x${glibcxx_cv_func__expf_use+set} != xset; then
66143     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66144   $as_echo_n "(cached) " >&6
66145 else
66146
66147
66148       ac_ext=cpp
66149 ac_cpp='$CXXCPP $CPPFLAGS'
66150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66153
66154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66155 /* end confdefs.h.  */
66156 #include <math.h>
66157                       #ifdef HAVE_IEEEFP_H
66158                       #include <ieeefp.h>
66159                       #endif
66160
66161 int
66162 main ()
66163 {
66164  _expf(0);
66165   ;
66166   return 0;
66167 }
66168 _ACEOF
66169 if ac_fn_cxx_try_compile "$LINENO"; then :
66170   glibcxx_cv_func__expf_use=yes
66171 else
66172   glibcxx_cv_func__expf_use=no
66173 fi
66174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66175       ac_ext=c
66176 ac_cpp='$CPP $CPPFLAGS'
66177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66180
66181
66182 fi
66183
66184   fi
66185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66186 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66187
66188     if test x$glibcxx_cv_func__expf_use = x"yes"; then
66189       for ac_func in _expf
66190 do :
66191   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66192 if test "x$ac_cv_func__expf" = x""yes; then :
66193   cat >>confdefs.h <<_ACEOF
66194 #define HAVE__EXPF 1
66195 _ACEOF
66196
66197 fi
66198 done
66199
66200     fi
66201   fi
66202
66203
66204
66205
66206
66207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66208 $as_echo_n "checking for isnanf declaration... " >&6; }
66209   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66210     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66211   $as_echo_n "(cached) " >&6
66212 else
66213
66214
66215       ac_ext=cpp
66216 ac_cpp='$CXXCPP $CPPFLAGS'
66217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66220
66221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66222 /* end confdefs.h.  */
66223 #include <math.h>
66224                       #ifdef HAVE_IEEEFP_H
66225                       #include <ieeefp.h>
66226                       #endif
66227
66228 int
66229 main ()
66230 {
66231  isnanf(0);
66232   ;
66233   return 0;
66234 }
66235 _ACEOF
66236 if ac_fn_cxx_try_compile "$LINENO"; then :
66237   glibcxx_cv_func_isnanf_use=yes
66238 else
66239   glibcxx_cv_func_isnanf_use=no
66240 fi
66241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66242       ac_ext=c
66243 ac_cpp='$CPP $CPPFLAGS'
66244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66247
66248
66249 fi
66250
66251   fi
66252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66253 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66254
66255   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66256     for ac_func in isnanf
66257 do :
66258   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66259 if test "x$ac_cv_func_isnanf" = x""yes; then :
66260   cat >>confdefs.h <<_ACEOF
66261 #define HAVE_ISNANF 1
66262 _ACEOF
66263
66264 fi
66265 done
66266
66267   else
66268
66269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66270 $as_echo_n "checking for _isnanf declaration... " >&6; }
66271   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66272     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66273   $as_echo_n "(cached) " >&6
66274 else
66275
66276
66277       ac_ext=cpp
66278 ac_cpp='$CXXCPP $CPPFLAGS'
66279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66282
66283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66284 /* end confdefs.h.  */
66285 #include <math.h>
66286                       #ifdef HAVE_IEEEFP_H
66287                       #include <ieeefp.h>
66288                       #endif
66289
66290 int
66291 main ()
66292 {
66293  _isnanf(0);
66294   ;
66295   return 0;
66296 }
66297 _ACEOF
66298 if ac_fn_cxx_try_compile "$LINENO"; then :
66299   glibcxx_cv_func__isnanf_use=yes
66300 else
66301   glibcxx_cv_func__isnanf_use=no
66302 fi
66303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66304       ac_ext=c
66305 ac_cpp='$CPP $CPPFLAGS'
66306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66309
66310
66311 fi
66312
66313   fi
66314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66315 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66316
66317     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66318       for ac_func in _isnanf
66319 do :
66320   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66321 if test "x$ac_cv_func__isnanf" = x""yes; then :
66322   cat >>confdefs.h <<_ACEOF
66323 #define HAVE__ISNANF 1
66324 _ACEOF
66325
66326 fi
66327 done
66328
66329     fi
66330   fi
66331
66332
66333
66334
66335
66336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66337 $as_echo_n "checking for isinff declaration... " >&6; }
66338   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66339     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66340   $as_echo_n "(cached) " >&6
66341 else
66342
66343
66344       ac_ext=cpp
66345 ac_cpp='$CXXCPP $CPPFLAGS'
66346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66349
66350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66351 /* end confdefs.h.  */
66352 #include <math.h>
66353                       #ifdef HAVE_IEEEFP_H
66354                       #include <ieeefp.h>
66355                       #endif
66356
66357 int
66358 main ()
66359 {
66360  isinff(0);
66361   ;
66362   return 0;
66363 }
66364 _ACEOF
66365 if ac_fn_cxx_try_compile "$LINENO"; then :
66366   glibcxx_cv_func_isinff_use=yes
66367 else
66368   glibcxx_cv_func_isinff_use=no
66369 fi
66370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66371       ac_ext=c
66372 ac_cpp='$CPP $CPPFLAGS'
66373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66376
66377
66378 fi
66379
66380   fi
66381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66382 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66383
66384   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66385     for ac_func in isinff
66386 do :
66387   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66388 if test "x$ac_cv_func_isinff" = x""yes; then :
66389   cat >>confdefs.h <<_ACEOF
66390 #define HAVE_ISINFF 1
66391 _ACEOF
66392
66393 fi
66394 done
66395
66396   else
66397
66398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66399 $as_echo_n "checking for _isinff declaration... " >&6; }
66400   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66401     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66402   $as_echo_n "(cached) " >&6
66403 else
66404
66405
66406       ac_ext=cpp
66407 ac_cpp='$CXXCPP $CPPFLAGS'
66408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66411
66412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66413 /* end confdefs.h.  */
66414 #include <math.h>
66415                       #ifdef HAVE_IEEEFP_H
66416                       #include <ieeefp.h>
66417                       #endif
66418
66419 int
66420 main ()
66421 {
66422  _isinff(0);
66423   ;
66424   return 0;
66425 }
66426 _ACEOF
66427 if ac_fn_cxx_try_compile "$LINENO"; then :
66428   glibcxx_cv_func__isinff_use=yes
66429 else
66430   glibcxx_cv_func__isinff_use=no
66431 fi
66432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66433       ac_ext=c
66434 ac_cpp='$CPP $CPPFLAGS'
66435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66438
66439
66440 fi
66441
66442   fi
66443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66444 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66445
66446     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66447       for ac_func in _isinff
66448 do :
66449   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66450 if test "x$ac_cv_func__isinff" = x""yes; then :
66451   cat >>confdefs.h <<_ACEOF
66452 #define HAVE__ISINFF 1
66453 _ACEOF
66454
66455 fi
66456 done
66457
66458     fi
66459   fi
66460
66461
66462
66463
66464
66465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66466 $as_echo_n "checking for atan2f declaration... " >&6; }
66467   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66468     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66469   $as_echo_n "(cached) " >&6
66470 else
66471
66472
66473       ac_ext=cpp
66474 ac_cpp='$CXXCPP $CPPFLAGS'
66475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66478
66479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66480 /* end confdefs.h.  */
66481 #include <math.h>
66482 int
66483 main ()
66484 {
66485  atan2f(0, 0);
66486   ;
66487   return 0;
66488 }
66489 _ACEOF
66490 if ac_fn_cxx_try_compile "$LINENO"; then :
66491   glibcxx_cv_func_atan2f_use=yes
66492 else
66493   glibcxx_cv_func_atan2f_use=no
66494 fi
66495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66496       ac_ext=c
66497 ac_cpp='$CPP $CPPFLAGS'
66498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66501
66502
66503 fi
66504
66505   fi
66506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66507 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66508
66509   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66510     for ac_func in atan2f
66511 do :
66512   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66513 if test "x$ac_cv_func_atan2f" = x""yes; then :
66514   cat >>confdefs.h <<_ACEOF
66515 #define HAVE_ATAN2F 1
66516 _ACEOF
66517
66518 fi
66519 done
66520
66521   else
66522
66523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66524 $as_echo_n "checking for _atan2f declaration... " >&6; }
66525   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66526     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66527   $as_echo_n "(cached) " >&6
66528 else
66529
66530
66531       ac_ext=cpp
66532 ac_cpp='$CXXCPP $CPPFLAGS'
66533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66536
66537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66538 /* end confdefs.h.  */
66539 #include <math.h>
66540 int
66541 main ()
66542 {
66543  _atan2f(0, 0);
66544   ;
66545   return 0;
66546 }
66547 _ACEOF
66548 if ac_fn_cxx_try_compile "$LINENO"; then :
66549   glibcxx_cv_func__atan2f_use=yes
66550 else
66551   glibcxx_cv_func__atan2f_use=no
66552 fi
66553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66554       ac_ext=c
66555 ac_cpp='$CPP $CPPFLAGS'
66556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66559
66560
66561 fi
66562
66563   fi
66564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66565 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66566
66567     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66568       for ac_func in _atan2f
66569 do :
66570   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66571 if test "x$ac_cv_func__atan2f" = x""yes; then :
66572   cat >>confdefs.h <<_ACEOF
66573 #define HAVE__ATAN2F 1
66574 _ACEOF
66575
66576 fi
66577 done
66578
66579     fi
66580   fi
66581
66582
66583
66584
66585
66586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66587 $as_echo_n "checking for fabsf declaration... " >&6; }
66588   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66589     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66590   $as_echo_n "(cached) " >&6
66591 else
66592
66593
66594       ac_ext=cpp
66595 ac_cpp='$CXXCPP $CPPFLAGS'
66596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66599
66600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66601 /* end confdefs.h.  */
66602 #include <math.h>
66603                       #ifdef HAVE_IEEEFP_H
66604                       #include <ieeefp.h>
66605                       #endif
66606
66607 int
66608 main ()
66609 {
66610  fabsf(0);
66611   ;
66612   return 0;
66613 }
66614 _ACEOF
66615 if ac_fn_cxx_try_compile "$LINENO"; then :
66616   glibcxx_cv_func_fabsf_use=yes
66617 else
66618   glibcxx_cv_func_fabsf_use=no
66619 fi
66620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66621       ac_ext=c
66622 ac_cpp='$CPP $CPPFLAGS'
66623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66626
66627
66628 fi
66629
66630   fi
66631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66632 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66633
66634   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66635     for ac_func in fabsf
66636 do :
66637   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66638 if test "x$ac_cv_func_fabsf" = x""yes; then :
66639   cat >>confdefs.h <<_ACEOF
66640 #define HAVE_FABSF 1
66641 _ACEOF
66642
66643 fi
66644 done
66645
66646   else
66647
66648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66649 $as_echo_n "checking for _fabsf declaration... " >&6; }
66650   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66651     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66652   $as_echo_n "(cached) " >&6
66653 else
66654
66655
66656       ac_ext=cpp
66657 ac_cpp='$CXXCPP $CPPFLAGS'
66658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66661
66662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66663 /* end confdefs.h.  */
66664 #include <math.h>
66665                       #ifdef HAVE_IEEEFP_H
66666                       #include <ieeefp.h>
66667                       #endif
66668
66669 int
66670 main ()
66671 {
66672  _fabsf(0);
66673   ;
66674   return 0;
66675 }
66676 _ACEOF
66677 if ac_fn_cxx_try_compile "$LINENO"; then :
66678   glibcxx_cv_func__fabsf_use=yes
66679 else
66680   glibcxx_cv_func__fabsf_use=no
66681 fi
66682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66683       ac_ext=c
66684 ac_cpp='$CPP $CPPFLAGS'
66685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66688
66689
66690 fi
66691
66692   fi
66693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66694 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66695
66696     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66697       for ac_func in _fabsf
66698 do :
66699   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66700 if test "x$ac_cv_func__fabsf" = x""yes; then :
66701   cat >>confdefs.h <<_ACEOF
66702 #define HAVE__FABSF 1
66703 _ACEOF
66704
66705 fi
66706 done
66707
66708     fi
66709   fi
66710
66711
66712
66713
66714
66715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66716 $as_echo_n "checking for fmodf declaration... " >&6; }
66717   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66718     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66719   $as_echo_n "(cached) " >&6
66720 else
66721
66722
66723       ac_ext=cpp
66724 ac_cpp='$CXXCPP $CPPFLAGS'
66725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66728
66729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66730 /* end confdefs.h.  */
66731 #include <math.h>
66732 int
66733 main ()
66734 {
66735  fmodf(0, 0);
66736   ;
66737   return 0;
66738 }
66739 _ACEOF
66740 if ac_fn_cxx_try_compile "$LINENO"; then :
66741   glibcxx_cv_func_fmodf_use=yes
66742 else
66743   glibcxx_cv_func_fmodf_use=no
66744 fi
66745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66746       ac_ext=c
66747 ac_cpp='$CPP $CPPFLAGS'
66748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66751
66752
66753 fi
66754
66755   fi
66756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66757 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66758
66759   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66760     for ac_func in fmodf
66761 do :
66762   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66763 if test "x$ac_cv_func_fmodf" = x""yes; then :
66764   cat >>confdefs.h <<_ACEOF
66765 #define HAVE_FMODF 1
66766 _ACEOF
66767
66768 fi
66769 done
66770
66771   else
66772
66773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66774 $as_echo_n "checking for _fmodf declaration... " >&6; }
66775   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66776     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66777   $as_echo_n "(cached) " >&6
66778 else
66779
66780
66781       ac_ext=cpp
66782 ac_cpp='$CXXCPP $CPPFLAGS'
66783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66786
66787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66788 /* end confdefs.h.  */
66789 #include <math.h>
66790 int
66791 main ()
66792 {
66793  _fmodf(0, 0);
66794   ;
66795   return 0;
66796 }
66797 _ACEOF
66798 if ac_fn_cxx_try_compile "$LINENO"; then :
66799   glibcxx_cv_func__fmodf_use=yes
66800 else
66801   glibcxx_cv_func__fmodf_use=no
66802 fi
66803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66804       ac_ext=c
66805 ac_cpp='$CPP $CPPFLAGS'
66806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66809
66810
66811 fi
66812
66813   fi
66814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66815 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66816
66817     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66818       for ac_func in _fmodf
66819 do :
66820   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66821 if test "x$ac_cv_func__fmodf" = x""yes; then :
66822   cat >>confdefs.h <<_ACEOF
66823 #define HAVE__FMODF 1
66824 _ACEOF
66825
66826 fi
66827 done
66828
66829     fi
66830   fi
66831
66832
66833
66834
66835
66836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66837 $as_echo_n "checking for frexpf declaration... " >&6; }
66838   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66839     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66840   $as_echo_n "(cached) " >&6
66841 else
66842
66843
66844       ac_ext=cpp
66845 ac_cpp='$CXXCPP $CPPFLAGS'
66846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66849
66850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66851 /* end confdefs.h.  */
66852 #include <math.h>
66853 int
66854 main ()
66855 {
66856  frexpf(0, 0);
66857   ;
66858   return 0;
66859 }
66860 _ACEOF
66861 if ac_fn_cxx_try_compile "$LINENO"; then :
66862   glibcxx_cv_func_frexpf_use=yes
66863 else
66864   glibcxx_cv_func_frexpf_use=no
66865 fi
66866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66867       ac_ext=c
66868 ac_cpp='$CPP $CPPFLAGS'
66869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66872
66873
66874 fi
66875
66876   fi
66877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66878 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66879
66880   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66881     for ac_func in frexpf
66882 do :
66883   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66884 if test "x$ac_cv_func_frexpf" = x""yes; then :
66885   cat >>confdefs.h <<_ACEOF
66886 #define HAVE_FREXPF 1
66887 _ACEOF
66888
66889 fi
66890 done
66891
66892   else
66893
66894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66895 $as_echo_n "checking for _frexpf declaration... " >&6; }
66896   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66897     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
66898   $as_echo_n "(cached) " >&6
66899 else
66900
66901
66902       ac_ext=cpp
66903 ac_cpp='$CXXCPP $CPPFLAGS'
66904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66907
66908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66909 /* end confdefs.h.  */
66910 #include <math.h>
66911 int
66912 main ()
66913 {
66914  _frexpf(0, 0);
66915   ;
66916   return 0;
66917 }
66918 _ACEOF
66919 if ac_fn_cxx_try_compile "$LINENO"; then :
66920   glibcxx_cv_func__frexpf_use=yes
66921 else
66922   glibcxx_cv_func__frexpf_use=no
66923 fi
66924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66925       ac_ext=c
66926 ac_cpp='$CPP $CPPFLAGS'
66927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66930
66931
66932 fi
66933
66934   fi
66935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66936 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66937
66938     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66939       for ac_func in _frexpf
66940 do :
66941   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66942 if test "x$ac_cv_func__frexpf" = x""yes; then :
66943   cat >>confdefs.h <<_ACEOF
66944 #define HAVE__FREXPF 1
66945 _ACEOF
66946
66947 fi
66948 done
66949
66950     fi
66951   fi
66952
66953
66954
66955
66956
66957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
66958 $as_echo_n "checking for hypotf declaration... " >&6; }
66959   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66960     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66961   $as_echo_n "(cached) " >&6
66962 else
66963
66964
66965       ac_ext=cpp
66966 ac_cpp='$CXXCPP $CPPFLAGS'
66967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66970
66971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66972 /* end confdefs.h.  */
66973 #include <math.h>
66974 int
66975 main ()
66976 {
66977  hypotf(0, 0);
66978   ;
66979   return 0;
66980 }
66981 _ACEOF
66982 if ac_fn_cxx_try_compile "$LINENO"; then :
66983   glibcxx_cv_func_hypotf_use=yes
66984 else
66985   glibcxx_cv_func_hypotf_use=no
66986 fi
66987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66988       ac_ext=c
66989 ac_cpp='$CPP $CPPFLAGS'
66990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66993
66994
66995 fi
66996
66997   fi
66998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66999 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67000
67001   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67002     for ac_func in hypotf
67003 do :
67004   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67005 if test "x$ac_cv_func_hypotf" = x""yes; then :
67006   cat >>confdefs.h <<_ACEOF
67007 #define HAVE_HYPOTF 1
67008 _ACEOF
67009
67010 fi
67011 done
67012
67013   else
67014
67015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67016 $as_echo_n "checking for _hypotf declaration... " >&6; }
67017   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67018     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67019   $as_echo_n "(cached) " >&6
67020 else
67021
67022
67023       ac_ext=cpp
67024 ac_cpp='$CXXCPP $CPPFLAGS'
67025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67028
67029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67030 /* end confdefs.h.  */
67031 #include <math.h>
67032 int
67033 main ()
67034 {
67035  _hypotf(0, 0);
67036   ;
67037   return 0;
67038 }
67039 _ACEOF
67040 if ac_fn_cxx_try_compile "$LINENO"; then :
67041   glibcxx_cv_func__hypotf_use=yes
67042 else
67043   glibcxx_cv_func__hypotf_use=no
67044 fi
67045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67046       ac_ext=c
67047 ac_cpp='$CPP $CPPFLAGS'
67048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67051
67052
67053 fi
67054
67055   fi
67056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67057 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67058
67059     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67060       for ac_func in _hypotf
67061 do :
67062   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67063 if test "x$ac_cv_func__hypotf" = x""yes; then :
67064   cat >>confdefs.h <<_ACEOF
67065 #define HAVE__HYPOTF 1
67066 _ACEOF
67067
67068 fi
67069 done
67070
67071     fi
67072   fi
67073
67074
67075
67076
67077
67078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67079 $as_echo_n "checking for ldexpf declaration... " >&6; }
67080   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67081     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67082   $as_echo_n "(cached) " >&6
67083 else
67084
67085
67086       ac_ext=cpp
67087 ac_cpp='$CXXCPP $CPPFLAGS'
67088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67091
67092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67093 /* end confdefs.h.  */
67094 #include <math.h>
67095 int
67096 main ()
67097 {
67098  ldexpf(0, 0);
67099   ;
67100   return 0;
67101 }
67102 _ACEOF
67103 if ac_fn_cxx_try_compile "$LINENO"; then :
67104   glibcxx_cv_func_ldexpf_use=yes
67105 else
67106   glibcxx_cv_func_ldexpf_use=no
67107 fi
67108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67109       ac_ext=c
67110 ac_cpp='$CPP $CPPFLAGS'
67111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67114
67115
67116 fi
67117
67118   fi
67119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67120 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67121
67122   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67123     for ac_func in ldexpf
67124 do :
67125   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67126 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67127   cat >>confdefs.h <<_ACEOF
67128 #define HAVE_LDEXPF 1
67129 _ACEOF
67130
67131 fi
67132 done
67133
67134   else
67135
67136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67137 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67138   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67139     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67140   $as_echo_n "(cached) " >&6
67141 else
67142
67143
67144       ac_ext=cpp
67145 ac_cpp='$CXXCPP $CPPFLAGS'
67146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67149
67150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67151 /* end confdefs.h.  */
67152 #include <math.h>
67153 int
67154 main ()
67155 {
67156  _ldexpf(0, 0);
67157   ;
67158   return 0;
67159 }
67160 _ACEOF
67161 if ac_fn_cxx_try_compile "$LINENO"; then :
67162   glibcxx_cv_func__ldexpf_use=yes
67163 else
67164   glibcxx_cv_func__ldexpf_use=no
67165 fi
67166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67167       ac_ext=c
67168 ac_cpp='$CPP $CPPFLAGS'
67169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67172
67173
67174 fi
67175
67176   fi
67177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67178 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67179
67180     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67181       for ac_func in _ldexpf
67182 do :
67183   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67184 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67185   cat >>confdefs.h <<_ACEOF
67186 #define HAVE__LDEXPF 1
67187 _ACEOF
67188
67189 fi
67190 done
67191
67192     fi
67193   fi
67194
67195
67196
67197
67198
67199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67200 $as_echo_n "checking for logf declaration... " >&6; }
67201   if test x${glibcxx_cv_func_logf_use+set} != xset; then
67202     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67203   $as_echo_n "(cached) " >&6
67204 else
67205
67206
67207       ac_ext=cpp
67208 ac_cpp='$CXXCPP $CPPFLAGS'
67209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67212
67213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67214 /* end confdefs.h.  */
67215 #include <math.h>
67216                       #ifdef HAVE_IEEEFP_H
67217                       #include <ieeefp.h>
67218                       #endif
67219
67220 int
67221 main ()
67222 {
67223  logf(0);
67224   ;
67225   return 0;
67226 }
67227 _ACEOF
67228 if ac_fn_cxx_try_compile "$LINENO"; then :
67229   glibcxx_cv_func_logf_use=yes
67230 else
67231   glibcxx_cv_func_logf_use=no
67232 fi
67233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67234       ac_ext=c
67235 ac_cpp='$CPP $CPPFLAGS'
67236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67239
67240
67241 fi
67242
67243   fi
67244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67245 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67246
67247   if test x$glibcxx_cv_func_logf_use = x"yes"; then
67248     for ac_func in logf
67249 do :
67250   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67251 if test "x$ac_cv_func_logf" = x""yes; then :
67252   cat >>confdefs.h <<_ACEOF
67253 #define HAVE_LOGF 1
67254 _ACEOF
67255
67256 fi
67257 done
67258
67259   else
67260
67261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67262 $as_echo_n "checking for _logf declaration... " >&6; }
67263   if test x${glibcxx_cv_func__logf_use+set} != xset; then
67264     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67265   $as_echo_n "(cached) " >&6
67266 else
67267
67268
67269       ac_ext=cpp
67270 ac_cpp='$CXXCPP $CPPFLAGS'
67271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67274
67275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67276 /* end confdefs.h.  */
67277 #include <math.h>
67278                       #ifdef HAVE_IEEEFP_H
67279                       #include <ieeefp.h>
67280                       #endif
67281
67282 int
67283 main ()
67284 {
67285  _logf(0);
67286   ;
67287   return 0;
67288 }
67289 _ACEOF
67290 if ac_fn_cxx_try_compile "$LINENO"; then :
67291   glibcxx_cv_func__logf_use=yes
67292 else
67293   glibcxx_cv_func__logf_use=no
67294 fi
67295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67296       ac_ext=c
67297 ac_cpp='$CPP $CPPFLAGS'
67298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67301
67302
67303 fi
67304
67305   fi
67306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67307 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67308
67309     if test x$glibcxx_cv_func__logf_use = x"yes"; then
67310       for ac_func in _logf
67311 do :
67312   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67313 if test "x$ac_cv_func__logf" = x""yes; then :
67314   cat >>confdefs.h <<_ACEOF
67315 #define HAVE__LOGF 1
67316 _ACEOF
67317
67318 fi
67319 done
67320
67321     fi
67322   fi
67323
67324
67325
67326
67327
67328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67329 $as_echo_n "checking for log10f declaration... " >&6; }
67330   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67331     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67332   $as_echo_n "(cached) " >&6
67333 else
67334
67335
67336       ac_ext=cpp
67337 ac_cpp='$CXXCPP $CPPFLAGS'
67338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67341
67342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67343 /* end confdefs.h.  */
67344 #include <math.h>
67345                       #ifdef HAVE_IEEEFP_H
67346                       #include <ieeefp.h>
67347                       #endif
67348
67349 int
67350 main ()
67351 {
67352  log10f(0);
67353   ;
67354   return 0;
67355 }
67356 _ACEOF
67357 if ac_fn_cxx_try_compile "$LINENO"; then :
67358   glibcxx_cv_func_log10f_use=yes
67359 else
67360   glibcxx_cv_func_log10f_use=no
67361 fi
67362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67363       ac_ext=c
67364 ac_cpp='$CPP $CPPFLAGS'
67365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67368
67369
67370 fi
67371
67372   fi
67373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67374 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67375
67376   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67377     for ac_func in log10f
67378 do :
67379   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67380 if test "x$ac_cv_func_log10f" = x""yes; then :
67381   cat >>confdefs.h <<_ACEOF
67382 #define HAVE_LOG10F 1
67383 _ACEOF
67384
67385 fi
67386 done
67387
67388   else
67389
67390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67391 $as_echo_n "checking for _log10f declaration... " >&6; }
67392   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67393     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67394   $as_echo_n "(cached) " >&6
67395 else
67396
67397
67398       ac_ext=cpp
67399 ac_cpp='$CXXCPP $CPPFLAGS'
67400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67403
67404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67405 /* end confdefs.h.  */
67406 #include <math.h>
67407                       #ifdef HAVE_IEEEFP_H
67408                       #include <ieeefp.h>
67409                       #endif
67410
67411 int
67412 main ()
67413 {
67414  _log10f(0);
67415   ;
67416   return 0;
67417 }
67418 _ACEOF
67419 if ac_fn_cxx_try_compile "$LINENO"; then :
67420   glibcxx_cv_func__log10f_use=yes
67421 else
67422   glibcxx_cv_func__log10f_use=no
67423 fi
67424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67425       ac_ext=c
67426 ac_cpp='$CPP $CPPFLAGS'
67427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67430
67431
67432 fi
67433
67434   fi
67435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67436 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67437
67438     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67439       for ac_func in _log10f
67440 do :
67441   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67442 if test "x$ac_cv_func__log10f" = x""yes; then :
67443   cat >>confdefs.h <<_ACEOF
67444 #define HAVE__LOG10F 1
67445 _ACEOF
67446
67447 fi
67448 done
67449
67450     fi
67451   fi
67452
67453
67454
67455
67456
67457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67458 $as_echo_n "checking for modff declaration... " >&6; }
67459   if test x${glibcxx_cv_func_modff_use+set} != xset; then
67460     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67461   $as_echo_n "(cached) " >&6
67462 else
67463
67464
67465       ac_ext=cpp
67466 ac_cpp='$CXXCPP $CPPFLAGS'
67467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67470
67471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67472 /* end confdefs.h.  */
67473 #include <math.h>
67474 int
67475 main ()
67476 {
67477  modff(0, 0);
67478   ;
67479   return 0;
67480 }
67481 _ACEOF
67482 if ac_fn_cxx_try_compile "$LINENO"; then :
67483   glibcxx_cv_func_modff_use=yes
67484 else
67485   glibcxx_cv_func_modff_use=no
67486 fi
67487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67488       ac_ext=c
67489 ac_cpp='$CPP $CPPFLAGS'
67490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67493
67494
67495 fi
67496
67497   fi
67498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67499 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67500
67501   if test x$glibcxx_cv_func_modff_use = x"yes"; then
67502     for ac_func in modff
67503 do :
67504   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67505 if test "x$ac_cv_func_modff" = x""yes; then :
67506   cat >>confdefs.h <<_ACEOF
67507 #define HAVE_MODFF 1
67508 _ACEOF
67509
67510 fi
67511 done
67512
67513   else
67514
67515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67516 $as_echo_n "checking for _modff declaration... " >&6; }
67517   if test x${glibcxx_cv_func__modff_use+set} != xset; then
67518     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67519   $as_echo_n "(cached) " >&6
67520 else
67521
67522
67523       ac_ext=cpp
67524 ac_cpp='$CXXCPP $CPPFLAGS'
67525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67528
67529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67530 /* end confdefs.h.  */
67531 #include <math.h>
67532 int
67533 main ()
67534 {
67535  _modff(0, 0);
67536   ;
67537   return 0;
67538 }
67539 _ACEOF
67540 if ac_fn_cxx_try_compile "$LINENO"; then :
67541   glibcxx_cv_func__modff_use=yes
67542 else
67543   glibcxx_cv_func__modff_use=no
67544 fi
67545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67546       ac_ext=c
67547 ac_cpp='$CPP $CPPFLAGS'
67548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67551
67552
67553 fi
67554
67555   fi
67556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67557 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67558
67559     if test x$glibcxx_cv_func__modff_use = x"yes"; then
67560       for ac_func in _modff
67561 do :
67562   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67563 if test "x$ac_cv_func__modff" = x""yes; then :
67564   cat >>confdefs.h <<_ACEOF
67565 #define HAVE__MODFF 1
67566 _ACEOF
67567
67568 fi
67569 done
67570
67571     fi
67572   fi
67573
67574
67575
67576
67577
67578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67579 $as_echo_n "checking for modf declaration... " >&6; }
67580   if test x${glibcxx_cv_func_modf_use+set} != xset; then
67581     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67582   $as_echo_n "(cached) " >&6
67583 else
67584
67585
67586       ac_ext=cpp
67587 ac_cpp='$CXXCPP $CPPFLAGS'
67588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67591
67592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67593 /* end confdefs.h.  */
67594 #include <math.h>
67595 int
67596 main ()
67597 {
67598  modf(0, 0);
67599   ;
67600   return 0;
67601 }
67602 _ACEOF
67603 if ac_fn_cxx_try_compile "$LINENO"; then :
67604   glibcxx_cv_func_modf_use=yes
67605 else
67606   glibcxx_cv_func_modf_use=no
67607 fi
67608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67609       ac_ext=c
67610 ac_cpp='$CPP $CPPFLAGS'
67611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67614
67615
67616 fi
67617
67618   fi
67619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67620 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67621
67622   if test x$glibcxx_cv_func_modf_use = x"yes"; then
67623     for ac_func in modf
67624 do :
67625   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67626 if test "x$ac_cv_func_modf" = x""yes; then :
67627   cat >>confdefs.h <<_ACEOF
67628 #define HAVE_MODF 1
67629 _ACEOF
67630
67631 fi
67632 done
67633
67634   else
67635
67636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67637 $as_echo_n "checking for _modf declaration... " >&6; }
67638   if test x${glibcxx_cv_func__modf_use+set} != xset; then
67639     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67640   $as_echo_n "(cached) " >&6
67641 else
67642
67643
67644       ac_ext=cpp
67645 ac_cpp='$CXXCPP $CPPFLAGS'
67646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67649
67650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67651 /* end confdefs.h.  */
67652 #include <math.h>
67653 int
67654 main ()
67655 {
67656  _modf(0, 0);
67657   ;
67658   return 0;
67659 }
67660 _ACEOF
67661 if ac_fn_cxx_try_compile "$LINENO"; then :
67662   glibcxx_cv_func__modf_use=yes
67663 else
67664   glibcxx_cv_func__modf_use=no
67665 fi
67666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67667       ac_ext=c
67668 ac_cpp='$CPP $CPPFLAGS'
67669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67672
67673
67674 fi
67675
67676   fi
67677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67678 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67679
67680     if test x$glibcxx_cv_func__modf_use = x"yes"; then
67681       for ac_func in _modf
67682 do :
67683   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67684 if test "x$ac_cv_func__modf" = x""yes; then :
67685   cat >>confdefs.h <<_ACEOF
67686 #define HAVE__MODF 1
67687 _ACEOF
67688
67689 fi
67690 done
67691
67692     fi
67693   fi
67694
67695
67696
67697
67698
67699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67700 $as_echo_n "checking for powf declaration... " >&6; }
67701   if test x${glibcxx_cv_func_powf_use+set} != xset; then
67702     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67703   $as_echo_n "(cached) " >&6
67704 else
67705
67706
67707       ac_ext=cpp
67708 ac_cpp='$CXXCPP $CPPFLAGS'
67709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67712
67713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67714 /* end confdefs.h.  */
67715 #include <math.h>
67716 int
67717 main ()
67718 {
67719  powf(0, 0);
67720   ;
67721   return 0;
67722 }
67723 _ACEOF
67724 if ac_fn_cxx_try_compile "$LINENO"; then :
67725   glibcxx_cv_func_powf_use=yes
67726 else
67727   glibcxx_cv_func_powf_use=no
67728 fi
67729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67730       ac_ext=c
67731 ac_cpp='$CPP $CPPFLAGS'
67732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67735
67736
67737 fi
67738
67739   fi
67740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67741 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67742
67743   if test x$glibcxx_cv_func_powf_use = x"yes"; then
67744     for ac_func in powf
67745 do :
67746   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67747 if test "x$ac_cv_func_powf" = x""yes; then :
67748   cat >>confdefs.h <<_ACEOF
67749 #define HAVE_POWF 1
67750 _ACEOF
67751
67752 fi
67753 done
67754
67755   else
67756
67757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67758 $as_echo_n "checking for _powf declaration... " >&6; }
67759   if test x${glibcxx_cv_func__powf_use+set} != xset; then
67760     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67761   $as_echo_n "(cached) " >&6
67762 else
67763
67764
67765       ac_ext=cpp
67766 ac_cpp='$CXXCPP $CPPFLAGS'
67767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67770
67771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67772 /* end confdefs.h.  */
67773 #include <math.h>
67774 int
67775 main ()
67776 {
67777  _powf(0, 0);
67778   ;
67779   return 0;
67780 }
67781 _ACEOF
67782 if ac_fn_cxx_try_compile "$LINENO"; then :
67783   glibcxx_cv_func__powf_use=yes
67784 else
67785   glibcxx_cv_func__powf_use=no
67786 fi
67787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67788       ac_ext=c
67789 ac_cpp='$CPP $CPPFLAGS'
67790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67793
67794
67795 fi
67796
67797   fi
67798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67799 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67800
67801     if test x$glibcxx_cv_func__powf_use = x"yes"; then
67802       for ac_func in _powf
67803 do :
67804   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67805 if test "x$ac_cv_func__powf" = x""yes; then :
67806   cat >>confdefs.h <<_ACEOF
67807 #define HAVE__POWF 1
67808 _ACEOF
67809
67810 fi
67811 done
67812
67813     fi
67814   fi
67815
67816
67817
67818
67819
67820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67821 $as_echo_n "checking for sqrtf declaration... " >&6; }
67822   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67823     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67824   $as_echo_n "(cached) " >&6
67825 else
67826
67827
67828       ac_ext=cpp
67829 ac_cpp='$CXXCPP $CPPFLAGS'
67830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67833
67834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67835 /* end confdefs.h.  */
67836 #include <math.h>
67837                       #ifdef HAVE_IEEEFP_H
67838                       #include <ieeefp.h>
67839                       #endif
67840
67841 int
67842 main ()
67843 {
67844  sqrtf(0);
67845   ;
67846   return 0;
67847 }
67848 _ACEOF
67849 if ac_fn_cxx_try_compile "$LINENO"; then :
67850   glibcxx_cv_func_sqrtf_use=yes
67851 else
67852   glibcxx_cv_func_sqrtf_use=no
67853 fi
67854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67855       ac_ext=c
67856 ac_cpp='$CPP $CPPFLAGS'
67857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67860
67861
67862 fi
67863
67864   fi
67865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67866 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67867
67868   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67869     for ac_func in sqrtf
67870 do :
67871   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67872 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67873   cat >>confdefs.h <<_ACEOF
67874 #define HAVE_SQRTF 1
67875 _ACEOF
67876
67877 fi
67878 done
67879
67880   else
67881
67882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67883 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67884   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67885     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67886   $as_echo_n "(cached) " >&6
67887 else
67888
67889
67890       ac_ext=cpp
67891 ac_cpp='$CXXCPP $CPPFLAGS'
67892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67895
67896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67897 /* end confdefs.h.  */
67898 #include <math.h>
67899                       #ifdef HAVE_IEEEFP_H
67900                       #include <ieeefp.h>
67901                       #endif
67902
67903 int
67904 main ()
67905 {
67906  _sqrtf(0);
67907   ;
67908   return 0;
67909 }
67910 _ACEOF
67911 if ac_fn_cxx_try_compile "$LINENO"; then :
67912   glibcxx_cv_func__sqrtf_use=yes
67913 else
67914   glibcxx_cv_func__sqrtf_use=no
67915 fi
67916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67917       ac_ext=c
67918 ac_cpp='$CPP $CPPFLAGS'
67919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67922
67923
67924 fi
67925
67926   fi
67927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67928 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67929
67930     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67931       for ac_func in _sqrtf
67932 do :
67933   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67934 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67935   cat >>confdefs.h <<_ACEOF
67936 #define HAVE__SQRTF 1
67937 _ACEOF
67938
67939 fi
67940 done
67941
67942     fi
67943   fi
67944
67945
67946
67947
67948
67949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67950 $as_echo_n "checking for sincosf declaration... " >&6; }
67951   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67952     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67953   $as_echo_n "(cached) " >&6
67954 else
67955
67956
67957       ac_ext=cpp
67958 ac_cpp='$CXXCPP $CPPFLAGS'
67959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67962
67963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67964 /* end confdefs.h.  */
67965 #include <math.h>
67966 int
67967 main ()
67968 {
67969  sincosf(0, 0, 0);
67970   ;
67971   return 0;
67972 }
67973 _ACEOF
67974 if ac_fn_cxx_try_compile "$LINENO"; then :
67975   glibcxx_cv_func_sincosf_use=yes
67976 else
67977   glibcxx_cv_func_sincosf_use=no
67978 fi
67979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67980       ac_ext=c
67981 ac_cpp='$CPP $CPPFLAGS'
67982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67985
67986
67987 fi
67988
67989   fi
67990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67991 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67992
67993   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67994     for ac_func in sincosf
67995 do :
67996   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67997 if test "x$ac_cv_func_sincosf" = x""yes; then :
67998   cat >>confdefs.h <<_ACEOF
67999 #define HAVE_SINCOSF 1
68000 _ACEOF
68001
68002 fi
68003 done
68004
68005   else
68006
68007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68008 $as_echo_n "checking for _sincosf declaration... " >&6; }
68009   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68010     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68011   $as_echo_n "(cached) " >&6
68012 else
68013
68014
68015       ac_ext=cpp
68016 ac_cpp='$CXXCPP $CPPFLAGS'
68017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68020
68021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68022 /* end confdefs.h.  */
68023 #include <math.h>
68024 int
68025 main ()
68026 {
68027  _sincosf(0, 0, 0);
68028   ;
68029   return 0;
68030 }
68031 _ACEOF
68032 if ac_fn_cxx_try_compile "$LINENO"; then :
68033   glibcxx_cv_func__sincosf_use=yes
68034 else
68035   glibcxx_cv_func__sincosf_use=no
68036 fi
68037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68038       ac_ext=c
68039 ac_cpp='$CPP $CPPFLAGS'
68040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68043
68044
68045 fi
68046
68047   fi
68048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68049 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68050
68051     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68052       for ac_func in _sincosf
68053 do :
68054   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68055 if test "x$ac_cv_func__sincosf" = x""yes; then :
68056   cat >>confdefs.h <<_ACEOF
68057 #define HAVE__SINCOSF 1
68058 _ACEOF
68059
68060 fi
68061 done
68062
68063     fi
68064   fi
68065
68066
68067
68068
68069
68070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68071 $as_echo_n "checking for finitef declaration... " >&6; }
68072   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68073     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68074   $as_echo_n "(cached) " >&6
68075 else
68076
68077
68078       ac_ext=cpp
68079 ac_cpp='$CXXCPP $CPPFLAGS'
68080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68083
68084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68085 /* end confdefs.h.  */
68086 #include <math.h>
68087                       #ifdef HAVE_IEEEFP_H
68088                       #include <ieeefp.h>
68089                       #endif
68090
68091 int
68092 main ()
68093 {
68094  finitef(0);
68095   ;
68096   return 0;
68097 }
68098 _ACEOF
68099 if ac_fn_cxx_try_compile "$LINENO"; then :
68100   glibcxx_cv_func_finitef_use=yes
68101 else
68102   glibcxx_cv_func_finitef_use=no
68103 fi
68104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68105       ac_ext=c
68106 ac_cpp='$CPP $CPPFLAGS'
68107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68110
68111
68112 fi
68113
68114   fi
68115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68116 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68117
68118   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68119     for ac_func in finitef
68120 do :
68121   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68122 if test "x$ac_cv_func_finitef" = x""yes; then :
68123   cat >>confdefs.h <<_ACEOF
68124 #define HAVE_FINITEF 1
68125 _ACEOF
68126
68127 fi
68128 done
68129
68130   else
68131
68132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68133 $as_echo_n "checking for _finitef declaration... " >&6; }
68134   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68135     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68136   $as_echo_n "(cached) " >&6
68137 else
68138
68139
68140       ac_ext=cpp
68141 ac_cpp='$CXXCPP $CPPFLAGS'
68142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68145
68146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68147 /* end confdefs.h.  */
68148 #include <math.h>
68149                       #ifdef HAVE_IEEEFP_H
68150                       #include <ieeefp.h>
68151                       #endif
68152
68153 int
68154 main ()
68155 {
68156  _finitef(0);
68157   ;
68158   return 0;
68159 }
68160 _ACEOF
68161 if ac_fn_cxx_try_compile "$LINENO"; then :
68162   glibcxx_cv_func__finitef_use=yes
68163 else
68164   glibcxx_cv_func__finitef_use=no
68165 fi
68166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68167       ac_ext=c
68168 ac_cpp='$CPP $CPPFLAGS'
68169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68172
68173
68174 fi
68175
68176   fi
68177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68178 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68179
68180     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68181       for ac_func in _finitef
68182 do :
68183   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68184 if test "x$ac_cv_func__finitef" = x""yes; then :
68185   cat >>confdefs.h <<_ACEOF
68186 #define HAVE__FINITEF 1
68187 _ACEOF
68188
68189 fi
68190 done
68191
68192     fi
68193   fi
68194
68195
68196
68197
68198
68199     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68200 $as_echo_n "checking for long double trig functions... " >&6; }
68201   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68202   $as_echo_n "(cached) " >&6
68203 else
68204
68205
68206     ac_ext=cpp
68207 ac_cpp='$CXXCPP $CPPFLAGS'
68208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68211
68212     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68213 /* end confdefs.h.  */
68214 #include <math.h>
68215 int
68216 main ()
68217 {
68218 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68219   ;
68220   return 0;
68221 }
68222 _ACEOF
68223 if ac_fn_cxx_try_compile "$LINENO"; then :
68224   glibcxx_cv_func_long_double_trig_use=yes
68225 else
68226   glibcxx_cv_func_long_double_trig_use=no
68227 fi
68228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68229     ac_ext=c
68230 ac_cpp='$CPP $CPPFLAGS'
68231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68234
68235 fi
68236
68237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68238 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68239   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68240     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68241 do :
68242   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68244 eval as_val=\$$as_ac_var
68245    if test "x$as_val" = x""yes; then :
68246   cat >>confdefs.h <<_ACEOF
68247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68248 _ACEOF
68249
68250 fi
68251 done
68252
68253   else
68254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68255 $as_echo_n "checking for _long double trig functions... " >&6; }
68256     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68257   $as_echo_n "(cached) " >&6
68258 else
68259
68260
68261       ac_ext=cpp
68262 ac_cpp='$CXXCPP $CPPFLAGS'
68263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68266
68267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68268 /* end confdefs.h.  */
68269 #include <math.h>
68270 int
68271 main ()
68272 {
68273 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68274   ;
68275   return 0;
68276 }
68277 _ACEOF
68278 if ac_fn_cxx_try_compile "$LINENO"; then :
68279   glibcxx_cv_func__long_double_trig_use=yes
68280 else
68281   glibcxx_cv_func__long_double_trig_use=no
68282 fi
68283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68284       ac_ext=c
68285 ac_cpp='$CPP $CPPFLAGS'
68286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68289
68290 fi
68291
68292     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68293 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68294     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68295       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68296 do :
68297   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68299 eval as_val=\$$as_ac_var
68300    if test "x$as_val" = x""yes; then :
68301   cat >>confdefs.h <<_ACEOF
68302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68303 _ACEOF
68304
68305 fi
68306 done
68307
68308     fi
68309   fi
68310
68311
68312
68313
68314
68315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68316 $as_echo_n "checking for long double round functions... " >&6; }
68317   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68318   $as_echo_n "(cached) " >&6
68319 else
68320
68321
68322     ac_ext=cpp
68323 ac_cpp='$CXXCPP $CPPFLAGS'
68324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68327
68328     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68329 /* end confdefs.h.  */
68330 #include <math.h>
68331 int
68332 main ()
68333 {
68334 ceill (0); floorl (0);
68335   ;
68336   return 0;
68337 }
68338 _ACEOF
68339 if ac_fn_cxx_try_compile "$LINENO"; then :
68340   glibcxx_cv_func_long_double_round_use=yes
68341 else
68342   glibcxx_cv_func_long_double_round_use=no
68343 fi
68344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68345     ac_ext=c
68346 ac_cpp='$CPP $CPPFLAGS'
68347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68350
68351 fi
68352
68353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68354 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68355   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68356     for ac_func in ceill floorl
68357 do :
68358   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68360 eval as_val=\$$as_ac_var
68361    if test "x$as_val" = x""yes; then :
68362   cat >>confdefs.h <<_ACEOF
68363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68364 _ACEOF
68365
68366 fi
68367 done
68368
68369   else
68370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68371 $as_echo_n "checking for _long double round functions... " >&6; }
68372     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68373   $as_echo_n "(cached) " >&6
68374 else
68375
68376
68377       ac_ext=cpp
68378 ac_cpp='$CXXCPP $CPPFLAGS'
68379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68382
68383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68384 /* end confdefs.h.  */
68385 #include <math.h>
68386 int
68387 main ()
68388 {
68389 _ceill (0); _floorl (0);
68390   ;
68391   return 0;
68392 }
68393 _ACEOF
68394 if ac_fn_cxx_try_compile "$LINENO"; then :
68395   glibcxx_cv_func__long_double_round_use=yes
68396 else
68397   glibcxx_cv_func__long_double_round_use=no
68398 fi
68399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68400       ac_ext=c
68401 ac_cpp='$CPP $CPPFLAGS'
68402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68405
68406 fi
68407
68408     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68409 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68410     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68411       for ac_func in _ceill _floorl
68412 do :
68413   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68415 eval as_val=\$$as_ac_var
68416    if test "x$as_val" = x""yes; then :
68417   cat >>confdefs.h <<_ACEOF
68418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68419 _ACEOF
68420
68421 fi
68422 done
68423
68424     fi
68425   fi
68426
68427
68428
68429
68430
68431
68432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68433 $as_echo_n "checking for isnanl declaration... " >&6; }
68434   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68435     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68436   $as_echo_n "(cached) " >&6
68437 else
68438
68439
68440       ac_ext=cpp
68441 ac_cpp='$CXXCPP $CPPFLAGS'
68442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68445
68446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68447 /* end confdefs.h.  */
68448 #include <math.h>
68449                       #ifdef HAVE_IEEEFP_H
68450                       #include <ieeefp.h>
68451                       #endif
68452
68453 int
68454 main ()
68455 {
68456  isnanl(0);
68457   ;
68458   return 0;
68459 }
68460 _ACEOF
68461 if ac_fn_cxx_try_compile "$LINENO"; then :
68462   glibcxx_cv_func_isnanl_use=yes
68463 else
68464   glibcxx_cv_func_isnanl_use=no
68465 fi
68466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68467       ac_ext=c
68468 ac_cpp='$CPP $CPPFLAGS'
68469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68472
68473
68474 fi
68475
68476   fi
68477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68478 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68479
68480   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68481     for ac_func in isnanl
68482 do :
68483   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68484 if test "x$ac_cv_func_isnanl" = x""yes; then :
68485   cat >>confdefs.h <<_ACEOF
68486 #define HAVE_ISNANL 1
68487 _ACEOF
68488
68489 fi
68490 done
68491
68492   else
68493
68494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68495 $as_echo_n "checking for _isnanl declaration... " >&6; }
68496   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68497     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68498   $as_echo_n "(cached) " >&6
68499 else
68500
68501
68502       ac_ext=cpp
68503 ac_cpp='$CXXCPP $CPPFLAGS'
68504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68507
68508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68509 /* end confdefs.h.  */
68510 #include <math.h>
68511                       #ifdef HAVE_IEEEFP_H
68512                       #include <ieeefp.h>
68513                       #endif
68514
68515 int
68516 main ()
68517 {
68518  _isnanl(0);
68519   ;
68520   return 0;
68521 }
68522 _ACEOF
68523 if ac_fn_cxx_try_compile "$LINENO"; then :
68524   glibcxx_cv_func__isnanl_use=yes
68525 else
68526   glibcxx_cv_func__isnanl_use=no
68527 fi
68528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68529       ac_ext=c
68530 ac_cpp='$CPP $CPPFLAGS'
68531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68534
68535
68536 fi
68537
68538   fi
68539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68540 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68541
68542     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68543       for ac_func in _isnanl
68544 do :
68545   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68546 if test "x$ac_cv_func__isnanl" = x""yes; then :
68547   cat >>confdefs.h <<_ACEOF
68548 #define HAVE__ISNANL 1
68549 _ACEOF
68550
68551 fi
68552 done
68553
68554     fi
68555   fi
68556
68557
68558
68559
68560
68561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68562 $as_echo_n "checking for isinfl declaration... " >&6; }
68563   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68564     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68565   $as_echo_n "(cached) " >&6
68566 else
68567
68568
68569       ac_ext=cpp
68570 ac_cpp='$CXXCPP $CPPFLAGS'
68571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68574
68575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68576 /* end confdefs.h.  */
68577 #include <math.h>
68578                       #ifdef HAVE_IEEEFP_H
68579                       #include <ieeefp.h>
68580                       #endif
68581
68582 int
68583 main ()
68584 {
68585  isinfl(0);
68586   ;
68587   return 0;
68588 }
68589 _ACEOF
68590 if ac_fn_cxx_try_compile "$LINENO"; then :
68591   glibcxx_cv_func_isinfl_use=yes
68592 else
68593   glibcxx_cv_func_isinfl_use=no
68594 fi
68595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68596       ac_ext=c
68597 ac_cpp='$CPP $CPPFLAGS'
68598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68601
68602
68603 fi
68604
68605   fi
68606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68607 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68608
68609   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68610     for ac_func in isinfl
68611 do :
68612   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68613 if test "x$ac_cv_func_isinfl" = x""yes; then :
68614   cat >>confdefs.h <<_ACEOF
68615 #define HAVE_ISINFL 1
68616 _ACEOF
68617
68618 fi
68619 done
68620
68621   else
68622
68623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68624 $as_echo_n "checking for _isinfl declaration... " >&6; }
68625   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68626     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68627   $as_echo_n "(cached) " >&6
68628 else
68629
68630
68631       ac_ext=cpp
68632 ac_cpp='$CXXCPP $CPPFLAGS'
68633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68636
68637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68638 /* end confdefs.h.  */
68639 #include <math.h>
68640                       #ifdef HAVE_IEEEFP_H
68641                       #include <ieeefp.h>
68642                       #endif
68643
68644 int
68645 main ()
68646 {
68647  _isinfl(0);
68648   ;
68649   return 0;
68650 }
68651 _ACEOF
68652 if ac_fn_cxx_try_compile "$LINENO"; then :
68653   glibcxx_cv_func__isinfl_use=yes
68654 else
68655   glibcxx_cv_func__isinfl_use=no
68656 fi
68657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68658       ac_ext=c
68659 ac_cpp='$CPP $CPPFLAGS'
68660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68663
68664
68665 fi
68666
68667   fi
68668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68669 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68670
68671     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68672       for ac_func in _isinfl
68673 do :
68674   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68675 if test "x$ac_cv_func__isinfl" = x""yes; then :
68676   cat >>confdefs.h <<_ACEOF
68677 #define HAVE__ISINFL 1
68678 _ACEOF
68679
68680 fi
68681 done
68682
68683     fi
68684   fi
68685
68686
68687
68688
68689
68690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68691 $as_echo_n "checking for atan2l declaration... " >&6; }
68692   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68693     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68694   $as_echo_n "(cached) " >&6
68695 else
68696
68697
68698       ac_ext=cpp
68699 ac_cpp='$CXXCPP $CPPFLAGS'
68700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68703
68704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68705 /* end confdefs.h.  */
68706 #include <math.h>
68707 int
68708 main ()
68709 {
68710  atan2l(0, 0);
68711   ;
68712   return 0;
68713 }
68714 _ACEOF
68715 if ac_fn_cxx_try_compile "$LINENO"; then :
68716   glibcxx_cv_func_atan2l_use=yes
68717 else
68718   glibcxx_cv_func_atan2l_use=no
68719 fi
68720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68721       ac_ext=c
68722 ac_cpp='$CPP $CPPFLAGS'
68723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68726
68727
68728 fi
68729
68730   fi
68731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68732 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68733
68734   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68735     for ac_func in atan2l
68736 do :
68737   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68738 if test "x$ac_cv_func_atan2l" = x""yes; then :
68739   cat >>confdefs.h <<_ACEOF
68740 #define HAVE_ATAN2L 1
68741 _ACEOF
68742
68743 fi
68744 done
68745
68746   else
68747
68748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68749 $as_echo_n "checking for _atan2l declaration... " >&6; }
68750   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68751     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68752   $as_echo_n "(cached) " >&6
68753 else
68754
68755
68756       ac_ext=cpp
68757 ac_cpp='$CXXCPP $CPPFLAGS'
68758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68761
68762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68763 /* end confdefs.h.  */
68764 #include <math.h>
68765 int
68766 main ()
68767 {
68768  _atan2l(0, 0);
68769   ;
68770   return 0;
68771 }
68772 _ACEOF
68773 if ac_fn_cxx_try_compile "$LINENO"; then :
68774   glibcxx_cv_func__atan2l_use=yes
68775 else
68776   glibcxx_cv_func__atan2l_use=no
68777 fi
68778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68779       ac_ext=c
68780 ac_cpp='$CPP $CPPFLAGS'
68781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68784
68785
68786 fi
68787
68788   fi
68789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68790 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68791
68792     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68793       for ac_func in _atan2l
68794 do :
68795   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68796 if test "x$ac_cv_func__atan2l" = x""yes; then :
68797   cat >>confdefs.h <<_ACEOF
68798 #define HAVE__ATAN2L 1
68799 _ACEOF
68800
68801 fi
68802 done
68803
68804     fi
68805   fi
68806
68807
68808
68809
68810
68811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68812 $as_echo_n "checking for expl declaration... " >&6; }
68813   if test x${glibcxx_cv_func_expl_use+set} != xset; then
68814     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68815   $as_echo_n "(cached) " >&6
68816 else
68817
68818
68819       ac_ext=cpp
68820 ac_cpp='$CXXCPP $CPPFLAGS'
68821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68824
68825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68826 /* end confdefs.h.  */
68827 #include <math.h>
68828                       #ifdef HAVE_IEEEFP_H
68829                       #include <ieeefp.h>
68830                       #endif
68831
68832 int
68833 main ()
68834 {
68835  expl(0);
68836   ;
68837   return 0;
68838 }
68839 _ACEOF
68840 if ac_fn_cxx_try_compile "$LINENO"; then :
68841   glibcxx_cv_func_expl_use=yes
68842 else
68843   glibcxx_cv_func_expl_use=no
68844 fi
68845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68846       ac_ext=c
68847 ac_cpp='$CPP $CPPFLAGS'
68848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68851
68852
68853 fi
68854
68855   fi
68856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68857 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68858
68859   if test x$glibcxx_cv_func_expl_use = x"yes"; then
68860     for ac_func in expl
68861 do :
68862   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68863 if test "x$ac_cv_func_expl" = x""yes; then :
68864   cat >>confdefs.h <<_ACEOF
68865 #define HAVE_EXPL 1
68866 _ACEOF
68867
68868 fi
68869 done
68870
68871   else
68872
68873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68874 $as_echo_n "checking for _expl declaration... " >&6; }
68875   if test x${glibcxx_cv_func__expl_use+set} != xset; then
68876     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68877   $as_echo_n "(cached) " >&6
68878 else
68879
68880
68881       ac_ext=cpp
68882 ac_cpp='$CXXCPP $CPPFLAGS'
68883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68886
68887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68888 /* end confdefs.h.  */
68889 #include <math.h>
68890                       #ifdef HAVE_IEEEFP_H
68891                       #include <ieeefp.h>
68892                       #endif
68893
68894 int
68895 main ()
68896 {
68897  _expl(0);
68898   ;
68899   return 0;
68900 }
68901 _ACEOF
68902 if ac_fn_cxx_try_compile "$LINENO"; then :
68903   glibcxx_cv_func__expl_use=yes
68904 else
68905   glibcxx_cv_func__expl_use=no
68906 fi
68907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68908       ac_ext=c
68909 ac_cpp='$CPP $CPPFLAGS'
68910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68913
68914
68915 fi
68916
68917   fi
68918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68919 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
68920
68921     if test x$glibcxx_cv_func__expl_use = x"yes"; then
68922       for ac_func in _expl
68923 do :
68924   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68925 if test "x$ac_cv_func__expl" = x""yes; then :
68926   cat >>confdefs.h <<_ACEOF
68927 #define HAVE__EXPL 1
68928 _ACEOF
68929
68930 fi
68931 done
68932
68933     fi
68934   fi
68935
68936
68937
68938
68939
68940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68941 $as_echo_n "checking for fabsl declaration... " >&6; }
68942   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68943     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68944   $as_echo_n "(cached) " >&6
68945 else
68946
68947
68948       ac_ext=cpp
68949 ac_cpp='$CXXCPP $CPPFLAGS'
68950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68953
68954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68955 /* end confdefs.h.  */
68956 #include <math.h>
68957                       #ifdef HAVE_IEEEFP_H
68958                       #include <ieeefp.h>
68959                       #endif
68960
68961 int
68962 main ()
68963 {
68964  fabsl(0);
68965   ;
68966   return 0;
68967 }
68968 _ACEOF
68969 if ac_fn_cxx_try_compile "$LINENO"; then :
68970   glibcxx_cv_func_fabsl_use=yes
68971 else
68972   glibcxx_cv_func_fabsl_use=no
68973 fi
68974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68975       ac_ext=c
68976 ac_cpp='$CPP $CPPFLAGS'
68977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68980
68981
68982 fi
68983
68984   fi
68985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68986 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68987
68988   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68989     for ac_func in fabsl
68990 do :
68991   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68992 if test "x$ac_cv_func_fabsl" = x""yes; then :
68993   cat >>confdefs.h <<_ACEOF
68994 #define HAVE_FABSL 1
68995 _ACEOF
68996
68997 fi
68998 done
68999
69000   else
69001
69002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69003 $as_echo_n "checking for _fabsl declaration... " >&6; }
69004   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69005     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69006   $as_echo_n "(cached) " >&6
69007 else
69008
69009
69010       ac_ext=cpp
69011 ac_cpp='$CXXCPP $CPPFLAGS'
69012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69015
69016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69017 /* end confdefs.h.  */
69018 #include <math.h>
69019                       #ifdef HAVE_IEEEFP_H
69020                       #include <ieeefp.h>
69021                       #endif
69022
69023 int
69024 main ()
69025 {
69026  _fabsl(0);
69027   ;
69028   return 0;
69029 }
69030 _ACEOF
69031 if ac_fn_cxx_try_compile "$LINENO"; then :
69032   glibcxx_cv_func__fabsl_use=yes
69033 else
69034   glibcxx_cv_func__fabsl_use=no
69035 fi
69036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69037       ac_ext=c
69038 ac_cpp='$CPP $CPPFLAGS'
69039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69042
69043
69044 fi
69045
69046   fi
69047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69048 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69049
69050     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69051       for ac_func in _fabsl
69052 do :
69053   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69054 if test "x$ac_cv_func__fabsl" = x""yes; then :
69055   cat >>confdefs.h <<_ACEOF
69056 #define HAVE__FABSL 1
69057 _ACEOF
69058
69059 fi
69060 done
69061
69062     fi
69063   fi
69064
69065
69066
69067
69068
69069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69070 $as_echo_n "checking for fmodl declaration... " >&6; }
69071   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69072     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69073   $as_echo_n "(cached) " >&6
69074 else
69075
69076
69077       ac_ext=cpp
69078 ac_cpp='$CXXCPP $CPPFLAGS'
69079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69082
69083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69084 /* end confdefs.h.  */
69085 #include <math.h>
69086 int
69087 main ()
69088 {
69089  fmodl(0, 0);
69090   ;
69091   return 0;
69092 }
69093 _ACEOF
69094 if ac_fn_cxx_try_compile "$LINENO"; then :
69095   glibcxx_cv_func_fmodl_use=yes
69096 else
69097   glibcxx_cv_func_fmodl_use=no
69098 fi
69099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69100       ac_ext=c
69101 ac_cpp='$CPP $CPPFLAGS'
69102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69105
69106
69107 fi
69108
69109   fi
69110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69111 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69112
69113   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69114     for ac_func in fmodl
69115 do :
69116   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69117 if test "x$ac_cv_func_fmodl" = x""yes; then :
69118   cat >>confdefs.h <<_ACEOF
69119 #define HAVE_FMODL 1
69120 _ACEOF
69121
69122 fi
69123 done
69124
69125   else
69126
69127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69128 $as_echo_n "checking for _fmodl declaration... " >&6; }
69129   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69130     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69131   $as_echo_n "(cached) " >&6
69132 else
69133
69134
69135       ac_ext=cpp
69136 ac_cpp='$CXXCPP $CPPFLAGS'
69137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69140
69141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69142 /* end confdefs.h.  */
69143 #include <math.h>
69144 int
69145 main ()
69146 {
69147  _fmodl(0, 0);
69148   ;
69149   return 0;
69150 }
69151 _ACEOF
69152 if ac_fn_cxx_try_compile "$LINENO"; then :
69153   glibcxx_cv_func__fmodl_use=yes
69154 else
69155   glibcxx_cv_func__fmodl_use=no
69156 fi
69157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69158       ac_ext=c
69159 ac_cpp='$CPP $CPPFLAGS'
69160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69163
69164
69165 fi
69166
69167   fi
69168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69169 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69170
69171     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69172       for ac_func in _fmodl
69173 do :
69174   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69175 if test "x$ac_cv_func__fmodl" = x""yes; then :
69176   cat >>confdefs.h <<_ACEOF
69177 #define HAVE__FMODL 1
69178 _ACEOF
69179
69180 fi
69181 done
69182
69183     fi
69184   fi
69185
69186
69187
69188
69189
69190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69191 $as_echo_n "checking for frexpl declaration... " >&6; }
69192   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69193     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69194   $as_echo_n "(cached) " >&6
69195 else
69196
69197
69198       ac_ext=cpp
69199 ac_cpp='$CXXCPP $CPPFLAGS'
69200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69203
69204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69205 /* end confdefs.h.  */
69206 #include <math.h>
69207 int
69208 main ()
69209 {
69210  frexpl(0, 0);
69211   ;
69212   return 0;
69213 }
69214 _ACEOF
69215 if ac_fn_cxx_try_compile "$LINENO"; then :
69216   glibcxx_cv_func_frexpl_use=yes
69217 else
69218   glibcxx_cv_func_frexpl_use=no
69219 fi
69220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69221       ac_ext=c
69222 ac_cpp='$CPP $CPPFLAGS'
69223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69226
69227
69228 fi
69229
69230   fi
69231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69232 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69233
69234   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69235     for ac_func in frexpl
69236 do :
69237   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69238 if test "x$ac_cv_func_frexpl" = x""yes; then :
69239   cat >>confdefs.h <<_ACEOF
69240 #define HAVE_FREXPL 1
69241 _ACEOF
69242
69243 fi
69244 done
69245
69246   else
69247
69248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69249 $as_echo_n "checking for _frexpl declaration... " >&6; }
69250   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69251     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69252   $as_echo_n "(cached) " >&6
69253 else
69254
69255
69256       ac_ext=cpp
69257 ac_cpp='$CXXCPP $CPPFLAGS'
69258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69261
69262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69263 /* end confdefs.h.  */
69264 #include <math.h>
69265 int
69266 main ()
69267 {
69268  _frexpl(0, 0);
69269   ;
69270   return 0;
69271 }
69272 _ACEOF
69273 if ac_fn_cxx_try_compile "$LINENO"; then :
69274   glibcxx_cv_func__frexpl_use=yes
69275 else
69276   glibcxx_cv_func__frexpl_use=no
69277 fi
69278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69279       ac_ext=c
69280 ac_cpp='$CPP $CPPFLAGS'
69281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69284
69285
69286 fi
69287
69288   fi
69289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69290 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69291
69292     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69293       for ac_func in _frexpl
69294 do :
69295   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69296 if test "x$ac_cv_func__frexpl" = x""yes; then :
69297   cat >>confdefs.h <<_ACEOF
69298 #define HAVE__FREXPL 1
69299 _ACEOF
69300
69301 fi
69302 done
69303
69304     fi
69305   fi
69306
69307
69308
69309
69310
69311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69312 $as_echo_n "checking for hypotl declaration... " >&6; }
69313   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69314     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69315   $as_echo_n "(cached) " >&6
69316 else
69317
69318
69319       ac_ext=cpp
69320 ac_cpp='$CXXCPP $CPPFLAGS'
69321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69324
69325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69326 /* end confdefs.h.  */
69327 #include <math.h>
69328 int
69329 main ()
69330 {
69331  hypotl(0, 0);
69332   ;
69333   return 0;
69334 }
69335 _ACEOF
69336 if ac_fn_cxx_try_compile "$LINENO"; then :
69337   glibcxx_cv_func_hypotl_use=yes
69338 else
69339   glibcxx_cv_func_hypotl_use=no
69340 fi
69341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69342       ac_ext=c
69343 ac_cpp='$CPP $CPPFLAGS'
69344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69347
69348
69349 fi
69350
69351   fi
69352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69353 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69354
69355   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69356     for ac_func in hypotl
69357 do :
69358   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69359 if test "x$ac_cv_func_hypotl" = x""yes; then :
69360   cat >>confdefs.h <<_ACEOF
69361 #define HAVE_HYPOTL 1
69362 _ACEOF
69363
69364 fi
69365 done
69366
69367   else
69368
69369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69370 $as_echo_n "checking for _hypotl declaration... " >&6; }
69371   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69372     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69373   $as_echo_n "(cached) " >&6
69374 else
69375
69376
69377       ac_ext=cpp
69378 ac_cpp='$CXXCPP $CPPFLAGS'
69379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69382
69383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69384 /* end confdefs.h.  */
69385 #include <math.h>
69386 int
69387 main ()
69388 {
69389  _hypotl(0, 0);
69390   ;
69391   return 0;
69392 }
69393 _ACEOF
69394 if ac_fn_cxx_try_compile "$LINENO"; then :
69395   glibcxx_cv_func__hypotl_use=yes
69396 else
69397   glibcxx_cv_func__hypotl_use=no
69398 fi
69399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69400       ac_ext=c
69401 ac_cpp='$CPP $CPPFLAGS'
69402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69405
69406
69407 fi
69408
69409   fi
69410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69411 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69412
69413     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69414       for ac_func in _hypotl
69415 do :
69416   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69417 if test "x$ac_cv_func__hypotl" = x""yes; then :
69418   cat >>confdefs.h <<_ACEOF
69419 #define HAVE__HYPOTL 1
69420 _ACEOF
69421
69422 fi
69423 done
69424
69425     fi
69426   fi
69427
69428
69429
69430
69431
69432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69433 $as_echo_n "checking for ldexpl declaration... " >&6; }
69434   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69435     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69436   $as_echo_n "(cached) " >&6
69437 else
69438
69439
69440       ac_ext=cpp
69441 ac_cpp='$CXXCPP $CPPFLAGS'
69442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69445
69446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69447 /* end confdefs.h.  */
69448 #include <math.h>
69449 int
69450 main ()
69451 {
69452  ldexpl(0, 0);
69453   ;
69454   return 0;
69455 }
69456 _ACEOF
69457 if ac_fn_cxx_try_compile "$LINENO"; then :
69458   glibcxx_cv_func_ldexpl_use=yes
69459 else
69460   glibcxx_cv_func_ldexpl_use=no
69461 fi
69462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69463       ac_ext=c
69464 ac_cpp='$CPP $CPPFLAGS'
69465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69468
69469
69470 fi
69471
69472   fi
69473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69474 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69475
69476   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69477     for ac_func in ldexpl
69478 do :
69479   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69480 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69481   cat >>confdefs.h <<_ACEOF
69482 #define HAVE_LDEXPL 1
69483 _ACEOF
69484
69485 fi
69486 done
69487
69488   else
69489
69490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69491 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69492   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69493     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69494   $as_echo_n "(cached) " >&6
69495 else
69496
69497
69498       ac_ext=cpp
69499 ac_cpp='$CXXCPP $CPPFLAGS'
69500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69503
69504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69505 /* end confdefs.h.  */
69506 #include <math.h>
69507 int
69508 main ()
69509 {
69510  _ldexpl(0, 0);
69511   ;
69512   return 0;
69513 }
69514 _ACEOF
69515 if ac_fn_cxx_try_compile "$LINENO"; then :
69516   glibcxx_cv_func__ldexpl_use=yes
69517 else
69518   glibcxx_cv_func__ldexpl_use=no
69519 fi
69520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69521       ac_ext=c
69522 ac_cpp='$CPP $CPPFLAGS'
69523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69526
69527
69528 fi
69529
69530   fi
69531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69532 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69533
69534     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69535       for ac_func in _ldexpl
69536 do :
69537   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69538 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69539   cat >>confdefs.h <<_ACEOF
69540 #define HAVE__LDEXPL 1
69541 _ACEOF
69542
69543 fi
69544 done
69545
69546     fi
69547   fi
69548
69549
69550
69551
69552
69553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69554 $as_echo_n "checking for logl declaration... " >&6; }
69555   if test x${glibcxx_cv_func_logl_use+set} != xset; then
69556     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69557   $as_echo_n "(cached) " >&6
69558 else
69559
69560
69561       ac_ext=cpp
69562 ac_cpp='$CXXCPP $CPPFLAGS'
69563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69566
69567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69568 /* end confdefs.h.  */
69569 #include <math.h>
69570                       #ifdef HAVE_IEEEFP_H
69571                       #include <ieeefp.h>
69572                       #endif
69573
69574 int
69575 main ()
69576 {
69577  logl(0);
69578   ;
69579   return 0;
69580 }
69581 _ACEOF
69582 if ac_fn_cxx_try_compile "$LINENO"; then :
69583   glibcxx_cv_func_logl_use=yes
69584 else
69585   glibcxx_cv_func_logl_use=no
69586 fi
69587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69588       ac_ext=c
69589 ac_cpp='$CPP $CPPFLAGS'
69590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69593
69594
69595 fi
69596
69597   fi
69598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69599 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69600
69601   if test x$glibcxx_cv_func_logl_use = x"yes"; then
69602     for ac_func in logl
69603 do :
69604   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69605 if test "x$ac_cv_func_logl" = x""yes; then :
69606   cat >>confdefs.h <<_ACEOF
69607 #define HAVE_LOGL 1
69608 _ACEOF
69609
69610 fi
69611 done
69612
69613   else
69614
69615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69616 $as_echo_n "checking for _logl declaration... " >&6; }
69617   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69618     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69619   $as_echo_n "(cached) " >&6
69620 else
69621
69622
69623       ac_ext=cpp
69624 ac_cpp='$CXXCPP $CPPFLAGS'
69625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69628
69629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69630 /* end confdefs.h.  */
69631 #include <math.h>
69632                       #ifdef HAVE_IEEEFP_H
69633                       #include <ieeefp.h>
69634                       #endif
69635
69636 int
69637 main ()
69638 {
69639  _logl(0);
69640   ;
69641   return 0;
69642 }
69643 _ACEOF
69644 if ac_fn_cxx_try_compile "$LINENO"; then :
69645   glibcxx_cv_func__logl_use=yes
69646 else
69647   glibcxx_cv_func__logl_use=no
69648 fi
69649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69650       ac_ext=c
69651 ac_cpp='$CPP $CPPFLAGS'
69652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69655
69656
69657 fi
69658
69659   fi
69660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69661 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69662
69663     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69664       for ac_func in _logl
69665 do :
69666   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69667 if test "x$ac_cv_func__logl" = x""yes; then :
69668   cat >>confdefs.h <<_ACEOF
69669 #define HAVE__LOGL 1
69670 _ACEOF
69671
69672 fi
69673 done
69674
69675     fi
69676   fi
69677
69678
69679
69680
69681
69682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69683 $as_echo_n "checking for log10l declaration... " >&6; }
69684   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69685     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69686   $as_echo_n "(cached) " >&6
69687 else
69688
69689
69690       ac_ext=cpp
69691 ac_cpp='$CXXCPP $CPPFLAGS'
69692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69695
69696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69697 /* end confdefs.h.  */
69698 #include <math.h>
69699                       #ifdef HAVE_IEEEFP_H
69700                       #include <ieeefp.h>
69701                       #endif
69702
69703 int
69704 main ()
69705 {
69706  log10l(0);
69707   ;
69708   return 0;
69709 }
69710 _ACEOF
69711 if ac_fn_cxx_try_compile "$LINENO"; then :
69712   glibcxx_cv_func_log10l_use=yes
69713 else
69714   glibcxx_cv_func_log10l_use=no
69715 fi
69716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69717       ac_ext=c
69718 ac_cpp='$CPP $CPPFLAGS'
69719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69722
69723
69724 fi
69725
69726   fi
69727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69728 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69729
69730   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69731     for ac_func in log10l
69732 do :
69733   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69734 if test "x$ac_cv_func_log10l" = x""yes; then :
69735   cat >>confdefs.h <<_ACEOF
69736 #define HAVE_LOG10L 1
69737 _ACEOF
69738
69739 fi
69740 done
69741
69742   else
69743
69744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69745 $as_echo_n "checking for _log10l declaration... " >&6; }
69746   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69747     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69748   $as_echo_n "(cached) " >&6
69749 else
69750
69751
69752       ac_ext=cpp
69753 ac_cpp='$CXXCPP $CPPFLAGS'
69754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69757
69758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69759 /* end confdefs.h.  */
69760 #include <math.h>
69761                       #ifdef HAVE_IEEEFP_H
69762                       #include <ieeefp.h>
69763                       #endif
69764
69765 int
69766 main ()
69767 {
69768  _log10l(0);
69769   ;
69770   return 0;
69771 }
69772 _ACEOF
69773 if ac_fn_cxx_try_compile "$LINENO"; then :
69774   glibcxx_cv_func__log10l_use=yes
69775 else
69776   glibcxx_cv_func__log10l_use=no
69777 fi
69778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69779       ac_ext=c
69780 ac_cpp='$CPP $CPPFLAGS'
69781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69784
69785
69786 fi
69787
69788   fi
69789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69790 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69791
69792     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69793       for ac_func in _log10l
69794 do :
69795   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69796 if test "x$ac_cv_func__log10l" = x""yes; then :
69797   cat >>confdefs.h <<_ACEOF
69798 #define HAVE__LOG10L 1
69799 _ACEOF
69800
69801 fi
69802 done
69803
69804     fi
69805   fi
69806
69807
69808
69809
69810
69811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69812 $as_echo_n "checking for modfl declaration... " >&6; }
69813   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69814     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69815   $as_echo_n "(cached) " >&6
69816 else
69817
69818
69819       ac_ext=cpp
69820 ac_cpp='$CXXCPP $CPPFLAGS'
69821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69824
69825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69826 /* end confdefs.h.  */
69827 #include <math.h>
69828 int
69829 main ()
69830 {
69831  modfl(0, 0);
69832   ;
69833   return 0;
69834 }
69835 _ACEOF
69836 if ac_fn_cxx_try_compile "$LINENO"; then :
69837   glibcxx_cv_func_modfl_use=yes
69838 else
69839   glibcxx_cv_func_modfl_use=no
69840 fi
69841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69842       ac_ext=c
69843 ac_cpp='$CPP $CPPFLAGS'
69844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69847
69848
69849 fi
69850
69851   fi
69852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69853 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69854
69855   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69856     for ac_func in modfl
69857 do :
69858   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69859 if test "x$ac_cv_func_modfl" = x""yes; then :
69860   cat >>confdefs.h <<_ACEOF
69861 #define HAVE_MODFL 1
69862 _ACEOF
69863
69864 fi
69865 done
69866
69867   else
69868
69869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69870 $as_echo_n "checking for _modfl declaration... " >&6; }
69871   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69872     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69873   $as_echo_n "(cached) " >&6
69874 else
69875
69876
69877       ac_ext=cpp
69878 ac_cpp='$CXXCPP $CPPFLAGS'
69879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69882
69883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69884 /* end confdefs.h.  */
69885 #include <math.h>
69886 int
69887 main ()
69888 {
69889  _modfl(0, 0);
69890   ;
69891   return 0;
69892 }
69893 _ACEOF
69894 if ac_fn_cxx_try_compile "$LINENO"; then :
69895   glibcxx_cv_func__modfl_use=yes
69896 else
69897   glibcxx_cv_func__modfl_use=no
69898 fi
69899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69900       ac_ext=c
69901 ac_cpp='$CPP $CPPFLAGS'
69902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69905
69906
69907 fi
69908
69909   fi
69910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69911 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69912
69913     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69914       for ac_func in _modfl
69915 do :
69916   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69917 if test "x$ac_cv_func__modfl" = x""yes; then :
69918   cat >>confdefs.h <<_ACEOF
69919 #define HAVE__MODFL 1
69920 _ACEOF
69921
69922 fi
69923 done
69924
69925     fi
69926   fi
69927
69928
69929
69930
69931
69932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69933 $as_echo_n "checking for powl declaration... " >&6; }
69934   if test x${glibcxx_cv_func_powl_use+set} != xset; then
69935     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69936   $as_echo_n "(cached) " >&6
69937 else
69938
69939
69940       ac_ext=cpp
69941 ac_cpp='$CXXCPP $CPPFLAGS'
69942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69945
69946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69947 /* end confdefs.h.  */
69948 #include <math.h>
69949 int
69950 main ()
69951 {
69952  powl(0, 0);
69953   ;
69954   return 0;
69955 }
69956 _ACEOF
69957 if ac_fn_cxx_try_compile "$LINENO"; then :
69958   glibcxx_cv_func_powl_use=yes
69959 else
69960   glibcxx_cv_func_powl_use=no
69961 fi
69962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69963       ac_ext=c
69964 ac_cpp='$CPP $CPPFLAGS'
69965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69968
69969
69970 fi
69971
69972   fi
69973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69974 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69975
69976   if test x$glibcxx_cv_func_powl_use = x"yes"; then
69977     for ac_func in powl
69978 do :
69979   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69980 if test "x$ac_cv_func_powl" = x""yes; then :
69981   cat >>confdefs.h <<_ACEOF
69982 #define HAVE_POWL 1
69983 _ACEOF
69984
69985 fi
69986 done
69987
69988   else
69989
69990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69991 $as_echo_n "checking for _powl declaration... " >&6; }
69992   if test x${glibcxx_cv_func__powl_use+set} != xset; then
69993     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69994   $as_echo_n "(cached) " >&6
69995 else
69996
69997
69998       ac_ext=cpp
69999 ac_cpp='$CXXCPP $CPPFLAGS'
70000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70003
70004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70005 /* end confdefs.h.  */
70006 #include <math.h>
70007 int
70008 main ()
70009 {
70010  _powl(0, 0);
70011   ;
70012   return 0;
70013 }
70014 _ACEOF
70015 if ac_fn_cxx_try_compile "$LINENO"; then :
70016   glibcxx_cv_func__powl_use=yes
70017 else
70018   glibcxx_cv_func__powl_use=no
70019 fi
70020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70021       ac_ext=c
70022 ac_cpp='$CPP $CPPFLAGS'
70023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70026
70027
70028 fi
70029
70030   fi
70031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70032 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70033
70034     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70035       for ac_func in _powl
70036 do :
70037   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70038 if test "x$ac_cv_func__powl" = x""yes; then :
70039   cat >>confdefs.h <<_ACEOF
70040 #define HAVE__POWL 1
70041 _ACEOF
70042
70043 fi
70044 done
70045
70046     fi
70047   fi
70048
70049
70050
70051
70052
70053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70054 $as_echo_n "checking for sqrtl declaration... " >&6; }
70055   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70056     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70057   $as_echo_n "(cached) " >&6
70058 else
70059
70060
70061       ac_ext=cpp
70062 ac_cpp='$CXXCPP $CPPFLAGS'
70063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70066
70067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70068 /* end confdefs.h.  */
70069 #include <math.h>
70070                       #ifdef HAVE_IEEEFP_H
70071                       #include <ieeefp.h>
70072                       #endif
70073
70074 int
70075 main ()
70076 {
70077  sqrtl(0);
70078   ;
70079   return 0;
70080 }
70081 _ACEOF
70082 if ac_fn_cxx_try_compile "$LINENO"; then :
70083   glibcxx_cv_func_sqrtl_use=yes
70084 else
70085   glibcxx_cv_func_sqrtl_use=no
70086 fi
70087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70088       ac_ext=c
70089 ac_cpp='$CPP $CPPFLAGS'
70090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70093
70094
70095 fi
70096
70097   fi
70098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70099 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70100
70101   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70102     for ac_func in sqrtl
70103 do :
70104   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70105 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70106   cat >>confdefs.h <<_ACEOF
70107 #define HAVE_SQRTL 1
70108 _ACEOF
70109
70110 fi
70111 done
70112
70113   else
70114
70115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70116 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70117   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70118     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70119   $as_echo_n "(cached) " >&6
70120 else
70121
70122
70123       ac_ext=cpp
70124 ac_cpp='$CXXCPP $CPPFLAGS'
70125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70128
70129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70130 /* end confdefs.h.  */
70131 #include <math.h>
70132                       #ifdef HAVE_IEEEFP_H
70133                       #include <ieeefp.h>
70134                       #endif
70135
70136 int
70137 main ()
70138 {
70139  _sqrtl(0);
70140   ;
70141   return 0;
70142 }
70143 _ACEOF
70144 if ac_fn_cxx_try_compile "$LINENO"; then :
70145   glibcxx_cv_func__sqrtl_use=yes
70146 else
70147   glibcxx_cv_func__sqrtl_use=no
70148 fi
70149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70150       ac_ext=c
70151 ac_cpp='$CPP $CPPFLAGS'
70152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70155
70156
70157 fi
70158
70159   fi
70160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70161 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70162
70163     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70164       for ac_func in _sqrtl
70165 do :
70166   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70167 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70168   cat >>confdefs.h <<_ACEOF
70169 #define HAVE__SQRTL 1
70170 _ACEOF
70171
70172 fi
70173 done
70174
70175     fi
70176   fi
70177
70178
70179
70180
70181
70182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70183 $as_echo_n "checking for sincosl declaration... " >&6; }
70184   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70185     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70186   $as_echo_n "(cached) " >&6
70187 else
70188
70189
70190       ac_ext=cpp
70191 ac_cpp='$CXXCPP $CPPFLAGS'
70192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70195
70196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70197 /* end confdefs.h.  */
70198 #include <math.h>
70199 int
70200 main ()
70201 {
70202  sincosl(0, 0, 0);
70203   ;
70204   return 0;
70205 }
70206 _ACEOF
70207 if ac_fn_cxx_try_compile "$LINENO"; then :
70208   glibcxx_cv_func_sincosl_use=yes
70209 else
70210   glibcxx_cv_func_sincosl_use=no
70211 fi
70212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70213       ac_ext=c
70214 ac_cpp='$CPP $CPPFLAGS'
70215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70218
70219
70220 fi
70221
70222   fi
70223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70224 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70225
70226   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70227     for ac_func in sincosl
70228 do :
70229   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70230 if test "x$ac_cv_func_sincosl" = x""yes; then :
70231   cat >>confdefs.h <<_ACEOF
70232 #define HAVE_SINCOSL 1
70233 _ACEOF
70234
70235 fi
70236 done
70237
70238   else
70239
70240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70241 $as_echo_n "checking for _sincosl declaration... " >&6; }
70242   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70243     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70244   $as_echo_n "(cached) " >&6
70245 else
70246
70247
70248       ac_ext=cpp
70249 ac_cpp='$CXXCPP $CPPFLAGS'
70250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70253
70254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70255 /* end confdefs.h.  */
70256 #include <math.h>
70257 int
70258 main ()
70259 {
70260  _sincosl(0, 0, 0);
70261   ;
70262   return 0;
70263 }
70264 _ACEOF
70265 if ac_fn_cxx_try_compile "$LINENO"; then :
70266   glibcxx_cv_func__sincosl_use=yes
70267 else
70268   glibcxx_cv_func__sincosl_use=no
70269 fi
70270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70271       ac_ext=c
70272 ac_cpp='$CPP $CPPFLAGS'
70273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70276
70277
70278 fi
70279
70280   fi
70281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70282 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70283
70284     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70285       for ac_func in _sincosl
70286 do :
70287   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70288 if test "x$ac_cv_func__sincosl" = x""yes; then :
70289   cat >>confdefs.h <<_ACEOF
70290 #define HAVE__SINCOSL 1
70291 _ACEOF
70292
70293 fi
70294 done
70295
70296     fi
70297   fi
70298
70299
70300
70301
70302
70303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70304 $as_echo_n "checking for finitel declaration... " >&6; }
70305   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70306     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70307   $as_echo_n "(cached) " >&6
70308 else
70309
70310
70311       ac_ext=cpp
70312 ac_cpp='$CXXCPP $CPPFLAGS'
70313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70316
70317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70318 /* end confdefs.h.  */
70319 #include <math.h>
70320                       #ifdef HAVE_IEEEFP_H
70321                       #include <ieeefp.h>
70322                       #endif
70323
70324 int
70325 main ()
70326 {
70327  finitel(0);
70328   ;
70329   return 0;
70330 }
70331 _ACEOF
70332 if ac_fn_cxx_try_compile "$LINENO"; then :
70333   glibcxx_cv_func_finitel_use=yes
70334 else
70335   glibcxx_cv_func_finitel_use=no
70336 fi
70337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70338       ac_ext=c
70339 ac_cpp='$CPP $CPPFLAGS'
70340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70343
70344
70345 fi
70346
70347   fi
70348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70349 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70350
70351   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70352     for ac_func in finitel
70353 do :
70354   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70355 if test "x$ac_cv_func_finitel" = x""yes; then :
70356   cat >>confdefs.h <<_ACEOF
70357 #define HAVE_FINITEL 1
70358 _ACEOF
70359
70360 fi
70361 done
70362
70363   else
70364
70365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70366 $as_echo_n "checking for _finitel declaration... " >&6; }
70367   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70368     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70369   $as_echo_n "(cached) " >&6
70370 else
70371
70372
70373       ac_ext=cpp
70374 ac_cpp='$CXXCPP $CPPFLAGS'
70375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70378
70379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70380 /* end confdefs.h.  */
70381 #include <math.h>
70382                       #ifdef HAVE_IEEEFP_H
70383                       #include <ieeefp.h>
70384                       #endif
70385
70386 int
70387 main ()
70388 {
70389  _finitel(0);
70390   ;
70391   return 0;
70392 }
70393 _ACEOF
70394 if ac_fn_cxx_try_compile "$LINENO"; then :
70395   glibcxx_cv_func__finitel_use=yes
70396 else
70397   glibcxx_cv_func__finitel_use=no
70398 fi
70399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70400       ac_ext=c
70401 ac_cpp='$CPP $CPPFLAGS'
70402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70405
70406
70407 fi
70408
70409   fi
70410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70411 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70412
70413     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70414       for ac_func in _finitel
70415 do :
70416   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70417 if test "x$ac_cv_func__finitel" = x""yes; then :
70418   cat >>confdefs.h <<_ACEOF
70419 #define HAVE__FINITEL 1
70420 _ACEOF
70421
70422 fi
70423 done
70424
70425     fi
70426   fi
70427
70428
70429
70430
70431   LIBS="$ac_save_LIBS"
70432   CXXFLAGS="$ac_save_CXXFLAGS"
70433
70434
70435   ac_test_CXXFLAGS="${CXXFLAGS+set}"
70436   ac_save_CXXFLAGS="$CXXFLAGS"
70437   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70438
70439
70440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70441 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70442   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70443     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70444   $as_echo_n "(cached) " >&6
70445 else
70446
70447
70448       ac_ext=cpp
70449 ac_cpp='$CXXCPP $CPPFLAGS'
70450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70453
70454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70455 /* end confdefs.h.  */
70456 #include <stdlib.h>
70457 int
70458 main ()
70459 {
70460  at_quick_exit(0);
70461   ;
70462   return 0;
70463 }
70464 _ACEOF
70465 if ac_fn_cxx_try_compile "$LINENO"; then :
70466   glibcxx_cv_func_at_quick_exit_use=yes
70467 else
70468   glibcxx_cv_func_at_quick_exit_use=no
70469 fi
70470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70471       ac_ext=c
70472 ac_cpp='$CPP $CPPFLAGS'
70473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70476
70477
70478 fi
70479
70480   fi
70481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70482 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70483   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70484     for ac_func in at_quick_exit
70485 do :
70486   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70487 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70488   cat >>confdefs.h <<_ACEOF
70489 #define HAVE_AT_QUICK_EXIT 1
70490 _ACEOF
70491
70492 fi
70493 done
70494
70495   fi
70496
70497
70498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70499 $as_echo_n "checking for quick_exit declaration... " >&6; }
70500   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70501     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70502   $as_echo_n "(cached) " >&6
70503 else
70504
70505
70506       ac_ext=cpp
70507 ac_cpp='$CXXCPP $CPPFLAGS'
70508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70511
70512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70513 /* end confdefs.h.  */
70514 #include <stdlib.h>
70515 int
70516 main ()
70517 {
70518  quick_exit(0);
70519   ;
70520   return 0;
70521 }
70522 _ACEOF
70523 if ac_fn_cxx_try_compile "$LINENO"; then :
70524   glibcxx_cv_func_quick_exit_use=yes
70525 else
70526   glibcxx_cv_func_quick_exit_use=no
70527 fi
70528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70529       ac_ext=c
70530 ac_cpp='$CPP $CPPFLAGS'
70531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70534
70535
70536 fi
70537
70538   fi
70539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70540 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70541   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70542     for ac_func in quick_exit
70543 do :
70544   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70545 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70546   cat >>confdefs.h <<_ACEOF
70547 #define HAVE_QUICK_EXIT 1
70548 _ACEOF
70549
70550 fi
70551 done
70552
70553   fi
70554
70555
70556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70557 $as_echo_n "checking for strtold declaration... " >&6; }
70558   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70559     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70560   $as_echo_n "(cached) " >&6
70561 else
70562
70563
70564       ac_ext=cpp
70565 ac_cpp='$CXXCPP $CPPFLAGS'
70566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70569
70570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70571 /* end confdefs.h.  */
70572 #include <stdlib.h>
70573 int
70574 main ()
70575 {
70576  strtold(0, 0);
70577   ;
70578   return 0;
70579 }
70580 _ACEOF
70581 if ac_fn_cxx_try_compile "$LINENO"; then :
70582   glibcxx_cv_func_strtold_use=yes
70583 else
70584   glibcxx_cv_func_strtold_use=no
70585 fi
70586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70587       ac_ext=c
70588 ac_cpp='$CPP $CPPFLAGS'
70589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70592
70593
70594 fi
70595
70596   fi
70597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70598 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70599   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70600     for ac_func in strtold
70601 do :
70602   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70603 if test "x$ac_cv_func_strtold" = x""yes; then :
70604   cat >>confdefs.h <<_ACEOF
70605 #define HAVE_STRTOLD 1
70606 _ACEOF
70607
70608 fi
70609 done
70610
70611   fi
70612
70613
70614
70615
70616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70617 $as_echo_n "checking for strtof declaration... " >&6; }
70618   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70619     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70620   $as_echo_n "(cached) " >&6
70621 else
70622
70623
70624       ac_ext=cpp
70625 ac_cpp='$CXXCPP $CPPFLAGS'
70626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70629
70630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70631 /* end confdefs.h.  */
70632 #include <stdlib.h>
70633 int
70634 main ()
70635 {
70636  strtof(0, 0);
70637   ;
70638   return 0;
70639 }
70640 _ACEOF
70641 if ac_fn_cxx_try_compile "$LINENO"; then :
70642   glibcxx_cv_func_strtof_use=yes
70643 else
70644   glibcxx_cv_func_strtof_use=no
70645 fi
70646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70647       ac_ext=c
70648 ac_cpp='$CPP $CPPFLAGS'
70649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70652
70653
70654 fi
70655
70656   fi
70657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70658 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70659   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70660     for ac_func in strtof
70661 do :
70662   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70663 if test "x$ac_cv_func_strtof" = x""yes; then :
70664   cat >>confdefs.h <<_ACEOF
70665 #define HAVE_STRTOF 1
70666 _ACEOF
70667
70668 fi
70669 done
70670
70671   fi
70672
70673
70674
70675
70676   CXXFLAGS="$ac_save_CXXFLAGS"
70677
70678     ;;
70679   *-vxworks)
70680     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70681
70682     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70683
70684     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70685
70686     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70687
70688     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70689
70690     $as_echo "#define HAVE_COSF 1" >>confdefs.h
70691
70692     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70693
70694     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70695
70696     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70697
70698     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70699
70700     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70701
70702     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70703
70704     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70705
70706     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70707
70708     $as_echo "#define HAVE_POWF 1" >>confdefs.h
70709
70710     $as_echo "#define HAVE_SINF 1" >>confdefs.h
70711
70712     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70713
70714     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70715
70716     $as_echo "#define HAVE_TANF 1" >>confdefs.h
70717
70718     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70719
70720     ;;
70721   *)
70722     as_fn_error "No support for this host/target combination." "$LINENO" 5
70723    ;;
70724 esac
70725
70726   fi
70727
70728   # At some point, we should differentiate between architectures
70729   # like x86, which have long double versions, and alpha/powerpc/etc.,
70730   # which don't. For the time being, punt.
70731   if test x"long_double_math_on_this_cpu" = x"yes"; then
70732     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70733
70734     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70735
70736     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70737
70738     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70739
70740     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70741
70742     $as_echo "#define HAVE_COSL 1" >>confdefs.h
70743
70744     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70745
70746     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70747
70748     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70749
70750     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70751
70752     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70753
70754     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70755
70756     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70757
70758     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70759
70760     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70761
70762     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70763
70764     $as_echo "#define HAVE_POWL 1" >>confdefs.h
70765
70766     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70767
70768     $as_echo "#define HAVE_SINL 1" >>confdefs.h
70769
70770     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70771
70772     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70773
70774     $as_echo "#define HAVE_TANL 1" >>confdefs.h
70775
70776     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70777
70778   fi
70779 fi
70780
70781 # Check for _Unwind_GetIPInfo.
70782
70783
70784 # Check whether --with-system-libunwind was given.
70785 if test "${with_system_libunwind+set}" = set; then :
70786   withval=$with_system_libunwind;
70787 fi
70788
70789   # If system-libunwind was not specifically set, pick a default setting.
70790   if test x$with_system_libunwind = x; then
70791     case ${target} in
70792       ia64-*-hpux*) with_system_libunwind=yes ;;
70793       *) with_system_libunwind=no ;;
70794     esac
70795   fi
70796   # Based on system-libunwind and target, do we have ipinfo?
70797   if  test x$with_system_libunwind = xyes; then
70798     case ${target} in
70799       ia64-*-*) have_unwind_getipinfo=no ;;
70800       *) have_unwind_getipinfo=yes ;;
70801     esac
70802   else
70803     # Darwin before version 9 does not have _Unwind_GetIPInfo.
70804
70805     case ${target} in
70806       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70807       *) have_unwind_getipinfo=yes ;;
70808     esac
70809
70810   fi
70811
70812   if test x$have_unwind_getipinfo = xyes; then
70813
70814 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70815
70816   fi
70817
70818
70819  # Check whether --enable-linux-futex was given.
70820 if test "${enable_linux_futex+set}" = set; then :
70821   enableval=$enable_linux_futex;
70822       case "$enableval" in
70823        yes|no|default) ;;
70824        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70825                           esac
70826
70827 else
70828   enable_linux_futex=default
70829 fi
70830
70831
70832 case "$target" in
70833   *-linux*)
70834     case "$enable_linux_futex" in
70835       default)
70836         # If headers don't have gettid/futex syscalls definition, then
70837         # default to no, otherwise there will be compile time failures.
70838         # Otherwise, default to yes.  If we don't detect we are
70839         # compiled/linked against NPTL and not cross-compiling, check
70840         # if programs are run by default against NPTL and if not, issue
70841         # a warning.
70842         enable_linux_futex=no
70843         if test x$gcc_no_link = xyes; then
70844   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70845 fi
70846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70847 /* end confdefs.h.  */
70848 #include <sys/syscall.h>
70849            int lk;
70850 int
70851 main ()
70852 {
70853 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70854   ;
70855   return 0;
70856 }
70857 _ACEOF
70858 if ac_fn_c_try_link "$LINENO"; then :
70859   save_LIBS="$LIBS"
70860            LIBS="-lpthread $LIBS"
70861            if test x$gcc_no_link = xyes; then
70862   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70863 fi
70864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70865 /* end confdefs.h.  */
70866 #ifndef _GNU_SOURCE
70867              #define _GNU_SOURCE 1
70868              #endif
70869              #include <pthread.h>
70870              pthread_t th; void *status;
70871 int
70872 main ()
70873 {
70874 pthread_tryjoin_np (th, &status);
70875   ;
70876   return 0;
70877 }
70878 _ACEOF
70879 if ac_fn_c_try_link "$LINENO"; then :
70880   enable_linux_futex=yes
70881 else
70882   if test x$cross_compiling = xno; then
70883                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70884                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70885                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70886 If so, please configure with --disable-linux-futex" >&5
70887 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70888 If so, please configure with --disable-linux-futex" >&2;}
70889                fi
70890              fi
70891              enable_linux_futex=yes
70892 fi
70893 rm -f core conftest.err conftest.$ac_objext \
70894     conftest$ac_exeext conftest.$ac_ext
70895            LIBS="$save_LIBS"
70896 fi
70897 rm -f core conftest.err conftest.$ac_objext \
70898     conftest$ac_exeext conftest.$ac_ext
70899         ;;
70900       yes)
70901         if test x$gcc_no_link = xyes; then
70902   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70903 fi
70904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70905 /* end confdefs.h.  */
70906 #include <sys/syscall.h>
70907            int lk;
70908 int
70909 main ()
70910 {
70911 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70912   ;
70913   return 0;
70914 }
70915 _ACEOF
70916 if ac_fn_c_try_link "$LINENO"; then :
70917
70918 else
70919   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70920 fi
70921 rm -f core conftest.err conftest.$ac_objext \
70922     conftest$ac_exeext conftest.$ac_ext
70923         ;;
70924     esac
70925     ;;
70926   *)
70927     enable_linux_futex=no
70928     ;;
70929 esac
70930 if test x$enable_linux_futex = xyes; then
70931
70932 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70933
70934 fi
70935
70936
70937
70938
70939 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
70940
70941 acx_cv_header_stdint=stddef.h
70942 acx_cv_header_stdint_kind="(already complete)"
70943 for i in stdint.h $inttype_headers; do
70944   unset ac_cv_type_uintptr_t
70945   unset ac_cv_type_uintmax_t
70946   unset ac_cv_type_int_least32_t
70947   unset ac_cv_type_int_fast32_t
70948   unset ac_cv_type_uint64_t
70949   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
70950   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
70951 #include <$i>
70952 "
70953 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
70954   acx_cv_header_stdint=$i
70955 else
70956   continue
70957 fi
70958
70959   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70960 #include <$i>
70961 "
70962 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70963
70964 else
70965   acx_cv_header_stdint_kind="(mostly complete)"
70966 fi
70967
70968   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
70969 #include <$i>
70970 "
70971 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
70972
70973 else
70974   acx_cv_header_stdint_kind="(mostly complete)"
70975 fi
70976
70977   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
70978 #include <$i>
70979 "
70980 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
70981
70982 else
70983   acx_cv_header_stdint_kind="(mostly complete)"
70984 fi
70985
70986   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
70987 #include <$i>
70988 "
70989 if test "x$ac_cv_type_uint64_t" = x""yes; then :
70990
70991 else
70992   acx_cv_header_stdint_kind="(lacks uint64_t)"
70993 fi
70994
70995   break
70996 done
70997 if test "$acx_cv_header_stdint" = stddef.h; then
70998   acx_cv_header_stdint_kind="(lacks uintmax_t)"
70999   for i in stdint.h $inttype_headers; do
71000     unset ac_cv_type_uintptr_t
71001     unset ac_cv_type_uint32_t
71002     unset ac_cv_type_uint64_t
71003     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71004     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71005 #include <$i>
71006 "
71007 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71008   acx_cv_header_stdint=$i
71009 else
71010   continue
71011 fi
71012
71013     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71014 #include <$i>
71015 "
71016 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71017
71018 fi
71019
71020     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71021 #include <$i>
71022 "
71023 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71024
71025 fi
71026
71027     break
71028   done
71029 fi
71030 if test "$acx_cv_header_stdint" = stddef.h; then
71031   acx_cv_header_stdint_kind="(u_intXX_t style)"
71032   for i in sys/types.h $inttype_headers; do
71033     unset ac_cv_type_u_int32_t
71034     unset ac_cv_type_u_int64_t
71035     $as_echo_n "looking for u_intXX_t types in $i, " >&6
71036     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71037 #include <$i>
71038 "
71039 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71040   acx_cv_header_stdint=$i
71041 else
71042   continue
71043 fi
71044
71045     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71046 #include <$i>
71047 "
71048 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71049
71050 fi
71051
71052     break
71053   done
71054 fi
71055 if test "$acx_cv_header_stdint" = stddef.h; then
71056   acx_cv_header_stdint_kind="(using manual detection)"
71057 fi
71058
71059 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71060 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71061 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71062 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71063 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71064
71065 # ----------------- Summarize what we found so far
71066
71067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71068 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71069
71070 case `$as_basename -- include/gstdint.h ||
71071 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71072          Xinclude/gstdint.h : 'X\(//\)$' \| \
71073          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71074 $as_echo X/include/gstdint.h |
71075     sed '/^.*\/\([^/][^/]*\)\/*$/{
71076             s//\1/
71077             q
71078           }
71079           /^X\/\(\/\/\)$/{
71080             s//\1/
71081             q
71082           }
71083           /^X\/\(\/\).*/{
71084             s//\1/
71085             q
71086           }
71087           s/.*/./; q'` in
71088   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71089 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71090   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71091 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71092   *) ;;
71093 esac
71094
71095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71096 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71097
71098 # ----------------- done included file, check C basic types --------
71099
71100 # Lacking an uintptr_t?  Test size of void *
71101 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71102   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71105 # This bug is HP SR number 8606223364.
71106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71107 $as_echo_n "checking size of void *... " >&6; }
71108 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71109   $as_echo_n "(cached) " >&6
71110 else
71111   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
71112
71113 else
71114   if test "$ac_cv_type_void_p" = yes; then
71115      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71117 { as_fn_set_status 77
71118 as_fn_error "cannot compute sizeof (void *)
71119 See \`config.log' for more details." "$LINENO" 5; }; }
71120    else
71121      ac_cv_sizeof_void_p=0
71122    fi
71123 fi
71124
71125 fi
71126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71127 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71128
71129
71130
71131 cat >>confdefs.h <<_ACEOF
71132 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71133 _ACEOF
71134
71135  ;;
71136 esac
71137
71138 # Lacking an uint64_t?  Test size of long
71139 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71140   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71143 # This bug is HP SR number 8606223364.
71144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71145 $as_echo_n "checking size of long... " >&6; }
71146 if test "${ac_cv_sizeof_long+set}" = set; then :
71147   $as_echo_n "(cached) " >&6
71148 else
71149   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
71150
71151 else
71152   if test "$ac_cv_type_long" = yes; then
71153      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71155 { as_fn_set_status 77
71156 as_fn_error "cannot compute sizeof (long)
71157 See \`config.log' for more details." "$LINENO" 5; }; }
71158    else
71159      ac_cv_sizeof_long=0
71160    fi
71161 fi
71162
71163 fi
71164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71165 $as_echo "$ac_cv_sizeof_long" >&6; }
71166
71167
71168
71169 cat >>confdefs.h <<_ACEOF
71170 #define SIZEOF_LONG $ac_cv_sizeof_long
71171 _ACEOF
71172
71173  ;;
71174 esac
71175
71176 if test $acx_cv_header_stdint = stddef.h; then
71177   # Lacking a good header?  Test size of everything and deduce all types.
71178   # The cast to long int works around a bug in the HP C Compiler
71179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71180 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71181 # This bug is HP SR number 8606223364.
71182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71183 $as_echo_n "checking size of int... " >&6; }
71184 if test "${ac_cv_sizeof_int+set}" = set; then :
71185   $as_echo_n "(cached) " >&6
71186 else
71187   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
71188
71189 else
71190   if test "$ac_cv_type_int" = yes; then
71191      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71193 { as_fn_set_status 77
71194 as_fn_error "cannot compute sizeof (int)
71195 See \`config.log' for more details." "$LINENO" 5; }; }
71196    else
71197      ac_cv_sizeof_int=0
71198    fi
71199 fi
71200
71201 fi
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71203 $as_echo "$ac_cv_sizeof_int" >&6; }
71204
71205
71206
71207 cat >>confdefs.h <<_ACEOF
71208 #define SIZEOF_INT $ac_cv_sizeof_int
71209 _ACEOF
71210
71211
71212   # The cast to long int works around a bug in the HP C Compiler
71213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71215 # This bug is HP SR number 8606223364.
71216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71217 $as_echo_n "checking size of short... " >&6; }
71218 if test "${ac_cv_sizeof_short+set}" = set; then :
71219   $as_echo_n "(cached) " >&6
71220 else
71221   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
71222
71223 else
71224   if test "$ac_cv_type_short" = yes; then
71225      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71227 { as_fn_set_status 77
71228 as_fn_error "cannot compute sizeof (short)
71229 See \`config.log' for more details." "$LINENO" 5; }; }
71230    else
71231      ac_cv_sizeof_short=0
71232    fi
71233 fi
71234
71235 fi
71236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71237 $as_echo "$ac_cv_sizeof_short" >&6; }
71238
71239
71240
71241 cat >>confdefs.h <<_ACEOF
71242 #define SIZEOF_SHORT $ac_cv_sizeof_short
71243 _ACEOF
71244
71245
71246   # The cast to long int works around a bug in the HP C Compiler
71247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71249 # This bug is HP SR number 8606223364.
71250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71251 $as_echo_n "checking size of char... " >&6; }
71252 if test "${ac_cv_sizeof_char+set}" = set; then :
71253   $as_echo_n "(cached) " >&6
71254 else
71255   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
71256
71257 else
71258   if test "$ac_cv_type_char" = yes; then
71259      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71261 { as_fn_set_status 77
71262 as_fn_error "cannot compute sizeof (char)
71263 See \`config.log' for more details." "$LINENO" 5; }; }
71264    else
71265      ac_cv_sizeof_char=0
71266    fi
71267 fi
71268
71269 fi
71270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71271 $as_echo "$ac_cv_sizeof_char" >&6; }
71272
71273
71274
71275 cat >>confdefs.h <<_ACEOF
71276 #define SIZEOF_CHAR $ac_cv_sizeof_char
71277 _ACEOF
71278
71279
71280
71281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71282 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71283   case "$ac_cv_sizeof_char" in
71284     1) acx_cv_type_int8_t=char ;;
71285     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71286   esac
71287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71288 $as_echo "$acx_cv_type_int8_t" >&6; }
71289
71290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71291 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71292   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71293     2:*) acx_cv_type_int16_t=int ;;
71294     *:2) acx_cv_type_int16_t=short ;;
71295     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71296   esac
71297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71298 $as_echo "$acx_cv_type_int16_t" >&6; }
71299
71300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71301 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71302   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71303     4:*) acx_cv_type_int32_t=int ;;
71304     *:4) acx_cv_type_int32_t=long ;;
71305     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71306   esac
71307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71308 $as_echo "$acx_cv_type_int32_t" >&6; }
71309 fi
71310
71311 # These tests are here to make the output prettier
71312
71313 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71314   case "$ac_cv_sizeof_long" in
71315     8) acx_cv_type_int64_t=long ;;
71316   esac
71317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71318 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71320 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71321 fi
71322
71323 # Now we can use the above types
71324
71325 if test "$ac_cv_type_uintptr_t" != yes; then
71326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71327 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71328   case $ac_cv_sizeof_void_p in
71329     2) acx_cv_type_intptr_t=int16_t ;;
71330     4) acx_cv_type_intptr_t=int32_t ;;
71331     8) acx_cv_type_intptr_t=int64_t ;;
71332     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71333   esac
71334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71335 $as_echo "$acx_cv_type_intptr_t" >&6; }
71336 fi
71337
71338 # ----------------- done all checks, emit header -------------
71339 ac_config_commands="$ac_config_commands include/gstdint.h"
71340
71341
71342
71343
71344
71345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71346 $as_echo_n "checking for GNU c++filt... " >&6; }
71347 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71348   $as_echo_n "(cached) " >&6
71349 else
71350   if test -z "$CXXFILT"; then
71351   ac_path_CXXFILT_found=false
71352   # Loop through the user's path and test for each of PROGNAME-LIST
71353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71354 for as_dir in $PATH
71355 do
71356   IFS=$as_save_IFS
71357   test -z "$as_dir" && as_dir=.
71358     for ac_prog in c++filt gc++filt; do
71359     for ac_exec_ext in '' $ac_executable_extensions; do
71360       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71361       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71362 # Check for GNU $ac_path_CXXFILT
71363 case `"$ac_path_CXXFILT" --version 2>&1` in
71364 *GNU*)
71365   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71366 esac
71367
71368       $ac_path_CXXFILT_found && break 3
71369     done
71370   done
71371   done
71372 IFS=$as_save_IFS
71373   if test -z "$ac_cv_path_CXXFILT"; then
71374     :
71375   fi
71376 else
71377   ac_cv_path_CXXFILT=$CXXFILT
71378 fi
71379
71380 fi
71381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71382 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71383   CXXFILT=$ac_cv_path_CXXFILT
71384
71385
71386
71387  # Check whether --enable-symvers was given.
71388 if test "${enable_symvers+set}" = set; then :
71389   enableval=$enable_symvers;
71390       case "$enableval" in
71391        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71392        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71393                         esac
71394
71395 else
71396   enable_symvers=yes
71397 fi
71398
71399
71400
71401 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71402 # don't know enough about $LD to do tricks...
71403
71404 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71405 # with extern "C++" in version scripts.
71406
71407
71408 # Turn a 'yes' into a suitable default.
71409 if test x$enable_symvers = xyes ; then
71410   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71411     enable_symvers=no
71412   else
71413     if test $with_gnu_ld = yes ; then
71414       case ${target_os} in
71415         hpux*)
71416           enable_symvers=no ;;
71417         *)
71418           enable_symvers=gnu ;;
71419       esac
71420     else
71421       case ${target_os} in
71422         darwin*)
71423           enable_symvers=darwin ;;
71424         # Sun symbol versioning exists since Solaris 2.5.
71425         solaris2.[5-9]* | solaris2.1[0-9]*)
71426           # make_sunver.pl needs GNU c++filt to support extern "C++" in
71427           # version scripts, so disable symbol versioning if none can be
71428           # found.
71429           if test -z "$ac_cv_path_CXXFILT"; then
71430             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71431 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71432             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
71433 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
71434             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71435 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71436             enable_symvers=no
71437           else
71438             enable_symvers=sun
71439           fi
71440           ;;
71441         *)
71442           enable_symvers=no ;;
71443       esac
71444     fi
71445   fi
71446 fi
71447
71448 # Check to see if 'darwin' or 'darwin-export' can win.
71449 if test x$enable_symvers = xdarwin-export ; then
71450     enable_symvers=darwin
71451 fi
71452
71453 # Check if 'sun' was requested on non-Solaris 2 platforms.
71454 if test x$enable_symvers = xsun ; then
71455   case ${target_os} in
71456     solaris2*)
71457       # All fine.
71458       ;;
71459     *)
71460       # Unlikely to work.
71461       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71462 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71463       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71464 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71465       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71466 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71467       enable_symvers=no
71468       ;;
71469   esac
71470 fi
71471
71472 # Check to see if 'gnu' can win.
71473 if test $enable_symvers = gnu ||
71474   test $enable_symvers = gnu-versioned-namespace ||
71475   test $enable_symvers = sun; then
71476   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71478 $as_echo_n "checking for shared libgcc... " >&6; }
71479   ac_save_CFLAGS="$CFLAGS"
71480   CFLAGS=' -lgcc_s'
71481   if test x$gcc_no_link = xyes; then
71482   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71483 fi
71484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71485 /* end confdefs.h.  */
71486
71487 int
71488 main ()
71489 {
71490 return 0;
71491   ;
71492   return 0;
71493 }
71494 _ACEOF
71495 if ac_fn_c_try_link "$LINENO"; then :
71496   glibcxx_shared_libgcc=yes
71497 else
71498   glibcxx_shared_libgcc=no
71499 fi
71500 rm -f core conftest.err conftest.$ac_objext \
71501     conftest$ac_exeext conftest.$ac_ext
71502   CFLAGS="$ac_save_CFLAGS"
71503   if test $glibcxx_shared_libgcc = no; then
71504     cat > conftest.c <<EOF
71505 int main (void) { return 0; }
71506 EOF
71507     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71508                              -shared -shared-libgcc -o conftest.so \
71509                              conftest.c -v 2>&1 >/dev/null \
71510                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71511     rm -f conftest.c conftest.so
71512     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71513       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71514       if test x$gcc_no_link = xyes; then
71515   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71516 fi
71517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71518 /* end confdefs.h.  */
71519
71520 int
71521 main ()
71522 {
71523 return 0;
71524   ;
71525   return 0;
71526 }
71527 _ACEOF
71528 if ac_fn_c_try_link "$LINENO"; then :
71529   glibcxx_shared_libgcc=yes
71530 fi
71531 rm -f core conftest.err conftest.$ac_objext \
71532     conftest$ac_exeext conftest.$ac_ext
71533       CFLAGS="$ac_save_CFLAGS"
71534     fi
71535   fi
71536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71537 $as_echo "$glibcxx_shared_libgcc" >&6; }
71538
71539   # For GNU ld, we need at least this version.  The format is described in
71540   # GLIBCXX_CHECK_LINKER_FEATURES above.
71541   glibcxx_min_gnu_ld_version=21400
71542
71543   # If no shared libgcc, can't win.
71544   if test $glibcxx_shared_libgcc != yes; then
71545       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71546 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71547       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71548 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71549       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71550 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71551       enable_symvers=no
71552   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71553     : All interesting versions of Sun ld support sun style symbol versioning.
71554   elif test $with_gnu_ld != yes ; then
71555     # just fail for now
71556     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71557 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71558     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71559 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71560     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71561 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71562     enable_symvers=no
71563   elif test $glibcxx_ld_is_gold = yes ; then
71564     : All versions of gold support symbol versioning.
71565   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71566     # The right tools, the right setup, but too old.  Fallbacks?
71567     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71568 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71569     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71570 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71571     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71572 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71573     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71574 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71575     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71576 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71577     enable_symvers=no
71578   fi
71579 fi
71580
71581 # For libtool versioning info, format is CURRENT:REVISION:AGE
71582 libtool_VERSION=6:19:0
71583
71584 # Everything parsed; figure out what files and settings to use.
71585 case $enable_symvers in
71586   no)
71587     SYMVER_FILE=config/abi/pre/none.ver
71588     ;;
71589   gnu)
71590     SYMVER_FILE=config/abi/pre/gnu.ver
71591
71592 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71593
71594     ;;
71595   gnu-versioned-namespace)
71596     libtool_VERSION=7:0:0
71597     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71598
71599 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71600
71601     ;;
71602   darwin)
71603     SYMVER_FILE=config/abi/pre/gnu.ver
71604
71605 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71606
71607     ;;
71608   sun)
71609     SYMVER_FILE=config/abi/pre/gnu.ver
71610
71611 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71612
71613     ;;
71614 esac
71615
71616 if test x$enable_symvers != xno ; then
71617
71618 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71619
71620 fi
71621
71622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71623 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71624 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71625   $as_echo_n "(cached) " >&6
71626 else
71627
71628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71629 /* end confdefs.h.  */
71630 void foo (void); __asm (".symver foo, bar@SYMVER");
71631 int
71632 main ()
71633 {
71634
71635   ;
71636   return 0;
71637 }
71638 _ACEOF
71639 if ac_fn_c_try_compile "$LINENO"; then :
71640   glibcxx_cv_have_as_symver_directive=yes
71641 else
71642   glibcxx_cv_have_as_symver_directive=no
71643 fi
71644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71645 fi
71646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71647 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71648 if test $glibcxx_cv_have_as_symver_directive = yes; then
71649
71650 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71651
71652 fi
71653
71654
71655
71656
71657
71658
71659
71660
71661 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71662 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71663
71664 if test $enable_symvers != no ; then
71665    case ${target_os} in
71666      # The Solaris 2 runtime linker doesn't support the GNU extension of
71667      # binding the same symbol to different versions
71668      solaris2*)
71669        ;;
71670      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71671      *)
71672
71673 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71674
71675        ;;
71676     esac
71677 fi
71678
71679 # Now, set up compatibility support, if any.
71680 # In addition, need this to deal with std::size_t mangling in
71681 # src/compatibility.cc.  In a perfect world, could use
71682 # typeid(std::size_t).name()[0] to do direct substitution.
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71684 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71685 ac_save_CFLAGS="$CFLAGS"
71686 CFLAGS="-Werror"
71687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71688 /* end confdefs.h.  */
71689
71690 int
71691 main ()
71692 {
71693 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71694   ;
71695   return 0;
71696 }
71697 _ACEOF
71698 if ac_fn_c_try_compile "$LINENO"; then :
71699   glibcxx_size_t_is_i=yes
71700 else
71701   glibcxx_size_t_is_i=no
71702 fi
71703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71704 CFLAGS=$ac_save_CFLAGS
71705 if test "$glibcxx_size_t_is_i" = yes; then
71706
71707 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71708
71709 fi
71710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71711 $as_echo "$glibcxx_size_t_is_i" >&6; }
71712
71713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71714 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71715 ac_save_CFLAGS="$CFLAGS"
71716 CFLAGS="-Werror"
71717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71718 /* end confdefs.h.  */
71719
71720 int
71721 main ()
71722 {
71723 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71724   ;
71725   return 0;
71726 }
71727 _ACEOF
71728 if ac_fn_c_try_compile "$LINENO"; then :
71729   glibcxx_ptrdiff_t_is_i=yes
71730 else
71731   glibcxx_ptrdiff_t_is_i=no
71732 fi
71733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71734 CFLAGS=$ac_save_CFLAGS
71735 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71736
71737 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71738
71739 fi
71740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71741 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71742
71743
71744
71745
71746  # Check whether --enable-libstdcxx-visibility was given.
71747 if test "${enable_libstdcxx_visibility+set}" = set; then :
71748   enableval=$enable_libstdcxx_visibility;
71749       case "$enableval" in
71750        yes|no) ;;
71751        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71752       esac
71753
71754 else
71755   enable_libstdcxx_visibility=yes
71756 fi
71757
71758
71759
71760 if test x$enable_libstdcxx_visibility = xyes ; then
71761       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71762 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71763 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71764   $as_echo_n "(cached) " >&6
71765 else
71766
71767   save_CFLAGS="$CFLAGS"
71768   CFLAGS="$CFLAGS -Werror"
71769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71770 /* end confdefs.h.  */
71771 void __attribute__((visibility("hidden"))) foo(void) { }
71772 int
71773 main ()
71774 {
71775
71776   ;
71777   return 0;
71778 }
71779 _ACEOF
71780 if ac_fn_c_try_compile "$LINENO"; then :
71781   glibcxx_cv_have_attribute_visibility=yes
71782 else
71783   glibcxx_cv_have_attribute_visibility=no
71784 fi
71785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71786   CFLAGS="$save_CFLAGS"
71787 fi
71788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71789 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71790   if test $glibcxx_cv_have_attribute_visibility = no; then
71791     enable_libstdcxx_visibility=no
71792   fi
71793 fi
71794
71795
71796 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71797 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71798
71799
71800 ac_ldbl_compat=no
71801 case "$target" in
71802   powerpc*-*-linux* | \
71803   sparc*-*-linux* | \
71804   s390*-*-linux* | \
71805   alpha*-*-linux*)
71806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71807 /* end confdefs.h.  */
71808
71809 int
71810 main ()
71811 {
71812
71813 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71814 #error no need for long double compatibility
71815 #endif
71816
71817   ;
71818   return 0;
71819 }
71820 _ACEOF
71821 if ac_fn_c_try_compile "$LINENO"; then :
71822   ac_ldbl_compat=yes
71823 else
71824   ac_ldbl_compat=no
71825 fi
71826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71827   if test "$ac_ldbl_compat" = yes; then
71828
71829 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71830
71831     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71832   fi
71833 esac
71834
71835
71836 # Check if assembler supports disabling hardware capability support.
71837
71838   test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71839
71840   # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71841   # with a different meaning.
71842   case ${target_os} in
71843     solaris2*)
71844       ac_save_CFLAGS="$CFLAGS"
71845       CFLAGS="$CFLAGS -Wa,-nH"
71846
71847       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71848 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71850 /* end confdefs.h.  */
71851
71852 int
71853 main ()
71854 {
71855 return 0;
71856   ;
71857   return 0;
71858 }
71859 _ACEOF
71860 if ac_fn_c_try_compile "$LINENO"; then :
71861   ac_hwcap_flags=yes
71862 else
71863   ac_hwcap_flags=no
71864 fi
71865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71866       if test "$ac_hwcap_flags" = "yes"; then
71867         HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71868       fi
71869       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71870 $as_echo "$ac_hwcap_flags" >&6; }
71871
71872       CFLAGS="$ac_save_CFLAGS"
71873       ;;
71874   esac
71875
71876
71877
71878
71879 # Check if assembler supports rdrand opcode.
71880
71881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71882 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71883   if test "${ac_cv_x86_rdrand+set}" = set; then :
71884   $as_echo_n "(cached) " >&6
71885 else
71886
71887   ac_cv_x86_rdrand=no
71888   case "$target" in
71889     i?86-*-* | \
71890     x86_64-*-*)
71891     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71892 /* end confdefs.h.  */
71893
71894 int
71895 main ()
71896 {
71897 asm("rdrand %eax");
71898   ;
71899   return 0;
71900 }
71901 _ACEOF
71902 if ac_fn_c_try_compile "$LINENO"; then :
71903   ac_cv_x86_rdrand=yes
71904 else
71905   ac_cv_x86_rdrand=no
71906 fi
71907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71908   esac
71909
71910 fi
71911
71912   if test $ac_cv_x86_rdrand = yes; then
71913
71914 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71915
71916   fi
71917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71918 $as_echo "$ac_cv_x86_rdrand" >&6; }
71919
71920
71921 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71922
71923   if $GLIBCXX_IS_NATIVE ; then
71924     # Do checks for resource limit functions.
71925
71926   setrlimit_have_headers=yes
71927   for ac_header in unistd.h sys/time.h sys/resource.h
71928 do :
71929   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71930 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71931 eval as_val=\$$as_ac_Header
71932    if test "x$as_val" = x""yes; then :
71933   cat >>confdefs.h <<_ACEOF
71934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71935 _ACEOF
71936
71937 else
71938   setrlimit_have_headers=no
71939 fi
71940
71941 done
71942
71943   # If don't have the headers, then we can't run the tests now, and we
71944   # won't be seeing any of these during testsuite compilation.
71945   if test $setrlimit_have_headers = yes; then
71946     # Can't do these in a loop, else the resulting syntax is wrong.
71947
71948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71949 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71951 /* end confdefs.h.  */
71952 #include <unistd.h>
71953      #include <sys/time.h>
71954      #include <sys/resource.h>
71955
71956 int
71957 main ()
71958 {
71959  int f = RLIMIT_DATA ;
71960   ;
71961   return 0;
71962 }
71963 _ACEOF
71964 if ac_fn_c_try_compile "$LINENO"; then :
71965   glibcxx_mresult=1
71966 else
71967   glibcxx_mresult=0
71968 fi
71969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71970
71971 cat >>confdefs.h <<_ACEOF
71972 #define HAVE_LIMIT_DATA $glibcxx_mresult
71973 _ACEOF
71974
71975   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71977 $as_echo "$res" >&6; }
71978
71979
71980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71981 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71983 /* end confdefs.h.  */
71984 #include <unistd.h>
71985      #include <sys/time.h>
71986      #include <sys/resource.h>
71987
71988 int
71989 main ()
71990 {
71991  int f = RLIMIT_RSS ;
71992   ;
71993   return 0;
71994 }
71995 _ACEOF
71996 if ac_fn_c_try_compile "$LINENO"; then :
71997   glibcxx_mresult=1
71998 else
71999   glibcxx_mresult=0
72000 fi
72001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72002
72003 cat >>confdefs.h <<_ACEOF
72004 #define HAVE_LIMIT_RSS $glibcxx_mresult
72005 _ACEOF
72006
72007   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72009 $as_echo "$res" >&6; }
72010
72011
72012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72013 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72015 /* end confdefs.h.  */
72016 #include <unistd.h>
72017      #include <sys/time.h>
72018      #include <sys/resource.h>
72019
72020 int
72021 main ()
72022 {
72023  int f = RLIMIT_VMEM ;
72024   ;
72025   return 0;
72026 }
72027 _ACEOF
72028 if ac_fn_c_try_compile "$LINENO"; then :
72029   glibcxx_mresult=1
72030 else
72031   glibcxx_mresult=0
72032 fi
72033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72034
72035 cat >>confdefs.h <<_ACEOF
72036 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72037 _ACEOF
72038
72039   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72041 $as_echo "$res" >&6; }
72042
72043
72044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72045 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72047 /* end confdefs.h.  */
72048 #include <unistd.h>
72049      #include <sys/time.h>
72050      #include <sys/resource.h>
72051
72052 int
72053 main ()
72054 {
72055  int f = RLIMIT_AS ;
72056   ;
72057   return 0;
72058 }
72059 _ACEOF
72060 if ac_fn_c_try_compile "$LINENO"; then :
72061   glibcxx_mresult=1
72062 else
72063   glibcxx_mresult=0
72064 fi
72065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72066
72067 cat >>confdefs.h <<_ACEOF
72068 #define HAVE_LIMIT_AS $glibcxx_mresult
72069 _ACEOF
72070
72071   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72073 $as_echo "$res" >&6; }
72074
72075
72076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72077 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72079 /* end confdefs.h.  */
72080 #include <unistd.h>
72081      #include <sys/time.h>
72082      #include <sys/resource.h>
72083
72084 int
72085 main ()
72086 {
72087  int f = RLIMIT_FSIZE ;
72088   ;
72089   return 0;
72090 }
72091 _ACEOF
72092 if ac_fn_c_try_compile "$LINENO"; then :
72093   glibcxx_mresult=1
72094 else
72095   glibcxx_mresult=0
72096 fi
72097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72098
72099 cat >>confdefs.h <<_ACEOF
72100 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72101 _ACEOF
72102
72103   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72105 $as_echo "$res" >&6; }
72106
72107
72108     # Check for rlimit, setrlimit.
72109     if test "${glibcxx_cv_setrlimit+set}" = set; then :
72110   $as_echo_n "(cached) " >&6
72111 else
72112
72113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72114 /* end confdefs.h.  */
72115 #include <unistd.h>
72116          #include <sys/time.h>
72117          #include <sys/resource.h>
72118
72119 int
72120 main ()
72121 {
72122 struct rlimit r;
72123          setrlimit(0, &r);
72124   ;
72125   return 0;
72126 }
72127 _ACEOF
72128 if ac_fn_c_try_compile "$LINENO"; then :
72129   glibcxx_cv_setrlimit=yes
72130 else
72131   glibcxx_cv_setrlimit=no
72132 fi
72133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72134
72135 fi
72136
72137   fi
72138
72139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72140 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72141   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72142     ac_res_limits=yes
72143
72144 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72145
72146   else
72147     ac_res_limits=no
72148   fi
72149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72150 $as_echo "$ac_res_limits" >&6; }
72151
72152
72153     # Look for setenv, so that extended locale tests can be performed.
72154
72155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72156 $as_echo_n "checking for setenv declaration... " >&6; }
72157   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72158     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72159   $as_echo_n "(cached) " >&6
72160 else
72161
72162
72163       ac_ext=cpp
72164 ac_cpp='$CXXCPP $CPPFLAGS'
72165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72168
72169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72170 /* end confdefs.h.  */
72171 #include <stdlib.h>
72172 int
72173 main ()
72174 {
72175  setenv(0, 0, 0);
72176   ;
72177   return 0;
72178 }
72179 _ACEOF
72180 if ac_fn_cxx_try_compile "$LINENO"; then :
72181   glibcxx_cv_func_setenv_use=yes
72182 else
72183   glibcxx_cv_func_setenv_use=no
72184 fi
72185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72186       ac_ext=c
72187 ac_cpp='$CPP $CPPFLAGS'
72188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72191
72192
72193 fi
72194
72195   fi
72196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72197 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72198   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72199     for ac_func in setenv
72200 do :
72201   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72202 if test "x$ac_cv_func_setenv" = x""yes; then :
72203   cat >>confdefs.h <<_ACEOF
72204 #define HAVE_SETENV 1
72205 _ACEOF
72206
72207 fi
72208 done
72209
72210   fi
72211
72212   fi
72213
72214   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72215      test $enable_symvers != no; then
72216     case "$host" in
72217       *-*-cygwin*)
72218         enable_abi_check=no ;;
72219       *)
72220         enable_abi_check=yes ;;
72221     esac
72222   else
72223     # Only build this as native, since automake does not understand
72224     # CXX_FOR_BUILD.
72225     enable_abi_check=no
72226   fi
72227
72228   # Export file names for ABI checking.
72229   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72230
72231   baseline_subdir_switch="$abi_baseline_subdir_switch"
72232
72233
72234
72235 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
72236
72237    # Check whether --enable-libstdcxx-threads was given.
72238 if test "${enable_libstdcxx_threads+set}" = set; then :
72239   enableval=$enable_libstdcxx_threads;
72240       case "$enableval" in
72241        yes|no) ;;
72242        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72243       esac
72244
72245 else
72246   enable_libstdcxx_threads=auto
72247 fi
72248
72249
72250
72251   if test x$enable_libstdcxx_threads = xauto ||
72252      test x$enable_libstdcxx_threads = xyes; then
72253
72254
72255   ac_ext=cpp
72256 ac_cpp='$CXXCPP $CPPFLAGS'
72257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72260
72261
72262   ac_save_CXXFLAGS="$CXXFLAGS"
72263   CXXFLAGS="$CXXFLAGS -fno-exceptions \
72264         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72265
72266   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72267   case $target_thread_file in
72268     posix)
72269       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72270   esac
72271
72272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72273 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72274
72275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72276 /* end confdefs.h.  */
72277 #include <unistd.h>
72278 int
72279 main ()
72280 {
72281
72282       // In case of POSIX threads check _POSIX_TIMEOUTS.
72283       #if (defined(_PTHREADS) \
72284           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72285       #error
72286       #endif
72287
72288   ;
72289   return 0;
72290 }
72291 _ACEOF
72292 if ac_fn_cxx_try_compile "$LINENO"; then :
72293   ac_gthread_use_mutex_timedlock=1
72294 else
72295   ac_gthread_use_mutex_timedlock=0
72296 fi
72297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72298
72299
72300 cat >>confdefs.h <<_ACEOF
72301 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72302 _ACEOF
72303
72304
72305   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72306   else res_mutex_timedlock=no ; fi
72307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72308 $as_echo "$res_mutex_timedlock" >&6; }
72309
72310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72311 $as_echo_n "checking for gthreads library... " >&6; }
72312
72313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72314 /* end confdefs.h.  */
72315 #include "gthr.h"
72316 int
72317 main ()
72318 {
72319
72320       #ifndef __GTHREADS_CXX0X
72321       #error
72322       #endif
72323
72324   ;
72325   return 0;
72326 }
72327 _ACEOF
72328 if ac_fn_cxx_try_compile "$LINENO"; then :
72329   case $target_os in
72330           # gthreads support breaks symbol versioning on Solaris 9 (PR
72331           # libstdc++/52189).
72332           solaris2.9*)
72333             if test x$enable_symvers = xno; then
72334               ac_has_gthreads=yes
72335             elif test x$enable_libstdcxx_threads = xyes; then
72336               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72337 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72338               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72339 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72340               ac_has_gthreads=yes
72341             else
72342               ac_has_gthreads=no
72343             fi
72344             ;;
72345           *)
72346             ac_has_gthreads=yes
72347             ;;
72348         esac
72349 else
72350   ac_has_gthreads=no
72351 fi
72352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72353   else
72354     ac_has_gthreads=no
72355   fi
72356
72357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72358 $as_echo "$ac_has_gthreads" >&6; }
72359
72360   if test x"$ac_has_gthreads" = x"yes"; then
72361
72362 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72363
72364   fi
72365
72366   CXXFLAGS="$ac_save_CXXFLAGS"
72367   ac_ext=c
72368 ac_cpp='$CPP $CPPFLAGS'
72369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72372
72373
72374
72375 # Define documentation rules conditionally.
72376
72377 # See if makeinfo has been installed and is modern enough
72378 # that we can use it.
72379
72380   # Extract the first word of "makeinfo", so it can be a program name with args.
72381 set dummy makeinfo; ac_word=$2
72382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72383 $as_echo_n "checking for $ac_word... " >&6; }
72384 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72385   $as_echo_n "(cached) " >&6
72386 else
72387   if test -n "$MAKEINFO"; then
72388   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72389 else
72390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72391 for as_dir in $PATH
72392 do
72393   IFS=$as_save_IFS
72394   test -z "$as_dir" && as_dir=.
72395     for ac_exec_ext in '' $ac_executable_extensions; do
72396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72397     ac_cv_prog_MAKEINFO="makeinfo"
72398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72399     break 2
72400   fi
72401 done
72402   done
72403 IFS=$as_save_IFS
72404
72405 fi
72406 fi
72407 MAKEINFO=$ac_cv_prog_MAKEINFO
72408 if test -n "$MAKEINFO"; then
72409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72410 $as_echo "$MAKEINFO" >&6; }
72411 else
72412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72413 $as_echo "no" >&6; }
72414 fi
72415
72416
72417   if test -n "$MAKEINFO"; then
72418     # Found it, now check the version.
72419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72420 $as_echo_n "checking for modern makeinfo... " >&6; }
72421 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72422   $as_echo_n "(cached) " >&6
72423 else
72424   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72425                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72426
72427                     case $ac_prog_version in
72428                       '')  gcc_cv_prog_makeinfo_modern=no;;
72429                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
72430                       *)   gcc_cv_prog_makeinfo_modern=no;;
72431                     esac
72432
72433 fi
72434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72435 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72436   else
72437     gcc_cv_prog_makeinfo_modern=no
72438   fi
72439   if test $gcc_cv_prog_makeinfo_modern = no; then
72440     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72441   fi
72442
72443  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72444   BUILD_INFO_TRUE=
72445   BUILD_INFO_FALSE='#'
72446 else
72447   BUILD_INFO_TRUE='#'
72448   BUILD_INFO_FALSE=
72449 fi
72450
72451
72452 # Check for doxygen
72453 # Extract the first word of "doxygen", so it can be a program name with args.
72454 set dummy doxygen; ac_word=$2
72455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72456 $as_echo_n "checking for $ac_word... " >&6; }
72457 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72458   $as_echo_n "(cached) " >&6
72459 else
72460   if test -n "$DOXYGEN"; then
72461   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72462 else
72463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72464 for as_dir in $PATH
72465 do
72466   IFS=$as_save_IFS
72467   test -z "$as_dir" && as_dir=.
72468     for ac_exec_ext in '' $ac_executable_extensions; do
72469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72470     ac_cv_prog_DOXYGEN="yes"
72471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72472     break 2
72473   fi
72474 done
72475   done
72476 IFS=$as_save_IFS
72477
72478   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72479 fi
72480 fi
72481 DOXYGEN=$ac_cv_prog_DOXYGEN
72482 if test -n "$DOXYGEN"; then
72483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72484 $as_echo "$DOXYGEN" >&6; }
72485 else
72486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72487 $as_echo "no" >&6; }
72488 fi
72489
72490
72491 # Extract the first word of "dot", so it can be a program name with args.
72492 set dummy dot; ac_word=$2
72493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72494 $as_echo_n "checking for $ac_word... " >&6; }
72495 if test "${ac_cv_prog_DOT+set}" = set; then :
72496   $as_echo_n "(cached) " >&6
72497 else
72498   if test -n "$DOT"; then
72499   ac_cv_prog_DOT="$DOT" # Let the user override the test.
72500 else
72501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72502 for as_dir in $PATH
72503 do
72504   IFS=$as_save_IFS
72505   test -z "$as_dir" && as_dir=.
72506     for ac_exec_ext in '' $ac_executable_extensions; do
72507   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72508     ac_cv_prog_DOT="yes"
72509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72510     break 2
72511   fi
72512 done
72513   done
72514 IFS=$as_save_IFS
72515
72516   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72517 fi
72518 fi
72519 DOT=$ac_cv_prog_DOT
72520 if test -n "$DOT"; then
72521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72522 $as_echo "$DOT" >&6; }
72523 else
72524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72525 $as_echo "no" >&6; }
72526 fi
72527
72528
72529
72530 # Check for docbook
72531 # Extract the first word of "xsltproc", so it can be a program name with args.
72532 set dummy xsltproc; ac_word=$2
72533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72534 $as_echo_n "checking for $ac_word... " >&6; }
72535 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72536   $as_echo_n "(cached) " >&6
72537 else
72538   if test -n "$XSLTPROC"; then
72539   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72540 else
72541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72542 for as_dir in $PATH
72543 do
72544   IFS=$as_save_IFS
72545   test -z "$as_dir" && as_dir=.
72546     for ac_exec_ext in '' $ac_executable_extensions; do
72547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72548     ac_cv_prog_XSLTPROC="yes"
72549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72550     break 2
72551   fi
72552 done
72553   done
72554 IFS=$as_save_IFS
72555
72556   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72557 fi
72558 fi
72559 XSLTPROC=$ac_cv_prog_XSLTPROC
72560 if test -n "$XSLTPROC"; then
72561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72562 $as_echo "$XSLTPROC" >&6; }
72563 else
72564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72565 $as_echo "no" >&6; }
72566 fi
72567
72568
72569 # Extract the first word of "xmllint", so it can be a program name with args.
72570 set dummy xmllint; ac_word=$2
72571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72572 $as_echo_n "checking for $ac_word... " >&6; }
72573 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72574   $as_echo_n "(cached) " >&6
72575 else
72576   if test -n "$XMLLINT"; then
72577   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72578 else
72579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72580 for as_dir in $PATH
72581 do
72582   IFS=$as_save_IFS
72583   test -z "$as_dir" && as_dir=.
72584     for ac_exec_ext in '' $ac_executable_extensions; do
72585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72586     ac_cv_prog_XMLLINT="yes"
72587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72588     break 2
72589   fi
72590 done
72591   done
72592 IFS=$as_save_IFS
72593
72594   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72595 fi
72596 fi
72597 XMLLINT=$ac_cv_prog_XMLLINT
72598 if test -n "$XMLLINT"; then
72599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72600 $as_echo "$XMLLINT" >&6; }
72601 else
72602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72603 $as_echo "no" >&6; }
72604 fi
72605
72606
72607
72608
72609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72610 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72611 glibcxx_stylesheets=no
72612 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
72613   glibcxx_stylesheets=yes
72614 fi
72615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72616 $as_echo "$glibcxx_stylesheets" >&6; }
72617
72618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72619 $as_echo_n "checking for local stylesheet directory... " >&6; }
72620 glibcxx_local_stylesheets=no
72621 if test x"$glibcxx_stylesheets" = x"yes"; then
72622   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72623     glibcxx_local_stylesheets=yes
72624     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72625   fi
72626   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72627     glibcxx_local_stylesheets=yes
72628     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72629   fi
72630   if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72631     glibcxx_local_stylesheets=yes
72632     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72633   fi
72634 fi
72635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72636 $as_echo "$glibcxx_local_stylesheets" >&6; }
72637
72638 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72639
72640   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72641 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72642 else
72643   glibcxx_stylesheets=no
72644 fi
72645
72646 # Check for epub3 dependencies.
72647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72648 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72649 glibcxx_epub_stylesheets=no
72650 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72651    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72652       glibcxx_epub_stylesheets=yes
72653    fi
72654 fi
72655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72656 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72657  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72658   BUILD_EPUB_TRUE=
72659   BUILD_EPUB_FALSE='#'
72660 else
72661   BUILD_EPUB_TRUE='#'
72662   BUILD_EPUB_FALSE=
72663 fi
72664
72665
72666
72667
72668 # Check for xml/html dependencies.
72669  if test $ac_cv_prog_DOXYGEN = "yes" &&
72670                test $ac_cv_prog_DOT = "yes" &&
72671                test $ac_cv_prog_XSLTPROC = "yes" &&
72672                test $ac_cv_prog_XMLLINT = "yes" &&
72673                test $glibcxx_stylesheets = "yes"; then
72674   BUILD_XML_TRUE=
72675   BUILD_XML_FALSE='#'
72676 else
72677   BUILD_XML_TRUE='#'
72678   BUILD_XML_FALSE=
72679 fi
72680
72681
72682  if test $ac_cv_prog_DOXYGEN = "yes" &&
72683                test $ac_cv_prog_DOT = "yes" &&
72684                test $ac_cv_prog_XSLTPROC = "yes" &&
72685                test $ac_cv_prog_XMLLINT = "yes" &&
72686                test $glibcxx_stylesheets = "yes"; then
72687   BUILD_HTML_TRUE=
72688   BUILD_HTML_FALSE='#'
72689 else
72690   BUILD_HTML_TRUE='#'
72691   BUILD_HTML_FALSE=
72692 fi
72693
72694
72695 # Check for man dependencies.
72696  if test $ac_cv_prog_DOXYGEN = "yes" &&
72697                test $ac_cv_prog_DOT = "yes"; then
72698   BUILD_MAN_TRUE=
72699   BUILD_MAN_FALSE='#'
72700 else
72701   BUILD_MAN_TRUE='#'
72702   BUILD_MAN_FALSE=
72703 fi
72704
72705
72706 # Check for pdf dependencies.
72707 # Extract the first word of "dblatex", so it can be a program name with args.
72708 set dummy dblatex; ac_word=$2
72709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72710 $as_echo_n "checking for $ac_word... " >&6; }
72711 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72712   $as_echo_n "(cached) " >&6
72713 else
72714   if test -n "$DBLATEX"; then
72715   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72716 else
72717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72718 for as_dir in $PATH
72719 do
72720   IFS=$as_save_IFS
72721   test -z "$as_dir" && as_dir=.
72722     for ac_exec_ext in '' $ac_executable_extensions; do
72723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72724     ac_cv_prog_DBLATEX="yes"
72725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72726     break 2
72727   fi
72728 done
72729   done
72730 IFS=$as_save_IFS
72731
72732   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72733 fi
72734 fi
72735 DBLATEX=$ac_cv_prog_DBLATEX
72736 if test -n "$DBLATEX"; then
72737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72738 $as_echo "$DBLATEX" >&6; }
72739 else
72740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72741 $as_echo "no" >&6; }
72742 fi
72743
72744
72745 # Extract the first word of "pdflatex", so it can be a program name with args.
72746 set dummy pdflatex; ac_word=$2
72747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72748 $as_echo_n "checking for $ac_word... " >&6; }
72749 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72750   $as_echo_n "(cached) " >&6
72751 else
72752   if test -n "$PDFLATEX"; then
72753   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72754 else
72755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72756 for as_dir in $PATH
72757 do
72758   IFS=$as_save_IFS
72759   test -z "$as_dir" && as_dir=.
72760     for ac_exec_ext in '' $ac_executable_extensions; do
72761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72762     ac_cv_prog_PDFLATEX="yes"
72763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72764     break 2
72765   fi
72766 done
72767   done
72768 IFS=$as_save_IFS
72769
72770   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72771 fi
72772 fi
72773 PDFLATEX=$ac_cv_prog_PDFLATEX
72774 if test -n "$PDFLATEX"; then
72775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72776 $as_echo "$PDFLATEX" >&6; }
72777 else
72778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72779 $as_echo "no" >&6; }
72780 fi
72781
72782
72783  if test $ac_cv_prog_DBLATEX = "yes" &&
72784                test $ac_cv_prog_PDFLATEX = "yes"; then
72785   BUILD_PDF_TRUE=
72786   BUILD_PDF_FALSE='#'
72787 else
72788   BUILD_PDF_TRUE='#'
72789   BUILD_PDF_FALSE=
72790 fi
72791
72792
72793
72794 # Propagate the target-specific source directories through the build chain.
72795 ATOMICITY_SRCDIR=config/${atomicity_dir}
72796 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72797 ATOMIC_FLAGS=${atomic_flags}
72798 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72799 OS_INC_SRCDIR=config/${os_include_dir}
72800 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72801 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72802 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72803 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72804
72805
72806
72807
72808
72809
72810
72811
72812
72813
72814
72815 # Determine cross-compile flags and AM_CONDITIONALs.
72816 #AC_SUBST(GLIBCXX_IS_NATIVE)
72817 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72818     if test $is_hosted = yes; then
72819   GLIBCXX_HOSTED_TRUE=
72820   GLIBCXX_HOSTED_FALSE='#'
72821 else
72822   GLIBCXX_HOSTED_TRUE='#'
72823   GLIBCXX_HOSTED_FALSE=
72824 fi
72825
72826
72827     if test $enable_libstdcxx_pch = yes; then
72828   GLIBCXX_BUILD_PCH_TRUE=
72829   GLIBCXX_BUILD_PCH_FALSE='#'
72830 else
72831   GLIBCXX_BUILD_PCH_TRUE='#'
72832   GLIBCXX_BUILD_PCH_FALSE=
72833 fi
72834
72835
72836     if test $enable_cheaders = c; then
72837   GLIBCXX_C_HEADERS_C_TRUE=
72838   GLIBCXX_C_HEADERS_C_FALSE='#'
72839 else
72840   GLIBCXX_C_HEADERS_C_TRUE='#'
72841   GLIBCXX_C_HEADERS_C_FALSE=
72842 fi
72843
72844
72845     if test $enable_cheaders = c_std; then
72846   GLIBCXX_C_HEADERS_C_STD_TRUE=
72847   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72848 else
72849   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72850   GLIBCXX_C_HEADERS_C_STD_FALSE=
72851 fi
72852
72853
72854     if test $enable_cheaders = c_global; then
72855   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72856   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72857 else
72858   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72859   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72860 fi
72861
72862
72863     if test $c_compatibility = yes; then
72864   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72865   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72866 else
72867   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72868   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72869 fi
72870
72871
72872     if test $enable_libstdcxx_debug = yes; then
72873   GLIBCXX_BUILD_DEBUG_TRUE=
72874   GLIBCXX_BUILD_DEBUG_FALSE='#'
72875 else
72876   GLIBCXX_BUILD_DEBUG_TRUE='#'
72877   GLIBCXX_BUILD_DEBUG_FALSE=
72878 fi
72879
72880
72881     if test $enable_extern_template = yes; then
72882   ENABLE_EXTERN_TEMPLATE_TRUE=
72883   ENABLE_EXTERN_TEMPLATE_FALSE='#'
72884 else
72885   ENABLE_EXTERN_TEMPLATE_TRUE='#'
72886   ENABLE_EXTERN_TEMPLATE_FALSE=
72887 fi
72888
72889
72890     if test $python_mod_dir != no; then
72891   ENABLE_PYTHONDIR_TRUE=
72892   ENABLE_PYTHONDIR_FALSE='#'
72893 else
72894   ENABLE_PYTHONDIR_TRUE='#'
72895   ENABLE_PYTHONDIR_FALSE=
72896 fi
72897
72898
72899     if test $enable_werror = yes; then
72900   ENABLE_WERROR_TRUE=
72901   ENABLE_WERROR_FALSE='#'
72902 else
72903   ENABLE_WERROR_TRUE='#'
72904   ENABLE_WERROR_FALSE=
72905 fi
72906
72907
72908     if test $enable_symvers != no; then
72909   ENABLE_SYMVERS_TRUE=
72910   ENABLE_SYMVERS_FALSE='#'
72911 else
72912   ENABLE_SYMVERS_TRUE='#'
72913   ENABLE_SYMVERS_FALSE=
72914 fi
72915
72916
72917     if test $enable_symvers = gnu; then
72918   ENABLE_SYMVERS_GNU_TRUE=
72919   ENABLE_SYMVERS_GNU_FALSE='#'
72920 else
72921   ENABLE_SYMVERS_GNU_TRUE='#'
72922   ENABLE_SYMVERS_GNU_FALSE=
72923 fi
72924
72925
72926     if test $enable_symvers = gnu-versioned-namespace; then
72927   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72928   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72929 else
72930   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72931   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72932 fi
72933
72934
72935     if test $enable_symvers = darwin; then
72936   ENABLE_SYMVERS_DARWIN_TRUE=
72937   ENABLE_SYMVERS_DARWIN_FALSE='#'
72938 else
72939   ENABLE_SYMVERS_DARWIN_TRUE='#'
72940   ENABLE_SYMVERS_DARWIN_FALSE=
72941 fi
72942
72943
72944     if test $enable_symvers = sun; then
72945   ENABLE_SYMVERS_SUN_TRUE=
72946   ENABLE_SYMVERS_SUN_FALSE='#'
72947 else
72948   ENABLE_SYMVERS_SUN_TRUE='#'
72949   ENABLE_SYMVERS_SUN_FALSE=
72950 fi
72951
72952
72953     if test $enable_libstdcxx_visibility = yes; then
72954   ENABLE_VISIBILITY_TRUE=
72955   ENABLE_VISIBILITY_FALSE='#'
72956 else
72957   ENABLE_VISIBILITY_TRUE='#'
72958   ENABLE_VISIBILITY_FALSE=
72959 fi
72960
72961
72962     if test $ac_ldbl_compat = yes; then
72963   GLIBCXX_LDBL_COMPAT_TRUE=
72964   GLIBCXX_LDBL_COMPAT_FALSE='#'
72965 else
72966   GLIBCXX_LDBL_COMPAT_TRUE='#'
72967   GLIBCXX_LDBL_COMPAT_FALSE=
72968 fi
72969
72970
72971
72972
72973 cat >confcache <<\_ACEOF
72974 # This file is a shell script that caches the results of configure
72975 # tests run on this system so they can be shared between configure
72976 # scripts and configure runs, see configure's option --config-cache.
72977 # It is not useful on other systems.  If it contains results you don't
72978 # want to keep, you may remove or edit it.
72979 #
72980 # config.status only pays attention to the cache file if you give it
72981 # the --recheck option to rerun configure.
72982 #
72983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72985 # following values.
72986
72987 _ACEOF
72988
72989 # The following way of writing the cache mishandles newlines in values,
72990 # but we know of no workaround that is simple, portable, and efficient.
72991 # So, we kill variables containing newlines.
72992 # Ultrix sh set writes to stderr and can't be redirected directly,
72993 # and sets the high bit in the cache file unless we assign to the vars.
72994 (
72995   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72996     eval ac_val=\$$ac_var
72997     case $ac_val in #(
72998     *${as_nl}*)
72999       case $ac_var in #(
73000       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73002       esac
73003       case $ac_var in #(
73004       _ | IFS | as_nl) ;; #(
73005       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73006       *) { eval $ac_var=; unset $ac_var;} ;;
73007       esac ;;
73008     esac
73009   done
73010
73011   (set) 2>&1 |
73012     case $as_nl`(ac_space=' '; set) 2>&1` in #(
73013     *${as_nl}ac_space=\ *)
73014       # `set' does not quote correctly, so add quotes: double-quote
73015       # substitution turns \\\\ into \\, and sed turns \\ into \.
73016       sed -n \
73017         "s/'/'\\\\''/g;
73018           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73019       ;; #(
73020     *)
73021       # `set' quotes correctly as required by POSIX, so do not add quotes.
73022       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73023       ;;
73024     esac |
73025     sort
73026 ) |
73027   sed '
73028      /^ac_cv_env_/b end
73029      t clear
73030      :clear
73031      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73032      t end
73033      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73034      :end' >>confcache
73035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73036   if test -w "$cache_file"; then
73037     test "x$cache_file" != "x/dev/null" &&
73038       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73039 $as_echo "$as_me: updating cache $cache_file" >&6;}
73040     cat confcache >$cache_file
73041   else
73042     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73044   fi
73045 fi
73046 rm -f confcache
73047
73048 if test ${multilib} = yes; then
73049   multilib_arg="--enable-multilib"
73050 else
73051   multilib_arg=
73052 fi
73053
73054 # Export all the install information.
73055
73056   glibcxx_toolexecdir=no
73057   glibcxx_toolexeclibdir=no
73058   glibcxx_prefixdir=$prefix
73059
73060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73061 $as_echo_n "checking for gxx-include-dir... " >&6; }
73062
73063 # Check whether --with-gxx-include-dir was given.
73064 if test "${with_gxx_include_dir+set}" = set; then :
73065   withval=$with_gxx_include_dir; case "$withval" in
73066       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73067       no)  gxx_include_dir=no ;;
73068       *)   gxx_include_dir=$withval ;;
73069      esac
73070 else
73071   gxx_include_dir=no
73072 fi
73073
73074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73075 $as_echo "$gxx_include_dir" >&6; }
73076
73077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73078 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73079   # Check whether --enable-version-specific-runtime-libs was given.
73080 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73081   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73082       yes) version_specific_libs=yes ;;
73083       no)  version_specific_libs=no ;;
73084       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73085      esac
73086 else
73087   version_specific_libs=no
73088 fi
73089
73090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73091 $as_echo "$version_specific_libs" >&6; }
73092
73093   # Default case for install directory for include files.
73094   if test $version_specific_libs = no && test $gxx_include_dir = no; then
73095     gxx_include_dir='include/c++/${gcc_version}'
73096     if test -n "$with_cross_host" &&
73097        test x"$with_cross_host" != x"no"; then
73098       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73099     else
73100       gxx_include_dir='${prefix}/'"$gxx_include_dir"
73101     fi
73102   fi
73103
73104   # Version-specific runtime libs processing.
73105   if test $version_specific_libs = yes; then
73106     # Need the gcc compiler version to know where to install libraries
73107     # and header files if --enable-version-specific-runtime-libs option
73108     # is selected.  FIXME: these variables are misnamed, there are
73109     # no executables installed in _toolexecdir or _toolexeclibdir.
73110     if test x"$gxx_include_dir" = x"no"; then
73111       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73112     fi
73113     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73114     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73115   fi
73116
73117   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73118   # Install a library built with a cross compiler in tooldir, not libdir.
73119   if test x"$glibcxx_toolexecdir" = x"no"; then
73120     if test -n "$with_cross_host" &&
73121        test x"$with_cross_host" != x"no"; then
73122       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73123       glibcxx_toolexeclibdir='${toolexecdir}/lib'
73124     else
73125       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73126       glibcxx_toolexeclibdir='${libdir}'
73127     fi
73128     multi_os_directory=`$CXX -print-multi-os-directory`
73129     case $multi_os_directory in
73130       .) ;; # Avoid trailing /.
73131       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73132     esac
73133   fi
73134
73135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73136 $as_echo_n "checking for install location... " >&6; }
73137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73138 $as_echo "$gxx_include_dir" >&6; }
73139
73140
73141
73142
73143
73144
73145
73146 # Export all the include and flag information to Makefiles.
73147
73148   # Used for every C++ compile we perform.
73149   GLIBCXX_INCLUDES="\
73150 -I$glibcxx_builddir/include/$host_alias \
73151 -I$glibcxx_builddir/include \
73152 -I$glibcxx_srcdir/libsupc++"
73153
73154   # For Canadian crosses, pick this up too.
73155   if test $CANADIAN = yes; then
73156     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73157   fi
73158
73159   # Stuff in the actual top level.  Currently only used by libsupc++ to
73160   # get unwind* headers from the libgcc dir.
73161   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73162   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73163
73164   # Now, export this to all the little Makefiles....
73165
73166
73167
73168
73169   # Optimization flags that are probably a good idea for thrill-seekers. Just
73170   # uncomment the lines below and make, everything else is ready to go...
73171   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73172   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73173
73174
73175   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73176
73177
73178
73179 ac_config_files="$ac_config_files Makefile"
73180
73181 ac_config_files="$ac_config_files scripts/testsuite_flags"
73182
73183 ac_config_files="$ac_config_files scripts/extract_symvers"
73184
73185 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73186
73187
73188 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73189 # that multilib installs will end up installed in the correct place.
73190 # The testsuite needs it for multilib-aware ABI baseline files.
73191 # To work around this not being passed down from config-ml.in ->
73192 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73193 # append it here.  Only modify Makefiles that have just been created.
73194 #
73195 # Also, get rid of this simulated-VPATH thing that automake does.
73196 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"
73197
73198
73199 ac_config_commands="$ac_config_commands generate-headers"
73200
73201
73202 cat >confcache <<\_ACEOF
73203 # This file is a shell script that caches the results of configure
73204 # tests run on this system so they can be shared between configure
73205 # scripts and configure runs, see configure's option --config-cache.
73206 # It is not useful on other systems.  If it contains results you don't
73207 # want to keep, you may remove or edit it.
73208 #
73209 # config.status only pays attention to the cache file if you give it
73210 # the --recheck option to rerun configure.
73211 #
73212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73214 # following values.
73215
73216 _ACEOF
73217
73218 # The following way of writing the cache mishandles newlines in values,
73219 # but we know of no workaround that is simple, portable, and efficient.
73220 # So, we kill variables containing newlines.
73221 # Ultrix sh set writes to stderr and can't be redirected directly,
73222 # and sets the high bit in the cache file unless we assign to the vars.
73223 (
73224   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73225     eval ac_val=\$$ac_var
73226     case $ac_val in #(
73227     *${as_nl}*)
73228       case $ac_var in #(
73229       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73230 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73231       esac
73232       case $ac_var in #(
73233       _ | IFS | as_nl) ;; #(
73234       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73235       *) { eval $ac_var=; unset $ac_var;} ;;
73236       esac ;;
73237     esac
73238   done
73239
73240   (set) 2>&1 |
73241     case $as_nl`(ac_space=' '; set) 2>&1` in #(
73242     *${as_nl}ac_space=\ *)
73243       # `set' does not quote correctly, so add quotes: double-quote
73244       # substitution turns \\\\ into \\, and sed turns \\ into \.
73245       sed -n \
73246         "s/'/'\\\\''/g;
73247           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73248       ;; #(
73249     *)
73250       # `set' quotes correctly as required by POSIX, so do not add quotes.
73251       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73252       ;;
73253     esac |
73254     sort
73255 ) |
73256   sed '
73257      /^ac_cv_env_/b end
73258      t clear
73259      :clear
73260      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73261      t end
73262      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73263      :end' >>confcache
73264 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73265   if test -w "$cache_file"; then
73266     test "x$cache_file" != "x/dev/null" &&
73267       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73268 $as_echo "$as_me: updating cache $cache_file" >&6;}
73269     cat confcache >$cache_file
73270   else
73271     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73273   fi
73274 fi
73275 rm -f confcache
73276
73277 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73278 # Let make expand exec_prefix.
73279 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73280
73281 DEFS=-DHAVE_CONFIG_H
73282
73283 ac_libobjs=
73284 ac_ltlibobjs=
73285 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73286   # 1. Remove the extension, and $U if already installed.
73287   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73288   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73289   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
73290   #    will be set to the directory where LIBOBJS objects are built.
73291   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73292   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73293 done
73294 LIBOBJS=$ac_libobjs
73295
73296 LTLIBOBJS=$ac_ltlibobjs
73297
73298
73299  if test -n "$EXEEXT"; then
73300   am__EXEEXT_TRUE=
73301   am__EXEEXT_FALSE='#'
73302 else
73303   am__EXEEXT_TRUE='#'
73304   am__EXEEXT_FALSE=
73305 fi
73306
73307 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73308   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73310 fi
73311 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73312   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73314 fi
73315 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73316   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73318 fi
73319 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73320   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73322 fi
73323 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73324   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73326 fi
73327 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73328   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73330 fi
73331 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73332   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73334 fi
73335 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73336   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73338 fi
73339 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73340   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73342 fi
73343 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73344   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73346 fi
73347 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73348   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73350 fi
73351 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73352   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73354 fi
73355 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73356   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73358 fi
73359 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73360   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73362 fi
73363 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73364   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73366 fi
73367 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73368   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73370 fi
73371 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73372   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73374 fi
73375 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73376   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73378 fi
73379 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73380   as_fn_error "conditional \"BUILD_INFO\" was never defined.
73381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73382 fi
73383 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73384   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73386 fi
73387 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73388   as_fn_error "conditional \"BUILD_XML\" was never defined.
73389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73390 fi
73391 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73392   as_fn_error "conditional \"BUILD_HTML\" was never defined.
73393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73394 fi
73395 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73396   as_fn_error "conditional \"BUILD_MAN\" was never defined.
73397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73398 fi
73399 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73400   as_fn_error "conditional \"BUILD_PDF\" was never defined.
73401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73402 fi
73403
73404 : ${CONFIG_STATUS=./config.status}
73405 ac_write_fail=0
73406 ac_clean_files_save=$ac_clean_files
73407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73410 as_write_fail=0
73411 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73412 #! $SHELL
73413 # Generated by $as_me.
73414 # Run this file to recreate the current configuration.
73415 # Compiler output produced by configure, useful for debugging
73416 # configure, is in config.log if it exists.
73417
73418 debug=false
73419 ac_cs_recheck=false
73420 ac_cs_silent=false
73421
73422 SHELL=\${CONFIG_SHELL-$SHELL}
73423 export SHELL
73424 _ASEOF
73425 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73426 ## -------------------- ##
73427 ## M4sh Initialization. ##
73428 ## -------------------- ##
73429
73430 # Be more Bourne compatible
73431 DUALCASE=1; export DUALCASE # for MKS sh
73432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73433   emulate sh
73434   NULLCMD=:
73435   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73436   # is contrary to our usage.  Disable this feature.
73437   alias -g '${1+"$@"}'='"$@"'
73438   setopt NO_GLOB_SUBST
73439 else
73440   case `(set -o) 2>/dev/null` in #(
73441   *posix*) :
73442     set -o posix ;; #(
73443   *) :
73444      ;;
73445 esac
73446 fi
73447
73448
73449 as_nl='
73450 '
73451 export as_nl
73452 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73453 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73456 # Prefer a ksh shell builtin over an external printf program on Solaris,
73457 # but without wasting forks for bash or zsh.
73458 if test -z "$BASH_VERSION$ZSH_VERSION" \
73459     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73460   as_echo='print -r --'
73461   as_echo_n='print -rn --'
73462 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73463   as_echo='printf %s\n'
73464   as_echo_n='printf %s'
73465 else
73466   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73467     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73468     as_echo_n='/usr/ucb/echo -n'
73469   else
73470     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73471     as_echo_n_body='eval
73472       arg=$1;
73473       case $arg in #(
73474       *"$as_nl"*)
73475         expr "X$arg" : "X\\(.*\\)$as_nl";
73476         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73477       esac;
73478       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73479     '
73480     export as_echo_n_body
73481     as_echo_n='sh -c $as_echo_n_body as_echo'
73482   fi
73483   export as_echo_body
73484   as_echo='sh -c $as_echo_body as_echo'
73485 fi
73486
73487 # The user is always right.
73488 if test "${PATH_SEPARATOR+set}" != set; then
73489   PATH_SEPARATOR=:
73490   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73491     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73492       PATH_SEPARATOR=';'
73493   }
73494 fi
73495
73496
73497 # IFS
73498 # We need space, tab and new line, in precisely that order.  Quoting is
73499 # there to prevent editors from complaining about space-tab.
73500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73501 # splitting by setting IFS to empty value.)
73502 IFS=" ""        $as_nl"
73503
73504 # Find who we are.  Look in the path if we contain no directory separator.
73505 case $0 in #((
73506   *[\\/]* ) as_myself=$0 ;;
73507   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73508 for as_dir in $PATH
73509 do
73510   IFS=$as_save_IFS
73511   test -z "$as_dir" && as_dir=.
73512     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73513   done
73514 IFS=$as_save_IFS
73515
73516      ;;
73517 esac
73518 # We did not find ourselves, most probably we were run as `sh COMMAND'
73519 # in which case we are not to be found in the path.
73520 if test "x$as_myself" = x; then
73521   as_myself=$0
73522 fi
73523 if test ! -f "$as_myself"; then
73524   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73525   exit 1
73526 fi
73527
73528 # Unset variables that we do not need and which cause bugs (e.g. in
73529 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
73530 # suppresses any "Segmentation fault" message there.  '((' could
73531 # trigger a bug in pdksh 5.2.14.
73532 for as_var in BASH_ENV ENV MAIL MAILPATH
73533 do eval test x\${$as_var+set} = xset \
73534   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73535 done
73536 PS1='$ '
73537 PS2='> '
73538 PS4='+ '
73539
73540 # NLS nuisances.
73541 LC_ALL=C
73542 export LC_ALL
73543 LANGUAGE=C
73544 export LANGUAGE
73545
73546 # CDPATH.
73547 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73548
73549
73550 # as_fn_error ERROR [LINENO LOG_FD]
73551 # ---------------------------------
73552 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73553 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73554 # script with status $?, using 1 if that was 0.
73555 as_fn_error ()
73556 {
73557   as_status=$?; test $as_status -eq 0 && as_status=1
73558   if test "$3"; then
73559     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73560     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73561   fi
73562   $as_echo "$as_me: error: $1" >&2
73563   as_fn_exit $as_status
73564 } # as_fn_error
73565
73566
73567 # as_fn_set_status STATUS
73568 # -----------------------
73569 # Set $? to STATUS, without forking.
73570 as_fn_set_status ()
73571 {
73572   return $1
73573 } # as_fn_set_status
73574
73575 # as_fn_exit STATUS
73576 # -----------------
73577 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73578 as_fn_exit ()
73579 {
73580   set +e
73581   as_fn_set_status $1
73582   exit $1
73583 } # as_fn_exit
73584
73585 # as_fn_unset VAR
73586 # ---------------
73587 # Portably unset VAR.
73588 as_fn_unset ()
73589 {
73590   { eval $1=; unset $1;}
73591 }
73592 as_unset=as_fn_unset
73593 # as_fn_append VAR VALUE
73594 # ----------------------
73595 # Append the text in VALUE to the end of the definition contained in VAR. Take
73596 # advantage of any shell optimizations that allow amortized linear growth over
73597 # repeated appends, instead of the typical quadratic growth present in naive
73598 # implementations.
73599 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73600   eval 'as_fn_append ()
73601   {
73602     eval $1+=\$2
73603   }'
73604 else
73605   as_fn_append ()
73606   {
73607     eval $1=\$$1\$2
73608   }
73609 fi # as_fn_append
73610
73611 # as_fn_arith ARG...
73612 # ------------------
73613 # Perform arithmetic evaluation on the ARGs, and store the result in the
73614 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73615 # must be portable across $(()) and expr.
73616 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73617   eval 'as_fn_arith ()
73618   {
73619     as_val=$(( $* ))
73620   }'
73621 else
73622   as_fn_arith ()
73623   {
73624     as_val=`expr "$@" || test $? -eq 1`
73625   }
73626 fi # as_fn_arith
73627
73628
73629 if expr a : '\(a\)' >/dev/null 2>&1 &&
73630    test "X`expr 00001 : '.*\(...\)'`" = X001; then
73631   as_expr=expr
73632 else
73633   as_expr=false
73634 fi
73635
73636 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73637   as_basename=basename
73638 else
73639   as_basename=false
73640 fi
73641
73642 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73643   as_dirname=dirname
73644 else
73645   as_dirname=false
73646 fi
73647
73648 as_me=`$as_basename -- "$0" ||
73649 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73650          X"$0" : 'X\(//\)$' \| \
73651          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73652 $as_echo X/"$0" |
73653     sed '/^.*\/\([^/][^/]*\)\/*$/{
73654             s//\1/
73655             q
73656           }
73657           /^X\/\(\/\/\)$/{
73658             s//\1/
73659             q
73660           }
73661           /^X\/\(\/\).*/{
73662             s//\1/
73663             q
73664           }
73665           s/.*/./; q'`
73666
73667 # Avoid depending upon Character Ranges.
73668 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73669 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73670 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73671 as_cr_digits='0123456789'
73672 as_cr_alnum=$as_cr_Letters$as_cr_digits
73673
73674 ECHO_C= ECHO_N= ECHO_T=
73675 case `echo -n x` in #(((((
73676 -n*)
73677   case `echo 'xy\c'` in
73678   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
73679   xy)  ECHO_C='\c';;
73680   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
73681        ECHO_T=' ';;
73682   esac;;
73683 *)
73684   ECHO_N='-n';;
73685 esac
73686
73687 rm -f conf$$ conf$$.exe conf$$.file
73688 if test -d conf$$.dir; then
73689   rm -f conf$$.dir/conf$$.file
73690 else
73691   rm -f conf$$.dir
73692   mkdir conf$$.dir 2>/dev/null
73693 fi
73694 if (echo >conf$$.file) 2>/dev/null; then
73695   if ln -s conf$$.file conf$$ 2>/dev/null; then
73696     as_ln_s='ln -s'
73697     # ... but there are two gotchas:
73698     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73699     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73700     # In both cases, we have to default to `cp -p'.
73701     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73702       as_ln_s='cp -p'
73703   elif ln conf$$.file conf$$ 2>/dev/null; then
73704     as_ln_s=ln
73705   else
73706     as_ln_s='cp -p'
73707   fi
73708 else
73709   as_ln_s='cp -p'
73710 fi
73711 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73712 rmdir conf$$.dir 2>/dev/null
73713
73714
73715 # as_fn_mkdir_p
73716 # -------------
73717 # Create "$as_dir" as a directory, including parents if necessary.
73718 as_fn_mkdir_p ()
73719 {
73720
73721   case $as_dir in #(
73722   -*) as_dir=./$as_dir;;
73723   esac
73724   test -d "$as_dir" || eval $as_mkdir_p || {
73725     as_dirs=
73726     while :; do
73727       case $as_dir in #(
73728       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73729       *) as_qdir=$as_dir;;
73730       esac
73731       as_dirs="'$as_qdir' $as_dirs"
73732       as_dir=`$as_dirname -- "$as_dir" ||
73733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73734          X"$as_dir" : 'X\(//\)[^/]' \| \
73735          X"$as_dir" : 'X\(//\)$' \| \
73736          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73737 $as_echo X"$as_dir" |
73738     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73739             s//\1/
73740             q
73741           }
73742           /^X\(\/\/\)[^/].*/{
73743             s//\1/
73744             q
73745           }
73746           /^X\(\/\/\)$/{
73747             s//\1/
73748             q
73749           }
73750           /^X\(\/\).*/{
73751             s//\1/
73752             q
73753           }
73754           s/.*/./; q'`
73755       test -d "$as_dir" && break
73756     done
73757     test -z "$as_dirs" || eval "mkdir $as_dirs"
73758   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73759
73760
73761 } # as_fn_mkdir_p
73762 if mkdir -p . 2>/dev/null; then
73763   as_mkdir_p='mkdir -p "$as_dir"'
73764 else
73765   test -d ./-p && rmdir ./-p
73766   as_mkdir_p=false
73767 fi
73768
73769 if test -x / >/dev/null 2>&1; then
73770   as_test_x='test -x'
73771 else
73772   if ls -dL / >/dev/null 2>&1; then
73773     as_ls_L_option=L
73774   else
73775     as_ls_L_option=
73776   fi
73777   as_test_x='
73778     eval sh -c '\''
73779       if test -d "$1"; then
73780         test -d "$1/.";
73781       else
73782         case $1 in #(
73783         -*)set "./$1";;
73784         esac;
73785         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73786         ???[sx]*):;;*)false;;esac;fi
73787     '\'' sh
73788   '
73789 fi
73790 as_executable_p=$as_test_x
73791
73792 # Sed expression to map a string onto a valid CPP name.
73793 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73794
73795 # Sed expression to map a string onto a valid variable name.
73796 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73797
73798
73799 exec 6>&1
73800 ## ----------------------------------- ##
73801 ## Main body of $CONFIG_STATUS script. ##
73802 ## ----------------------------------- ##
73803 _ASEOF
73804 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73805
73806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73807 # Save the log message, to keep $0 and so on meaningful, and to
73808 # report actual input values of CONFIG_FILES etc. instead of their
73809 # values after options handling.
73810 ac_log="
73811 This file was extended by package-unused $as_me version-unused, which was
73812 generated by GNU Autoconf 2.64.  Invocation command line was
73813
73814   CONFIG_FILES    = $CONFIG_FILES
73815   CONFIG_HEADERS  = $CONFIG_HEADERS
73816   CONFIG_LINKS    = $CONFIG_LINKS
73817   CONFIG_COMMANDS = $CONFIG_COMMANDS
73818   $ $0 $@
73819
73820 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73821 "
73822
73823 _ACEOF
73824
73825 case $ac_config_files in *"
73826 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73827 esac
73828
73829 case $ac_config_headers in *"
73830 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73831 esac
73832
73833
73834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73835 # Files that config.status was made for.
73836 config_files="$ac_config_files"
73837 config_headers="$ac_config_headers"
73838 config_commands="$ac_config_commands"
73839
73840 _ACEOF
73841
73842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73843 ac_cs_usage="\
73844 \`$as_me' instantiates files and other configuration actions
73845 from templates according to the current configuration.  Unless the files
73846 and actions are specified as TAGs, all are instantiated by default.
73847
73848 Usage: $0 [OPTION]... [TAG]...
73849
73850   -h, --help       print this help, then exit
73851   -V, --version    print version number and configuration settings, then exit
73852   -q, --quiet, --silent
73853                    do not print progress messages
73854   -d, --debug      don't remove temporary files
73855       --recheck    update $as_me by reconfiguring in the same conditions
73856       --file=FILE[:TEMPLATE]
73857                    instantiate the configuration file FILE
73858       --header=FILE[:TEMPLATE]
73859                    instantiate the configuration header FILE
73860
73861 Configuration files:
73862 $config_files
73863
73864 Configuration headers:
73865 $config_headers
73866
73867 Configuration commands:
73868 $config_commands
73869
73870 Report bugs to the package provider."
73871
73872 _ACEOF
73873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73874 ac_cs_version="\\
73875 package-unused config.status version-unused
73876 configured by $0, generated by GNU Autoconf 2.64,
73877   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73878
73879 Copyright (C) 2009 Free Software Foundation, Inc.
73880 This config.status script is free software; the Free Software Foundation
73881 gives unlimited permission to copy, distribute and modify it."
73882
73883 ac_pwd='$ac_pwd'
73884 srcdir='$srcdir'
73885 INSTALL='$INSTALL'
73886 MKDIR_P='$MKDIR_P'
73887 AWK='$AWK'
73888 test -n "\$AWK" || AWK=awk
73889 _ACEOF
73890
73891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73892 # The default lists apply if the user does not specify any file.
73893 ac_need_defaults=:
73894 while test $# != 0
73895 do
73896   case $1 in
73897   --*=*)
73898     ac_option=`expr "X$1" : 'X\([^=]*\)='`
73899     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73900     ac_shift=:
73901     ;;
73902   *)
73903     ac_option=$1
73904     ac_optarg=$2
73905     ac_shift=shift
73906     ;;
73907   esac
73908
73909   case $ac_option in
73910   # Handling of the options.
73911   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73912     ac_cs_recheck=: ;;
73913   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73914     $as_echo "$ac_cs_version"; exit ;;
73915   --debug | --debu | --deb | --de | --d | -d )
73916     debug=: ;;
73917   --file | --fil | --fi | --f )
73918     $ac_shift
73919     case $ac_optarg in
73920     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73921     esac
73922     as_fn_append CONFIG_FILES " '$ac_optarg'"
73923     ac_need_defaults=false;;
73924   --header | --heade | --head | --hea )
73925     $ac_shift
73926     case $ac_optarg in
73927     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73928     esac
73929     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73930     ac_need_defaults=false;;
73931   --he | --h)
73932     # Conflict between --help and --header
73933     as_fn_error "ambiguous option: \`$1'
73934 Try \`$0 --help' for more information.";;
73935   --help | --hel | -h )
73936     $as_echo "$ac_cs_usage"; exit ;;
73937   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73938   | -silent | --silent | --silen | --sile | --sil | --si | --s)
73939     ac_cs_silent=: ;;
73940
73941   # This is an error.
73942   -*) as_fn_error "unrecognized option: \`$1'
73943 Try \`$0 --help' for more information." ;;
73944
73945   *) as_fn_append ac_config_targets " $1"
73946      ac_need_defaults=false ;;
73947
73948   esac
73949   shift
73950 done
73951
73952 ac_configure_extra_args=
73953
73954 if $ac_cs_silent; then
73955   exec 6>/dev/null
73956   ac_configure_extra_args="$ac_configure_extra_args --silent"
73957 fi
73958
73959 _ACEOF
73960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73961 if \$ac_cs_recheck; then
73962   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73963   shift
73964   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73965   CONFIG_SHELL='$SHELL'
73966   export CONFIG_SHELL
73967   exec "\$@"
73968 fi
73969
73970 _ACEOF
73971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73972 exec 5>>config.log
73973 {
73974   echo
73975   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73976 ## Running $as_me. ##
73977 _ASBOX
73978   $as_echo "$ac_log"
73979 } >&5
73980
73981 _ACEOF
73982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73983 #
73984 # INIT-COMMANDS
73985 #
73986
73987 srcdir="$srcdir"
73988 host="$host"
73989 target="$target"
73990 with_multisubdir="$with_multisubdir"
73991 with_multisrctop="$with_multisrctop"
73992 with_target_subdir="$with_target_subdir"
73993 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73994 multi_basedir="$multi_basedir"
73995 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73996 CC="$CC"
73997 CXX="$CXX"
73998 GFORTRAN="$GFORTRAN"
73999 GCJ="$GCJ"
74000
74001
74002 # The HP-UX ksh and POSIX shell print the target directory to stdout
74003 # if CDPATH is set.
74004 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74005
74006 sed_quote_subst='$sed_quote_subst'
74007 double_quote_subst='$double_quote_subst'
74008 delay_variable_subst='$delay_variable_subst'
74009 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74010 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74011 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74012 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74013 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74014 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74015 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74016 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74017 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74018 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74019 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74020 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74021 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74022 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74023 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74024 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74025 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74026 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74027 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74028 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74029 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74030 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74031 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74032 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74033 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74034 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74035 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74036 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74037 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74038 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74039 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74040 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74041 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74042 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74043 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74044 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74045 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74046 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74047 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74048 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74049 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74050 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74051 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74052 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74053 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74054 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74055 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74056 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74057 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"`'
74058 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74059 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74060 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74061 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74062 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74063 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74064 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74065 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74066 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74067 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74068 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74069 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74070 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74071 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74072 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74073 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74074 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74075 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74076 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74077 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74078 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74079 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74080 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74081 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74082 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74083 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74084 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74085 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74086 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74087 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74088 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74089 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74090 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74091 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74092 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74093 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74094 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74095 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74096 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74097 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74098 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74099 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74100 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74101 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74102 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74103 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74104 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74105 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74106 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74107 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74108 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74109 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74110 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74111 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74112 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74113 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74114 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74115 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74116 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74117 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74118 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74119 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74120 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74121 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74122 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74123 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74124 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74125 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74126 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74127 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74128 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74129 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74130 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74131 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74132 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74133 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74134 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74135 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74136 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74137 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74138 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74139 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74140 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74141 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74142 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74143 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74144 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74145 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74146 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74147 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74148 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74149 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74150 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74151 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74152 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74153 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74154 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74155 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74156 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74157 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74158 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74159 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74160 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74161 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74162 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74163 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74164 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74165 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74166 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74167 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74168 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74169 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74170 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74171 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74172 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74173 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74174 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74175 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74176 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74177 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74178 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74179 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74180 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74181 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74182 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74183 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74184
74185 LTCC='$LTCC'
74186 LTCFLAGS='$LTCFLAGS'
74187 compiler='$compiler_DEFAULT'
74188
74189 # A function that is used when there is no print builtin or printf.
74190 func_fallback_echo ()
74191 {
74192   eval 'cat <<_LTECHO_EOF
74193 \$1
74194 _LTECHO_EOF'
74195 }
74196
74197 # Quote evaled strings.
74198 for var in SHELL \
74199 ECHO \
74200 SED \
74201 GREP \
74202 EGREP \
74203 FGREP \
74204 LD \
74205 NM \
74206 LN_S \
74207 lt_SP2NL \
74208 lt_NL2SP \
74209 reload_flag \
74210 OBJDUMP \
74211 deplibs_check_method \
74212 file_magic_cmd \
74213 AR \
74214 AR_FLAGS \
74215 STRIP \
74216 RANLIB \
74217 CC \
74218 CFLAGS \
74219 compiler \
74220 lt_cv_sys_global_symbol_pipe \
74221 lt_cv_sys_global_symbol_to_cdecl \
74222 lt_cv_sys_global_symbol_to_c_name_address \
74223 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74224 lt_prog_compiler_no_builtin_flag \
74225 lt_prog_compiler_wl \
74226 lt_prog_compiler_pic \
74227 lt_prog_compiler_static \
74228 lt_cv_prog_compiler_c_o \
74229 need_locks \
74230 DSYMUTIL \
74231 NMEDIT \
74232 LIPO \
74233 OTOOL \
74234 OTOOL64 \
74235 shrext_cmds \
74236 export_dynamic_flag_spec \
74237 whole_archive_flag_spec \
74238 compiler_needs_object \
74239 with_gnu_ld \
74240 allow_undefined_flag \
74241 no_undefined_flag \
74242 hardcode_libdir_flag_spec \
74243 hardcode_libdir_flag_spec_ld \
74244 hardcode_libdir_separator \
74245 fix_srcfile_path \
74246 exclude_expsyms \
74247 include_expsyms \
74248 file_list_spec \
74249 variables_saved_for_relink \
74250 libname_spec \
74251 library_names_spec \
74252 soname_spec \
74253 install_override_mode \
74254 finish_eval \
74255 old_striplib \
74256 striplib \
74257 compiler_lib_search_dirs \
74258 predep_objects \
74259 postdep_objects \
74260 predeps \
74261 postdeps \
74262 compiler_lib_search_path \
74263 LD_CXX \
74264 reload_flag_CXX \
74265 compiler_CXX \
74266 lt_prog_compiler_no_builtin_flag_CXX \
74267 lt_prog_compiler_wl_CXX \
74268 lt_prog_compiler_pic_CXX \
74269 lt_prog_compiler_static_CXX \
74270 lt_cv_prog_compiler_c_o_CXX \
74271 export_dynamic_flag_spec_CXX \
74272 whole_archive_flag_spec_CXX \
74273 compiler_needs_object_CXX \
74274 with_gnu_ld_CXX \
74275 allow_undefined_flag_CXX \
74276 no_undefined_flag_CXX \
74277 hardcode_libdir_flag_spec_CXX \
74278 hardcode_libdir_flag_spec_ld_CXX \
74279 hardcode_libdir_separator_CXX \
74280 fix_srcfile_path_CXX \
74281 exclude_expsyms_CXX \
74282 include_expsyms_CXX \
74283 file_list_spec_CXX \
74284 compiler_lib_search_dirs_CXX \
74285 predep_objects_CXX \
74286 postdep_objects_CXX \
74287 predeps_CXX \
74288 postdeps_CXX \
74289 compiler_lib_search_path_CXX; do
74290     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74291     *[\\\\\\\`\\"\\\$]*)
74292       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74293       ;;
74294     *)
74295       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74296       ;;
74297     esac
74298 done
74299
74300 # Double-quote double-evaled strings.
74301 for var in reload_cmds \
74302 old_postinstall_cmds \
74303 old_postuninstall_cmds \
74304 old_archive_cmds \
74305 extract_expsyms_cmds \
74306 old_archive_from_new_cmds \
74307 old_archive_from_expsyms_cmds \
74308 archive_cmds \
74309 archive_expsym_cmds \
74310 module_cmds \
74311 module_expsym_cmds \
74312 export_symbols_cmds \
74313 prelink_cmds \
74314 postinstall_cmds \
74315 postuninstall_cmds \
74316 finish_cmds \
74317 sys_lib_search_path_spec \
74318 sys_lib_dlsearch_path_spec \
74319 reload_cmds_CXX \
74320 old_archive_cmds_CXX \
74321 old_archive_from_new_cmds_CXX \
74322 old_archive_from_expsyms_cmds_CXX \
74323 archive_cmds_CXX \
74324 archive_expsym_cmds_CXX \
74325 module_cmds_CXX \
74326 module_expsym_cmds_CXX \
74327 export_symbols_cmds_CXX \
74328 prelink_cmds_CXX; do
74329     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74330     *[\\\\\\\`\\"\\\$]*)
74331       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74332       ;;
74333     *)
74334       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74335       ;;
74336     esac
74337 done
74338
74339 ac_aux_dir='$ac_aux_dir'
74340 xsi_shell='$xsi_shell'
74341 lt_shell_append='$lt_shell_append'
74342
74343 # See if we are running on zsh, and set the options which allow our
74344 # commands through without removal of \ escapes INIT.
74345 if test -n "\${ZSH_VERSION+set}" ; then
74346    setopt NO_GLOB_SUBST
74347 fi
74348
74349
74350     PACKAGE='$PACKAGE'
74351     VERSION='$VERSION'
74352     TIMESTAMP='$TIMESTAMP'
74353     RM='$RM'
74354     ofile='$ofile'
74355
74356
74357
74358
74359
74360
74361 GCC="$GCC"
74362 CC="$CC"
74363 acx_cv_header_stdint="$acx_cv_header_stdint"
74364 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74365 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74366 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74367 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74368 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74369 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74370 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74371 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74372 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74373 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74374 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74375 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74376 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74377
74378
74379 _ACEOF
74380
74381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74382
74383 # Handling of arguments.
74384 for ac_config_target in $ac_config_targets
74385 do
74386   case $ac_config_target in
74387     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74388     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74389     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74390     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74391     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74392     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74393     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74394     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74395     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74396     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74397     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74398     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74399     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74400     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74401     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74402     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74403     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74404     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74405
74406   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74407   esac
74408 done
74409
74410
74411 # If the user did not use the arguments to specify the items to instantiate,
74412 # then the envvar interface is used.  Set only those that are not.
74413 # We use the long form for the default assignment because of an extremely
74414 # bizarre bug on SunOS 4.1.3.
74415 if $ac_need_defaults; then
74416   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74417   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74418   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74419 fi
74420
74421 # Have a temporary directory for convenience.  Make it in the build tree
74422 # simply because there is no reason against having it here, and in addition,
74423 # creating and moving files from /tmp can sometimes cause problems.
74424 # Hook for its removal unless debugging.
74425 # Note that there is a small window in which the directory will not be cleaned:
74426 # after its creation but before its name has been assigned to `$tmp'.
74427 $debug ||
74428 {
74429   tmp=
74430   trap 'exit_status=$?
74431   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74432 ' 0
74433   trap 'as_fn_exit 1' 1 2 13 15
74434 }
74435 # Create a (secure) tmp directory for tmp files.
74436
74437 {
74438   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74439   test -n "$tmp" && test -d "$tmp"
74440 }  ||
74441 {
74442   tmp=./conf$$-$RANDOM
74443   (umask 077 && mkdir "$tmp")
74444 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74445
74446 # Set up the scripts for CONFIG_FILES section.
74447 # No need to generate them if there are no CONFIG_FILES.
74448 # This happens for instance with `./config.status config.h'.
74449 if test -n "$CONFIG_FILES"; then
74450
74451
74452 ac_cr=`echo X | tr X '\015'`
74453 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74454 # But we know of no other shell where ac_cr would be empty at this
74455 # point, so we can use a bashism as a fallback.
74456 if test "x$ac_cr" = x; then
74457   eval ac_cr=\$\'\\r\'
74458 fi
74459 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74460 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74461   ac_cs_awk_cr='\r'
74462 else
74463   ac_cs_awk_cr=$ac_cr
74464 fi
74465
74466 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74467 _ACEOF
74468
74469
74470 {
74471   echo "cat >conf$$subs.awk <<_ACEOF" &&
74472   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74473   echo "_ACEOF"
74474 } >conf$$subs.sh ||
74475   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74476 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74477 ac_delim='%!_!# '
74478 for ac_last_try in false false false false false :; do
74479   . ./conf$$subs.sh ||
74480     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74481
74482   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74483   if test $ac_delim_n = $ac_delim_num; then
74484     break
74485   elif $ac_last_try; then
74486     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74487   else
74488     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74489   fi
74490 done
74491 rm -f conf$$subs.sh
74492
74493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74494 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74495 _ACEOF
74496 sed -n '
74497 h
74498 s/^/S["/; s/!.*/"]=/
74499 p
74500 g
74501 s/^[^!]*!//
74502 :repl
74503 t repl
74504 s/'"$ac_delim"'$//
74505 t delim
74506 :nl
74507 h
74508 s/\(.\{148\}\).*/\1/
74509 t more1
74510 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74511 p
74512 n
74513 b repl
74514 :more1
74515 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74516 p
74517 g
74518 s/.\{148\}//
74519 t nl
74520 :delim
74521 h
74522 s/\(.\{148\}\).*/\1/
74523 t more2
74524 s/["\\]/\\&/g; s/^/"/; s/$/"/
74525 p
74526 b
74527 :more2
74528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74529 p
74530 g
74531 s/.\{148\}//
74532 t delim
74533 ' <conf$$subs.awk | sed '
74534 /^[^""]/{
74535   N
74536   s/\n//
74537 }
74538 ' >>$CONFIG_STATUS || ac_write_fail=1
74539 rm -f conf$$subs.awk
74540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74541 _ACAWK
74542 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74543   for (key in S) S_is_set[key] = 1
74544   FS = "\a"
74545
74546 }
74547 {
74548   line = $ 0
74549   nfields = split(line, field, "@")
74550   substed = 0
74551   len = length(field[1])
74552   for (i = 2; i < nfields; i++) {
74553     key = field[i]
74554     keylen = length(key)
74555     if (S_is_set[key]) {
74556       value = S[key]
74557       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74558       len += length(value) + length(field[++i])
74559       substed = 1
74560     } else
74561       len += 1 + keylen
74562   }
74563
74564   print line
74565 }
74566
74567 _ACAWK
74568 _ACEOF
74569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74570 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74571   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74572 else
74573   cat
74574 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74575   || as_fn_error "could not setup config files machinery" "$LINENO" 5
74576 _ACEOF
74577
74578 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74579 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74580 # trailing colons and then remove the whole line if VPATH becomes empty
74581 # (actually we leave an empty line to preserve line numbers).
74582 if test "x$srcdir" = x.; then
74583   ac_vpsub='/^[  ]*VPATH[        ]*=/{
74584 s/:*\$(srcdir):*/:/
74585 s/:*\${srcdir}:*/:/
74586 s/:*@srcdir@:*/:/
74587 s/^\([^=]*=[     ]*\):*/\1/
74588 s/:*$//
74589 s/^[^=]*=[       ]*$//
74590 }'
74591 fi
74592
74593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74594 fi # test -n "$CONFIG_FILES"
74595
74596 # Set up the scripts for CONFIG_HEADERS section.
74597 # No need to generate them if there are no CONFIG_HEADERS.
74598 # This happens for instance with `./config.status Makefile'.
74599 if test -n "$CONFIG_HEADERS"; then
74600 cat >"$tmp/defines.awk" <<\_ACAWK ||
74601 BEGIN {
74602 _ACEOF
74603
74604 # Transform confdefs.h into an awk script `defines.awk', embedded as
74605 # here-document in config.status, that substitutes the proper values into
74606 # config.h.in to produce config.h.
74607
74608 # Create a delimiter string that does not exist in confdefs.h, to ease
74609 # handling of long lines.
74610 ac_delim='%!_!# '
74611 for ac_last_try in false false :; do
74612   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74613   if test -z "$ac_t"; then
74614     break
74615   elif $ac_last_try; then
74616     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74617   else
74618     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74619   fi
74620 done
74621
74622 # For the awk script, D is an array of macro values keyed by name,
74623 # likewise P contains macro parameters if any.  Preserve backslash
74624 # newline sequences.
74625
74626 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74627 sed -n '
74628 s/.\{148\}/&'"$ac_delim"'/g
74629 t rset
74630 :rset
74631 s/^[     ]*#[    ]*define[       ][      ]*/ /
74632 t def
74633 d
74634 :def
74635 s/\\$//
74636 t bsnl
74637 s/["\\]/\\&/g
74638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
74639 D["\1"]=" \3"/p
74640 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
74641 d
74642 :bsnl
74643 s/["\\]/\\&/g
74644 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
74645 D["\1"]=" \3\\\\\\n"\\/p
74646 t cont
74647 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74648 t cont
74649 d
74650 :cont
74651 n
74652 s/.\{148\}/&'"$ac_delim"'/g
74653 t clear
74654 :clear
74655 s/\\$//
74656 t bsnlc
74657 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74658 d
74659 :bsnlc
74660 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74661 b cont
74662 ' <confdefs.h | sed '
74663 s/'"$ac_delim"'/"\\\
74664 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74665
74666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74667   for (key in D) D_is_set[key] = 1
74668   FS = "\a"
74669 }
74670 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74671   line = \$ 0
74672   split(line, arg, " ")
74673   if (arg[1] == "#") {
74674     defundef = arg[2]
74675     mac1 = arg[3]
74676   } else {
74677     defundef = substr(arg[1], 2)
74678     mac1 = arg[2]
74679   }
74680   split(mac1, mac2, "(") #)
74681   macro = mac2[1]
74682   prefix = substr(line, 1, index(line, defundef) - 1)
74683   if (D_is_set[macro]) {
74684     # Preserve the white space surrounding the "#".
74685     print prefix "define", macro P[macro] D[macro]
74686     next
74687   } else {
74688     # Replace #undef with comments.  This is necessary, for example,
74689     # in the case of _POSIX_SOURCE, which is predefined and required
74690     # on some systems where configure will not decide to define it.
74691     if (defundef == "undef") {
74692       print "/*", prefix defundef, macro, "*/"
74693       next
74694     }
74695   }
74696 }
74697 { print }
74698 _ACAWK
74699 _ACEOF
74700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74701   as_fn_error "could not setup config headers machinery" "$LINENO" 5
74702 fi # test -n "$CONFIG_HEADERS"
74703
74704
74705 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
74706 shift
74707 for ac_tag
74708 do
74709   case $ac_tag in
74710   :[FHLC]) ac_mode=$ac_tag; continue;;
74711   esac
74712   case $ac_mode$ac_tag in
74713   :[FHL]*:*);;
74714   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74715   :[FH]-) ac_tag=-:-;;
74716   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74717   esac
74718   ac_save_IFS=$IFS
74719   IFS=:
74720   set x $ac_tag
74721   IFS=$ac_save_IFS
74722   shift
74723   ac_file=$1
74724   shift
74725
74726   case $ac_mode in
74727   :L) ac_source=$1;;
74728   :[FH])
74729     ac_file_inputs=
74730     for ac_f
74731     do
74732       case $ac_f in
74733       -) ac_f="$tmp/stdin";;
74734       *) # Look for the file first in the build tree, then in the source tree
74735          # (if the path is not absolute).  The absolute path cannot be DOS-style,
74736          # because $ac_f cannot contain `:'.
74737          test -f "$ac_f" ||
74738            case $ac_f in
74739            [\\/$]*) false;;
74740            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74741            esac ||
74742            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74743       esac
74744       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74745       as_fn_append ac_file_inputs " '$ac_f'"
74746     done
74747
74748     # Let's still pretend it is `configure' which instantiates (i.e., don't
74749     # use $as_me), people would be surprised to read:
74750     #    /* config.h.  Generated by config.status.  */
74751     configure_input='Generated from '`
74752           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74753         `' by configure.'
74754     if test x"$ac_file" != x-; then
74755       configure_input="$ac_file.  $configure_input"
74756       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74757 $as_echo "$as_me: creating $ac_file" >&6;}
74758     fi
74759     # Neutralize special characters interpreted by sed in replacement strings.
74760     case $configure_input in #(
74761     *\&* | *\|* | *\\* )
74762        ac_sed_conf_input=`$as_echo "$configure_input" |
74763        sed 's/[\\\\&|]/\\\\&/g'`;; #(
74764     *) ac_sed_conf_input=$configure_input;;
74765     esac
74766
74767     case $ac_tag in
74768     *:-:* | *:-) cat >"$tmp/stdin" \
74769       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74770     esac
74771     ;;
74772   esac
74773
74774   ac_dir=`$as_dirname -- "$ac_file" ||
74775 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74776          X"$ac_file" : 'X\(//\)[^/]' \| \
74777          X"$ac_file" : 'X\(//\)$' \| \
74778          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74779 $as_echo X"$ac_file" |
74780     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74781             s//\1/
74782             q
74783           }
74784           /^X\(\/\/\)[^/].*/{
74785             s//\1/
74786             q
74787           }
74788           /^X\(\/\/\)$/{
74789             s//\1/
74790             q
74791           }
74792           /^X\(\/\).*/{
74793             s//\1/
74794             q
74795           }
74796           s/.*/./; q'`
74797   as_dir="$ac_dir"; as_fn_mkdir_p
74798   ac_builddir=.
74799
74800 case "$ac_dir" in
74801 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74802 *)
74803   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74804   # A ".." for each directory in $ac_dir_suffix.
74805   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74806   case $ac_top_builddir_sub in
74807   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74808   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74809   esac ;;
74810 esac
74811 ac_abs_top_builddir=$ac_pwd
74812 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74813 # for backward compatibility:
74814 ac_top_builddir=$ac_top_build_prefix
74815
74816 case $srcdir in
74817   .)  # We are building in place.
74818     ac_srcdir=.
74819     ac_top_srcdir=$ac_top_builddir_sub
74820     ac_abs_top_srcdir=$ac_pwd ;;
74821   [\\/]* | ?:[\\/]* )  # Absolute name.
74822     ac_srcdir=$srcdir$ac_dir_suffix;
74823     ac_top_srcdir=$srcdir
74824     ac_abs_top_srcdir=$srcdir ;;
74825   *) # Relative name.
74826     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74827     ac_top_srcdir=$ac_top_build_prefix$srcdir
74828     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74829 esac
74830 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74831
74832
74833   case $ac_mode in
74834   :F)
74835   #
74836   # CONFIG_FILE
74837   #
74838
74839   case $INSTALL in
74840   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74841   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74842   esac
74843   ac_MKDIR_P=$MKDIR_P
74844   case $MKDIR_P in
74845   [\\/$]* | ?:[\\/]* ) ;;
74846   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74847   esac
74848 _ACEOF
74849
74850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74851 # If the template does not know about datarootdir, expand it.
74852 # FIXME: This hack should be removed a few years after 2.60.
74853 ac_datarootdir_hack=; ac_datarootdir_seen=
74854 ac_sed_dataroot='
74855 /datarootdir/ {
74856   p
74857   q
74858 }
74859 /@datadir@/p
74860 /@docdir@/p
74861 /@infodir@/p
74862 /@localedir@/p
74863 /@mandir@/p'
74864 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74865 *datarootdir*) ac_datarootdir_seen=yes;;
74866 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74867   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74868 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74869 _ACEOF
74870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74871   ac_datarootdir_hack='
74872   s&@datadir@&$datadir&g
74873   s&@docdir@&$docdir&g
74874   s&@infodir@&$infodir&g
74875   s&@localedir@&$localedir&g
74876   s&@mandir@&$mandir&g
74877   s&\\\${datarootdir}&$datarootdir&g' ;;
74878 esac
74879 _ACEOF
74880
74881 # Neutralize VPATH when `$srcdir' = `.'.
74882 # Shell code in configure.ac might set extrasub.
74883 # FIXME: do we really want to maintain this feature?
74884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74885 ac_sed_extra="$ac_vpsub
74886 $extrasub
74887 _ACEOF
74888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74889 :t
74890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74891 s|@configure_input@|$ac_sed_conf_input|;t t
74892 s&@top_builddir@&$ac_top_builddir_sub&;t t
74893 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74894 s&@srcdir@&$ac_srcdir&;t t
74895 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74896 s&@top_srcdir@&$ac_top_srcdir&;t t
74897 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74898 s&@builddir@&$ac_builddir&;t t
74899 s&@abs_builddir@&$ac_abs_builddir&;t t
74900 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74901 s&@INSTALL@&$ac_INSTALL&;t t
74902 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74903 $ac_datarootdir_hack
74904 "
74905 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74906   || as_fn_error "could not create $ac_file" "$LINENO" 5
74907
74908 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74909   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74910   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74911   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74912 which seems to be undefined.  Please make sure it is defined." >&5
74913 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74914 which seems to be undefined.  Please make sure it is defined." >&2;}
74915
74916   rm -f "$tmp/stdin"
74917   case $ac_file in
74918   -) cat "$tmp/out" && rm -f "$tmp/out";;
74919   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74920   esac \
74921   || as_fn_error "could not create $ac_file" "$LINENO" 5
74922  ;;
74923   :H)
74924   #
74925   # CONFIG_HEADER
74926   #
74927   if test x"$ac_file" != x-; then
74928     {
74929       $as_echo "/* $configure_input  */" \
74930       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74931     } >"$tmp/config.h" \
74932       || as_fn_error "could not create $ac_file" "$LINENO" 5
74933     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74934       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74935 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74936     else
74937       rm -f "$ac_file"
74938       mv "$tmp/config.h" "$ac_file" \
74939         || as_fn_error "could not create $ac_file" "$LINENO" 5
74940     fi
74941   else
74942     $as_echo "/* $configure_input  */" \
74943       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74944       || as_fn_error "could not create -" "$LINENO" 5
74945   fi
74946 # Compute "$ac_file"'s index in $config_headers.
74947 _am_arg="$ac_file"
74948 _am_stamp_count=1
74949 for _am_header in $config_headers :; do
74950   case $_am_header in
74951     $_am_arg | $_am_arg:* )
74952       break ;;
74953     * )
74954       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74955   esac
74956 done
74957 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74958 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74959          X"$_am_arg" : 'X\(//\)[^/]' \| \
74960          X"$_am_arg" : 'X\(//\)$' \| \
74961          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74962 $as_echo X"$_am_arg" |
74963     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74964             s//\1/
74965             q
74966           }
74967           /^X\(\/\/\)[^/].*/{
74968             s//\1/
74969             q
74970           }
74971           /^X\(\/\/\)$/{
74972             s//\1/
74973             q
74974           }
74975           /^X\(\/\).*/{
74976             s//\1/
74977             q
74978           }
74979           s/.*/./; q'`/stamp-h$_am_stamp_count
74980  ;;
74981
74982   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74983 $as_echo "$as_me: executing $ac_file commands" >&6;}
74984  ;;
74985   esac
74986
74987
74988   case $ac_file$ac_mode in
74989     "default-1":C)
74990 # Only add multilib support code if we just rebuilt the top-level
74991 # Makefile.
74992 case " $CONFIG_FILES " in
74993  *" Makefile "*)
74994    ac_file=Makefile . ${multi_basedir}/config-ml.in
74995    ;;
74996 esac ;;
74997     "libtool":C)
74998
74999     # See if we are running on zsh, and set the options which allow our
75000     # commands through without removal of \ escapes.
75001     if test -n "${ZSH_VERSION+set}" ; then
75002       setopt NO_GLOB_SUBST
75003     fi
75004
75005     cfgfile="${ofile}T"
75006     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75007     $RM "$cfgfile"
75008
75009     cat <<_LT_EOF >> "$cfgfile"
75010 #! $SHELL
75011
75012 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75013 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75014 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75015 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75016 #
75017 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75018 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75019 #   Written by Gordon Matzigkeit, 1996
75020 #
75021 #   This file is part of GNU Libtool.
75022 #
75023 # GNU Libtool is free software; you can redistribute it and/or
75024 # modify it under the terms of the GNU General Public License as
75025 # published by the Free Software Foundation; either version 2 of
75026 # the License, or (at your option) any later version.
75027 #
75028 # As a special exception to the GNU General Public License,
75029 # if you distribute this file as part of a program or library that
75030 # is built using GNU Libtool, you may include this file under the
75031 # same distribution terms that you use for the rest of that program.
75032 #
75033 # GNU Libtool is distributed in the hope that it will be useful,
75034 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75035 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
75036 # GNU General Public License for more details.
75037 #
75038 # You should have received a copy of the GNU General Public License
75039 # along with GNU Libtool; see the file COPYING.  If not, a copy
75040 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75041 # obtained by writing to the Free Software Foundation, Inc.,
75042 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75043
75044
75045 # The names of the tagged configurations supported by this script.
75046 available_tags="CXX "
75047
75048 # ### BEGIN LIBTOOL CONFIG
75049
75050 # Which release of libtool.m4 was used?
75051 macro_version=$macro_version
75052 macro_revision=$macro_revision
75053
75054 # Whether or not to build shared libraries.
75055 build_libtool_libs=$enable_shared
75056
75057 # Whether or not to build static libraries.
75058 build_old_libs=$enable_static
75059
75060 # What type of objects to build.
75061 pic_mode=$pic_mode
75062
75063 # Whether or not to optimize for fast installation.
75064 fast_install=$enable_fast_install
75065
75066 # Shell to use when invoking shell scripts.
75067 SHELL=$lt_SHELL
75068
75069 # An echo program that protects backslashes.
75070 ECHO=$lt_ECHO
75071
75072 # The host system.
75073 host_alias=$host_alias
75074 host=$host
75075 host_os=$host_os
75076
75077 # The build system.
75078 build_alias=$build_alias
75079 build=$build
75080 build_os=$build_os
75081
75082 # A sed program that does not truncate output.
75083 SED=$lt_SED
75084
75085 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75086 Xsed="\$SED -e 1s/^X//"
75087
75088 # A grep program that handles long lines.
75089 GREP=$lt_GREP
75090
75091 # An ERE matcher.
75092 EGREP=$lt_EGREP
75093
75094 # A literal string matcher.
75095 FGREP=$lt_FGREP
75096
75097 # A BSD- or MS-compatible name lister.
75098 NM=$lt_NM
75099
75100 # Whether we need soft or hard links.
75101 LN_S=$lt_LN_S
75102
75103 # What is the maximum length of a command?
75104 max_cmd_len=$max_cmd_len
75105
75106 # Object file suffix (normally "o").
75107 objext=$ac_objext
75108
75109 # Executable file suffix (normally "").
75110 exeext=$exeext
75111
75112 # whether the shell understands "unset".
75113 lt_unset=$lt_unset
75114
75115 # turn spaces into newlines.
75116 SP2NL=$lt_lt_SP2NL
75117
75118 # turn newlines into spaces.
75119 NL2SP=$lt_lt_NL2SP
75120
75121 # An object symbol dumper.
75122 OBJDUMP=$lt_OBJDUMP
75123
75124 # Method to check whether dependent libraries are shared objects.
75125 deplibs_check_method=$lt_deplibs_check_method
75126
75127 # Command to use when deplibs_check_method == "file_magic".
75128 file_magic_cmd=$lt_file_magic_cmd
75129
75130 # The archiver.
75131 AR=$lt_AR
75132 AR_FLAGS=$lt_AR_FLAGS
75133
75134 # A symbol stripping program.
75135 STRIP=$lt_STRIP
75136
75137 # Commands used to install an old-style archive.
75138 RANLIB=$lt_RANLIB
75139 old_postinstall_cmds=$lt_old_postinstall_cmds
75140 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75141
75142 # Whether to use a lock for old archive extraction.
75143 lock_old_archive_extraction=$lock_old_archive_extraction
75144
75145 # A C compiler.
75146 LTCC=$lt_CC
75147
75148 # LTCC compiler flags.
75149 LTCFLAGS=$lt_CFLAGS
75150
75151 # Take the output of nm and produce a listing of raw symbols and C names.
75152 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75153
75154 # Transform the output of nm in a proper C declaration.
75155 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75156
75157 # Transform the output of nm in a C name address pair.
75158 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75159
75160 # Transform the output of nm in a C name address pair when lib prefix is needed.
75161 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75162
75163 # The name of the directory that contains temporary libtool files.
75164 objdir=$objdir
75165
75166 # Used to examine libraries when file_magic_cmd begins with "file".
75167 MAGIC_CMD=$MAGIC_CMD
75168
75169 # Must we lock files when doing compilation?
75170 need_locks=$lt_need_locks
75171
75172 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75173 DSYMUTIL=$lt_DSYMUTIL
75174
75175 # Tool to change global to local symbols on Mac OS X.
75176 NMEDIT=$lt_NMEDIT
75177
75178 # Tool to manipulate fat objects and archives on Mac OS X.
75179 LIPO=$lt_LIPO
75180
75181 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75182 OTOOL=$lt_OTOOL
75183
75184 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75185 OTOOL64=$lt_OTOOL64
75186
75187 # Old archive suffix (normally "a").
75188 libext=$libext
75189
75190 # Shared library suffix (normally ".so").
75191 shrext_cmds=$lt_shrext_cmds
75192
75193 # The commands to extract the exported symbol list from a shared archive.
75194 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75195
75196 # Variables whose values should be saved in libtool wrapper scripts and
75197 # restored at link time.
75198 variables_saved_for_relink=$lt_variables_saved_for_relink
75199
75200 # Do we need the "lib" prefix for modules?
75201 need_lib_prefix=$need_lib_prefix
75202
75203 # Do we need a version for libraries?
75204 need_version=$need_version
75205
75206 # Library versioning type.
75207 version_type=$version_type
75208
75209 # Shared library runtime path variable.
75210 runpath_var=$runpath_var
75211
75212 # Shared library path variable.
75213 shlibpath_var=$shlibpath_var
75214
75215 # Is shlibpath searched before the hard-coded library search path?
75216 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75217
75218 # Format of library name prefix.
75219 libname_spec=$lt_libname_spec
75220
75221 # List of archive names.  First name is the real one, the rest are links.
75222 # The last name is the one that the linker finds with -lNAME
75223 library_names_spec=$lt_library_names_spec
75224
75225 # The coded name of the library, if different from the real name.
75226 soname_spec=$lt_soname_spec
75227
75228 # Permission mode override for installation of shared libraries.
75229 install_override_mode=$lt_install_override_mode
75230
75231 # Command to use after installation of a shared archive.
75232 postinstall_cmds=$lt_postinstall_cmds
75233
75234 # Command to use after uninstallation of a shared archive.
75235 postuninstall_cmds=$lt_postuninstall_cmds
75236
75237 # Commands used to finish a libtool library installation in a directory.
75238 finish_cmds=$lt_finish_cmds
75239
75240 # As "finish_cmds", except a single script fragment to be evaled but
75241 # not shown.
75242 finish_eval=$lt_finish_eval
75243
75244 # Whether we should hardcode library paths into libraries.
75245 hardcode_into_libs=$hardcode_into_libs
75246
75247 # Compile-time system search path for libraries.
75248 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75249
75250 # Run-time system search path for libraries.
75251 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75252
75253 # Whether dlopen is supported.
75254 dlopen_support=$enable_dlopen
75255
75256 # Whether dlopen of programs is supported.
75257 dlopen_self=$enable_dlopen_self
75258
75259 # Whether dlopen of statically linked programs is supported.
75260 dlopen_self_static=$enable_dlopen_self_static
75261
75262 # Commands to strip libraries.
75263 old_striplib=$lt_old_striplib
75264 striplib=$lt_striplib
75265
75266
75267 # The linker used to build libraries.
75268 LD=$lt_LD
75269
75270 # How to create reloadable object files.
75271 reload_flag=$lt_reload_flag
75272 reload_cmds=$lt_reload_cmds
75273
75274 # Commands used to build an old-style archive.
75275 old_archive_cmds=$lt_old_archive_cmds
75276
75277 # A language specific compiler.
75278 CC=$lt_compiler
75279
75280 # Is the compiler the GNU compiler?
75281 with_gcc=$GCC
75282
75283 # Compiler flag to turn off builtin functions.
75284 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75285
75286 # How to pass a linker flag through the compiler.
75287 wl=$lt_lt_prog_compiler_wl
75288
75289 # Additional compiler flags for building library objects.
75290 pic_flag=$lt_lt_prog_compiler_pic
75291
75292 # Compiler flag to prevent dynamic linking.
75293 link_static_flag=$lt_lt_prog_compiler_static
75294
75295 # Does compiler simultaneously support -c and -o options?
75296 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75297
75298 # Whether or not to add -lc for building shared libraries.
75299 build_libtool_need_lc=$archive_cmds_need_lc
75300
75301 # Whether or not to disallow shared libs when runtime libs are static.
75302 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75303
75304 # Compiler flag to allow reflexive dlopens.
75305 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75306
75307 # Compiler flag to generate shared objects directly from archives.
75308 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75309
75310 # Whether the compiler copes with passing no objects directly.
75311 compiler_needs_object=$lt_compiler_needs_object
75312
75313 # Create an old-style archive from a shared archive.
75314 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75315
75316 # Create a temporary old-style archive to link instead of a shared archive.
75317 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75318
75319 # Commands used to build a shared archive.
75320 archive_cmds=$lt_archive_cmds
75321 archive_expsym_cmds=$lt_archive_expsym_cmds
75322
75323 # Commands used to build a loadable module if different from building
75324 # a shared archive.
75325 module_cmds=$lt_module_cmds
75326 module_expsym_cmds=$lt_module_expsym_cmds
75327
75328 # Whether we are building with GNU ld or not.
75329 with_gnu_ld=$lt_with_gnu_ld
75330
75331 # Flag that allows shared libraries with undefined symbols to be built.
75332 allow_undefined_flag=$lt_allow_undefined_flag
75333
75334 # Flag that enforces no undefined symbols.
75335 no_undefined_flag=$lt_no_undefined_flag
75336
75337 # Flag to hardcode \$libdir into a binary during linking.
75338 # This must work even if \$libdir does not exist
75339 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75340
75341 # If ld is used when linking, flag to hardcode \$libdir into a binary
75342 # during linking.  This must work even if \$libdir does not exist.
75343 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75344
75345 # Whether we need a single "-rpath" flag with a separated argument.
75346 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75347
75348 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75349 # DIR into the resulting binary.
75350 hardcode_direct=$hardcode_direct
75351
75352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75353 # DIR into the resulting binary and the resulting library dependency is
75354 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75355 # library is relocated.
75356 hardcode_direct_absolute=$hardcode_direct_absolute
75357
75358 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75359 # into the resulting binary.
75360 hardcode_minus_L=$hardcode_minus_L
75361
75362 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75363 # into the resulting binary.
75364 hardcode_shlibpath_var=$hardcode_shlibpath_var
75365
75366 # Set to "yes" if building a shared library automatically hardcodes DIR
75367 # into the library and all subsequent libraries and executables linked
75368 # against it.
75369 hardcode_automatic=$hardcode_automatic
75370
75371 # Set to yes if linker adds runtime paths of dependent libraries
75372 # to runtime path list.
75373 inherit_rpath=$inherit_rpath
75374
75375 # Whether libtool must link a program against all its dependency libraries.
75376 link_all_deplibs=$link_all_deplibs
75377
75378 # Fix the shell variable \$srcfile for the compiler.
75379 fix_srcfile_path=$lt_fix_srcfile_path
75380
75381 # Set to "yes" if exported symbols are required.
75382 always_export_symbols=$always_export_symbols
75383
75384 # The commands to list exported symbols.
75385 export_symbols_cmds=$lt_export_symbols_cmds
75386
75387 # Symbols that should not be listed in the preloaded symbols.
75388 exclude_expsyms=$lt_exclude_expsyms
75389
75390 # Symbols that must always be exported.
75391 include_expsyms=$lt_include_expsyms
75392
75393 # Commands necessary for linking programs (against libraries) with templates.
75394 prelink_cmds=$lt_prelink_cmds
75395
75396 # Specify filename containing input files.
75397 file_list_spec=$lt_file_list_spec
75398
75399 # How to hardcode a shared library path into an executable.
75400 hardcode_action=$hardcode_action
75401
75402 # The directories searched by this compiler when creating a shared library.
75403 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75404
75405 # Dependencies to place before and after the objects being linked to
75406 # create a shared library.
75407 predep_objects=$lt_predep_objects
75408 postdep_objects=$lt_postdep_objects
75409 predeps=$lt_predeps
75410 postdeps=$lt_postdeps
75411
75412 # The library search path used internally by the compiler when linking
75413 # a shared library.
75414 compiler_lib_search_path=$lt_compiler_lib_search_path
75415
75416 # ### END LIBTOOL CONFIG
75417
75418 _LT_EOF
75419
75420   case $host_os in
75421   aix3*)
75422     cat <<\_LT_EOF >> "$cfgfile"
75423 # AIX sometimes has problems with the GCC collect2 program.  For some
75424 # reason, if we set the COLLECT_NAMES environment variable, the problems
75425 # vanish in a puff of smoke.
75426 if test "X${COLLECT_NAMES+set}" != Xset; then
75427   COLLECT_NAMES=
75428   export COLLECT_NAMES
75429 fi
75430 _LT_EOF
75431     ;;
75432   esac
75433
75434
75435 ltmain="$ac_aux_dir/ltmain.sh"
75436
75437
75438   # We use sed instead of cat because bash on DJGPP gets confused if
75439   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
75440   # text mode, it properly converts lines to CR/LF.  This bash problem
75441   # is reportedly fixed, but why not run on old versions too?
75442   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75443     || (rm -f "$cfgfile"; exit 1)
75444
75445   case $xsi_shell in
75446   yes)
75447     cat << \_LT_EOF >> "$cfgfile"
75448
75449 # func_dirname file append nondir_replacement
75450 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75451 # otherwise set result to NONDIR_REPLACEMENT.
75452 func_dirname ()
75453 {
75454   case ${1} in
75455     */*) func_dirname_result="${1%/*}${2}" ;;
75456     *  ) func_dirname_result="${3}" ;;
75457   esac
75458 }
75459
75460 # func_basename file
75461 func_basename ()
75462 {
75463   func_basename_result="${1##*/}"
75464 }
75465
75466 # func_dirname_and_basename file append nondir_replacement
75467 # perform func_basename and func_dirname in a single function
75468 # call:
75469 #   dirname:  Compute the dirname of FILE.  If nonempty,
75470 #             add APPEND to the result, otherwise set result
75471 #             to NONDIR_REPLACEMENT.
75472 #             value returned in "$func_dirname_result"
75473 #   basename: Compute filename of FILE.
75474 #             value retuned in "$func_basename_result"
75475 # Implementation must be kept synchronized with func_dirname
75476 # and func_basename. For efficiency, we do not delegate to
75477 # those functions but instead duplicate the functionality here.
75478 func_dirname_and_basename ()
75479 {
75480   case ${1} in
75481     */*) func_dirname_result="${1%/*}${2}" ;;
75482     *  ) func_dirname_result="${3}" ;;
75483   esac
75484   func_basename_result="${1##*/}"
75485 }
75486
75487 # func_stripname prefix suffix name
75488 # strip PREFIX and SUFFIX off of NAME.
75489 # PREFIX and SUFFIX must not contain globbing or regex special
75490 # characters, hashes, percent signs, but SUFFIX may contain a leading
75491 # dot (in which case that matches only a dot).
75492 func_stripname ()
75493 {
75494   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75495   # positional parameters, so assign one to ordinary parameter first.
75496   func_stripname_result=${3}
75497   func_stripname_result=${func_stripname_result#"${1}"}
75498   func_stripname_result=${func_stripname_result%"${2}"}
75499 }
75500
75501 # func_opt_split
75502 func_opt_split ()
75503 {
75504   func_opt_split_opt=${1%%=*}
75505   func_opt_split_arg=${1#*=}
75506 }
75507
75508 # func_lo2o object
75509 func_lo2o ()
75510 {
75511   case ${1} in
75512     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75513     *)    func_lo2o_result=${1} ;;
75514   esac
75515 }
75516
75517 # func_xform libobj-or-source
75518 func_xform ()
75519 {
75520   func_xform_result=${1%.*}.lo
75521 }
75522
75523 # func_arith arithmetic-term...
75524 func_arith ()
75525 {
75526   func_arith_result=$(( $* ))
75527 }
75528
75529 # func_len string
75530 # STRING may not start with a hyphen.
75531 func_len ()
75532 {
75533   func_len_result=${#1}
75534 }
75535
75536 _LT_EOF
75537     ;;
75538   *) # Bourne compatible functions.
75539     cat << \_LT_EOF >> "$cfgfile"
75540
75541 # func_dirname file append nondir_replacement
75542 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
75543 # otherwise set result to NONDIR_REPLACEMENT.
75544 func_dirname ()
75545 {
75546   # Extract subdirectory from the argument.
75547   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75548   if test "X$func_dirname_result" = "X${1}"; then
75549     func_dirname_result="${3}"
75550   else
75551     func_dirname_result="$func_dirname_result${2}"
75552   fi
75553 }
75554
75555 # func_basename file
75556 func_basename ()
75557 {
75558   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75559 }
75560
75561
75562 # func_stripname prefix suffix name
75563 # strip PREFIX and SUFFIX off of NAME.
75564 # PREFIX and SUFFIX must not contain globbing or regex special
75565 # characters, hashes, percent signs, but SUFFIX may contain a leading
75566 # dot (in which case that matches only a dot).
75567 # func_strip_suffix prefix name
75568 func_stripname ()
75569 {
75570   case ${2} in
75571     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75572     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75573   esac
75574 }
75575
75576 # sed scripts:
75577 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75578 my_sed_long_arg='1s/^-[^=]*=//'
75579
75580 # func_opt_split
75581 func_opt_split ()
75582 {
75583   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75584   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75585 }
75586
75587 # func_lo2o object
75588 func_lo2o ()
75589 {
75590   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75591 }
75592
75593 # func_xform libobj-or-source
75594 func_xform ()
75595 {
75596   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75597 }
75598
75599 # func_arith arithmetic-term...
75600 func_arith ()
75601 {
75602   func_arith_result=`expr "$@"`
75603 }
75604
75605 # func_len string
75606 # STRING may not start with a hyphen.
75607 func_len ()
75608 {
75609   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75610 }
75611
75612 _LT_EOF
75613 esac
75614
75615 case $lt_shell_append in
75616   yes)
75617     cat << \_LT_EOF >> "$cfgfile"
75618
75619 # func_append var value
75620 # Append VALUE to the end of shell variable VAR.
75621 func_append ()
75622 {
75623   eval "$1+=\$2"
75624 }
75625 _LT_EOF
75626     ;;
75627   *)
75628     cat << \_LT_EOF >> "$cfgfile"
75629
75630 # func_append var value
75631 # Append VALUE to the end of shell variable VAR.
75632 func_append ()
75633 {
75634   eval "$1=\$$1\$2"
75635 }
75636
75637 _LT_EOF
75638     ;;
75639   esac
75640
75641
75642   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75643     || (rm -f "$cfgfile"; exit 1)
75644
75645   mv -f "$cfgfile" "$ofile" ||
75646     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75647   chmod +x "$ofile"
75648
75649
75650     cat <<_LT_EOF >> "$ofile"
75651
75652 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75653
75654 # The linker used to build libraries.
75655 LD=$lt_LD_CXX
75656
75657 # How to create reloadable object files.
75658 reload_flag=$lt_reload_flag_CXX
75659 reload_cmds=$lt_reload_cmds_CXX
75660
75661 # Commands used to build an old-style archive.
75662 old_archive_cmds=$lt_old_archive_cmds_CXX
75663
75664 # A language specific compiler.
75665 CC=$lt_compiler_CXX
75666
75667 # Is the compiler the GNU compiler?
75668 with_gcc=$GCC_CXX
75669
75670 # Compiler flag to turn off builtin functions.
75671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75672
75673 # How to pass a linker flag through the compiler.
75674 wl=$lt_lt_prog_compiler_wl_CXX
75675
75676 # Additional compiler flags for building library objects.
75677 pic_flag=$lt_lt_prog_compiler_pic_CXX
75678
75679 # Compiler flag to prevent dynamic linking.
75680 link_static_flag=$lt_lt_prog_compiler_static_CXX
75681
75682 # Does compiler simultaneously support -c and -o options?
75683 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75684
75685 # Whether or not to add -lc for building shared libraries.
75686 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75687
75688 # Whether or not to disallow shared libs when runtime libs are static.
75689 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75690
75691 # Compiler flag to allow reflexive dlopens.
75692 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75693
75694 # Compiler flag to generate shared objects directly from archives.
75695 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75696
75697 # Whether the compiler copes with passing no objects directly.
75698 compiler_needs_object=$lt_compiler_needs_object_CXX
75699
75700 # Create an old-style archive from a shared archive.
75701 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75702
75703 # Create a temporary old-style archive to link instead of a shared archive.
75704 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75705
75706 # Commands used to build a shared archive.
75707 archive_cmds=$lt_archive_cmds_CXX
75708 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75709
75710 # Commands used to build a loadable module if different from building
75711 # a shared archive.
75712 module_cmds=$lt_module_cmds_CXX
75713 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75714
75715 # Whether we are building with GNU ld or not.
75716 with_gnu_ld=$lt_with_gnu_ld_CXX
75717
75718 # Flag that allows shared libraries with undefined symbols to be built.
75719 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75720
75721 # Flag that enforces no undefined symbols.
75722 no_undefined_flag=$lt_no_undefined_flag_CXX
75723
75724 # Flag to hardcode \$libdir into a binary during linking.
75725 # This must work even if \$libdir does not exist
75726 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75727
75728 # If ld is used when linking, flag to hardcode \$libdir into a binary
75729 # during linking.  This must work even if \$libdir does not exist.
75730 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75731
75732 # Whether we need a single "-rpath" flag with a separated argument.
75733 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75734
75735 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75736 # DIR into the resulting binary.
75737 hardcode_direct=$hardcode_direct_CXX
75738
75739 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75740 # DIR into the resulting binary and the resulting library dependency is
75741 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75742 # library is relocated.
75743 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75744
75745 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75746 # into the resulting binary.
75747 hardcode_minus_L=$hardcode_minus_L_CXX
75748
75749 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75750 # into the resulting binary.
75751 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75752
75753 # Set to "yes" if building a shared library automatically hardcodes DIR
75754 # into the library and all subsequent libraries and executables linked
75755 # against it.
75756 hardcode_automatic=$hardcode_automatic_CXX
75757
75758 # Set to yes if linker adds runtime paths of dependent libraries
75759 # to runtime path list.
75760 inherit_rpath=$inherit_rpath_CXX
75761
75762 # Whether libtool must link a program against all its dependency libraries.
75763 link_all_deplibs=$link_all_deplibs_CXX
75764
75765 # Fix the shell variable \$srcfile for the compiler.
75766 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75767
75768 # Set to "yes" if exported symbols are required.
75769 always_export_symbols=$always_export_symbols_CXX
75770
75771 # The commands to list exported symbols.
75772 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75773
75774 # Symbols that should not be listed in the preloaded symbols.
75775 exclude_expsyms=$lt_exclude_expsyms_CXX
75776
75777 # Symbols that must always be exported.
75778 include_expsyms=$lt_include_expsyms_CXX
75779
75780 # Commands necessary for linking programs (against libraries) with templates.
75781 prelink_cmds=$lt_prelink_cmds_CXX
75782
75783 # Specify filename containing input files.
75784 file_list_spec=$lt_file_list_spec_CXX
75785
75786 # How to hardcode a shared library path into an executable.
75787 hardcode_action=$hardcode_action_CXX
75788
75789 # The directories searched by this compiler when creating a shared library.
75790 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75791
75792 # Dependencies to place before and after the objects being linked to
75793 # create a shared library.
75794 predep_objects=$lt_predep_objects_CXX
75795 postdep_objects=$lt_postdep_objects_CXX
75796 predeps=$lt_predeps_CXX
75797 postdeps=$lt_postdeps_CXX
75798
75799 # The library search path used internally by the compiler when linking
75800 # a shared library.
75801 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75802
75803 # ### END LIBTOOL TAG CONFIG: CXX
75804 _LT_EOF
75805
75806  ;;
75807     "include/gstdint.h":C)
75808 if test "$GCC" = yes; then
75809   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75810 else
75811   echo "/* generated for $CC */" > tmp-stdint.h
75812 fi
75813
75814 sed 's/^ *//' >> tmp-stdint.h <<EOF
75815
75816   #ifndef GCC_GENERATED_STDINT_H
75817   #define GCC_GENERATED_STDINT_H 1
75818
75819   #include <sys/types.h>
75820 EOF
75821
75822 if test "$acx_cv_header_stdint" != stdint.h; then
75823   echo "#include <stddef.h>" >> tmp-stdint.h
75824 fi
75825 if test "$acx_cv_header_stdint" != stddef.h; then
75826   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75827 fi
75828
75829 sed 's/^ *//' >> tmp-stdint.h <<EOF
75830   /* glibc uses these symbols as guards to prevent redefinitions.  */
75831   #ifdef __int8_t_defined
75832   #define _INT8_T
75833   #define _INT16_T
75834   #define _INT32_T
75835   #endif
75836   #ifdef __uint32_t_defined
75837   #define _UINT32_T
75838   #endif
75839
75840 EOF
75841
75842 # ----------------- done header, emit basic int types -------------
75843 if test "$acx_cv_header_stdint" = stddef.h; then
75844   sed 's/^ *//' >> tmp-stdint.h <<EOF
75845
75846     #ifndef _UINT8_T
75847     #define _UINT8_T
75848     #ifndef __uint8_t_defined
75849     #define __uint8_t_defined
75850     #ifndef uint8_t
75851     typedef unsigned $acx_cv_type_int8_t uint8_t;
75852     #endif
75853     #endif
75854     #endif
75855
75856     #ifndef _UINT16_T
75857     #define _UINT16_T
75858     #ifndef __uint16_t_defined
75859     #define __uint16_t_defined
75860     #ifndef uint16_t
75861     typedef unsigned $acx_cv_type_int16_t uint16_t;
75862     #endif
75863     #endif
75864     #endif
75865
75866     #ifndef _UINT32_T
75867     #define _UINT32_T
75868     #ifndef __uint32_t_defined
75869     #define __uint32_t_defined
75870     #ifndef uint32_t
75871     typedef unsigned $acx_cv_type_int32_t uint32_t;
75872     #endif
75873     #endif
75874     #endif
75875
75876     #ifndef _INT8_T
75877     #define _INT8_T
75878     #ifndef __int8_t_defined
75879     #define __int8_t_defined
75880     #ifndef int8_t
75881     typedef $acx_cv_type_int8_t int8_t;
75882     #endif
75883     #endif
75884     #endif
75885
75886     #ifndef _INT16_T
75887     #define _INT16_T
75888     #ifndef __int16_t_defined
75889     #define __int16_t_defined
75890     #ifndef int16_t
75891     typedef $acx_cv_type_int16_t int16_t;
75892     #endif
75893     #endif
75894     #endif
75895
75896     #ifndef _INT32_T
75897     #define _INT32_T
75898     #ifndef __int32_t_defined
75899     #define __int32_t_defined
75900     #ifndef int32_t
75901     typedef $acx_cv_type_int32_t int32_t;
75902     #endif
75903     #endif
75904     #endif
75905 EOF
75906 elif test "$ac_cv_type_u_int32_t" = yes; then
75907   sed 's/^ *//' >> tmp-stdint.h <<EOF
75908
75909     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75910     #ifndef _INT8_T
75911     #define _INT8_T
75912     #endif
75913     #ifndef _INT16_T
75914     #define _INT16_T
75915     #endif
75916     #ifndef _INT32_T
75917     #define _INT32_T
75918     #endif
75919
75920     #ifndef _UINT8_T
75921     #define _UINT8_T
75922     #ifndef __uint8_t_defined
75923     #define __uint8_t_defined
75924     #ifndef uint8_t
75925     typedef u_int8_t uint8_t;
75926     #endif
75927     #endif
75928     #endif
75929
75930     #ifndef _UINT16_T
75931     #define _UINT16_T
75932     #ifndef __uint16_t_defined
75933     #define __uint16_t_defined
75934     #ifndef uint16_t
75935     typedef u_int16_t uint16_t;
75936     #endif
75937     #endif
75938     #endif
75939
75940     #ifndef _UINT32_T
75941     #define _UINT32_T
75942     #ifndef __uint32_t_defined
75943     #define __uint32_t_defined
75944     #ifndef uint32_t
75945     typedef u_int32_t uint32_t;
75946     #endif
75947     #endif
75948     #endif
75949 EOF
75950 else
75951   sed 's/^ *//' >> tmp-stdint.h <<EOF
75952
75953     /* Some systems have guard macros to prevent redefinitions, define them.  */
75954     #ifndef _INT8_T
75955     #define _INT8_T
75956     #endif
75957     #ifndef _INT16_T
75958     #define _INT16_T
75959     #endif
75960     #ifndef _INT32_T
75961     #define _INT32_T
75962     #endif
75963     #ifndef _UINT8_T
75964     #define _UINT8_T
75965     #endif
75966     #ifndef _UINT16_T
75967     #define _UINT16_T
75968     #endif
75969     #ifndef _UINT32_T
75970     #define _UINT32_T
75971     #endif
75972 EOF
75973 fi
75974
75975 # ------------- done basic int types, emit int64_t types ------------
75976 if test "$ac_cv_type_uint64_t" = yes; then
75977   sed 's/^ *//' >> tmp-stdint.h <<EOF
75978
75979     /* system headers have good uint64_t and int64_t */
75980     #ifndef _INT64_T
75981     #define _INT64_T
75982     #endif
75983     #ifndef _UINT64_T
75984     #define _UINT64_T
75985     #endif
75986 EOF
75987 elif test "$ac_cv_type_u_int64_t" = yes; then
75988   sed 's/^ *//' >> tmp-stdint.h <<EOF
75989
75990     /* system headers have an u_int64_t (and int64_t) */
75991     #ifndef _INT64_T
75992     #define _INT64_T
75993     #endif
75994     #ifndef _UINT64_T
75995     #define _UINT64_T
75996     #ifndef __uint64_t_defined
75997     #define __uint64_t_defined
75998     #ifndef uint64_t
75999     typedef u_int64_t uint64_t;
76000     #endif
76001     #endif
76002     #endif
76003 EOF
76004 elif test -n "$acx_cv_type_int64_t"; then
76005   sed 's/^ *//' >> tmp-stdint.h <<EOF
76006
76007     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76008     #ifndef _INT64_T
76009     #define _INT64_T
76010     #ifndef int64_t
76011     typedef $acx_cv_type_int64_t int64_t;
76012     #endif
76013     #endif
76014     #ifndef _UINT64_T
76015     #define _UINT64_T
76016     #ifndef __uint64_t_defined
76017     #define __uint64_t_defined
76018     #ifndef uint64_t
76019     typedef unsigned $acx_cv_type_int64_t uint64_t;
76020     #endif
76021     #endif
76022     #endif
76023 EOF
76024 else
76025   sed 's/^ *//' >> tmp-stdint.h <<EOF
76026
76027     /* some common heuristics for int64_t, using compiler-specific tests */
76028     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76029     #ifndef _INT64_T
76030     #define _INT64_T
76031     #ifndef __int64_t_defined
76032     #ifndef int64_t
76033     typedef long long int64_t;
76034     #endif
76035     #endif
76036     #endif
76037     #ifndef _UINT64_T
76038     #define _UINT64_T
76039     #ifndef uint64_t
76040     typedef unsigned long long uint64_t;
76041     #endif
76042     #endif
76043
76044     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76045     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76046        does not implement __extension__.  But that compiler doesn't define
76047        __GNUC_MINOR__.  */
76048     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76049     # define __extension__
76050     # endif
76051
76052     # ifndef _INT64_T
76053     # define _INT64_T
76054     # ifndef int64_t
76055     __extension__ typedef long long int64_t;
76056     # endif
76057     # endif
76058     # ifndef _UINT64_T
76059     # define _UINT64_T
76060     # ifndef uint64_t
76061     __extension__ typedef unsigned long long uint64_t;
76062     # endif
76063     # endif
76064
76065     #elif !defined __STRICT_ANSI__
76066     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76067
76068     #  ifndef _INT64_T
76069     #  define _INT64_T
76070     #  ifndef int64_t
76071     typedef __int64 int64_t;
76072     #  endif
76073     #  endif
76074     #  ifndef _UINT64_T
76075     #  define _UINT64_T
76076     #  ifndef uint64_t
76077     typedef unsigned __int64 uint64_t;
76078     #  endif
76079     #  endif
76080     # endif /* compiler */
76081
76082     #endif /* ANSI version */
76083 EOF
76084 fi
76085
76086 # ------------- done int64_t types, emit intptr types ------------
76087 if test "$ac_cv_type_uintptr_t" != yes; then
76088   sed 's/^ *//' >> tmp-stdint.h <<EOF
76089
76090     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76091     #ifndef __uintptr_t_defined
76092     #ifndef uintptr_t
76093     typedef u$acx_cv_type_intptr_t uintptr_t;
76094     #endif
76095     #endif
76096     #ifndef __intptr_t_defined
76097     #ifndef intptr_t
76098     typedef $acx_cv_type_intptr_t  intptr_t;
76099     #endif
76100     #endif
76101 EOF
76102 fi
76103
76104 # ------------- done intptr types, emit int_least types ------------
76105 if test "$ac_cv_type_int_least32_t" != yes; then
76106   sed 's/^ *//' >> tmp-stdint.h <<EOF
76107
76108     /* Define int_least types */
76109     typedef int8_t     int_least8_t;
76110     typedef int16_t    int_least16_t;
76111     typedef int32_t    int_least32_t;
76112     #ifdef _INT64_T
76113     typedef int64_t    int_least64_t;
76114     #endif
76115
76116     typedef uint8_t    uint_least8_t;
76117     typedef uint16_t   uint_least16_t;
76118     typedef uint32_t   uint_least32_t;
76119     #ifdef _UINT64_T
76120     typedef uint64_t   uint_least64_t;
76121     #endif
76122 EOF
76123 fi
76124
76125 # ------------- done intptr types, emit int_fast types ------------
76126 if test "$ac_cv_type_int_fast32_t" != yes; then
76127       sed 's/^ *//' >> tmp-stdint.h <<EOF
76128
76129     /* Define int_fast types.  short is often slow */
76130     typedef int8_t       int_fast8_t;
76131     typedef int          int_fast16_t;
76132     typedef int32_t      int_fast32_t;
76133     #ifdef _INT64_T
76134     typedef int64_t      int_fast64_t;
76135     #endif
76136
76137     typedef uint8_t      uint_fast8_t;
76138     typedef unsigned int uint_fast16_t;
76139     typedef uint32_t     uint_fast32_t;
76140     #ifdef _UINT64_T
76141     typedef uint64_t     uint_fast64_t;
76142     #endif
76143 EOF
76144 fi
76145
76146 if test "$ac_cv_type_uintmax_t" != yes; then
76147   sed 's/^ *//' >> tmp-stdint.h <<EOF
76148
76149     /* Define intmax based on what we found */
76150     #ifndef intmax_t
76151     #ifdef _INT64_T
76152     typedef int64_t       intmax_t;
76153     #else
76154     typedef long          intmax_t;
76155     #endif
76156     #endif
76157     #ifndef uintmax_t
76158     #ifdef _UINT64_T
76159     typedef uint64_t      uintmax_t;
76160     #else
76161     typedef unsigned long uintmax_t;
76162     #endif
76163     #endif
76164 EOF
76165 fi
76166
76167 sed 's/^ *//' >> tmp-stdint.h <<EOF
76168
76169   #endif /* GCC_GENERATED_STDINT_H */
76170 EOF
76171
76172 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76173   rm -f tmp-stdint.h
76174 else
76175   mv -f tmp-stdint.h include/gstdint.h
76176 fi
76177
76178  ;;
76179     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76180     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76181     "include/Makefile":F) cat > vpsed$$ << \_EOF
76182 s!`test -f '$<' || echo '$(srcdir)/'`!!
76183 _EOF
76184    sed -f vpsed$$ $ac_file > tmp$$
76185    mv tmp$$ $ac_file
76186    rm vpsed$$
76187    echo 'MULTISUBDIR =' >> $ac_file
76188    ml_norecursion=yes
76189    . ${multi_basedir}/config-ml.in
76190    { ml_norecursion=; unset ml_norecursion;}
76191  ;;
76192     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76193 s!`test -f '$<' || echo '$(srcdir)/'`!!
76194 _EOF
76195    sed -f vpsed$$ $ac_file > tmp$$
76196    mv tmp$$ $ac_file
76197    rm vpsed$$
76198    echo 'MULTISUBDIR =' >> $ac_file
76199    ml_norecursion=yes
76200    . ${multi_basedir}/config-ml.in
76201    { ml_norecursion=; unset ml_norecursion;}
76202  ;;
76203     "python/Makefile":F) cat > vpsed$$ << \_EOF
76204 s!`test -f '$<' || echo '$(srcdir)/'`!!
76205 _EOF
76206    sed -f vpsed$$ $ac_file > tmp$$
76207    mv tmp$$ $ac_file
76208    rm vpsed$$
76209    echo 'MULTISUBDIR =' >> $ac_file
76210    ml_norecursion=yes
76211    . ${multi_basedir}/config-ml.in
76212    { ml_norecursion=; unset ml_norecursion;}
76213  ;;
76214     "src/Makefile":F) cat > vpsed$$ << \_EOF
76215 s!`test -f '$<' || echo '$(srcdir)/'`!!
76216 _EOF
76217    sed -f vpsed$$ $ac_file > tmp$$
76218    mv tmp$$ $ac_file
76219    rm vpsed$$
76220    echo 'MULTISUBDIR =' >> $ac_file
76221    ml_norecursion=yes
76222    . ${multi_basedir}/config-ml.in
76223    { ml_norecursion=; unset ml_norecursion;}
76224  ;;
76225     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76226 s!`test -f '$<' || echo '$(srcdir)/'`!!
76227 _EOF
76228    sed -f vpsed$$ $ac_file > tmp$$
76229    mv tmp$$ $ac_file
76230    rm vpsed$$
76231    echo 'MULTISUBDIR =' >> $ac_file
76232    ml_norecursion=yes
76233    . ${multi_basedir}/config-ml.in
76234    { ml_norecursion=; unset ml_norecursion;}
76235  ;;
76236     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76237 s!`test -f '$<' || echo '$(srcdir)/'`!!
76238 _EOF
76239    sed -f vpsed$$ $ac_file > tmp$$
76240    mv tmp$$ $ac_file
76241    rm vpsed$$
76242    echo 'MULTISUBDIR =' >> $ac_file
76243    ml_norecursion=yes
76244    . ${multi_basedir}/config-ml.in
76245    { ml_norecursion=; unset ml_norecursion;}
76246  ;;
76247     "doc/Makefile":F) cat > vpsed$$ << \_EOF
76248 s!`test -f '$<' || echo '$(srcdir)/'`!!
76249 _EOF
76250    sed -f vpsed$$ $ac_file > tmp$$
76251    mv tmp$$ $ac_file
76252    rm vpsed$$
76253    echo 'MULTISUBDIR =' >> $ac_file
76254    ml_norecursion=yes
76255    . ${multi_basedir}/config-ml.in
76256    { ml_norecursion=; unset ml_norecursion;}
76257  ;;
76258     "po/Makefile":F) cat > vpsed$$ << \_EOF
76259 s!`test -f '$<' || echo '$(srcdir)/'`!!
76260 _EOF
76261    sed -f vpsed$$ $ac_file > tmp$$
76262    mv tmp$$ $ac_file
76263    rm vpsed$$
76264    echo 'MULTISUBDIR =' >> $ac_file
76265    ml_norecursion=yes
76266    . ${multi_basedir}/config-ml.in
76267    { ml_norecursion=; unset ml_norecursion;}
76268  ;;
76269     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76270 s!`test -f '$<' || echo '$(srcdir)/'`!!
76271 _EOF
76272    sed -f vpsed$$ $ac_file > tmp$$
76273    mv tmp$$ $ac_file
76274    rm vpsed$$
76275    echo 'MULTISUBDIR =' >> $ac_file
76276    ml_norecursion=yes
76277    . ${multi_basedir}/config-ml.in
76278    { ml_norecursion=; unset ml_norecursion;}
76279  ;;
76280     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76281
76282   esac
76283 done # for ac_tag
76284
76285
76286 as_fn_exit 0
76287 _ACEOF
76288 ac_clean_files=$ac_clean_files_save
76289
76290 test $ac_write_fail = 0 ||
76291   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76292
76293
76294 # configure is writing to config.log, and then calls config.status.
76295 # config.status does its own redirection, appending to config.log.
76296 # Unfortunately, on DOS this fails, as config.log is still kept open
76297 # by configure, so config.status won't be able to write to it; its
76298 # output is simply discarded.  So we exec the FD to /dev/null,
76299 # effectively closing config.log, so it can be properly (re)opened and
76300 # appended to by config.status.  When coming back to configure, we
76301 # need to make the FD available again.
76302 if test "$no_create" != yes; then
76303   ac_cs_success=:
76304   ac_config_status_args=
76305   test "$silent" = yes &&
76306     ac_config_status_args="$ac_config_status_args --quiet"
76307   exec 5>/dev/null
76308   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76309   exec 5>>config.log
76310   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76311   # would make configure fail if this is the last instruction.
76312   $ac_cs_success || as_fn_exit $?
76313 fi
76314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76315   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76316 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
76317 fi
76318